-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Remove AzureRM instances and add helpMarkDown text. #3286
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
Conversation
@@ -211,8 +211,8 @@ export async function getAzureRMWebAppConfigDetails(SPN, webAppName: string, res | |||
deferred.resolve(obj); | |||
} | |||
else { | |||
tl.error(response.statusMessage); | |||
deferred.reject(tl.loc('UnabletoretrieveAzureRMWebAppConfigDetails', response.statusCode, response.statusMessage)); | |||
tl.error(body); |
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.
why are we giving complete body ?
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.
'body' may have some context regarding the error. it will be be a string or just a simple json.
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.
check the experience how it is looking when you are giving full body.
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.
changed tl.error(body)
to tl.debug(body);
@@ -119,7 +119,7 @@ | |||
"defaultValue": "false", | |||
"required": false, | |||
"groupName": "AdditionalDeploymentOptions", | |||
"helpMarkDown": "Select the option to take the AzureRM Web App offline by placing an app_offline.htm file in the root directory of the Web App before the sync operation begins. The file will be removed after the sync operation completes successfully." | |||
"helpMarkDown": "Select the option to take the Azure App service offline by placing an app_offline.htm file in the root directory of the Web App before the sync operation begins. The file will be removed after the sync operation completes successfully." |
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.
I shared Task.json given by Usha please update those changes as well.
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.
done
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.
Update PR with Usha recommendations
@@ -23,7 +23,7 @@ | |||
"loc.input.label.WebAppUri": "App Service URL", | |||
"loc.input.help.WebAppUri": "Specify a name for the output variable that is generated for the URL of the Azure App Service. The variable can be consumed in subsequent tasks.", | |||
"loc.input.label.TakeAppOfflineFlag": "Take App Offline", | |||
"loc.input.help.TakeAppOfflineFlag": "Select the option to take the AzureRM Web App offline by placing an app_offline.htm file in the root directory of the Web App before the sync operation begins. The file will be removed after the sync operation completes successfully.", | |||
"loc.input.help.TakeAppOfflineFlag": "Select the option to take the Azure App service offline by placing an app_offline.htm file in the root directory of the Web App before the sync operation begins. The file will be removed after the sync operation completes successfully.", |
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.
correct to "directory of the App service"
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.
done
"loc.messages.UnabletoretrieveAzureRMWebAppConfigDetails": "Error Occurred : [Status Code : '%s']", | ||
"loc.messages.UnabletoretrieveAzureRMWebAppAppSettings": "Error Occurred : [Status Code : '%s', Error Message: '%s']", | ||
"loc.messages.UnabletoupdateAzureRMWebAppAppSettings": "Error Occurred : [Status Code : '%s', Error Message: '%s']", | ||
"loc.messages.Unabletoretrievewebconfigdetails": "Unable to retrieve web config details.[Status Code: '%s', Error Message: '%s']", |
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.
Use App Service Configuration details.
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.
done
"loc.messages.UnabletoretrieveAzureRMWebAppAppSettings": "Error Occurred : [Status Code : '%s', Error Message: '%s']", | ||
"loc.messages.UnabletoupdateAzureRMWebAppAppSettings": "Error Occurred : [Status Code : '%s', Error Message: '%s']", | ||
"loc.messages.Unabletoretrievewebconfigdetails": "Unable to retrieve web config details.[Status Code: '%s', Error Message: '%s']", | ||
"loc.messages.Unabletoretrievewebappsettings": "Unable to retrieve web app settings. [Status Code: '%s', Error Message: '%s']", |
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.
App Service settings
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.
done
@@ -15,7 +15,9 @@ | |||
"Minor": 0, | |||
"Patch": 0 | |||
}, | |||
"preview": "true", | |||
"editorHints": { | |||
"preview": "true" |
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.
merge my changes from master, It is overwrite of previous changes of mine
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.
reverted
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.
Merge from master and do gulp then update PR
No description provided.