Skip to content

Change default Cloud URL#118

Merged
rathishcholarajan merged 5 commits into
Qiskit:mainfrom
daka1510:change-default-cloud-url
Jan 24, 2022
Merged

Change default Cloud URL#118
rathishcholarajan merged 5 commits into
Qiskit:mainfrom
daka1510:change-default-cloud-url

Conversation

@daka1510
Copy link
Copy Markdown
Contributor

@daka1510 daka1510 commented Jan 24, 2022

Summary

Change URL format provided by users

Background: we do not want to introduce breaking changes after the first release. The URL supplied by the user should allow to infer the Runtime API Base URL and resource controller API (and potentially others).

Details and comments

Fixes #116

Prerequisites

  • requires QISKIT_IBM_CLOUD_URL to be reconfigured to https://(test.)cloud.ibm.com

@daka1510 daka1510 changed the title change default user-provided Cloud URL Change default Cloud URL Jan 24, 2022
Comment on lines +55 to +59
(
"crn:v1:bluemix:public:quantum-computing:us-east:a/...:...::",
"https://cloud.ibm.com",
"https://us-east.quantum-computing.cloud.ibm.com",
),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I manually verified that it also works for the tuple

("crn:v1:staging:public:quantum-computing:us-east:a/f80115697ee84cd4aa15dd3c795e9445:5cd72baf-d1a4-4434-996b-8a45c0123efb::", "https://test.cloud.ibm.com", "https://us-east.quantum-computing.test.cloud.ibm.com")

Based on feedback on a previous PR where you were against adding explicit support in code for our staging environments, I concluded it might be better to leave it out from the test case here.

@daka1510 daka1510 requested review from jyu00 and rathishcholarajan and removed request for rathishcholarajan January 24, 2022 14:38
Copy link
Copy Markdown
Member

@rathishcholarajan rathishcholarajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rathishcholarajan rathishcholarajan merged commit 5d1df08 into Qiskit:main Jan 24, 2022
@daka1510 daka1510 mentioned this pull request Jan 31, 2022
3 tasks
@daka1510 daka1510 deleted the change-default-cloud-url branch January 31, 2022 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change default cloud URL

2 participants