-
Notifications
You must be signed in to change notification settings - Fork 20
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
[tracer] Add support for RID v22a #123
Conversation
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.
Looks good in general. I have two main comments:
- (c.f. a comment in the review) the implementation of
tracer_rid_isa_notification
should be using IMO the code frommonitorlib
inmutate.rid.ISAChangeNotification
- is there an easy way to not have separate containers for v19 and v22a, i.e. have all the endpoints for both versions in a single instance? Given that there are also the SCD endpoints in there which don't depend on the RID version I find that slightly confusing. This would also reduce the overall complexity of the deployment.
Co-authored-by: Mickaël Misbach <[email protected]>
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.
LGTM after clarifications.
Note: the CI fail because of the addition of --chown
, which actually requires buildkit to be used. Using buildkit in the CI would definitely be a good idea, but that's not the scope of this PR, I'd suggest maybe then leaving a TODO in the Dockerfile.
As agreed, will be addressed by #124
I don't see any use case were v19 and v22a should run together. The problem is that the tracer is subscribing to the DSS and it has to know which standard (and endpoint) to use. I privileged to keep the implementation simple knowing that v19 will probably not be used for a long time. |
This PR adapts the tracer to support RID v22a. Compatibility with v19 should have been preserved.
Note that it fixes the permissions of
/app/health_check.sh
file in the docker image to allow the mock_uss start.sh script to overwrite it properly.Switch of the CI pipeline to build v22a will performed by #119 after merging this PR.