Save the pi/group as the account and allocation charge number #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Open XDMoD, save the PI group or accounting group of a job as the charge number in the account and allocation tables.
Description
To help support allocations in Open XDMoD, save the job's PI or accounting group as the charge number in the allocations and accounts tables. Initially, sites can then run a post-ingest ETL action to update the allocation values. In the case of SDSC this will allow them to send the same data that is sent to the XDCDB into their Open XDMoD instance. Display of allocations data in Open XDMoD is not currently supported, but planned for the future.
Motivation and Context
Provide support for allocations at SDSC. If the allocations are included in the modw.allocations table then a post-ingest process can update the initial and remaining allocation values.
Tests performed
The following steps were performed:
modw.accounts
andmodw.allocations
contain the PI group and that the number of distinct group names/charge numbers is the same in these 2 tables and themodw.jobfact
table (with the addition of the "Unknown" account).Types of changes
Checklist: