Skip to content

Commit 9819f11

Browse files
add local StsAccountService
1 parent 9226e58 commit 9819f11

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

mxd-runtimes/e2e-test/src/test/java/org/eclipse/edc/demo/tests/transfer/TransferEndToEndTest.java

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,6 @@ public String fromIri(String s) {
103103
@DisplayName("Tests a successful End-to-End contract negotiation and data transfer")
104104
@Test
105105
void transferData_hasPermission_shouldTransferData() {
106-
// System.out.println("Waiting for Provider dataplane to come online");
107-
// // wait until provider's dataplane is available
108-
// await().atMost(TEST_TIMEOUT_DURATION)
109-
// .pollDelay(TEST_POLL_DELAY)
110-
// .untilAsserted(() -> {
111-
// var jp = baseRequest()
112-
// .get(PROVIDER_MANAGEMENT_URL + "/v3/dataplanes")
113-
// .then()
114-
// .statusCode(200)
115-
// .log().ifValidationFails()
116-
// .extract().body().jsonPath();
117-
//
118-
// var state = jp.getString("state");
119-
// assertThat(state).isEqualTo("[AVAILABLE]");
120-
// });
121-
//
122-
System.out.println("Provider dataplane is online, fetching catalog");
123-
124106
var emptyQueryBody = Json.createObjectBuilder()
125107
.add("@context", Json.createObjectBuilder().add("edc", "https://w3id.org/edc/v0.0.1/ns/"))
126108
.add("@type", "QuerySpec")
@@ -258,22 +240,6 @@ void transferData_hasPermission_shouldTransferData() {
258240
@DisplayName("Asserts that attempting to negotiate a contract for a non-permitted Assets fails")
259241
@Test
260242
void transferData_requestsForbiddenAsset_shouldFail() {
261-
// System.out.println("Waiting for Provider dataplane to come online");
262-
// // wait until provider's dataplane is available
263-
// await().atMost(TEST_TIMEOUT_DURATION)
264-
// .pollDelay(TEST_POLL_DELAY)
265-
// .untilAsserted(() -> {
266-
// var jp = baseRequest()
267-
// .get(PROVIDER_MANAGEMENT_URL + "/v3/dataplanes")
268-
// .then()
269-
// .statusCode(200)
270-
// .log().ifValidationFails()
271-
// .extract().body().jsonPath();
272-
//
273-
// var state = jp.getString("state");
274-
// assertThat(state).isEqualTo("[AVAILABLE]");
275-
// });
276-
//
277243
System.out.println("Provider dataplane is online, fetching catalog");
278244

279245
var emptyQueryBody = Json.createObjectBuilder()

mxd-runtimes/gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ edc-sts-core = { module = "org.eclipse.edc:identity-trust-sts-core", version.ref
8787
edc-sts = { module = "org.eclipse.edc:identity-trust-sts-embedded", version.ref = "edc" }
8888
edc-sts-api = { module = "org.eclipse.edc:identity-trust-sts-api", version.ref = "edc" }
8989
edc-sts-accountprovisioner = { module = "org.eclipse.edc:sts-account-provisioner", version.ref = "edc" }
90+
edc-sts-accountservice-local = { module = "org.eclipse.edc:sts-account-service-local", version.ref = "edc" }
9091

9192
# Tractus-X Runtime BOMs
9293
edc-tx-controlplane = { module = "org.eclipse.tractusx.edc:edc-controlplane-postgresql-hashicorp-vault", version.ref = "tractusx" }

mxd-runtimes/tx-identityhub/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dependencies {
3838
runtimeOnly(libs.edc.sts)
3939
runtimeOnly(libs.edc.sts.api)
4040
runtimeOnly(libs.edc.sts.accountprovisioner)
41+
runtimeOnly(libs.edc.sts.accountservice.local)
4142

4243
testImplementation(libs.edc.lib.crypto)
4344
testImplementation(libs.edc.lib.keys)

0 commit comments

Comments
 (0)