Skip to content

Commit bf3df3e

Browse files
authored
build(deps): bump EDC to 0.17.0 (#533)
1 parent ef97ec5 commit bf3df3e

17 files changed

Lines changed: 42 additions & 40 deletions

File tree

advanced/advanced-01-open-telemetry/open-telemetry-runtime/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ dependencies {
2929
implementation(libs.edc.iam.mock)
3030
implementation(libs.edc.data.plane.spi)
3131
implementation(libs.opentelemetry.exporter.otlp)
32-
runtimeOnly(libs.edc.monitor.jdk.logger)
3332
}
3433

3534
application {

federated-catalog/fc-01-embedded/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ dependencies {
3434
The [config.properties](../fc-01-embedded/fc-connector/config.properties)
3535
file contains the necessary configurations
3636
for this `fc-connector`, including the standard settings for a regular connector, along with additional configurations for a
37-
federated catalog, such as catalog api endpoint and crawler execution interval.
37+
federated catalog, such as the management API path and crawler execution interval.
3838

3939
```properties
40-
web.http.catalog.path=/api/catalog
41-
web.http.catalog.port=29195
40+
web.http.management.port=29193
41+
web.http.management.path=/api/management
4242

4343
edc.catalog.cache.execution.delay.seconds=5
4444
edc.catalog.cache.execution.period.seconds=5
@@ -62,7 +62,7 @@ To run the connector, execute the following command
6262
java -Dedc.fs.config=federated-catalog/fc-01-embedded/fc-connector/config.properties -jar federated-catalog/fc-01-embedded/fc-connector/build/libs/fc-connector.jar
6363
```
6464

65-
If the execution is successful, then the Catalog API of our `fc-connector` will listen on port `29195`.
65+
If the execution is successful, then the Management API of our `fc-connector` will listen on port `29193`.
6666

6767
If you observe the logs, you can see the following recurring lines,
6868

@@ -83,12 +83,14 @@ This means our FC crawler is running, and the crawler found one node, which is t
8383

8484
### 3. Test catalog query API
8585

86-
To query the catalogs from `fc-connector` side, we can now call the catalog API of our embedded federated catalog.
86+
To query the catalogs from `fc-connector` side, we can now call the catalog API through the management API of our embedded federated catalog.
8787
Use the following request to invoke the catalog API:
8888

8989
```http request
9090
curl -d @federated-catalog/fc-01-embedded/resources/empty-query.json \
91-
-H 'content-type: application/json' http://localhost:29195/api/catalog/v1alpha/catalog/query \
91+
-H 'content-type: application/json' \
92+
-H 'x-api-key: password' \
93+
http://localhost:29193/api/management/v3/catalogs/request \
9294
-s | jq
9395
```
9496

federated-catalog/fc-01-embedded/fc-connector/config.properties

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ edc.dsp.callback.address=http://localhost:19194/protocol
33
web.http.port=29191
44
web.http.path=/api
55
web.http.management.port=29193
6-
web.http.management.path=/management
6+
web.http.management.path=/api/management
77
web.http.protocol.port=29194
88
web.http.protocol.path=/protocol
99
edc.transfer.proxy.token.signer.privatekey.alias=private-key
@@ -14,14 +14,9 @@ web.http.control.port=29192
1414
web.http.control.path=/control
1515
edc.dataplane.api.public.baseurl=http://localhost:29291/public
1616

17-
1817
web.http.management.auth.key=password
1918
edc.mock.region=us
2019

21-
22-
web.http.catalog.path=/api/catalog
23-
web.http.catalog.port=29195
24-
2520
edc.catalog.cache.execution.delay.seconds=5
2621
edc.catalog.cache.execution.period.seconds=5
2722
edc.catalog.cache.partition.num.crawlers=1

federated-catalog/fc-02-standalone/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ a single target catalog node; the `participant-connector` that we had set up in
3333
Querying the catalog API will therefore yield just one catalog, which is the contract offered by this connector.
3434

3535
The [config.properties](./standalone-fc/config.properties) file contains the necessary configurations,
36-
like the `web.http.catalog.path`, which is the catalog API endpoint of this standalone FC.
36+
like the `web.http.management.path`, which is the management API endpoint of this standalone FC.
3737

3838
```properties
39-
web.http.catalog.path=/api/catalog
40-
web.http.catalog.port=39195
39+
web.http.management.path=/api/management
40+
web.http.management.port=39193
4141
```
4242

4343
### 2. Start the fc-connector
@@ -57,7 +57,7 @@ To run the federated catalog, execute the following command
5757
java -Dedc.fs.config=federated-catalog/fc-02-standalone/standalone-fc/config.properties -jar federated-catalog/fc-02-standalone/standalone-fc/build/libs/standalone-fc.jar
5858
```
5959

60-
If the execution is successful, then the Catalog API of our standalone FC will listen on port `39195`.
60+
If the execution is successful, then the Management API of our standalone FC will listen on port `39193`.
6161

6262

6363

@@ -69,7 +69,8 @@ To get the combined set of catalogs, use the following request:
6969

7070
```http request
7171
curl -d @federated-catalog/fc-01-embedded/resources/empty-query.json \
72-
-H 'content-type: application/json' http://localhost:39195/api/catalog/v1alpha/catalog/query \
72+
-H 'content-type: application/json' \
73+
http://localhost:39193/api/management/v3/catalogs/request \
7374
-s | jq
7475
```
7576

federated-catalog/fc-02-standalone/standalone-fc/config.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ edc.participant.id=consumer
22

33
web.http.port=39191
44
web.http.path=/api
5-
6-
web.http.catalog.path=/api/catalog
7-
web.http.catalog.port=39195
5+
web.http.management.path=/api/management
6+
web.http.management.port=39193
87

98
edc.catalog.cache.execution.delay.seconds=5
109
edc.catalog.cache.execution.period.seconds=5

federated-catalog/fc-03-static-node-directory/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,16 @@ To run the federated catalog, execute the following command
9696
java -Dedc.fs.config=federated-catalog/fc-02-standalone/standalone-fc/config.properties -jar federated-catalog/fc-03-static-node-directory/standalone-fc-with-node-resolver/build/libs/standalone-fc-with-node-resolver.jar
9797
```
9898

99-
If the execution is successful, then the Catalog API of our standalone FC will listen on port `39195`.
99+
If the execution is successful, then the Management API of our standalone FC will listen on port `39193`.
100100

101101
#### Test catalog query API
102102

103103
To get the combined set of catalogs, use the following request:
104104

105105
```http request
106106
curl -d @federated-catalog/fc-01-embedded/resources/empty-query.json \
107-
-H 'content-type: application/json' http://localhost:39195/api/catalog/v1alpha/catalog/query \
107+
-H 'content-type: application/json' \
108+
http://localhost:39193/api/management/v3/catalogs/request \
108109
-s | jq
109110
```
110111

@@ -126,14 +127,16 @@ To run the federated catalog, execute the following command
126127
java -Dedc.fs.config=federated-catalog/fc-01-embedded/fc-connector/config.properties -jar federated-catalog/fc-03-static-node-directory/embedded-fc-with-node-resolver/build/libs/fc-connector-with-node-resolver.jar
127128
```
128129

129-
If the execution is successful, then the Catalog API of our standalone FC will listen on port `29195`.
130+
If the execution is successful, then the Management API of our embedded FC connector will listen on port `29193`.
130131

131132
#### Test catalog query API
132133

133134
To get the combined set of catalogs, use the following request:
134135

135136
```http request
136137
curl -d @federated-catalog/fc-01-embedded/resources/empty-query.json \
137-
-H 'content-type: application/json' http://localhost:29195/api/catalog/v1alpha/catalog/query \
138+
-H 'content-type: application/json' \
139+
-H 'x-api-key: password' \
140+
http://localhost:29193/api/management/v3/catalogs/request \
138141
-s | jq
139142
```

federated-catalog/fc-03-static-node-directory/embedded-fc-with-node-resolver/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dependencies {
2828
implementation(libs.edc.configuration.filesystem)
2929
implementation(libs.edc.management.api)
3030
implementation(libs.edc.dsp)
31-
implementation(libs.edc.participant.context.single.core)
3231
implementation(libs.edc.iam.mock)
3332
implementation(libs.edc.http)
3433
implementation(libs.edc.edr.store.core)

federated-catalog/fc-03-static-node-directory/standalone-fc-with-node-resolver/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies {
3030
runtimeOnly(libs.edc.token.core)
3131
implementation(libs.edc.http)
3232
runtimeOnly(libs.edc.dsp)
33-
runtimeOnly(libs.edc.participant.context.single.core)
3433
implementation(libs.edc.iam.mock)
3534

3635
}

gradle/libs.versions.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ format.version = "1.1"
33

44
[versions]
55
awaitility = "4.2.2"
6-
edc = "0.16.0"
6+
edc = "0.17.0"
77
okhttp-mockwebserver = "5.3.2"
88
restAssured = "6.0.0"
99
rsApi = "4.0.0"
@@ -42,9 +42,7 @@ edc-json-ld-lib = { module = "org.eclipse.edc:json-ld-lib", version.ref = "edc"
4242
edc-json-ld-spi = { module = "org.eclipse.edc:json-ld-spi", version.ref = "edc" }
4343
edc-junit = { module = "org.eclipse.edc:junit", version.ref = "edc" }
4444
edc-management-api = { module = "org.eclipse.edc:management-api", version.ref = "edc" }
45-
edc-participant-context-single-core = { module = "org.eclipse.edc:participant-context-single-core", version.ref = "edc" }
4645
edc-management-api-test-fixtures = { module = "org.eclipse.edc:management-api-test-fixtures", version.ref = "edc" }
47-
edc-monitor-jdk-logger = { module = "org.eclipse.edc:monitor-jdk-logger", version.ref = "edc" }
4846
edc-runtime-core = { module = "org.eclipse.edc:runtime-core", version.ref = "edc" }
4947
edc-token-core = { module = "org.eclipse.edc:token-core", version.ref = "edc" }
5048
edc-transfer-data-plane-signaling = { module = "org.eclipse.edc:transfer-data-plane-signaling", version.ref = "edc" }

system-tests/src/test/java/org/eclipse/edc/samples/common/FederatedCatalogCommon.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public class FederatedCatalogCommon {
5050
public static final int CRAWLER_EXECUTION_PERIOD_VALUE = 5;
5151
public static final int TIMEOUT = 5 * CRAWLER_EXECUTION_PERIOD_VALUE;
5252

53-
public static final String EMBEDDED_FC_CATALOG_API_ENDPOINT = "http://localhost:29195/api/catalog/v1alpha/catalog/query";
54-
public static final String STANDALONE_FC_CATALOG_API_ENDPOINT = "http://localhost:39195/api/catalog/v1alpha/catalog/query";
53+
public static final String EMBEDDED_FC_CATALOG_API_ENDPOINT = "http://localhost:29193/api/management/v3/catalogs/request";
54+
public static final String STANDALONE_FC_CATALOG_API_ENDPOINT = "http://localhost:39193/api/management/v3/catalogs/request";
5555
public static final String EMPTY_QUERY_FILE_PATH = "federated-catalog/fc-01-embedded/resources/empty-query.json";
5656
public static final String TYPE = "[0].@type";
5757
public static final String DATASET_ASSET_ID = "[0].dataset[0].@id";

0 commit comments

Comments
 (0)