Comments (5)
The example in the spec has been updated, and we discuss in profile.md that cost
is part of metadata
and not defined in the spec.
api.md defines it as 'cost'
catalog-metadata.md defines it as 'costs'
The AppDirect broker uses costs
, and this is used in the PWS web UI.
the structure of the 'cost' object is defined in terms of usd, which is obviously somewhat centered on a specific currency. As well as using that currency as a key in an object, which is not good.
It is unclear about how multiple costs combine together if they exist.
Though there are likely better schemas; the current one used by Pivotal does allow for multiple currencies:
"costs": [
{
"amount": {
"usd": 649.0,
"yen": 1000,
"euro": 700
},
"unit": "MONTHLY"
}
]
I would say we close this and if someone would like to see costs defined in the specification, they should open a new issue.
from servicebroker.
This is a relevant point for us because being able to display a service cost is a requirement of one of our customers.
I agree that we should do a pass on the spec and refine the current definition. It is in our TODO list but right now it is low priority so we haven't started working on it.
from servicebroker.
I believe the issue @MHBauer is referring to is only that the example in the api spec doesn't match the suggested field in http://docs.cloudfoundry.org/services/catalog-metadata.html.
I believe it's reasonable to update the example in the api spec to match, if it removes some confusion. It doesn't change the spec, as this field is not in the spec.
I'll include the change with my PR to migrate the spec from CF.
from servicebroker.
@shalako I believe this bug is resolved. Would you or @MHBauer like to confirm and close this issue? Thanks
from servicebroker.
Current spec and such seems fine now.
from servicebroker.
Related Issues (20)
- Multiple binding schemas per plan HOT 3
- Update existing service instance: not able to delete while update in progress HOT 2
- Not Able to return 410 status code via get instance last operation call in async service broker HOT 1
- OpenAPI spec points to unsupported JSON schema definition
- In case of X-broker-api-version code and spec not working synchronously HOT 1
- Service to Service Binding HOT 3
- Mismatch in the response of last operation for service bindings in openapi.yaml
- OpenAPI / Swagger service plan resources are missing properties
- Swagger spec is missing service binding endpoint object + properties
- Video: What is the Open Service Broker API? is private HOT 3
- Inconsistencies between `ServiceBindingMetadata` and `ServiceInstanceMetadata` HOT 1
- Service broker API of version 2.16 is showing the stack trace instead of single error msg line which is revealing internal code details HOT 3
- Failed to evaluate Jackson deserialization for type [[simple type, class org.springframework.cloud.servicebroker.model.instance.CreateServiceInstanceRequest]]: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Conflicting getter definitions for property "organization_guid" HOT 2
- Conditional display or filtering of service plans on the OSB broker side HOT 1
- Orphan mitigation vs. still usable service instances after deprovisioning failure HOT 3
- Archieved Golang OSB Frameworks - Any new plan/replacement? HOT 1
- Response not specified when updating non-existing service instance
- Security Controls within the ServiceBroker API model
- Adding a new column in the existing table to indicate the default values for any specific field
- How to treat changing cost?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servicebroker.