-
Notifications
You must be signed in to change notification settings - Fork 68
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
appservice: Add flexDeploy method #1524
Conversation
…into nat/flexDeploy
appservice/src/SiteClient.ts
Outdated
queryParameters: { remoteBuild?: boolean, Deployer?: string }): Promise<AzExtPipelineResponse> { | ||
const client: ServiceClient = await createGenericClient(context, this._site.subscription); | ||
const queryOptions = convertQueryParamsValuesToString(queryParameters); | ||
const queryString = Object.keys(queryOptions).map(key => key + '=' + queryOptions[key]).join('&'); |
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.
const queryString = Object.keys(queryOptions).map(key => key + '=' + queryOptions[key]).join('&'); | |
const queryString = new URLSearchParams(queryParameters).toString(); |
const result: MessageItem = await context.ui.showWarningMessage(placeHolder, | ||
{ | ||
modal: true, | ||
stepName: 'confirmDestructiveDeployment', | ||
learnMoreLink: options?.learnMoreLink | ||
}, ...items); |
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.
formatting
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.
This guy, not even prefixing with a nit...
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.
This is no nit, it's egregious
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.
😄
Adds functions to handle deploying to CV2 plans. I added a method to allow us to customize the deployment confirmation prompt and some other options a bit more since a need arose for it.
I'll link the PR that uses this in a bit.