{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1b5fdb02-eb1e-41d4-9dc6-0c2219591ef2",
    "slug": "CWxqH0",
    "name": "Spring Cloud Gateway - ACL",
    "description": "Deploy Spring Cloud Gateway. It acts as an Anti Corruption Layer (ACL)",
    "url": "https://railway.com/deploy/CWxqH0",
    "upstream": {
      "repo_url": "https://github.com/UnirCs/back-end-cloud-gateway-filters"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Spring Cloud Gateway",
      "source": {
        "repo": "https://github.com/UnirCs/back-end-cloud-gateway-filters"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Spring Cloud Gateway",
      "description": "Value for `server.port` Spring property",
      "secret": false,
      "strategy": "default",
      "default": "8762"
    },
    {
      "key": "EUREKA_URL",
      "service": "Spring Cloud Gateway",
      "description": "Enter the following URL, replacing ``your-railway-internal-name-for-eureka``. ``http://your-railway-internal-name-for-eureka:8761/eureka``. In order to deploy Spring Cloud Gateway it is very useful to have Eureka deployed too. Check \"Spring Cloud Netflix Eureka\" Railway template",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_ORIGINS",
      "service": "Spring Cloud Gateway",
      "description": "Value for Spring Property `spring.cloud.gateway.globalcors.cors-configurations`. By default is \"*\", all origins allowed ",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "ROUTE_TABLES_ENABLED",
      "service": "Spring Cloud Gateway",
      "description": "Value for `management.endpoint.gateway.enabled` Spring property",
      "secret": false,
      "strategy": "default",
      "default": "unrestricted"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "CWxqH0"
      }
    },
    "cli": "railway deploy --template CWxqH0",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1b5fdb02-eb1e-41d4-9dc6-0c2219591ef2",
            "serializedConfig": {
              "services": {
                "293c9d0a-55c8-431e-9b80-1514ef95466a": {
                  "name": "Spring Cloud Gateway",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/UnirCs/back-end-cloud-gateway-filters"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Value for `server.port` Spring property",
                      "defaultValue": "8762"
                    },
                    "EUREKA_URL": {
                      "isOptional": false,
                      "description": "Enter the following URL, replacing ``your-railway-internal-name-for-eureka``. ``http://your-railway-internal-name-for-eureka:8761/eureka``. In order to deploy Spring Cloud Gateway it is very useful to have Eureka deployed too. Check \"Spring Cloud Netflix Eureka\" Railway template",
                      "defaultValue": "{{EUREKA_URL}}"
                    },
                    "ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "Value for Spring Property `spring.cloud.gateway.globalcors.cors-configurations`. By default is \"*\", all origins allowed ",
                      "defaultValue": "*"
                    },
                    "ROUTE_TABLES_ENABLED": {
                      "isOptional": false,
                      "description": "Value for `management.endpoint.gateway.enabled` Spring property",
                      "defaultValue": "unrestricted"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
