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

K8s service instances dupls (WIP) #343

Conversation

gberche-orange
Copy link
Contributor

This is a WIP that cherry picks orange-cloudfoundry/osb-cmdb#27 and starts addressing #337, see related design notes at orange-cloudfoundry/osb-cmdb#17 (comment)

Compiles, but there are still some test failures. Need to further diagnose whether this is regression introduced in production code during cherry pick or test that need update. I submitted this PR in case this might help as inspiration, but this is not yet finished.

I'm not sure to be able to allocate much more time on this PR in the short term, so feel free to close this PR if this feels more like pollution.


Dupl provisioning, update and unprovisionning request support:

  • Modified service instance repository to be checked and saved for "in progress" status on the servlet thread, as to avoid race condition with the reactor thread
  • Only skip duplicate request when state repository has an inprogress request, and still fail on async CF-ServiceInstanceNameTaken(60002) for now
  • Include log to help diagnose ignored duplicate API calls
  • WorkflowServiceInstanceServiceTest completed with a test when a provisionning is in progress

Dupl provisioning, update and unprovisionning request support:
- WorkflowServiceInstanceServiceTest completed with test when a provisionning is in progress
- Modified service instance repository to be checked and saved for "in progress" status on the servlet thread, as to avoid race condition with the reactor thread
- Only skip duplicate request when state repository has an inprogress request, and still fail on async CF-ServiceInstanceNameTaken(60002) for now
- Include log to help diagnose ignored duplicate API calls
Compiles, but still some test failures.
Need to further diagnose whether this is regressions introduced in production code during cherry pick or test that need update.
@gberche-orange
Copy link
Contributor Author

This osb-cmdb related feature does not seem to be of interest to app-broker use-cases. Closing it as I won't be able to rebase/maintain it if there is interest.

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.

1 participant