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

As a korifi user I want to be able to see the state of the last operation of a managed service instance #3536

Open
georgethebeatle opened this issue Oct 22, 2024 · 1 comment
Assignees

Comments

@georgethebeatle
Copy link
Member

Background

Implement the last operation field for service instance as specified in the docs

Dev notes

  • Check behaviour of traditional cf for user provided service instances
@github-project-automation github-project-automation bot moved this to 🧊 Icebox in Korifi - Backlog Oct 22, 2024
@georgethebeatle georgethebeatle moved this from 🧊 Icebox to 🇪🇺 To do in Korifi - Backlog Oct 22, 2024
@danail-branekov danail-branekov self-assigned this Nov 5, 2024
@danail-branekov
Copy link
Member

Some experiments with UPSI on mel-c:

Create UPSI

> cf create-user-provided-service my-upsi -p '{"k1":"v1"}'

> cf services

Getting service instances in org org1 / space space1 as admin...

name      offering        plan   bound apps   last operation     broker   upgrade available
my-upsi   user-provided                       create succeeded

> cf services -v

.....
      "last_operation": {
        "created_at": "2024-11-05T15:48:19Z",
        "description": "Operation succeeded",
        "state": "succeeded",
        "type": "create",
        "updated_at": "2024-11-05T15:48:19Z"
      },
.....

Update UPSI

> cf update-user-provided-service my-upsi -p '{"foo":"bar"}'

> cf services

Getting service instances in org org1 / space space1 as admin...

name      offering        plan   bound apps   last operation     broker   upgrade available
my-upsi   user-provided                       update succeeded

> cf services -v

...
      "last_operation": {
        "created_at": "2024-11-05T15:50:59Z",
        "description": "Operation succeeded",
        "state": "succeeded",
        "type": "update",
        "updated_at": "2024-11-05T15:50:59Z"
      },

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔄 In progress
Development

No branches or pull requests

2 participants