-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Added multiple binding support in IIS Manage #3952
Conversation
@@ -27,55 +27,6 @@ describe('IISWebAppManagementOnMachineGroup Suite', function () { | |||
}); | |||
|
|||
if (ps) { | |||
|
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.
Moved the tests for the common script to the vsts-rm-extensions repo
$sslCertThumbprint.Value = [Regex]::Replace($sslCertThumbprint.Value, "[^a-fA-F0-9]+" , "") | ||
|
||
$sslCertThumbPrint.Value = [Regex]::Replace($sslCertThumbPrint.Value, "[^a-fA-F0-9]+" , "") | ||
|
||
# Mark the SSL thumbprint value to be a secret value |
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 comment is not relevant for below newly introduced statements. You can move the comment closer to the below code where we set secret variable.
if(-not [string]::IsNullOrWhiteSpace($binding.sslThumbprint)) { | ||
# Trim all non-hexadecimal characters from the ssl cetificate thumbprint | ||
$sslCertThumbPrint = $binding.sslThumbPrint | ||
$sslCertThumbPrint = Repair-Inputs -sslCertThumbPrint ([ref]$sslCertThumbPrint) -ipAddress $binding.ipAddress -protocol $binding.protocol -port $binding.port |
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.
except cert thumbprint, other inputs are not really inputs for repairing. The Name of the method and signature is not matching.
"properties": { | ||
"resizable": "true", | ||
"editorExtension": "ms.vss-services-azure.iis-multiple-binding", | ||
"displayFormat": "{{#bindings}} {{protocol}}:{{ipAddress}}:{{port}}:{{hostname}} \n{{/bindings}}" |
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.
Is it possible to have same semantics as in inetmgr.
* Added multiple binding support in IIS Manage and updated major version * Updated the task to handle both current and previous inputs * Addressed review comments and minor fixes * bug fixes
* Added multiple binding support in IIS Manage (#3952) * Added multiple binding support in IIS Manage and updated major version * Updated the task to handle both current and previous inputs * Addressed review comments and minor fixes * bug fixes * Picklist fixes
No description provided.