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

cadc-registry: add DAP-2.1 standardID for prototype #190

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

pdowler
Copy link
Member

@pdowler pdowler commented Oct 7, 2024

dynamic standardID: resolve java system prop to value allows use of ${blah} in capabilities xml doc and replacing the value while reading

dynamic standardID: resolve java system prop to value allows use of ${blah}
in capabilities xml doc and replacing the value while reading
@pdowler pdowler merged commit 66a2410 into opencadc:main Oct 8, 2024
1 check passed
if (standardIDString.startsWith("${") && standardIDString.endsWith("}")) {
String prop = standardIDString.substring(2, standardIDString.length() - 1);
String val = System.getProperty(prop);
log.warn("resolve: " + prop + " = " + val);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warn, or debug?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh! will fix

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.

3 participants