Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Readme Document Base Camp #7

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c9cb7a3
Update README.md
robinidento Oct 12, 2023
8060c6e
Inclusion of proposed changes by Klaus
kottradovetz Oct 12, 2023
c1d4d56
Update README.md
robinidento Nov 7, 2023
164fd8e
Update README.md
robinidento Nov 7, 2023
f727da1
Update README.md
kottradovetz Nov 7, 2023
16c79d3
Update README.md
robinidento Nov 8, 2023
9b037d6
Rename README.md to README v2.md
robinidento Nov 8, 2023
6766d4c
Rename README v2.md to README.md
robinidento Nov 8, 2023
eed9789
Merge branch 'main' into main
robinidento Nov 10, 2023
c70b71b
feat: broker included
augustocmleal Feb 21, 2024
ac144de
feat: multiple databases and clearing house included
augustocmleal Feb 22, 2024
331f3f6
feat: new client-ids configuration
augustocmleal Feb 26, 2024
f38f358
feat: removing olders jks files
augustocmleal Feb 27, 2024
d680227
feat: new connector version
augustocmleal Feb 28, 2024
fc84e66
feat: daps and clearing-house-app included
Feb 29, 2024
6115dc2
chore: adding new docker configurations to env file
Mar 1, 2024
529c89d
feat: quick-start-guide readme
augustocmleal Mar 6, 2024
957c3b0
feat: quick-start-guide readme
augustocmleal Mar 6, 2024
7803c40
feat: quick-start-guide readme
Mar 6, 2024
d6e3130
feat: update docker compose images version
augustocmleal Apr 19, 2024
2ccd815
Merge pull request #5 from ids-basecamp/feat/quick-start-guide
augustocmleal Apr 23, 2024
45db65e
feat: upgrading images on quick-start-guide
May 7, 2024
9ffeae7
Merge pull request #7 from ids-basecamp/feat/edc-fetch-size
jannotti-glaucio May 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
240 changes: 22 additions & 218 deletions README.md

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions quick-start-guide/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
POSTGRES_USER = postgres
POSTGRES_PASSWORD = password

API_AUTH_KEY = password

KEYSTORE_PASSWORD = password
KEYSTORE_CERTIFICATE = 1
KEYSTORE_PRIVATE_KEY = 1

JWT_AUDIENCE = 1
JWT_ISSUER = 1
JWT_SIGN_SECRET = 123
JWT_EXPIRES_AT = 30

CH_APP_SERVICE_LOG = 1

BROKER_DELAY_SECONDS = 5
BROKER_PERIOD_SECONDS = 5
BROKER_NUM_CRAWLERS = 60

BROKER_CLIENT_ID = C1:9F:78:EB:E9:CF:49:25:38:39:5D:1E:AA:15:21:0F:87:1B:49:6A:ED:E4:34:5F:91:4B:50:8C:32:9D:25:DC:76:A4:13:53:21:FE:ED:C0
CH_EDC_CLIENT_ID = E4:3D:A8:54:F3:74:E4:6F:8B:16:7E:F4:89:80:2E:0B:21:D6:05:AF:ED:E4:34:5F:91:4B:50:8C:32:9D:25:DC:76:A4:13:53:21:FE:ED:C0
CONNECTOR_1_CLIENT_ID = 75:C4:F1:4D:C6:AB:E1:2E:B8:FC:26:36:A8:BB:83:7A:73:C3:BB:D1:ED:E4:34:5F:91:4B:50:8C:32:9D:25:DC:76:A4:13:53:21:FE:ED:C0
CONNECTOR_2_CLIENT_ID = 1A:79:F6:EB:08:C8:97:01:6C:89:73:24:FE:21:CC:FA:5E:15:67:3E:ED:E4:34:5F:91:4B:50:8C:32:9D:25:DC:76:A4:13:53:21:FE:ED:C0

POSTGRES_PORT = 5432
CONNECTOR_1_MANAGEMENT_PORT = 8182
CONNECTOR_1_IDS_PORT = 8283
CONNECTOR_2_MANAGEMENT_PORT = 9192
CONNECTOR_2_IDS_PORT = 9293


BROKER_SQL_FETCH_SIZE = 99999
CONNECTOR_1_SQL_FETCH_SIZE = 99999
CONNECTOR_2_SQL_FETCH_SIZE = 99999
80 changes: 80 additions & 0 deletions quick-start-guide/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Quick Start Guide - IDS Basecamp

### This is a demo and a faster way to up the ids-basecamp ecosystem and understand how it works.

## Supported Systems

- Linux (or WSL on windows)
- Mac Os

## Requirements

- Git
- Docker

## How to run

- Clone the [ids-basecamp](https://github.com/ids-basecamp/ids-basecamp) repository
- Go to quick-start-guide directory

- To start the environment run the code below:

> docker compose -p ids-basecamp up -d

- To shutdown the environment run the code below:

> docker compose down

## About the containers

About the containers

In this demo environment, the following containers will be launched:

- Postgres
- Relational database used by Broker, Container 1, Container 2 and Clearing House App containers

- DAPS
- [IDS DAPS](https://github.com/International-Data-Spaces-Association/IDS-G/blob/main/Components/IdentityProvider/DAPS/README.md) implementation used by Broker, Container 1, Container 2 and Clearing House EDC containers

- Clearing House App
- [IDS Clearing House](https://github.com/International-Data-Spaces-Association/IDS-G/blob/main/Components/ClearingHouse/README.md) implementation, with a REST API

- Clearing House EDC
- [Multipart protocol API](https://github.com/International-Data-Spaces-Association/IDS-G/blob/main/Communication/protocols/multipart/README.md#42-clearing-house-interactions) to communicate with Clearing House App REST API, used by Connector 1 and Connector 2 containers

- Broker
- [IDS Broker](https://github.com/International-Data-Spaces-Association/IDS-G/tree/main/Components/MetaDataBroker) implementation used by Connector 1 and Connector 2 containers

- Connector 1 and Connector 2
- [IDS Connector](https://github.com/International-Data-Spaces-Association/IDS-G/blob/main/Components/Connector/README.md) implementations using a EDC Milestone 8 implementation

## About environments

The configurations variables can be found in .env file located into quick-start-guide folder

| Variable | Description |
|------------------------------|:--------------------------------------------------------------------------------------------------------|
| POSTGRES_USER | Database default user |
| POSTGRES_PASSWORD | Database default password |
| API_AUTH_KEY | Connectors REST API access key |
| KEYSTORE_PASSWORD | Keystore password of keystore files (.jks) with the DAPS communication certificates |
| KEYSTORE_CERTIFICATE | Alias of the certificate from keystore file |
| KEYSTORE_PRIVATE_KEY | Alias of private key from keystore file |
| JWT_AUDIENCE | claim aud of JWT token to exchange between Clearing House EDC and Clearing House APP |
| JWT_ISSUER | claim iss of JWT token to exchange between Clearing House EDC and Clearing House APP |
| JWT_SIGN_SECRET | secret of token JWT token to exchange between Clearing House EDC and Clearing House APP |
| JWT_EXPIRES_AT | Expiration time (in seconds) of JWT token to exchange between Clearing House EDC and Clearing House APP |
| CH_APP_SERVICE_LOG | ID of service log module from Clearing House APP |
| BROKER_DELAY_SECONDS | Time to the first execution of the broker crawler |
| BROKER_PERIOD_SECONDS | Time to the next executions of the broker crawler |
| BROKER_NUM_CRAWLERS | Number of concurrents instances to be created from the broker crawler |
| BROKER_CLIENT_ID | DAPS oAuth client ID of Broker container |
| CH_EDC_CLIENT_ID | DAPS oAuth client ID of Clearing House EDC container |
| CONNECTOR_1_CLIENT_ID | DAPS oAuth client ID of Connector 1 container |
| CONNECTOR_2_CLIENT_ID | DAPS oAuth client ID of Connector 2 container |
| POSTGRES_PORT | Database local access port |
| CONNECTOR_1_MANAGEMENT_PORT | Connnector 1 API Managment local access port |
| CONNECTOR_1_IDS_PORT | Connector 1 IDS API local access port |
| CONNECTOR_2_MANAGEMENT_PORT | Connnector 2 API Managment local access port |
| CONNECTOR_2_IDS_PORT | Connector 2 IDS API local access port |
Loading