github.com/arunkumar7540/cli@v6.45.0+incompatible/integration/assets/service_broker/data.json (about)

     1  {
     2    "comment": [
     3      "I have no impact to the broker (json doesn't support comments explicitly)",
     4      "",
     5      "Run 'curl <service-broker-url>/config' to fetch the current configuration of the service broker",
     6      "Run 'curl <service-broker-url>/config -d @<json-file>' to update the current configuration of the service broker",
     7      "",
     8      "With the exception of catalog, behaviors are defined with responses by service plan guid. 'default' is the fallback response that the broker will use if a plan is not provided.",
     9      "",
    10      "Instead of specifying the 'body' key for responses, you can provide 'raw_body' which is a string of the response to return.",
    11      "raw_body allows you to specify invalid json responses. The 'body' key must be missing for the service broker to use raw_body."
    12    ],
    13    "behaviors": {
    14      "catalog": {
    15        "sleep_seconds": 0,
    16        "status": 200,
    17        "body": {
    18          "services": [
    19            {
    20              "name": "fake-service",
    21              "id": "f479b64b-7c25-42e6-8d8f-e6d22c456c9b",
    22              "description": "fake service",
    23              "tags": [
    24                "no-sql",
    25                "relational"
    26              ],
    27              "requires": [
    28                "route_forwarding"
    29              ],
    30              "max_db_per_node": 5,
    31              "instances_retrievable": true,
    32              "bindings_retrievable": true,
    33              "bindable": true,
    34              "metadata": {
    35                "provider": {
    36                  "name": "The name"
    37                },
    38                "listing": {
    39                  "imageUrl": "http://catgifpage.com/cat.gif",
    40                  "blurb": "fake broker that is fake",
    41                  "longDescription": "A long time ago, in a galaxy far far away..."
    42                },
    43                "displayName": "The Fake Broker",
    44                "shareable": true
    45              },
    46              "dashboard_client": {
    47                "id": "sso-test",
    48                "secret": "sso-secret",
    49                "redirect_uri": "http://localhost:5551"
    50              },
    51              "plan_updateable": true,
    52              "plans": [
    53                {
    54                  "name": "fake-plan",
    55                  "id": "fake-plan-guid",
    56                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
    57                  "max_storage_tb": 5,
    58                  "metadata": {
    59                    "cost": 0,
    60                    "bullets": [
    61                      {
    62                        "content": "Shared fake server"
    63                      },
    64                      {
    65                        "content": "5 TB storage"
    66                      },
    67                      {
    68                        "content": "40 concurrent connections"
    69                      }
    70                    ]
    71                  }
    72                },
    73                {
    74                  "name": "fake-async-plan",
    75                  "id": "fake-async-plan-guid",
    76                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
    77                  "max_storage_tb": 5,
    78                  "metadata": {
    79                    "cost": 0,
    80                    "bullets": [
    81                      {
    82                        "content": "40 concurrent connections"
    83                      }
    84                    ]
    85                  }
    86                },
    87                {
    88                  "name": "fake-async-only-plan",
    89                  "id": "fake-async-only-plan-guid",
    90                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
    91                  "max_storage_tb": 5,
    92                  "metadata": {
    93                    "cost": 0,
    94                    "bullets": [
    95                      {
    96                        "content": "40 concurrent connections"
    97                      }
    98                    ]
    99                  }
   100                }
   101              ]
   102            }
   103          ]
   104        }
   105      },
   106      "provision": {
   107        "fake-async-plan-guid": {
   108          "sleep_seconds": 0,
   109          "status": 202,
   110          "body": {}
   111        },
   112        "fake-async-only-plan-guid": {
   113          "async_only": true,
   114          "sleep_seconds": 0,
   115          "status": 202,
   116          "body": {}
   117        },
   118        "default": {
   119          "sleep_seconds": 0,
   120          "status": 200,
   121          "body": {}
   122        }
   123      },
   124      "fetch": {
   125        "default": {
   126          "in_progress": {
   127            "sleep_seconds": 0,
   128            "status": 200,
   129            "body": {
   130              "state": "in progress"
   131            }
   132          },
   133          "finished": {
   134            "sleep_seconds": 0,
   135            "status": 200,
   136            "body": {
   137              "state": "succeeded"
   138            }
   139          }
   140        }
   141      },
   142      "update": {
   143        "fake-async-plan-guid": {
   144          "sleep_seconds": 0,
   145          "status": 202,
   146          "body": {}
   147        },
   148        "fake-async-only-plan-guid": {
   149          "async_only": true,
   150          "sleep_seconds": 0,
   151          "status": 202,
   152          "body": {}
   153        },
   154        "default": {
   155          "sleep_seconds": 0,
   156          "status": 200,
   157          "body": {}
   158        }
   159      },
   160      "deprovision": {
   161        "fake-async-plan-guid": {
   162          "sleep_seconds": 0,
   163          "status": 202,
   164          "body": {}
   165        },
   166        "fake-async-only-plan-guid": {
   167          "async_only": true,
   168          "sleep_seconds": 0,
   169          "status": 202,
   170          "body": {}
   171        },
   172        "default": {
   173          "sleep_seconds": 0,
   174          "status": 200,
   175          "body": {}
   176        }
   177      },
   178      "bind": {
   179        "default": {
   180          "sleep_seconds": 0,
   181          "status": 201,
   182          "body": {
   183            "route_service_url": "https://logging-route-service.bosh-lite.com",
   184            "credentials": {
   185              "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
   186              "username": "fake-user",
   187              "password": "fake-password",
   188              "host": "fake-host",
   189              "port": 3306,
   190              "database": "fake-dbname"
   191            }
   192          }
   193        }
   194      },
   195      "unbind": {
   196        "default": {
   197          "sleep_seconds": 0,
   198          "status": 200,
   199          "body": {}
   200        }
   201      }
   202    },
   203    "service_instances": {},
   204    "service_bindings": {},
   205    "max_fetch_service_instance_requests": 1
   206  }