-
Notifications
You must be signed in to change notification settings - Fork 32
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
(fix) Update default valueSet UUIDs #140
Conversation
Updates default UUIDs for valueSets in the config schema to match UUIDs that exist in the dev3 environment by default.
@mogoodrich @chibongho this is a breaking change for you. I assume that the default UUIDs that are currently set exist in the PIH EMR, so this change would require you to set those values via config instead for your distro. |
Deferring to @mogoodrich , but I think this change won't break us as we explicit set the config values here: |
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 generally disapprove of any and all default values that refer to specific metadata, and have long felt that the refapp needs to start explicitly configuring ESMs in it's config, and not expecting all ESMs to work in it by default. I want to break this existing (anti)pattern. That said, if we are going to insist on defaults, they should be what Mark added I think - which are the default values provided by CIEL - not by some arbitrarily different values in the refapp.
@mseaton The goal here is actually switching from what seem to be PIH-specific UUIDs to CIEL-provided UUIDs. We're not inventing new metadata for the RefApp. |
If they are the CIEL UUIDs that makes sense to me if we need to have a default. I was making an assumption based on the existing description of those config properties in the existing code, all of which say something like |
All this said, it would be nice if we could eliminate use of UUIDs like this entirely, and switch to mappings. |
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.
Yeah, the intent here (as noted in the property descriptions) is for these default values to point to the default values provided by CIEL. This seems correct to me. Likely a bug/oversight on my part that these were set to PIH-specific uuids.
@denniskigen the reason (I believe) that "close" and "pause" point to the same concept is because while there was a request in our use case to have different reason sets (which we do in the PIH dictionary) the CIEL dictionary only had a single set.
So this LGTM!
Merging this in shortly. Thanks all. |
Requirements
Summary
Updates default UUIDs for valueSets in the config schema to match UUIDs that exist in the dev3 environment by default.
Screenshots
Related Issue
Other