Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra column to record the 'real' application name for proprietary applications #337

Draft
wants to merge 1 commit into
base: xdmod10.5
Choose a base branch
from

Conversation

jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented Jan 13, 2023

This change adds a new column to the modw_supremm.job table that tracks the 'real' application name for proprietary applications. The data in this new column is only available via direct database query and is not available in the web portal or data export.

To install these changes on an existing XDMoD 10.0 system you can do the following:

  1. Backup the existing database
  2. Check that the backup of the exiting database is present and correct
  3. Create a backup copy of the files in /usr/share/xdmod/etl/js
  4. Copy the updated schema file and dataset mapping file. If you are using a custom dataset
    mapping file then you need to make the corresponding changes to it that are present in this one.
    i.e. the ones liseted https://github.com/ubccr/xdmod-supremm/pull/337/files#diff-2bdd73005b05dff67fcfd966698f9ac530a44457fa5e35ef0abf12ee979c781f
cp etl/js/config/supremm/dataset_maps/pcp.js  /usr/share/xdmod/etl/js/config/supremm/dataset_maps/pcp.js
cp etl/js/config/supremm/etl.schema.js /usr/share/xdmod/etl/js/config/supremm/etl.schema.js
  1. Regenerate the table definitions from the (now updated) schema
cd /usr/share/xdmod/etl/js
node etl.cli.js -a
  1. Update the database tables that contain job-level data:
/usr/share/xdmod/tools/etl/etl_overseer.php -a supremm.bootstrap.table-create
  1. Run the sql migration script to update dimension tables:
mysql --delimiter=// modw_supremm < configuration/etl/etl_sql.d/supremm/migration-10_0_0-10_5_0.sql

@jpwhite4 jpwhite4 added this to the 10.5.0 milestone May 10, 2023
@jpwhite4 jpwhite4 modified the milestones: 10.5.0, 11.0.0 Jun 22, 2023
@jpwhite4 jpwhite4 modified the milestones: 11.0.0, 11.5.0 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant