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

Added multiple binding support in IIS Manage #3952

Merged
merged 6 commits into from
May 5, 2017

Conversation

asranja
Copy link
Contributor

@asranja asranja commented Apr 5, 2017

No description provided.

@@ -27,55 +27,6 @@ describe('IISWebAppManagementOnMachineGroup Suite', function () {
});

if (ps) {

Copy link
Contributor Author

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

@asranja asranja requested review from mvvsubbu and kmkumaran April 5, 2017 21:11
$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
Copy link
Member

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

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

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.

@asranja asranja changed the title Added multiple binding support in IIS Manage and updated major version Added multiple binding support in IIS Manage May 4, 2017
@asranja asranja merged commit 662b871 into master May 5, 2017
asranja added a commit that referenced this pull request May 5, 2017
* 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
asranja added a commit that referenced this pull request May 5, 2017
* 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
@bryanmacfarlane bryanmacfarlane deleted the users/asranja/iismultiplebindings branch January 31, 2018 00:55
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