From 27926def64231d1522885ae866adbd4824886b71 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 May 2024 10:05:27 +0200 Subject: [PATCH] chore: remove creds --- .gitignore | 2 + config/connector-config.json | 44 --------------------- config/connector-demo-config.json | 44 --------------------- config/connector-school-config.json | 44 --------------------- config/connector-university-config.json | 52 ------------------------- 5 files changed, 2 insertions(+), 184 deletions(-) delete mode 100755 config/connector-config.json delete mode 100755 config/connector-demo-config.json delete mode 100644 config/connector-school-config.json delete mode 100644 config/connector-university-config.json diff --git a/.gitignore b/.gitignore index 63520da..cd4e01d 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules dist build + +config/connector-*.json \ No newline at end of file diff --git a/config/connector-config.json b/config/connector-config.json deleted file mode 100755 index 9762bad..0000000 --- a/config/connector-config.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "transportLibrary": { - "platformClientId": "hosted-test-connectors", - "platformClientSecret": "BJty13cmIBSxLnE4kdsBKmRlGP6eP3" - }, - "database": { - "connectionString": "mongodb://root:example@mongodb:27017/?authSource=admin&readPreference=primary&appname=DyfeCore&ssl=false", - "dbName": "nmshd" - }, - "infrastructure": { - "httpServer": { - "apiKey": "xxx" - } - }, - "modules": { - "sync": { - "enabled": true, - "interval": 1 - }, - "webhooksV2": { - "enabled": true, - "targets": { - "website_relationship": { - "url": "http://website:2999/api/v1/webhooks/enmeshed/relationship", - "headers": { "X-API-KEY": "xxx" } - }, - "website_message": { - "url": "http://website:2999/api/v1/webhooks/enmeshed/message", - "headers": { "X-API-KEY": "xxx" } - } - }, - "webhooks": [ - { - "triggers": ["transport.relationshipChanged"], - "target": "website_relationship" - }, - { - "triggers": ["transport.messageReceived"], - "target": "website_message" - } - ] - } - } -} diff --git a/config/connector-demo-config.json b/config/connector-demo-config.json deleted file mode 100755 index c51608c..0000000 --- a/config/connector-demo-config.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "transportLibrary": { - "platformClientId": "hosted-test-connectors", - "platformClientSecret": "BJty13cmIBSxLnE4kdsBKmRlGP6eP3" - }, - "database": { - "connectionString": "mongodb://root:example@mongodb:27017/?authSource=admin&readPreference=primary&appname=DyfeCore&ssl=false", - "dbName": "demo" - }, - "infrastructure": { - "httpServer": { - "apiKey": "xxx" - } - }, - "modules": { - "sync": { - "enabled": true, - "interval": 1 - }, - "webhooksV2": { - "enabled": true, - "targets": { - "website_relationship": { - "url": "http://website-demo:2999/api/v1/webhooks/enmeshed/relationship", - "headers": { "X-API-KEY": "xxx" } - }, - "website_message": { - "url": "http://website-demo:2999/api/v1/webhooks/enmeshed/message", - "headers": { "X-API-KEY": "xxx" } - } - }, - "webhooks": [ - { - "triggers": ["consumption.outgoingRequestCreatedAndCompleted"], - "target": "website_relationship" - }, - { - "triggers": ["transport.messageReceived"], - "target": "website_message" - } - ] - } - } -} diff --git a/config/connector-school-config.json b/config/connector-school-config.json deleted file mode 100644 index b7f97ee..0000000 --- a/config/connector-school-config.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "transportLibrary": { - "platformClientId": "hosted-test-connectors", - "platformClientSecret": "BJty13cmIBSxLnE4kdsBKmRlGP6eP3" - }, - "database": { - "connectionString": "mongodb://root:example@mongodb:27017/?authSource=admin&readPreference=primary&appname=DyfeCore&ssl=false", - "dbName": "school" - }, - "infrastructure": { - "httpServer": { - "apiKey": "xxx" - } - }, - "modules": { - "sync": { - "enabled": true, - "interval": 1 - }, - "webhooksV2": { - "enabled": true, - "targets": { - "website_relationship": { - "url": "http://website-school:2999/api/v1/webhooks/enmeshed/relationship", - "headers": { "X-API-KEY": "xxx" } - }, - "website_message": { - "url": "http://website-school:2999/api/v1/webhooks/enmeshed/message", - "headers": { "X-API-KEY": "xxx" } - } - }, - "webhooks": [ - { - "triggers": ["consumption.outgoingRequestCreatedAndCompleted"], - "target": "website_relationship" - }, - { - "triggers": ["transport.messageReceived"], - "target": "website_message" - } - ] - } - } -} diff --git a/config/connector-university-config.json b/config/connector-university-config.json deleted file mode 100644 index c1cbc70..0000000 --- a/config/connector-university-config.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "transportLibrary": { - "platformClientId": "hosted-test-connectors", - "platformClientSecret": "BJty13cmIBSxLnE4kdsBKmRlGP6eP3" - }, - "database": { - "connectionString": "mongodb://root:example@mongodb:27017/?authSource=admin&readPreference=primary&appname=DyfeCore&ssl=false", - "dbName": "university" - }, - "infrastructure": { - "httpServer": { - "apiKey": "xxx" - } - }, - "modules": { - "sync": { - "enabled": true, - "interval": 1 - }, - "webhooksV2": { - "enabled": true, - "targets": { - "website_relationship": { - "url": "http://website-university:2999/api/v1/webhooks/enmeshed/relationship", - "headers": { "X-API-KEY": "xxx" } - }, - "website_message": { - "url": "http://website-university:2999/api/v1/webhooks/enmeshed/message", - "headers": { "X-API-KEY": "xxx" } - }, - "request_status_changed": { - "url": "http://website-university:2999/api/v1/webhooks/enmeshed/requestChanged", - "headers": { "X-API-KEY": "xxx" } - } - }, - "webhooks": [ - { - "triggers": ["consumption.outgoingRequestCreatedAndCompleted"], - "target": "website_relationship" - }, - { - "triggers": ["consumption.outgoingRequestStatusChanged"], - "target": "request_status_changed" - }, - { - "triggers": ["transport.messageReceived"], - "target": "website_message" - } - ] - } - } -}