Defining a singular plan for all services


Paul Bakare
 

Hi,

How can I define a default plan to be used by more than one services
without repeating the same plan definition in settings.yml file?

Appreciate your help.


CF Runtime
 

What services do you want to define this default plan for?

Natalie & Mikhail
Runtime & OSS Integration

On Wed, Oct 14, 2015 at 2:22 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:

Hi,

How can I define a default plan to be used by more than one services
without repeating the same plan definition in settings.yml file?

Appreciate your help.


Paul Bakare
 

A custom built service.

We're building a custom API Gateway for our apps.

On Fri, Oct 16, 2015 at 11:29 PM, CF Runtime <cfruntime(a)gmail.com> wrote:

What services do you want to define this default plan for?

Natalie & Mikhail
Runtime & OSS Integration

On Wed, Oct 14, 2015 at 2:22 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:

Hi,

How can I define a default plan to be used by more than one services
without repeating the same plan definition in settings.yml file?

Appreciate your help.


Shannon Coen
 

Hello Kayode,

So glad to hear you're building a broker for your API Gateway!

If your broker offers multiple services, and/or multiple plans of a
service, it is up to you as the broker author to expose all of these plans
individually in the catalog endpoint [1]. The Service Broker API doesn't
support the notion of a "default plan" shared by multiple services because,
while plans may have metadata in common, every plan must have a unique
identifier.

As Cloud Foundry is not prescriptive about implementation or deployment of
your broker, mention of settings.yml is a bit confusing. While you may use
a configuration file called settings.yml, another service broker author may
use a very different mechanism for configuration.

[1] http://docs.cloudfoundry.org/services/api.html#catalog-mgmt

Warm regards,

Shannon Coen
Product Manager, Cloud Foundry
Pivotal, Inc.

On Mon, Oct 19, 2015 at 6:17 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:

A custom built service.

We're building a custom API Gateway for our apps.


On Fri, Oct 16, 2015 at 11:29 PM, CF Runtime <cfruntime(a)gmail.com> wrote:

What services do you want to define this default plan for?

Natalie & Mikhail
Runtime & OSS Integration

On Wed, Oct 14, 2015 at 2:22 AM, Kayode Odeyemi <dreyemi(a)gmail.com>
wrote:

Hi,

How can I define a default plan to be used by more than one services
without repeating the same plan definition in settings.yml file?

Appreciate your help.