Hi,
We are trying to build service broker to provide managed
services in pivotal CF. While we were able to push the service broker
app and successfully register the service broker with CF, we are facing
issues when enabling service access to the services provided by the
service broker.
/v2/catalog API implementation by our service broker returns following data:
{
"services":
[
{
"id":"d68fd467-73fd-4942-8d1b-84fc49cd355b",
"name":"myservice",
"description":"My Service",
"bindable":true,
"plans":[
{
"id":"fe797b34-2d73-41cc-bec5-11e0df406866",
"name":"free",
"description":"This is a default plan.",
"free":true
}
],
"tags":[],
"metadata":{},
"requires":[],
"dashboard_client":null
}
]
}
cf service-brokers cli shows following output:
cf service-access shows following output:
Getting service access as admin...
broker: p-mysql
service plan access orgs
p-mysql 100mb-dev all
p-mysql 1gb-dev all
broker: docker
service plan access orgs
postgresql93 free all
mysql56 free all
redis28 free all
mongodb26 free all
couchdb16 free all
neo4j21 free all
arangodb22 free all
rabbitmq33 free all
memcached14 128Mb all
memcached14 512Mb all
memcached14 1Gb all
elasticsearch13 free all
logstash14 free all
etcd free all
consul free all
rethinkdb free all
broker: myservice-sb
service plan access orgs
myservice free none
Since
the service provided by our service broker is private, we are trying to
give access to "all" by using following cf command:
cf enable-service-access myservice
However, we always get following error when we run this command:
$ cf enable-service-access myservice
Enabling access to all plans of service myservice for all orgs as admin...
FAILED
Server error, status code: 400, error code: 10005, message: The query parameter is invalid: service_plan_guid
Can someone please point us what we are missing?
I tried cf curl /v2/service_plans but the output doesn't show our service plan.
Thanks,
Atul