-
Notifications
You must be signed in to change notification settings - Fork 27
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
762 create endpoints for v2index #106
762 create endpoints for v2index #106
Conversation
Signed-off-by: Stephanie <yangcao@redhat.com>
Signed-off-by: Stephanie <yangcao@redhat.com>
…reate-endpoints-for-v2index
Signed-off-by: Stephanie <yangcao@redhat.com>
62c6f4a
to
55746f3
Compare
Signed-off-by: Stephanie <yangcao@redhat.com>
55746f3
to
c9b7ced
Compare
Signed-off-by: Stephanie <yangcao@redhat.com>
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.
Generally looks good, just one question.
Could you also add some new integration tests for the new endpoint?
@johnmcollier Can I add integration tests in the same PR? I saw the integration tests only tests on production/staging registry, but my changes have not been on staging yet. |
@yangcao77 it should be fine. The integration tests for PRs are configured to point to the test registry. And once the PR is merged, this will get deployed in staging automatically. |
Signed-off-by: Stephanie <yangcao@redhat.com>
f09e6f1
to
9ea85c5
Compare
@johnmcollier integration tests added |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnmcollier, yangcao77 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Please specify the area for this PR
index registry server
What does does this PR do / why we need it:
this PR includes the change to new endpoints serve for v2index, and new endpoint looking for devfile of a specific stack version.
Also includes the filter for
minSchemaVersion
andmaxSchemaVersion
when looking for v2index and also when looking for devfile oflatest
stack version.Which issue(s) this PR fixes:
Fixes devfile/api#762
PR acceptance criteria:
Test (WIP)
Documentation (WIP)
How to test changes / Special notes to the reviewer:
run ./build_registry.sh and deploy the built devfile-index image to cluster.
send GET request to server to test endpoints