The DOI service provides a configuration setting to specify one or more keywords/subjects to include with every DOI record minted by the service. However, this field is not used, and default keywords are only added when a DOI record is created from a PDS4 label. The service needs to ensure the default keywords are also present for records created from spreadsheets or DataCite JSON labels.
๐ To Reproduce
Steps to reproduce the behavior:
Ensure the INI config for the service defines a comma-delimited list of values for OTHER.global_keyword_values (typically PDS,PDS4)
Submit a reserve request using a valid XLS, CSV or DataCite JSON label (that does not already contain expected default keywords)
Observe that the DataCite JSON label returned does not contain the expected default keywords defined by the INI config
๐ต๏ธ Expected behavior
The DOI record returned from a reserve, update or release request should always include a "subjects" field which contains, at minimum, the values specified in the OTHER.global_keyword_values section of the INI config.
๐ Describe the bug
The DOI service provides a configuration setting to specify one or more keywords/subjects to include with every DOI record minted by the service. However, this field is not used, and default keywords are only added when a DOI record is created from a PDS4 label. The service needs to ensure the default keywords are also present for records created from spreadsheets or DataCite JSON labels.
๐ To Reproduce
Steps to reproduce the behavior:
OTHER.global_keyword_values
(typicallyPDS,PDS4
)๐ต๏ธ Expected behavior
The DOI record returned from a reserve, update or release request should always include a "subjects" field which contains, at minimum, the values specified in the
OTHER.global_keyword_values
section of the INI config.๐ Version of Software Used
v2.0.1
๐ฉบ Test Data / Additional context
๐Screenshots
๐ฅ System Info
๐ฆ Related requirements
โ๏ธ Engineering Details