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

Merge ServiceFabricDeploy task related changes #7751

Merged
merged 8 commits into from
Jul 17, 2018

Conversation

kuvinodms
Copy link

No description provided.

bishal-pdMSFT and others added 8 commits July 17, 2018 15:23
…ommands (#7588)

* Re-tries for copy and register commands

* PR comments

* PR comments and few suggestion as per Oana

* connect, unregister, create, remove re-tries

* L0 for unregister retry

* L0 for create and remove application

* Utilities changes which were not picked in merge

* PR comments
#7593)

* Moving retry logic for UpgradeApplication to corresponding helper function

* Updated function name

* Added new operation

* Indentation

* Adding timeout exception
* Retry for remaining commands

* PR comment
* Adding logs for upgrade service fabric application.

* resolving comments

* Forming upgrade errors message.

* Formatting unhealthy evaluation and upgrade status.

* fixed merge changes

* Formatting UnhealthyEvaluation and DomainUpgradeStatus while printing only conditionally.

* Moved waiting for upgrade to complete and printing logic to function in Utilities file.

* Keeping other exception as well.
* Implemented Async operations

* Added null checks

* Modified code as per review comments

* typo

* Revert "typo"

This reverts commit f04d14e.

* Revert "Modified code as per review comments"

This reverts commit e24bc53.

* Modified code as per review comments

* Modified code as per review comments

* Addressed review comments

* Added retry logic to Wait-ServiceFabricApplicationTypeRegistrationStatus

* Added comments

* Addressed review comments

* typo

* Added comments

* typo

* Addressed review comments

* Updated test cases

* Modified code as per review comments
* Corrected typo.

* Corrected retry message null check
* Added powershell helper module

* Replacing Trace-VstsEnteringInvocation with print statement

* Removing Trace-VstsLeavingInvocation $MyInvocation

* Addressed review comments
{
return $true
}
# if app type exist and if its status has changed to a terminal one, throw
Copy link
Contributor

Choose a reason for hiding this comment

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

I had this minor comment in previous PR: why is the elseif condition required. It should always throw if reached here

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it will always throw

return $true
}
# if app type exist and if its status has changed to a terminal one, throw
elseif(($appType.Status -ne [System.Fabric.Query.ApplicationTypeStatus]::Provisioning) -and ($appType.Status -ne [System.Fabric.Query.ApplicationTypeStatus]::Unprovisioning))
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it will always throw

@kuvinodms kuvinodms merged commit 1f39d6b into releases/m137 Jul 17, 2018
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.

4 participants