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
Comparison REST API to trigger Comparisons from Automated CI Test Pipelines #605
Comments
Currently the endpoint does not return an error if the requested build does not exist. We should change this. If the requested build or comparison build does not exist we should return a Example result for a build comparison that did not exist (current state that we should change):
|
@bruderol Opened a feature branch for this one: feature/605-comparison-rest-endpoint |
@bruderol I added the remaining endpoints. Would be good if we could review this together some time soon, maybe next week. I have some open questions we should discuss. |
@adiherzog Somehow the build still seems to fail ?? |
@adiherzog for the remaining documentation work I recommend you to continue work on one of my branches (the one for issue #692 - unless my PR is merged) - because there I already removed the old rest service documentation file on my branch and merged all still relevant diff viewer documentation into one feature documentation file in slightly different location (in folder Please document only the most important rest services that might be helpful for CI to trigger comparisons from CI - and I think this should simply go into that same diff viewer docu file, nd only mention the most improtant endpoints. Thanks a lot! |
@adiherzog I adjusted the accpetance criteria and what remains to be done. Please merge with my latest branch (see PR #696 ) before you continue your work, because I did some changes to docu as well! |
@adiherzog what about this issue? can you finish it? What about testing this REST endpoints? |
@adiherzog I propose we close this now, and open a follow up story to add automated tests for that. What would be great if you could add the breaking changes for the REST services at least quickly to the CHANGELOG.md on the release branch! and maybe to the Diff Viewer docu as well a short overview of the important services? |
@bruderol Let's keep this open. I'll do it today. |
I created a follow-up task to automatically check the REST endpoints: #742 |
@adiherzog Thanks a lot! Great we have that done :-) |
Currently there is a new service for triggering an import of a buidl together with a diff calculation.
This service is waiting synchronously for the diff until it has been calculated and then returns the diff value. We want to simplify that and document the new services accordingly.
Acceptance criterias:
ComparisonsResource.java
and has to be changed as following:* currently I would just mention it in the diff viewer user guide
* manually
* maybe automatically? e2e tests with jasmine (could be easy)?
TODO (@adiherzog duplication to Acceptance Criteria - can we remove it ?)
The text was updated successfully, but these errors were encountered: