Replies: 1 comment 3 replies
-
i'm very sorry, but you are upgrading from 0.1.2 to 0.11.0 (!), expect everything to work without a change, but are not willing to read documentation, look at samples or do anything really? On the flipside, you expect us to go through a trillion line of exception stacktrace and config and present you a turnkey solution? Not happening. I'll close this. Read documentation, samples etc, like everyone else. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning,
I have taken over a project from a colleague. My task is it to update the EDC from 0.1.2 to 0.11.0. I have successfully udpated all the files, the java-version, the gradle-version and the libs. The Project builds successfully with gradle.

But when I try to start our Docker-Container they exited with the following error:
Our docker-compose.yml contains the following:
mock:
image: mock-connector
build:
context: ../connector
args:
CONNECTOR_NAME: "mock-connector"
JVM_ARGS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
env_file:
- .env
- .env.mock
depends_on:
did-server:
condition: service_started
postgres:
condition: service_healthy
ports:
- "7172:8182"
- "7171:8181"
- "7272:8282"
- "7271:8281"
- "7273:8283"
- "7373:8383"
volumes:
- ./resources:/resources
The .env-File looks like:
`WEB_HTTP_PORT="8181"
WEB_HTTP_PATH="/api"
WEB_HTTP_MANAGEMENT_PORT="8182"
WEB_HTTP_MANAGEMENT_PATH="/api/management"
WEB_HTTP_PROTOCOL_PORT="8282"
WEB_HTTP_PROTOCOL_PATH="/api/protocol"
WEB_HTTP_IDENTITY_PORT="8281"
WEB_HTTP_IDENTITY_PATH="/api/identity"
WEB_HTTP_CONTROL_PORT="8283"
WEB_HTTP_CONTROL_PATH="/api/control"
WEB_HTTP_PUBLIC_PORT="8383"
WEB_HTTP_PUBLIC_PATH="/api/public"
EDC_CATALOG_CACHE_EXECUTION_DELAY_SECONDS: 15
EDC_CATALOG_CACHE_EXECUTION_PERIOD_SECONDS: 15
EDC_CATALOG_CACHE_PARTITION_NUM_CRAWLERS: 1
EDC_IAM_DID_WEB_USE_HTTPS="false"
EDC_KEYSTORE_PASSWORD=test123
EDC_API_AUTH_KEY=ApiKeyDefaultValue
EDC_DATAPLANE_TOKEN_VALIDATION_ENDPOINT=http://localhost:8283/api/control/token
EDC_WEB_REST_CORS_ENABLED="true"
EDC_WEB_REST_CORS_HEADERS="origin,content-type,accept,authorization,x-api-key"
FCC_DIRECTORY_FILE=/resources/federated-catalog/nodes-dc.json`
And the .env.mock-File:
IDS_WEBHOOK_ADDRESS="http://mock:8282"
EDC_CONNECTOR_NAME="mock"
EDC_PARTICIPANT_ID="did:web:did-server:mock"
EDC_IDS_ID="urn:connector:mock"
EDC_DSP_CALLBACK_ADDRESS="https://ait-dataspace.ait.ac.at/mock/api/protocol"
#EDC_VAULT="/resources/vault/mock/mock-vault.properties"
EDC_KEYSTORE="/resources/vault/mock/mock-keystore.jks"
EDC_RECEIVER_HTTP_ENDPOINT="http://mock-file-server:5000/assets/proxy"
EDC_DATAPLANE_TOKEN_VALIDATION_ENDPOINT="http://localhost:7172/control/token"
JDBC_URL="jdbc:postgresql://postgres:5432/db_mock"
DB_USER="db_mock"
DB_PASSWORD="db_mock"
EDC_DATASOURCE_ASSET_NAME="asset"
EDC_DATASOURCE_ASSET_URL="${JDBC_URL}"
EDC_DATASOURCE_ASSET_USER="${DB_USER}"
EDC_DATASOURCE_ASSET_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_CONTRACTDEFINITION_NAME="contractdefinition"
EDC_DATASOURCE_CONTRACTDEFINITION_URL="${JDBC_URL}"
EDC_DATASOURCE_CONTRACTDEFINITION_USER="${DB_USER}"
EDC_DATASOURCE_CONTRACTDEFINITION_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_CONTRACTNEGOTIATION_NAME="contractnegotiation"
EDC_DATASOURCE_CONTRACTNEGOTIATION_URL="${JDBC_URL}"
EDC_DATASOURCE_CONTRACTNEGOTIATION_USER="${DB_USER}"
EDC_DATASOURCE_CONTRACTNEGOTIATION_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_POLICY_NAME="policy"
EDC_DATASOURCE_POLICY_URL="${JDBC_URL}"
EDC_DATASOURCE_POLICY_USER="${DB_USER}"
EDC_DATASOURCE_POLICY_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_TRANSFERPROCESS_NAME="transferprocess"
EDC_DATASOURCE_TRANSFERPROCESS_URL="${JDBC_URL}"
EDC_DATASOURCE_TRANSFERPROCESS_USER="${DB_USER}"
EDC_DATASOURCE_TRANSFERPROCESS_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_DATAPLANE_NAME="dataplane"
EDC_DATASOURCE_DATAPLANE_URL="${JDBC_URL}"
EDC_DATASOURCE_DATAPLANE_USER="${DB_USER}"
EDC_DATASOURCE_DATAPLANE_PASSWORD="${DB_PASSWORD}"
EDC_DATASOURCE_DATAPLANEINSTANCE_NAME="dataplaneinstance"
EDC_DATASOURCE_DATAPLANEINSTANCE_URL="${JDBC_URL}"
EDC_DATASOURCE_DATAPLANEINSTANCE_USER="${DB_USER}"
EDC_DATASOURCE_DATAPLANEINSTANCE_PASSWORD="${DB_PASSWORD}"
Could you help me please? I am new to the topic and have tried my best. But there are so many changes between the versions and I am not sure whats missing.
Thank you in advanvce.
Kind regards
Verena
Beta Was this translation helpful? Give feedback.
All reactions