{
  "repo": "tidbcloud/dbaas",
  "binary": "central-server",
  "binary_path": "central/cmd/server/main.go",
  "dependencies": {
    "Runtime CentralRuntime.Server": {
      "infrastructure": {
        "grpc": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "SERVE GRPC",
              "trigger": "Run the central gRPC server",
              "conditions": [
                "The central server starts successfully"
              ],
              "implementation": "grpc.NewServer(...) and central service registration"
            }
          ]
        },
        "http": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "SERVE HTTP",
              "trigger": "Run the central HTTP gateway and metrics endpoint",
              "conditions": [
                "The central server starts successfully"
              ],
              "implementation": "gin/grpc-gateway startup plus http.ListenAndServe on MetricsPort"
            }
          ]
        }
      },
      "services": []
    }
  }
}
