Skip to content

Conversation

vincent1173
Copy link
Contributor

No description provided.

@@ -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);
Copy link
Member

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 ?

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

@vincent1173 vincent1173 Dec 22, 2016

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."
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@mvvsubbu mvvsubbu left a 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.",
Copy link
Member

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"

Copy link
Contributor Author

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']",
Copy link
Member

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.

Copy link
Contributor Author

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']",
Copy link
Member

Choose a reason for hiding this comment

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

App Service settings

Copy link
Contributor Author

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"
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reverted

Copy link
Member

@mvvsubbu mvvsubbu left a 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

@vincent1173 vincent1173 merged commit 229e4d5 into master Dec 23, 2016
@bryanmacfarlane bryanmacfarlane deleted the users/vinca/changeAzureRMInstances branch January 31, 2018 00:27
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.

3 participants