diff --git a/.env-example b/.env-example new file mode 100644 index 00000000..800c04ba --- /dev/null +++ b/.env-example @@ -0,0 +1,24 @@ +# Google KMS +GCP_PROJECT_ID= +GCP_LOCATION_ID= +KMS_KEY_ID= +KMS_KEY_RING_ID= + +# A secret for the gateway service. Must be 32 characters. +GATEWAY_SECRET=replace-this-insecure-secret---- # change before deploying to production + +# A random MongoDB password +MONGO_PASSWORD=replace-this-insecure-password # change before deploying to production + + +# The values below are tied to the seed data +# Don't change without updating the data in seed-data/seed_db/ + +BUILDABLE_SECRET=cywf.D**tGRN6yfFjA6jjEeeJKR7*e +CORE_USER_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZWNyZXQiOiIyMmQ5ZmRmMC00OWI1LTQyOTgtOWFiZC0zZTdlN2I2YTc0ZjVjMzYyNzY0Yi0wMDNmLTQ5OTEtOTE5MS05Njk2NDVhMTdiN2QifQ.O8JE8t2G_YMinS2uFP26GkIdEEv89Vm5TexDqS9aiPs +DEFAULT_LIVE_ACCESS_KEY=event_access::custom::live::default::event-inc::default-live-key +DEFAULT_TEST_ACCESS_KEY=event_access::custom::test::default::event-inc::default-test-key +DEVELOPER_ACCOUNT_ACCESS_KEY=sk_test_1_3pejYG_SdSxV9xkt5_GA8WoMsSnfBHvY1qpGhlX-6DKd9kyZO3ee9hWfjGWpt5dY0AzxvM51q6_45_Q6bJTWCTuax7yq4X96nhvB0uTwhhLlsxyJm02JqasmdeDVeHt08GxGPoiBc7I9u00-1EKOejw62kNO0M1EaEFqwaGXw1Y8IfFH +DEVELOPER_ACCOUNT_ID=build-1c3cd7af757d4aebab523f5373190e1b +EVENT_ACCESS_PASSWORD=18BBFT_i3UckCmxPwY3GGzgHdxfYs6zA +JWT_SECRET=Qsfb9YUkdjwUULX.u96HdTCX4q7GuB diff --git a/README.md b/README.md index 6a07ad4e..d61708f0 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ import { AuthKitToken } from "@integrationos/authkit-node"; app.post("/authkit-token", async (request, response) => { const authKitToken = new AuthKitToken(process.env.INTEGRATIONOS_SANDBOX_API_KEY); - + // Specifying how the token will be constructed const token = await authKitToken.create({ group: "org_123", // a meaningful identifier (i.e., organizationId) @@ -137,11 +137,11 @@ View the full guide [here](https://docs.integrationos.com/docs/quickstart). * [Docker](https://docs.docker.com/engine/) and [Docker Compose](https://docs.docker.com/compose/) * A [Google Cloud KMS](https://cloud.google.com/kms/docs) key ring -* [`gcloud`](https://cloud.google.com/sdk/gcloud) installed and logged into an account with `roles/cloudkms.cryptoKeyEncrypterDecrypter` access +* [`gcloud`](https://cloud.google.com/sdk/gcloud) installed, logged into an account that has `roles/cloudkms.cryptoKeyEncrypterDecrypter` access, and configured with [Application Default Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc) ## Setup -1. Copy `.env-example` to `.env` and set the values +1. Copy `.env-example` to `.env`. Review and update the environment variables. 2. Run the containers @@ -160,8 +160,8 @@ View the full guide [here](https://docs.integrationos.com/docs/quickstart). ```shell source .env - docker-compose -f docker-compose.data.yml run migrate-before - docker-compose -f docker-compose.data.yml run migrate-after + docker-compose -f docker-compose.data.yml run --rm migrate-before + docker-compose -f docker-compose.data.yml run --rm migrate-after ``` ## Other actions diff --git a/docker-compose.data.yml b/docker-compose.data.yml new file mode 100644 index 00000000..3b3e79b0 --- /dev/null +++ b/docker-compose.data.yml @@ -0,0 +1,18 @@ +version: "3.8" + +services: + migrate-before: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/typescript-services:1.0.0 + command: npm run run-migrations::before + environment: + - MONGO_URI=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017/events-service?authSource=admin + - MONGO_DB_NAME=events-service + + migrate-after: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/typescript-services:1.0.0 + command: npm run run-migrations::after + environment: + - MONGO_URI=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017/events-service?authSource=admin + - MONGO_DB_NAME=events-service diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..8912867c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,167 @@ +version: "3.8" + +services: + admin-api: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/api:1.0.0 + ports: + - 3004:3004 + environment: + - CACHE_SIZE=0 + - CLAUDE_API_KEY= + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - EVENT_ACCESS_PASSWORD=${EVENT_ACCESS_PASSWORD} + - INTERNAL_SERVER_ADDRESS=0.0.0.0:3004 + - IS_ADMIN=true + - OPENAI_API_KEY= + - RUST_LOG=api=info,tower_http=info,udm=info + - SECRETS_SERVICE_BASE_URL=http://secrets-service:3006/ + - WORKER_THREADS=4 + + typescript-services: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/typescript-services:1.0.0 + ports: + - 3001:3001 + environment: + - BUILDABLE_SECRET=${BUILDABLE_SECRET} + - CONNECTIONS_API_BASE_URL=http://connections-api:3005/ + - CORE_USER_SECRET=${CORE_USER_SECRET} + - DEFAULT_LIVE_ACCESS_KEY=${DEFAULT_LIVE_ACCESS_KEY} + - DEFAULT_TEST_ACCESS_KEY=${DEFAULT_TEST_ACCESS_KEY} + - DEMO_ACCOUNT_EVENT_ACCESS_KEY=${DEVELOPER_ACCOUNT_ACCESS_KEY} + - ENGINEERING_ACCOUNT_BUILDABLE_ID=${DEVELOPER_ACCOUNT_ID} + - EVENT_ACCESS_ENCRYPTION_PASSWORD=${EVENT_ACCESS_PASSWORD} + - JWT_AUDIENCE=integrationos-users + - JWT_EXPIRES_AFTER=90d + - JWT_ISSUER=integrationos + - JWT_SECRET=${JWT_SECRET} + - MONGO_DB_NAME=events-service + - MONGO_URI=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017/events-service?authSource=admin + - NODE_ENV=localhost + - QA_ACCOUNT_BUILDABLE_ID=build-${DEVELOPER_ACCOUNT_ID} + - QA_ACCOUNT_EVENT_ACCESS_KEY=${DEVELOPER_ACCOUNT_ACCESS_KEY} + - SALT_ROUNDS=10 + - SECRETS_SERVICE_BASE_URL=http://secrets-service:3006/ + + connections-api: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/api:1.0.0 + ports: + - 3005:3005 + environment: + - ACCESS_KEY_WHITELIST_REFRESH_INTERVAL_SECS=30 + - CACHE_SIZE=1000 + - CLAUDE_API_KEY= + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - DEBUG_MODE=false + - ENGINEERING_ACCOUNT_ID=${DEVELOPER_ACCOUNT_ID} + - EVENT_ACCESS_PASSWORD=${EVENT_ACCESS_PASSWORD} + - INTERNAL_SERVER_ADDRESS=0.0.0.0:3005 + - JWT_SECRET=${JWT_SECRET} + - OPENAI_API_KEY= + - REDIS_URL=redis://redis:6379 + - RUST_LOG=api=info,tower_http=info,udm=info,integrationos_domain=info + - SECRETS_SERVICE_BASE_URL=http://secrets-service:3006/ + - WORKER_THREADS=4 + + event-core: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/event-core:1.0.0 + environment: + - CONTEXT_COLLECTION_NAME=event-transactions + - CONTEXT_DATABASE_NAME=events-service + - CONTEXT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - EVENT_DATABASE_NAME=events-service + - EVENT_DATABASE_URL-mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - REDIS_URL=redis://redis:6379 + - RUST_LOG=event_core=info + - SECRETS_SERVICE_BASE_URL=http://secrets-service:3006/ + + gateway: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/gateway:1.0.0 + ports: + - 3002:3002 + environment: + - CONTEXT_COLLECTION_NAME=event-transactions + - CONTEXT_DATABASE_NAME=events-service + - CONTEXT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - EVENT_DATABASE_NAME=events-service + - EVENT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - REDIS_URL=redis://redis:6379 + - RUST_LOG=gateway=info,tower_http=info + - SECRET=${GATEWAY_SECRET} + - SERVER_ADDRESS=0.0.0.0:3002 + + oauth-api: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/oauth:1.0.0 + ports: + - 3003:3003 + environment: + - APP_URL=0.0.0.0:3003 + - BURST_RATE_LIMIT=1 + - BURST_SIZE_LIMIT=30 + - CONTEXT_COLLECTION_NAME=event-transactions + - CONTEXT_DATABASE_NAME=events-service + - CONTEXT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - ENVIRONMENT=production + - EVENT_DATABASE_NAME=events-service + - EVENT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - HOST=0.0.0.0 + - JWT_SECRET=${JWT_SECRET} + - PORT=3003 + - REFRESH_BEFORE_IN_MINUTES=10 + - RUST_LOG=info + - SECRETS_SERVICE_BASE_URL=http://secrets-service:3006/ + - SLEEP_TIMER_IN_SECONDS=60 + + secrets-service: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/secrets-service:1.0.0 + environment: + - GOOGLE_APPLICATION_CREDENTIALS=/root/.config/gcloud/application_default_credentials.json + - KEY_ID=${KMS_KEY_ID} + - KEY_RING_ID=${KMS_KEY_RING_ID} + - LOCATION_ID=${GCP_LOCATION_ID} + - MONGO_URI=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017/events-service?authSource=admin + - PROJECT_ID=${GCP_PROJECT_ID} + volumes: + - ${HOME}/.config/gcloud:/root/.config/gcloud:ro + + watchdog: + platform: linux/amd64 + image: us-docker.pkg.dev/integrationos/docker-oss/watchdog:1.0.0 + environment: + - CONTEXT_COLLECTION_NAME=event-transactions + - CONTEXT_DATABASE_NAME=events-service + - CONTEXT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - CONTROL_DATABASE_NAME=events-service + - CONTROL_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - EVENT_DATABASE_NAME=events-service + - EVENT_DATABASE_URL=mongodb://integrationos:${MONGO_PASSWORD}@mongo:27017 + - POLL_DURATION=1000 + - REDIS_URL=redis://redis:6379 + - RUST_LOG=watchdog=info + + mongo: + image: mongo:6.0 + ports: + - 27017:27017 + environment: + - MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD} + - MONGO_INITDB_ROOT_USERNAME=integrationos + volumes: + - ./seed-data:/seed-data:ro + + redis: + image: redis:7.0 diff --git a/seed-data/seed_db/clients.bson b/seed-data/seed_db/clients.bson new file mode 100644 index 00000000..8a69e8e6 Binary files /dev/null and b/seed-data/seed_db/clients.bson differ diff --git a/seed-data/seed_db/clients.metadata.json b/seed-data/seed_db/clients.metadata.json new file mode 100644 index 00000000..7daa2aad --- /dev/null +++ b/seed-data/seed_db/clients.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"a1e02023cc58458db3c4b7abd27c5a9e","collectionName":"clients","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/common-enums.bson b/seed-data/seed_db/common-enums.bson new file mode 100644 index 00000000..8d1e701c Binary files /dev/null and b/seed-data/seed_db/common-enums.bson differ diff --git a/seed-data/seed_db/common-enums.metadata.json b/seed-data/seed_db/common-enums.metadata.json new file mode 100644 index 00000000..86b4ef84 --- /dev/null +++ b/seed-data/seed_db/common-enums.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"name":{"$numberInt":"1"}},"name":"name_1","background":true,"unique":true}],"uuid":"7d98247dc9e54ed6a6fe905c3ac3e88b","collectionName":"common-enums","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/common-models.bson b/seed-data/seed_db/common-models.bson new file mode 100644 index 00000000..05504317 Binary files /dev/null and b/seed-data/seed_db/common-models.bson differ diff --git a/seed-data/seed_db/common-models.metadata.json b/seed-data/seed_db/common-models.metadata.json new file mode 100644 index 00000000..b44ffa76 --- /dev/null +++ b/seed-data/seed_db/common-models.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"name":{"$numberInt":"1"}},"name":"name_1","background":true,"unique":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true}],"uuid":"8897c92ff17c45a6a47933149de7a2ce","collectionName":"common-models","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/connection-definitions.bson b/seed-data/seed_db/connection-definitions.bson new file mode 100644 index 00000000..5b91706a Binary files /dev/null and b/seed-data/seed_db/connection-definitions.bson differ diff --git a/seed-data/seed_db/connection-definitions.metadata.json b/seed-data/seed_db/connection-definitions.metadata.json new file mode 100644 index 00000000..e5107df6 --- /dev/null +++ b/seed-data/seed_db/connection-definitions.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"key":{"$numberInt":"1"}},"name":"key_1","background":true,"unique":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true}],"uuid":"19f11b37ae934f52abb891e75af101be","collectionName":"connection-definitions","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/connection-model-definitions.bson b/seed-data/seed_db/connection-model-definitions.bson new file mode 100644 index 00000000..bbe289fb Binary files /dev/null and b/seed-data/seed_db/connection-model-definitions.bson differ diff --git a/seed-data/seed_db/connection-model-definitions.metadata.json b/seed-data/seed_db/connection-model-definitions.metadata.json new file mode 100644 index 00000000..06f51f95 --- /dev/null +++ b/seed-data/seed_db/connection-model-definitions.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"key":{"$numberInt":"1"}},"name":"key_1","background":true,"unique":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true},{"v":{"$numberInt":"2"},"key":{"connectionPlatform":{"$numberInt":"1"},"actionName":{"$numberInt":"1"},"mapping.commonModelName":{"$numberInt":"1"}},"name":"connectionPlatform_1_action_1_modelName_1","background":true},{"v":{"$numberInt":"2"},"key":{"connectionPlatform":{"$numberInt":"1"}},"name":"connectionPlatform_1","background":true},{"v":{"$numberInt":"2"},"key":{"actionName":{"$numberInt":"1"}},"name":"actionName_1","background":true}],"uuid":"f2a14349988a456aadf393c9c02b8973","collectionName":"connection-model-definitions","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/connection-model-schema.bson b/seed-data/seed_db/connection-model-schema.bson new file mode 100644 index 00000000..00a13ff5 Binary files /dev/null and b/seed-data/seed_db/connection-model-schema.bson differ diff --git a/seed-data/seed_db/connection-model-schema.metadata.json b/seed-data/seed_db/connection-model-schema.metadata.json new file mode 100644 index 00000000..5dc31301 --- /dev/null +++ b/seed-data/seed_db/connection-model-schema.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"key":{"$numberInt":"1"}},"name":"key_1","background":true,"unique":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true}],"uuid":"90593f4ffcd44a89bf8481741bff78e3","collectionName":"connection-model-schema","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/connection-oauth-definitions.bson b/seed-data/seed_db/connection-oauth-definitions.bson new file mode 100644 index 00000000..388dfe38 Binary files /dev/null and b/seed-data/seed_db/connection-oauth-definitions.bson differ diff --git a/seed-data/seed_db/connection-oauth-definitions.metadata.json b/seed-data/seed_db/connection-oauth-definitions.metadata.json new file mode 100644 index 00000000..441178f6 --- /dev/null +++ b/seed-data/seed_db/connection-oauth-definitions.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"connectionPlatform":{"$numberInt":"1"}},"name":"connectionPlatform_2","background":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true}],"uuid":"96f66f25ba5b40c88db183e90399b1c3","collectionName":"connection-oauth-definitions","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/connections.bson b/seed-data/seed_db/connections.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/connections.metadata.json b/seed-data/seed_db/connections.metadata.json new file mode 100644 index 00000000..ecfe3e9d --- /dev/null +++ b/seed-data/seed_db/connections.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"d12c58a5b58146c78a61d3b259a46bc4","collectionName":"connections","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/embed-tokens.bson b/seed-data/seed_db/embed-tokens.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/embed-tokens.metadata.json b/seed-data/seed_db/embed-tokens.metadata.json new file mode 100644 index 00000000..b38a9f9c --- /dev/null +++ b/seed-data/seed_db/embed-tokens.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"4610eefe0a21419b9a1b6732e5150a57","collectionName":"embed-tokens","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/event-access.bson b/seed-data/seed_db/event-access.bson new file mode 100644 index 00000000..9572a58b Binary files /dev/null and b/seed-data/seed_db/event-access.bson differ diff --git a/seed-data/seed_db/event-access.metadata.json b/seed-data/seed_db/event-access.metadata.json new file mode 100644 index 00000000..5ec2d872 --- /dev/null +++ b/seed-data/seed_db/event-access.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"1a1d7bb3331c4323b5d74065e76d9b8f","collectionName":"event-access","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/external-events.bson b/seed-data/seed_db/external-events.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/external-events.metadata.json b/seed-data/seed_db/external-events.metadata.json new file mode 100644 index 00000000..53db0e5e --- /dev/null +++ b/seed-data/seed_db/external-events.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"7983c7719fdd4803a9f1ff512a401292","collectionName":"external-events","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/jobs.bson b/seed-data/seed_db/jobs.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/jobs.metadata.json b/seed-data/seed_db/jobs.metadata.json new file mode 100644 index 00000000..49025d20 --- /dev/null +++ b/seed-data/seed_db/jobs.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"d43a3c198b6e46c5991586eb009f11c1","collectionName":"jobs","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/platform-pages.bson b/seed-data/seed_db/platform-pages.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/platform-pages.metadata.json b/seed-data/seed_db/platform-pages.metadata.json new file mode 100644 index 00000000..86f9413b --- /dev/null +++ b/seed-data/seed_db/platform-pages.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"platformName":{"$numberInt":"1"},"modelName":{"$numberInt":"1"}},"name":"platformName_1_modelName_1","background":true},{"v":{"$numberInt":"2"},"key":{"deleted":{"$numberInt":"1"}},"name":"deleted_1","background":true},{"v":{"$numberInt":"2"},"key":{"active":{"$numberInt":"1"}},"name":"active_1","background":true},{"v":{"$numberInt":"2"},"key":{"createdAt":{"$numberInt":"1"}},"name":"createdAt_1","background":true}],"uuid":"53e92849455243d39ddd7618f69d75de","collectionName":"platform-pages","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/platforms.bson b/seed-data/seed_db/platforms.bson new file mode 100644 index 00000000..07591ad3 Binary files /dev/null and b/seed-data/seed_db/platforms.bson differ diff --git a/seed-data/seed_db/platforms.metadata.json b/seed-data/seed_db/platforms.metadata.json new file mode 100644 index 00000000..0cee01f3 --- /dev/null +++ b/seed-data/seed_db/platforms.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"d82a3caae9f24f05bf54b9e0063336e2","collectionName":"platforms","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/secrets.bson b/seed-data/seed_db/secrets.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/secrets.metadata.json b/seed-data/seed_db/secrets.metadata.json new file mode 100644 index 00000000..0cba515a --- /dev/null +++ b/seed-data/seed_db/secrets.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"ec7ec66bad6346fc94d1e729e6f85200","collectionName":"secrets","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/sessions.bson b/seed-data/seed_db/sessions.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/sessions.metadata.json b/seed-data/seed_db/sessions.metadata.json new file mode 100644 index 00000000..b621e05b --- /dev/null +++ b/seed-data/seed_db/sessions.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"1c1634b9deac47b98a6a5898ffdcfd0f","collectionName":"sessions","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/settings.bson b/seed-data/seed_db/settings.bson new file mode 100644 index 00000000..771761e7 Binary files /dev/null and b/seed-data/seed_db/settings.bson differ diff --git a/seed-data/seed_db/settings.metadata.json b/seed-data/seed_db/settings.metadata.json new file mode 100644 index 00000000..7d9a52d6 --- /dev/null +++ b/seed-data/seed_db/settings.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"0c6cad137dce4d43abd77de515fcad62","collectionName":"settings","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/stages.bson b/seed-data/seed_db/stages.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/stages.metadata.json b/seed-data/seed_db/stages.metadata.json new file mode 100644 index 00000000..8a731063 --- /dev/null +++ b/seed-data/seed_db/stages.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"80a63d050164401b81d6c3497f896069","collectionName":"stages","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/system-stats.bson b/seed-data/seed_db/system-stats.bson new file mode 100644 index 00000000..e69de29b diff --git a/seed-data/seed_db/system-stats.metadata.json b/seed-data/seed_db/system-stats.metadata.json new file mode 100644 index 00000000..f42e3b42 --- /dev/null +++ b/seed-data/seed_db/system-stats.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"6a50d1f51fcc48529563c14269cc3afd","collectionName":"system-stats","type":"collection"} \ No newline at end of file diff --git a/seed-data/seed_db/users.bson b/seed-data/seed_db/users.bson new file mode 100644 index 00000000..bd3bd3c9 Binary files /dev/null and b/seed-data/seed_db/users.bson differ diff --git a/seed-data/seed_db/users.metadata.json b/seed-data/seed_db/users.metadata.json new file mode 100644 index 00000000..89810c4e --- /dev/null +++ b/seed-data/seed_db/users.metadata.json @@ -0,0 +1 @@ +{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"731220936777496b83cf00c81e663388","collectionName":"users","type":"collection"} \ No newline at end of file