From 8eb9a606e078aae3efca0d7893bd68b6342467b4 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 May 2024 10:09:51 +0200 Subject: [PATCH] chore: bump connectors --- .gitignore | 2 + config/connector-config.json | 45 --------------------- config/connector-demo-config.json | 45 --------------------- config/connector-school-config.json | 45 --------------------- config/connector-university-config.json | 53 ------------------------- docker-compose.debug.demo.yml | 2 +- docker-compose.debug.school.yml | 2 +- docker-compose.debug.university.yml | 2 +- docker-compose.yml | 6 +-- 9 files changed, 8 insertions(+), 194 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 113f7c5..0000000 --- a/config/connector-config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "transportLibrary": { - "baseUrl": "https://bird.enmeshed.eu", - "platformClientId": "dev", - "platformClientSecret": "SY3nxukl6Xn8kGDk52EwBKXZMR9OR5" - }, - "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 5bf7354..0000000 --- a/config/connector-demo-config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "transportLibrary": { - "baseUrl": "https://bird.enmeshed.eu", - "platformClientId": "dev", - "platformClientSecret": "SY3nxukl6Xn8kGDk52EwBKXZMR9OR5" - }, - "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 f9b3de3..0000000 --- a/config/connector-school-config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "transportLibrary": { - "baseUrl": "https://bird.enmeshed.eu", - "platformClientId": "dev", - "platformClientSecret": "SY3nxukl6Xn8kGDk52EwBKXZMR9OR5" - }, - "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 46704ea..0000000 --- a/config/connector-university-config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "transportLibrary": { - "baseUrl": "https://bird.enmeshed.eu", - "platformClientId": "dev", - "platformClientSecret": "SY3nxukl6Xn8kGDk52EwBKXZMR9OR5" - }, - "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" - } - ] - } - } -} diff --git a/docker-compose.debug.demo.yml b/docker-compose.debug.demo.yml index e0ebc7c..bc906c1 100644 --- a/docker-compose.debug.demo.yml +++ b/docker-compose.debug.demo.yml @@ -22,7 +22,7 @@ services: connector-demo: container_name: connector-demo - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" logging__appenders__console__level: "TRACE" diff --git a/docker-compose.debug.school.yml b/docker-compose.debug.school.yml index 81fa32e..0de1380 100644 --- a/docker-compose.debug.school.yml +++ b/docker-compose.debug.school.yml @@ -22,7 +22,7 @@ services: connector-school: container_name: connector-school - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" logging__appenders__console__level: "TRACE" diff --git a/docker-compose.debug.university.yml b/docker-compose.debug.university.yml index 62886e4..00feee4 100644 --- a/docker-compose.debug.university.yml +++ b/docker-compose.debug.university.yml @@ -22,7 +22,7 @@ services: connector-university: container_name: connector-university - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" ports: diff --git a/docker-compose.yml b/docker-compose.yml index 91e4bec..2177119 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: connector-demo: container_name: connector-demo - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" volumes: @@ -35,7 +35,7 @@ services: connector-school: container_name: connector-school - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" volumes: @@ -56,7 +56,7 @@ services: connector-university: container_name: connector-university - image: ghcr.io/nmshd/connector:3.2.3 + image: ghcr.io/nmshd/connector:3.10.1 environment: CUSTOM_CONFIG_LOCATION: "/config.json" volumes: