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

Moved API to v2beta1 #1480

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ods_ci/libs/DataSciencePipelinesAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def login_and_wait_dsp_route(
count = 0
while status != 200 and count < timeout:
response, status = self.do_get(
f"https://{self.route}/apis/v1beta1/runs",
f"https://{self.route}/apis/v2beta1/runs",
headers={"Authorization": f"Bearer {self.sa_token}"},
)
# 503 -> service not deployed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Install DataSciencePipelinesApplication CR
Oc Apply kind=DataSciencePipelinesApplication src=${DATA_SCIENCE_PIPELINES_APPLICATION_PATH}/${dsp_file} namespace=${project}
IF ${assert_install}==True
${generation_value} Run oc get datasciencepipelinesapplications -n ${project} -o json | jq '.items[0].metadata.generation'
Should Be True ${generation_value} == 1 DataSciencePipelinesApplication created
Should Be True ${generation_value} == 2 DataSciencePipelinesApplication created
END

Fill In Pipeline Import Form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
${status} Login And Wait Dsp Route ${OCP_ADMIN_USER.USERNAME} ${OCP_ADMIN_USER.PASSWORD}
... project-redirect-http
Should Be True ${status} == 200 Could not login to the Data Science Pipelines Rest API OR DSP routing is not working # robocop: disable:line-too-long
${url} Do Http Request apis/v1beta1/runs
${url} Do Http Request apis/v2beta1/runs

Check warning

Code scanning / Robocop

The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test

The assignment sign is not consistent within the file. Expected ' =' but got '' instead
Should Start With ${url} https
Remove Pipeline Project project-redirect-http
[Teardown] Remove Pipeline Project project-redirect-http

Verify DSPO Operator Reconciliation Retry
[Documentation] Verify DSPO Operator is able to recover from missing components during the initialization
Expand Down
Loading