-
Notifications
You must be signed in to change notification settings - Fork 94
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
CMR-10173: Update UMM-C for Web Unitification round 2 #2184
Conversation
umm-spec-lib/resources/json-schemas/collection/umm/v1.18.2/umm-c-json-schema.json
Outdated
Show resolved
Hide resolved
umm-spec-lib/resources/json-schemas/collection/umm/v1.18.2/umm-c-json-schema.json
Outdated
Show resolved
Hide resolved
umm-spec-lib/src/cmr/umm_spec/xml_to_umm_mappings/iso19115_2.clj
Outdated
Show resolved
Hide resolved
umm-spec-lib/test/cmr/umm_spec/test/migration/version/collection.clj
Outdated
Show resolved
Hide resolved
umm-spec-lib/test/cmr/umm_spec/test/migration/version/collection.clj
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can also give you sample files that you can test with on your local CMR.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2184 +/- ##
===========================================
- Coverage 58.23% 24.42% -33.82%
===========================================
Files 1054 994 -60
Lines 70803 67479 -3324
Branches 2021 955 -1066
===========================================
- Hits 41234 16479 -24755
- Misses 27688 50045 +22357
+ Partials 1881 955 -926 ☔ View full report in Codecov by Sentry. |
<gml:description>The collection supersedes the Associated DOI.</gml:description> | ||
<gml:identifier codeSpace="gov.nasa.esdis.umm">Is_New_Version_Of</gml:identifier> | ||
</gmx:CodeDefinition> | ||
</gmx:codeEntry> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job! We already had our own code list for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eosCodelists.xml are our lists unique to our project. They differ from the standards, but that is OK, as that is what they are for.
;; INREVIEW: Refers to datasets which are made available to support science team final review. In Review datasets are provisional and should not be used for production applications. | ||
;; Note that if restricted access is needed, an INREVIEW dataset may also have an Access Control List applied. | ||
;; SUPERSEDED: Refers to datasets which remain publicly available, but for which a newer version is available. | ||
;; There is a sixth value of NOT PROVIDED that should not be used by a data provider. | ||
;; It is currently being used as a value when a correct translation cannot be done with the | ||
;; current valid values, or when the value is not provided by the data provider. | ||
CollectionProgress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you generate this? or change it by hand?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it by hand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should generate it.
If you read the README.md in the umm-spec-lib. you will see that you should run
lein generate-umm-records.
anytime you change the schemas. This will read the schemas and generate the umm defrecords.
What you did is fine, for now, but if those comments are not in the schema, the generator will remove them.
umm-spec-lib/test/cmr/umm_spec/test/migration/version/collection.clj
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, SUPERSEDED just needs to be migrated to COMPLETED going from 1.18.2 to 1.18.1
Overview
What is the feature/fix?
Updating umm-c schema and translations
Adding 2 new enums values for AssociatedDOIs/Type:
IsPreviousVersionOf
IsNewVersionOf
Adding 3 new enums values for CollectionProgress:
PREPRINT, INREVIEW, and SUPERSEDED
Delete enum value for CollectionProgress:
NOT APPLICABLE
What is the Solution?
See above
What areas of the application does this impact?
Checklist