Skip to content

Commit

Permalink
Moves more things around to separate telco out
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Jan 3, 2025
1 parent 41e1800 commit e892428
Show file tree
Hide file tree
Showing 134 changed files with 19 additions and 16 deletions.
6 changes: 3 additions & 3 deletions hasura/.env.local.template
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
AUTH_AUTH_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/emergent_auth"
CUSTOMER_AURORA_CONNECTION_URI="postgres://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/postgres"
AUTH_AUTH_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/auth"
CUSTOMER_AURORA_CONNECTION_URI="postgres://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/customer"
CUSTOMER_MONGO_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel"
JWT_SECRET="hasura-hs384-secret-vbD*K2y\!HXr7@zJ9oLmEJpNtWc.gwQY"
NETWORK_CLICKHOUSE_CLICKHOUSE_PASSWORD="hbGciOiJIUzI1NiIsInR5cCI6IkpX"
NETWORK_CLICKHOUSE_CLICKHOUSE_URL="http://local.hasura.dev:8123"
NETWORK_CLICKHOUSE_CLICKHOUSE_USERNAME="default"
NETWORK_KAFKA_SINK_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/emergent_holotel"
NETWORK_KAFKA_SINK_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/network"
SUPPORT_ATLAS_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel"
SUPPORT_VECTOR_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5433/postgres"
CACHING_PLUGIN_PRE_PARSE_URL="http://local.hasura.dev:8787/pre-parse"
Expand Down
7 changes: 5 additions & 2 deletions hasura/.hasura/context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ definition:
cloudEnvFile: ../.env.cloud.us-west
scripts:
docker-start:
bash: ddn run demo-telco; HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.local --env-file .env up --build --pull always -d
powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.local --env-file .env up --build --pull always -d
bash: ddn run demo-telco; HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose-telco.yaml --env-file .env.local --env-file .env up --build --pull always -d
powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose-telco.yaml --env-file .env.local --env-file .env up --build --pull always -d
docker-stop:
bash: export DATASET=telco; docker compose -f compose.yaml down -v ; docker compose -f .data/compose.yaml down -v
powershell: docker compose -f compose.yaml down -v; docker compose -f .data/compose.yaml down -v
build-telco:
bash: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-config/telco/4-supergraph-with-mutations.yaml
powershell: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-config/telco/4-supergraph-with-mutations.yaml
demo-telco:
bash: export DATASET=telco; ../.data/initdb-prepare.sh; docker compose -f ../.data/compose.yaml --env-file ../.data/.env up --build --pull always -d
powershell: $Env:DATASET = "telco"; docker compose -f ../.data/compose.yaml --env-file ../.data/.env up --build --pull always -d
Expand Down
10 changes: 5 additions & 5 deletions hasura/compose.yaml → hasura/compose-telco.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include:
- path: customer/connector/aurora/compose.yaml
- path: customer/connector/mongo/compose.yaml
- path: customer/connector/logic/compose.yaml
- path: industry/telco/customer/connector/aurora/compose.yaml
- path: industry/telco/customer/connector/mongo/compose.yaml
- path: industry/telco/customer/connector/logic/compose.yaml
- path: support/connector/atlas/compose.yaml
- path: support/connector/vector/compose.yaml
- path: network/connector/clickhouse/compose.yaml
- path: industry/telco/network/connector/clickhouse/compose.yaml
- path: auth/connector/auth/compose.yaml
- path: network/connector/kafka_sink/compose.yaml
- path: industry/telco/network/connector/kafka_sink/compose.yaml
- path: globals/connector/global_functions/compose.yaml
services:
engine:
Expand Down
2 changes: 1 addition & 1 deletion hasura/engine/build/metadata.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hasura/engine/build/open_dd.json

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions hasura/supergraph-config/telco/3-supergraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ definition:
- ../../globals/subgraph.yaml
- ../../support/subgraph.yaml
- ../../auth/subgraph.yaml
- ../../telco-customer/subgraph-supergraph.yaml
- ../../telco-network/subgraph.yaml
- ../../industry/telco/customer/subgraph-supergraph.yaml
- ../../industry/telco/network/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ definition:
- ../../globals/subgraph.yaml
- ../../support/subgraph.yaml
- ../../auth/subgraph.yaml
- ../../telco-customer/subgraph-supergraph-mutations.yaml
- ../../telco-network/subgraph.yaml
- ../../industry/telco/customer/subgraph-supergraph-mutations.yaml
- ../../industry/telco/network/subgraph.yaml

0 comments on commit e892428

Please sign in to comment.