Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
108 lines
5.0 KiB
YAML
108 lines
5.0 KiB
YAML
name: api-lb
|
|
defaultService: global/backendServices/api-lb-service
|
|
hostRules:
|
|
- hosts:
|
|
- '*'
|
|
pathMatcher: matcher-1
|
|
pathMatchers:
|
|
- name: matcher-1
|
|
defaultService: global/backendServices/api-lb-service
|
|
routeRules:
|
|
- priority: 1
|
|
routeAction:
|
|
weightedBackendServices:
|
|
- backendService: global/backendServices/api-lb-read-service-0
|
|
weight: 33
|
|
- backendService: global/backendServices/api-lb-read-service-1
|
|
weight: 33
|
|
- backendService: global/backendServices/api-lb-read-service-2
|
|
weight: 33
|
|
matchRules:
|
|
- pathTemplateMatch: /v0/bets
|
|
- pathTemplateMatch: /v0/comments
|
|
- pathTemplateMatch: /get-best-comments
|
|
- pathTemplateMatch: /get-contract
|
|
- pathTemplateMatch: /v0/market/*
|
|
- pathTemplateMatch: /v0/market/*/groups
|
|
- pathTemplateMatch: /v0/market/*/positions
|
|
- pathTemplateMatch: /v0/market/*/prob
|
|
- pathTemplateMatch: /v0/markets
|
|
- pathTemplateMatch: /v0/search-markets
|
|
- pathTemplateMatch: /search-markets-full
|
|
- pathTemplateMatch: /get-related-markets
|
|
- pathTemplateMatch: /get-related-markets-by-group
|
|
- pathTemplateMatch: /v0/groups
|
|
- pathTemplateMatch: /search-groups
|
|
- pathTemplateMatch: /search-my-groups
|
|
- pathTemplateMatch: /v0/get-followed-groups
|
|
- pathTemplateMatch: /get-groups-with-top-contracts
|
|
- pathTemplateMatch: /v0/me
|
|
- pathTemplateMatch: /v0/me/private
|
|
- pathTemplateMatch: /v0/user/by-id/*
|
|
- pathTemplateMatch: /v0/user/by-id/*/lite
|
|
- pathTemplateMatch: /v0/user/*
|
|
- pathTemplateMatch: /v0/user/*/lite
|
|
- pathTemplateMatch: /v0/users/by-id
|
|
- pathTemplateMatch: /users/by-id/balance
|
|
- pathTemplateMatch: /v0/user/*/bets
|
|
- pathTemplateMatch: /get-balance-changes
|
|
- pathTemplateMatch: /get-user-limit-orders-with-contracts
|
|
- pathTemplateMatch: /get-user-portfolio
|
|
- pathTemplateMatch: /get-user-portfolio-history
|
|
- pathTemplateMatch: /v0/users
|
|
- pathTemplateMatch: /search-users
|
|
- pathTemplateMatch: /v0/managrams
|
|
- pathTemplateMatch: /v0/txns
|
|
- pathTemplateMatch: /headlines
|
|
- pathTemplateMatch: /politics-headlines
|
|
- pathTemplateMatch: /get-dashboard-from-slug
|
|
- pathTemplateMatch: /get-feed
|
|
- pathTemplateMatch: /v0/leagues
|
|
- pathTemplateMatch: /v0/get-mod-reports
|
|
- pathTemplateMatch: /get-notifications
|
|
- pathTemplateMatch: /markets-by-ids
|
|
- pathTemplateMatch: /v0/generate-ai-market-suggestions
|
|
- pathTemplateMatch: /v0/generate-ai-market-suggestions-2
|
|
- pathTemplateMatch: /get-daily-changed-metrics-and-contracts
|
|
- pathTemplateMatch: /v0/get-monthly-bets-2025
|
|
- pathTemplateMatch: /v0/get-max-min-profit-2025
|
|
- pathTemplateMatch: /get-next-loan-amount
|
|
- pathTemplateMatch: /v0/generate-ai-answers
|
|
- pathTemplateMatch: /v0/generate-ai-description
|
|
- pathTemplateMatch: /v0/market-probs
|
|
- pathTemplateMatch: /get-channel-memberships
|
|
- pathTemplateMatch: /get-channel-seen-time
|
|
- pathTemplateMatch: /v0/get-user-portfolio
|
|
- pathTemplateMatch: /v0/get-user-portfolio-history
|
|
- pathTemplateMatch: /v0/bet-points
|
|
- pathTemplateMatch: /v0/get-site-activity
|
|
- pathTemplateMatch: /get-boost-analytics
|
|
- pathTemplateMatch: /v0/get-boost-history
|
|
- pathTemplateMatch: /v0/answer/*
|
|
- pathTemplateMatch: /v0/market/*/answers
|
|
- pathTemplateMatch: /v0/user-comments
|
|
- pathTemplateMatch: /get-interesting-groups-from-views
|
|
- pathTemplateMatch: /unique-bet-group-count
|
|
- pathTemplateMatch: /v0/group/*
|
|
- pathTemplateMatch: /v0/group/*/groups
|
|
- pathTemplateMatch: /v0/group/*/dashboards
|
|
- pathTemplateMatch: /v0/group/by-id/*
|
|
- pathTemplateMatch: /v0/group/by-id/*/groups
|
|
- pathTemplateMatch: /v0/group/by-id/*/markets
|
|
- pathTemplateMatch: /v0/market/*/lite
|
|
- pathTemplateMatch: /v0/slug/*
|
|
- pathTemplateMatch: /search-contract-positions
|
|
- pathTemplateMatch: /fetch-link-preview
|
|
- pathTemplateMatch: /v0/get-posts
|
|
- pathTemplateMatch: /get-mana-supply
|
|
- pathTemplateMatch: /get-txn-summary-stats
|
|
- pathTemplateMatch: /get-mana-summary-stats
|
|
- pathTemplateMatch: /v0/get-user-contract-metrics-with-contracts
|
|
- pathTemplateMatch: /v0/check-sports-event
|
|
- pathTemplateMatch: /v0/comment-reactions
|
|
- pathTemplateMatch: /v0/get-season-info
|
|
- pathTemplateMatch: /v0/get-user-calibration
|
|
# redeploy this by running:
|
|
# gcloud compute url-maps import api-lb --source=url-map-config.yaml --project oracle --global
|
|
# (or for dev, --project dev-oracle)
|