forked from ahess99/catenax-at-home
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Diego Gomez <[email protected]>
- Loading branch information
1 parent
6290bf5
commit 7956191
Showing
401 changed files
with
333 additions
and
64,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
# Local build guide | ||
|
||
! TO BE DEFINED ! | ||
## 1. Setup vault | ||
|
||
```shell | ||
docker-compose -f ./docker-compose.vault.yml up --build -d | ||
``` | ||
|
||
## 2. Setup EDCs | ||
|
||
Wait a view seconds until the vault was initialized. | ||
|
||
```shell | ||
docker-compose up -d | ||
``` | ||
|
||
## 2.1 See logs and check if the services are already up | ||
|
||
```shell | ||
docker-compose -f ./docker-compose.vault.yml -f ./docker-compose.api-wrapper.yml -f ./docker-compose.yml logs -f | ||
``` | ||
|
||
|
||
## 3. Run Script 0-init-provider.sh | ||
|
||
```shell | ||
./0-init-provider.sh | ||
``` | ||
|
||
## 4. Build your local API wrapper | ||
|
||
```shell | ||
cd services/api-wrapper | ||
./gradlew clean build | ||
cd ../.. | ||
docker-compose -f ./docker-compose.api-wrapper.yml up --build -d | ||
``` | ||
|
||
## 4. Run Script 1-aas-client-get.sh | ||
|
||
```shell | ||
./1-aas-client-get.sh | ||
``` | ||
|
||
## Destroy everything | ||
|
||
```shell | ||
docker-compose -f ./docker-compose.vault.yml -f ./docker-compose.api-wrapper.yml -f ./docker-compose.yml down | ||
``` |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
api-wrapper/config/consumer-control-plane.config/logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.level=INFO | ||
org.eclipse.dataspaceconnector.level=ALL | ||
handlers=java.util.logging.ConsoleHandler | ||
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter | ||
java.util.logging.ConsoleHandler.level=ALL | ||
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n |
2 changes: 2 additions & 0 deletions
2
api-wrapper/config/consumer-control-plane.config/opentelemetry.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
otel.javaagent.enabled=false | ||
otel.javaagent.debug=false |
1 change: 0 additions & 1 deletion
1
api-wrapper/config/consumer-control-plane.config/vault.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
api-wrapper/config/consumer-data-plane.config/logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.level=INFO | ||
org.eclipse.dataspaceconnector.level=ALL | ||
handlers=java.util.logging.ConsoleHandler | ||
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter | ||
java.util.logging.ConsoleHandler.level=ALL | ||
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n |
2 changes: 2 additions & 0 deletions
2
api-wrapper/config/consumer-data-plane.config/opentelemetry.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
otel.javaagent.enabled=false | ||
otel.javaagent.debug=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
api-wrapper/config/provider-control-plane.config/logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.level=INFO | ||
org.eclipse.dataspaceconnector.level=ALL | ||
handlers=java.util.logging.ConsoleHandler | ||
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter | ||
java.util.logging.ConsoleHandler.level=ALL | ||
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n |
2 changes: 2 additions & 0 deletions
2
api-wrapper/config/provider-control-plane.config/opentelemetry.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
otel.javaagent.enabled=false | ||
otel.javaagent.debug=false |
1 change: 0 additions & 1 deletion
1
api-wrapper/config/provider-control-plane.config/vault.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
api-wrapper/config/provider-data-plane.config/logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.level=INFO | ||
org.eclipse.dataspaceconnector.level=ALL | ||
handlers=java.util.logging.ConsoleHandler | ||
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter | ||
java.util.logging.ConsoleHandler.level=ALL | ||
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n |
2 changes: 2 additions & 0 deletions
2
api-wrapper/config/provider-data-plane.config/opentelemetry.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
otel.javaagent.enabled=false | ||
otel.javaagent.debug=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: "3.9" | ||
|
||
services: | ||
|
||
consumer-api-wrapper: | ||
build: | ||
context: services/api-wrapper | ||
args: | ||
JAR: build/libs/edc.jar | ||
ports: | ||
- "8193:9191" # default | ||
# - "9192" # callback | ||
- "5007:8090" # debugging | ||
environment: | ||
EDC_FS_CONFIG: /config/configuration.properties | ||
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8090 | ||
networks: | ||
- api-wrapper | ||
volumes: | ||
- ./config/consumer-api-wrapper.config:/config | ||
|
||
networks: | ||
api-wrapper: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: "3.9" | ||
|
||
services: | ||
hashicorp-vault: | ||
image: vault:1.11.2 | ||
ports: | ||
- "8200:8200" | ||
networks: | ||
- api-wrapper | ||
environment: | ||
VAULT_DEV_ROOT_TOKEN_ID: password | ||
|
||
init-vault: | ||
build: | ||
context: vault | ||
working_dir: / | ||
privileged: true | ||
environment: | ||
VAULT_URL: http://hashicorp-vault:8200 | ||
VAULT_TOKEN: password | ||
networks: | ||
- api-wrapper | ||
|
||
networks: | ||
api-wrapper: | ||
driver: bridge |
Oops, something went wrong.