Skip to content

Commit

Permalink
Add experimental --upgrade flag to update-service
Browse files Browse the repository at this point in the history
- allows for upgrade of an individual service instance to the latest maintenance_info version on the plan

[#164496184]

Co-authored-by: Oleksii Fedorov <ofedorov@pivotal.io>
Co-authored-by: George Blue <gblue@pivotal.io>
Co-authored-by: Aarti Kriplani <akriplani@pivotal.io>
  • Loading branch information
4 people committed May 3, 2019
1 parent 5010c00 commit db1abfc
Show file tree
Hide file tree
Showing 22 changed files with 1,483 additions and 20 deletions.
3 changes: 2 additions & 1 deletion actor/v2action/actor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package v2action contains the business logic for the commands/v2 package
// Package v2action contains the business logic for the commands/v6 package
// Actors in this package should only call CC v2 API endpoints
package v2action

// Warnings is a list of warnings returned back from the cloud controller
Expand Down
1 change: 1 addition & 0 deletions actor/v2action/cloud_controller_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ type CloudControllerClient interface {
UpdateRouteApplication(routeGUID string, appGUID string) (ccv2.Route, ccv2.Warnings, error)
UpdateSecurityGroupSpace(securityGroupGUID string, spaceGUID string) (ccv2.Warnings, error)
UpdateSecurityGroupStagingSpace(securityGroupGUID string, spaceGUID string) (ccv2.Warnings, error)
UpdateServiceInstanceMaintenanceInfo(serviceInstanceGUID string, maintenanceInfo ccv2.MaintenanceInfo) (ccv2.Warnings, error)
UpdateServicePlan(guid string, public bool) (ccv2.Warnings, error)
UpdateSpaceDeveloper(spaceGUID string, uaaID string) (ccv2.Warnings, error)
UpdateSpaceDeveloperByUsername(spaceGUID string, username string) (ccv2.Warnings, error)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

121 changes: 121 additions & 0 deletions actor/v2action/composite/compositefakes/fake_get_service_plan_actor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit db1abfc

Please sign in to comment.