如何向 Bluemix/Cloud Foundry 添加服务代理?
How do I add a service broker to Bluemix / Cloud Foundry?
我有一个 Cloud Foundry / Bluemix 的私人服务代理 found, e.g., here on GitHub。当我尝试使用
注册代理时
cf create-service-broker brokername username password URI2Broker
我收到以下错误:
Creating service broker brokername as BluemixUser...
FAILED
Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action
即使我不是管理员,如何将私有服务代理与 Bluemix 或 Cloud Foundry 一起使用?
Cloud Foundry 有两种类型的私有代理,standard private brokers and space-scoped private brokers。后者即使没有管理员权限也可以注册,并且仅在 space 中可见("space-scoped")。您可以使用以下命令:
cf create-service-broker brokername username password URI2Broker --space-scoped
有一些规则需要遵循,例如,几个标识符在 Cloud Foundry 实例中需要是唯一的。您可以在此 tutorial on registering private brokers 中找到更多信息,其中包含示例和更多文档的链接。
我有一个 Cloud Foundry / Bluemix 的私人服务代理 found, e.g., here on GitHub。当我尝试使用
注册代理时
cf create-service-broker brokername username password URI2Broker
我收到以下错误:
Creating service broker brokername as BluemixUser...
FAILED
Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action
即使我不是管理员,如何将私有服务代理与 Bluemix 或 Cloud Foundry 一起使用?
Cloud Foundry 有两种类型的私有代理,standard private brokers and space-scoped private brokers。后者即使没有管理员权限也可以注册,并且仅在 space 中可见("space-scoped")。您可以使用以下命令:
cf create-service-broker brokername username password URI2Broker --space-scoped
有一些规则需要遵循,例如,几个标识符在 Cloud Foundry 实例中需要是唯一的。您可以在此 tutorial on registering private brokers 中找到更多信息,其中包含示例和更多文档的链接。