Skip to content

Commit

Permalink
Chore/move away from bird (#18)
Browse files Browse the repository at this point in the history
* chore: bump connectors

* chore: update vscode settings

* chore: re-add configs without creds

* chore: use env file

* chore: newline

---------

Co-authored-by: root <root@_HOSTNAME_>
Co-authored-by: nmshd <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent 28ab857 commit 4b9ccf3
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 35 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
transportLibrary__baseUrl=
transportLibrary__platformClientId=
transportLibrary__platformClientSecret=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
build
.env
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"editor.formatOnPaste": true,
"files.autoSave": "off",
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"files.eol": "\n",
"todo-tree.filtering.excludeGlobs": [
Expand Down
5 changes: 0 additions & 5 deletions config/connector-config.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"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"
Expand Down
5 changes: 0 additions & 5 deletions config/connector-demo-config.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"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"
Expand Down
5 changes: 0 additions & 5 deletions config/connector-school-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"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"
Expand Down
5 changes: 0 additions & 5 deletions config/connector-university-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"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"
Expand Down
9 changes: 6 additions & 3 deletions docker-compose.debug.demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8012:80
volumes:
Expand Down
9 changes: 6 additions & 3 deletions docker-compose.debug.school.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8011:80
volumes:
Expand Down
8 changes: 6 additions & 2 deletions docker-compose.debug.university.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- logging__appenders__console__level=TRACE
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
ports:
- 8013:80
volumes:
Expand Down
21 changes: 15 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-demo-config.json:/config.json:ro
depends_on:
Expand All @@ -35,9 +38,12 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-school-config.json:/config.json:ro
depends_on:
Expand All @@ -56,9 +62,12 @@ 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"
- CUSTOM_CONFIG_LOCATION=/config.json
- transportLibrary__baseUrl
- transportLibrary__platformClientId
- transportLibrary__platformClientSecret
volumes:
- ./config/connector-university-config.json:/config.json:ro
depends_on:
Expand Down

0 comments on commit 4b9ccf3

Please sign in to comment.