github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/integration/assets/service_broker/broker_config.json (about)

     1  {
     2    "behaviors": {
     3      "catalog": {
     4        "sleep_seconds": 0,
     5        "status": 200,
     6        "body": {
     7          "services": [
     8            {
     9              "name": "<fake-service>",
    10              "id": "<fake-service-guid>",
    11              "description": "fake service",
    12              "tags": [
    13                "no-sql",
    14                "relational"
    15              ],
    16              "max_db_per_node": 5,
    17              "bindable": "<bindable>",
    18              "instances_retrievable": true,
    19              "bindings_retrievable": true,
    20              "metadata": {
    21                "provider": {
    22                  "name": "The name"
    23                },
    24                "listing": {
    25                  "imageUrl": "http://catgifpage.com/cat.gif",
    26                  "blurb": "fake broker that is fake",
    27                  "longDescription": "A long time ago, in a galaxy far far away..."
    28                },
    29                "displayName": "The Fake Broker",
    30                "documentationUrl": "http://documentation.url",
    31                "shareable": "<shareable-service>"
    32              },
    33              "dashboard_client": {
    34                "id": "<sso-test>",
    35                "secret": "<sso-secret>",
    36                "redirect_uri": "http://example.com"
    37              },
    38              "plan_updateable": true,
    39              "plans": [
    40                {
    41                  "name": "<fake-plan>",
    42                  "id": "<fake-plan-guid>",
    43                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
    44                  "max_storage_tb": 5,
    45                  "metadata": {
    46                    "cost": 0,
    47                    "bullets": [
    48                      {
    49                        "content": "Shared fake server"
    50                      },
    51                      {
    52                        "content": "5 TB storage"
    53                      },
    54                      {
    55                        "content": "40 concurrent connections"
    56                      }
    57                    ]
    58                  },
    59                  "schemas": "<fake-plan-schema>"
    60                },
    61                {
    62                  "name": "<fake-plan-2>",
    63                  "id": "<fake-plan-2-guid>",
    64                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections",
    65                  "max_storage_tb": 5,
    66                  "metadata": {
    67                    "cost": 0,
    68                    "bullets": [
    69                      {
    70                        "content": "Shared fake server"
    71                      },
    72                      {
    73                        "content": "5 TB storage"
    74                      },
    75                      {
    76                        "content": "40 concurrent connections"
    77                      }
    78                    ]
    79                  }
    80                },
    81                {
    82                  "name": "<fake-async-plan>",
    83                  "id": "<fake-async-plan-guid>",
    84                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
    85                  "max_storage_tb": 5,
    86                  "metadata": {
    87                    "cost": 0,
    88                    "bullets": [
    89                      {
    90                        "content": "40 concurrent connections"
    91                      }
    92                    ]
    93                  }
    94                },
    95                {
    96                  "name": "<fake-async-plan-2>",
    97                  "id": "<fake-async-plan-2-guid>",
    98                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
    99                  "max_storage_tb": 5,
   100                  "metadata": {
   101                    "cost": 0,
   102                    "bullets": [
   103                      {
   104                        "content": "40 concurrent connections"
   105                      }
   106                    ]
   107                  }
   108                },
   109                {
   110                  "name": "<fake-async-plan-3>",
   111                  "id": "<fake-async-plan-3-guid>",
   112                  "description": "Shared fake Server, 5tb persistent disk, 40 max concurrent connections. 100 async",
   113                  "max_storage_tb": 5,
   114                  "metadata": {
   115                    "cost": 0,
   116                    "bullets": [
   117                      {
   118                        "content": "40 concurrent connections"
   119                      }
   120                    ]
   121                  }
   122                }
   123              ]
   124            }
   125          ]
   126        }
   127      },
   128      "provision": {
   129        "<fake-async-plan-guid>": {
   130          "sleep_seconds": 0,
   131          "status": 202,
   132          "body": {
   133          }
   134        },
   135        "<fake-async-plan-2-guid>": {
   136          "sleep_seconds": 0,
   137          "status": 202,
   138          "body": {
   139          }
   140        },
   141        "<fake-async-plan-3-guid>": {
   142          "sleep_seconds": 0,
   143          "status": 202,
   144          "body": {
   145          }
   146        },
   147        "default": {
   148          "sleep_seconds": 0,
   149          "status": 200,
   150          "body": {
   151            "dashboard_url": "http://example.com"
   152          }
   153        }
   154      },
   155      "fetch": {
   156        "default": {
   157          "in_progress": {
   158            "sleep_seconds": 0,
   159            "status": 200,
   160            "body": {
   161              "state": "in progress",
   162              "description": "not 100 percent done"
   163            }
   164          },
   165          "finished": {
   166            "sleep_seconds": 0,
   167            "status": 200,
   168            "body": {
   169              "state": "succeeded",
   170              "description": "100 percent done"
   171            }
   172          }
   173        }
   174      },
   175      "update": {
   176        "<fake-async-plan-guid>": {
   177          "sleep_seconds": 0,
   178          "status": 202,
   179          "body": {
   180          }
   181        },
   182        "<fake-async-plan-2-guid>": {
   183          "sleep_seconds": 0,
   184          "status": 202,
   185          "body": {
   186          }
   187        },
   188        "default": {
   189          "sleep_seconds": 0,
   190          "status": 200,
   191          "body": {
   192          }
   193        }
   194      },
   195      "deprovision": {
   196        "<fake-async-plan-guid>": {
   197          "sleep_seconds": 0,
   198          "status": 202,
   199          "body": {
   200          }
   201        },
   202        "<fake-async-plan-2-guid>": {
   203          "sleep_seconds": 0,
   204          "status": 202,
   205          "body": {
   206          }
   207        },
   208        "default": {
   209          "sleep_seconds": 0,
   210          "status": 200,
   211          "body": {}
   212        }
   213      },
   214      "bind": {
   215        "<fake-async-plan-3-guid>": {
   216          "sleep_seconds": 0,
   217          "async_only": true,
   218          "status": 202,
   219          "body": {}
   220        },
   221        "default": {
   222          "sleep_seconds": 0,
   223          "status": 201,
   224          "body": {
   225            "credentials": {
   226              "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
   227              "username": "fake-user",
   228              "password": "fake-password",
   229              "host": "fake-host",
   230              "port": 3306,
   231              "database": "fake-dbname"
   232            }
   233          }
   234        }
   235      },
   236      "unbind": {
   237        "<fake-async-plan-3-guid>": {
   238          "sleep_seconds": 0,
   239          "async_only": true,
   240          "status": 202,
   241          "body": {}
   242        },
   243        "default": {
   244          "sleep_seconds": 0,
   245          "status": 200,
   246          "body": {}
   247        }
   248      },
   249      "fetch_service_binding": {
   250        "default": {
   251          "sleep_seconds": 0,
   252          "status": 200,
   253          "body": {
   254            "credentials": {
   255              "uri": "fake-service://fake-user:fake-password@fake-host:3306/fake-dbname",
   256              "username": "fake-user",
   257              "password": "fake-password",
   258              "host": "fake-host",
   259              "port": 3306,
   260              "database": "fake-dbname"
   261            }
   262          }
   263        }
   264      }
   265    },
   266    "service_instances": {},
   267    "service_bindings": {},
   268    "max_fetch_service_instance_requests": 1
   269  }