Skip to content

Commit

Permalink
Adding service-config for vehicle-positions-v2 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
lassetyr authored Nov 6, 2024
1 parent dc2120a commit 491938d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion src/config/environments/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,20 @@
},
{
"id": "vehicles",
"name": "vehicles",
"name": "vehicles (deprecated)",
"url": "https://api.dev.entur.io/realtime/v1/vehicles/graphql",
"subscriptionsUrl": "wss://api.dev.entur.io/realtime/v1/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "vehicles-v2",
"name": "vehicles-v2",
"url": "https://api.dev.entur.io/realtime/v2/vehicles/graphql",
"subscriptionsUrl": "wss://api.dev.entur.io/realtime/v2/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "estimated-timetables",
"name": "estimated-timetables",
Expand Down
10 changes: 9 additions & 1 deletion src/config/environments/prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@
},
{
"id": "vehicles",
"name": "vehicles",
"name": "vehicles (deprecated)",
"url": "https://api.entur.io/realtime/v1/vehicles/graphql",
"subscriptionsUrl": "wss://api.entur.io/realtime/v1/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "vehicles-v2",
"name": "vehicles-v2",
"url": "https://api.entur.io/realtime/v2/vehicles/graphql",
"subscriptionsUrl": "wss://api.entur.io/realtime/v2/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "estimated-timetables",
"name": "estimated-timetables",
Expand Down
10 changes: 9 additions & 1 deletion src/config/environments/staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@
},
{
"id": "vehicles",
"name": "vehicles",
"name": "vehicles (deprecated)",
"url": "https://api.staging.entur.io/realtime/v1/vehicles/graphql",
"subscriptionsUrl": "wss://api.staging.entur.io/realtime/v1/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "vehicles-v2",
"name": "vehicles-v2",
"url": "https://api.staging.entur.io/realtime/v2/vehicles/graphql",
"subscriptionsUrl": "wss://api.staging.entur.io/realtime/v2/vehicles/subscriptions",
"queries": "vehicle-updates",
"defaultQuery": "updates"
},
{
"id": "estimated-timetables",
"name": "estimated-timetables",
Expand Down

0 comments on commit 491938d

Please sign in to comment.