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

new endpoints to support exclusive releaes cloning and activation #212

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sawall
Copy link
Member

@sawall sawall commented Aug 17, 2023

No description provided.

@sawall sawall requested review from mihhu and oanaianc August 17, 2023 21:42

REQUEST_BODY='{
"environment": "'$ENVIRONMENT'",
"releaseStatus": "ACTIVATED",
Copy link
Contributor

Choose a reason for hiding this comment

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

The request body should have only the releaseStatus, as
"releaseStatus": "AVAILABLE"
The environment should be passed as query parameter on the request

scripts/versioning-manager.sh Outdated Show resolved Hide resolved
- hidden:
name: EXCLUSIVE_CLONED_RELEASE_NUMBER
description: "the release number to clone for use by the customer"
default: "NONE"
Copy link
Contributor

Choose a reason for hiding this comment

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

I would set the default to "" empty. same for the exlusive_tenancy

@@ -74,7 +74,13 @@ if [ "$VERSIONING_ACTION" == "CREATE_RELEASE" ]; then
# for https://developer.8x8.com/jaas/docs/6-may-2022-release-notes
[ -z "$VERSIONING_RELEASE_NOTES_TITLE" ] && VERSIONING_RELEASE_NOTES_TITLE=""

REQUEST_BODY='{
# only used if a release is being cloned for exclusive use
[ -z "$EXCLUSIVE_TENANCY" ] && EXCLUSIVE_TENANCY="NONE"
Copy link
Contributor

Choose a reason for hiding this comment

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

I would set the default to "" empty. same for the clone_release_number

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.

2 participants