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

Publish maintenance_info to osb clients #278

Closed
gberche-orange opened this issue May 18, 2020 · 1 comment · Fixed by #343
Closed

Publish maintenance_info to osb clients #278

gberche-orange opened this issue May 18, 2020 · 1 comment · Fixed by #343

Comments

@gberche-orange
Copy link
Member

gberche-orange commented May 18, 2020

  • As a coab operator
  • In order to expose service update to users including new dashboard urls returned
  • I need the maintenance_info to be returned to OSB clients, so that osb client can request a service instance update and receive a refreshed service instance view with an updated dashboard url

Acceptance test scenario

S1: catalog

  • Given a coab instance is configured with the following flags
    • maintenance_info.version: the osb-cmdb version
    • maintenance_info.description: the osb-cmdb description of the update
  • Then /v2/catalog returns the specified maintenance_info

S2: service provisionning

  • Given a coab instance is configured with the following flags
    • maintenance_info.version: the osb-cmdb version
    • maintenance_info.description: the osb-cmdb description of the update
  • When service instance provisionning request is received
  • Then the coab-vars.yml includes the specified maintenance_info

S3: service update: ignored when maintenance_info match

  • Given a coab instance is configured with the following flags
    • maintenance_info.version: v48
    • maintenance_info.description: "mariadb update y"
  • And service instance exists with maintenance info
"maintenance_info": {
        "version": "v47",
        "description": "mariadb version update to x"
      }
  • When a service instance update request comes with
"maintenance_info": {
        "version": "v47",
        "description": "mariadb version update to x"
      }

S4: service update: triggers COA pipeline when maintenance_info don't match

Note: This is delayed and moved into #245 instead

  • Given a coab instance is configured with the following flags
    • maintenance_info.version: v48
    • maintenance_info.description: "mariadb update y"
  • And service instance exists with maintenance info
"maintenance_info": {
        "version": "v47",
        "description": "mariadb version update to x"
      }
  • When a service instance update request comes with
"maintenance_info": {
        "version": "v48",
        "description": "mariadb version update to y"
      }
@gberche-orange
Copy link
Member Author

Scenario S3 was descoped as cloudfoundry CLI prevents such scenario.

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 a pull request may close this issue.

1 participant