d8e6964088
- Add 15 [[services]] bindings in cypher-executor wrangler.toml - component-loader now calls logic Workers via Service Binding (svc.fetch) instead of public URL fetch (which caused 522 timeout within same zone) - Fallback to public URL if binding not available (dev/testing) - Add ServiceBinding type to Bindings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
97 lines
1.7 KiB
TOML
97 lines
1.7 KiB
TOML
name = "arcrun-cypher-executor"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2025-02-19"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
[[kv_namespaces]]
|
|
binding = "EXEC_CONTEXT"
|
|
id = "616967a852eb450a8c01731f71ac8edd"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "WEBHOOKS"
|
|
id = "4d23ccd418414a729bd533ba8e3b341f"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "CREDENTIALS_KV"
|
|
id = "e7f4320f88d343f187e35e3543dd74c9"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "ANALYTICS_KV"
|
|
id = "a43b7997c8e54a34886c2995a853c720"
|
|
|
|
[[r2_buckets]]
|
|
binding = "WASM_BUCKET"
|
|
bucket_name = "arcrun-wasm"
|
|
|
|
[ai]
|
|
binding = "AI"
|
|
|
|
[[services]]
|
|
binding = "SVC_IF_CONTROL"
|
|
service = "arcrun-if-control"
|
|
|
|
[[services]]
|
|
binding = "SVC_SWITCH"
|
|
service = "arcrun-switch"
|
|
|
|
[[services]]
|
|
binding = "SVC_FOREACH_CONTROL"
|
|
service = "arcrun-foreach-control"
|
|
|
|
[[services]]
|
|
binding = "SVC_FILTER"
|
|
service = "arcrun-filter"
|
|
|
|
[[services]]
|
|
binding = "SVC_MERGE"
|
|
service = "arcrun-merge"
|
|
|
|
[[services]]
|
|
binding = "SVC_TRY_CATCH"
|
|
service = "arcrun-try-catch"
|
|
|
|
[[services]]
|
|
binding = "SVC_WAIT"
|
|
service = "arcrun-wait"
|
|
|
|
[[services]]
|
|
binding = "SVC_SET"
|
|
service = "arcrun-set"
|
|
|
|
[[services]]
|
|
binding = "SVC_ARRAY_OPS"
|
|
service = "arcrun-array-ops"
|
|
|
|
[[services]]
|
|
binding = "SVC_STRING_OPS"
|
|
service = "arcrun-string-ops"
|
|
|
|
[[services]]
|
|
binding = "SVC_NUMBER_OPS"
|
|
service = "arcrun-number-ops"
|
|
|
|
[[services]]
|
|
binding = "SVC_DATE_OPS"
|
|
service = "arcrun-date-ops"
|
|
|
|
[[services]]
|
|
binding = "SVC_VALIDATE_JSON"
|
|
service = "arcrun-validate-json"
|
|
|
|
[[services]]
|
|
binding = "SVC_AI_TRANSFORM_COMPILE"
|
|
service = "arcrun-ai-transform-compile"
|
|
|
|
[[services]]
|
|
binding = "SVC_AI_TRANSFORM_RUN"
|
|
service = "arcrun-ai-transform-run"
|
|
|
|
[vars]
|
|
ENVIRONMENT = "production"
|
|
# MULTI_TENANT = "true"
|
|
# ENCRYPTION_KEY 透過 wrangler secret set 設定
|
|
|
|
[[routes]]
|
|
pattern = "cypher.arcrun.dev/*"
|
|
zone_name = "arcrun.dev"
|