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

sc2soda: remove hard-coded resourceID for other services #50

Open
pdowler opened this issue Dec 8, 2021 · 0 comments
Open

sc2soda: remove hard-coded resourceID for other services #50

pdowler opened this issue Dec 8, 2021 · 0 comments

Comments

@pdowler
Copy link
Member

pdowler commented Dec 8, 2021

Several services (sc2links, sc2meta, sc2soda) have hard coded dependencies on other sc2 services via ServiceConfig.properties file inside the war file. Instead, such config should be found in ~/config/{service}.properties at startup, for example:

sc2soda.properties with something like:

ca.nrc.cadc.sc2links.tapService = ivo://cadc.nrc.ca/sc2tap
ca.nrc.cadc.sc2links.sodaService = ivo://cadc.nrc.ca/sc2soda

Good practice: parse config in an InitAction and store stuff in JNDI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant