Skip to content

How to extend more service binding operations? #631

@Zhaojing-Wang

Description

@Zhaojing-Wang

Explain the terms I will use below:
application:The system used to carry the user's own business. On the platform, the code of an application is deployed to servers provided by platform.
OSB API:Abbreviation of the open service broker API

As a platform I provide the loadbanlancer service that supports the OSB API. Loadbanlancer needs to mount the user's server for load balancing. In my opinion, the binding operation binds a service instance of loadbanlancer to the user's application. At this moment, there may be none servers mounted with the instance of loadbalancer service. After the user's application is published to the servers, it may be necessary to call the loadBanlance OSB API to mount these servers to the instance of loadbanlancer service. In this case, the OSB API may not have a proper method of operation. I came up with two solutions:
1. Use the update method of the service instance with different parameters to distinguish whether modifying the attributes of the loadbanlancer itself or mounting the servers to the loadbanlancer service instance;
2. Extend the service binding with a new operation, such as adding a schema definition to the catalog that modifies the server mount relationship.

I want to know what is best practice to solve this situation when using the OSB API. And when considering about the OSB API V3 standard, how do you think about supporting such a situation?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions