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