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

Add support for Sandbox API gateway #322

Merged

Conversation

tobiaslohr
Copy link
Contributor

This adds support for working with On-Demand Sandboxes against the new Sandbox API Gateway. Benefits of this include:

  • Avoids messing around with cluster configuration - Knowledge of the cluster your sandbox realm is provisioned on is not needed and abstracted
  • Managing sandboxes provisioned on multiple clusters

Example:

You have sandboxes on realms in multiple clusters. Prior to this change you have to set the env var SANDBOX_API_HOST to the respective host name of the sandbox cluster before managing sandboxes, e.g. sfcc-ci sandbox:list. After that to see the sandboxes in your other realm provisioned in the other cluster, you set the env var to a different value and call sfcc-ci sandbox:list again.

Now, with this change you don't have to set the env var at all, but just call sfcc-ci sandbox:list and you are able to manage the sandboxes of both realms from both clusters.

@tobiaslohr tobiaslohr added the enhancement New feature or request label Sep 1, 2022
@salesforce-cla
Copy link

salesforce-cla bot commented Sep 1, 2022

Thanks for the contribution! It looks like @tobiaslohr is an internal user so signing the CLA is not required. However, we need to confirm this.

@tobiaslohr tobiaslohr merged commit 1b61d1f into SalesforceCommerceCloud:master Sep 1, 2022
@tobiaslohr tobiaslohr deleted the sandbox-api-gateway branch September 1, 2022 13:41
@tobiaslohr tobiaslohr added this to the 2.10.0 milestone Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants