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

Endpoint for issuing Event notification to ConfigService #43

Open
baardl opened this issue May 31, 2016 · 0 comments
Open

Endpoint for issuing Event notification to ConfigService #43

baardl opened this issue May 31, 2016 · 0 comments

Comments

@baardl
Copy link
Contributor

baardl commented May 31, 2016

Suggestion: PUT /client/{clientId}/event

Reasoning:
During upgrade of Java-auto-update,ConfigService will have to programatically determine which ApplicationConfiguration a spesific client needs. The decision will be made based on a specific event received from either JAU or MJAUU.
We should avoid having to parse the log-events received in sync messages, in order to interpret the specific events received. A preferred technique is to provide a unique endpoint for creating an event:

PUT /client/{clientId}/event - body = Extension to Event?

Another challenge today is that Event is very log-line-specific, though. Please see suggestion on #44

What I try to accomplish is support for this: https://wiki.cantara.no/display/JAU/MJAUU+-+My+JAU+Updater+(Update+the+Java-Auto-Update+itself+)#MJAUU-MyJAUUpdater%28UpdatetheJava-Auto-Updateitself%29-MJAUUStateandEvents

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