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

Update cdmresults service path #166

Closed
chrisknoll opened this issue Jan 27, 2017 · 1 comment
Closed

Update cdmresults service path #166

chrisknoll opened this issue Jan 27, 2017 · 1 comment
Assignees

Comments

@chrisknoll
Copy link
Collaborator

The current format of the cdmresultsservice path is to prefix the route with a source key and then /cdmresults. The issue is that we must provide a source key to get to anything in this route, but there's cases where we'd want to get information at the webapi level that is not source specific.

For example, we might have a results statistic table that stores information about the sources which have generated results and information about when the run was executed (for all databases). This information would be store din the webAPI schema and read from the route /cdmresults.

Or: an external process may finish a cdm results and update this webAPI table and need to decache the stats, so a route like /cdmresults/refresh might be required.

The solution is to have the path to the cdm results service start as /cdmresults and then any source specific results are fetched via /cdmresults/{source}.

@anthonysena
Copy link
Collaborator

Closed via 6c3c724

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

No branches or pull requests

2 participants