Skip to content

Commit

Permalink
build: Prepare release 0.9.0 (#220)
Browse files Browse the repository at this point in the history
* Prepare release 0.9.0

* ci: fix tests

---------

Co-authored-by: eclipse-edc-bot <[email protected]>
Co-authored-by: ndr_brt <[email protected]>
  • Loading branch information
3 people authored Sep 5, 2024
1 parent f630426 commit 0b50cad
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 129 deletions.
215 changes: 106 additions & 109 deletions DEPENDENCIES

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=org.eclipse.edc.gcp
version=0.8.2-SNAPSHOT
version=0.9.0

# used for publishing artifacts and plugins
techGcpScmConnection=scm:git:[email protected]:eclipse-edc/Technology-Gcp.git
Expand Down
4 changes: 1 addition & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
format.version = "1.1"

[versions]
edc = "0.8.2-SNAPSHOT"
edc = "0.9.0"
awaitility = "4.2.0"
failsafe = "3.3.1"
googleApiGax = "2.48.0"
Expand Down Expand Up @@ -32,10 +32,8 @@ edc-core-controlplane-api = { module = "org.eclipse.edc:control-plane-api", vers
edc-core-controlplane-apiclient = { module = "org.eclipse.edc:control-plane-api-client", version.ref = "edc" }
edc-core-dataplane = { module = "org.eclipse.edc:data-plane-core", version.ref = "edc" }
edc-core-dataplane-util = { module = "org.eclipse.edc:data-plane-util", version.ref = "edc" }
edc-data-plane-control-api = { module = "org.eclipse.edc:data-plane-control-api", version.ref = "edc" }
edc-data-plane-core = { module = "org.eclipse.edc:data-plane-core", version.ref = "edc" }
edc-data-plane-http = { module = "org.eclipse.edc:data-plane-http", version.ref = "edc" }
edc-data-plane-public-api = { module = "org.eclipse.edc:data-plane-public-api-v2", version.ref = "edc" }
edc-data-plane-selector-api = { module = "org.eclipse.edc:data-plane-selector-api", version.ref = "edc" }
edc-data-plane-selector-core = { module = "org.eclipse.edc:data-plane-selector-core", version.ref = "edc" }
edc-data-plane-util = { module = "org.eclipse.edc:data-plane-util", version.ref = "edc" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
import org.eclipse.edc.connector.controlplane.test.system.utils.Participant;
import org.eclipse.edc.connector.controlplane.test.system.utils.PolicyFixtures;
import org.eclipse.edc.connector.controlplane.transfer.spi.types.TransferProcessStates;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.junit.extensions.EmbeddedRuntime;
import org.eclipse.edc.junit.extensions.RuntimeExtension;
import org.eclipse.edc.junit.extensions.RuntimePerMethodExtension;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.testcontainers.containers.BigQueryEmulatorContainer;
Expand Down Expand Up @@ -132,8 +134,7 @@ public class BigQueryTransferIntegrationTest {
"--data-from-yaml", "/data/data.yaml");

@RegisterExtension
private final EdcRuntimeExtension bqProvider = new EdcRuntimeExtension(
":system-tests:runtimes:gcp-bigquery-transfer-provider",
private final RuntimeExtension bqProvider = new RuntimePerMethodExtension(new EmbeddedRuntime(
"provider",
Map.ofEntries(
Map.entry("edc.participant.id", "provider"),
Expand All @@ -156,12 +157,12 @@ public class BigQueryTransferIntegrationTest {
Map.entry("web.http.control.path", "/control"),
Map.entry("edc.dataplane.token.validation.endpoint", "http://localhost:19192/control/token"),
Map.entry("edc.gcp.project.id", "edc-test-project")
)
);
),
":system-tests:runtimes:gcp-bigquery-transfer-provider"
));

@RegisterExtension
private final EdcRuntimeExtension bqConsumer = new EdcRuntimeExtension(
":system-tests:runtimes:gcp-bigquery-transfer-consumer",
private final RuntimeExtension bqConsumer = new RuntimePerMethodExtension(new EmbeddedRuntime(
"consumer",
Map.ofEntries(
Map.entry("edc.participant.id", "consumer"),
Expand All @@ -184,8 +185,9 @@ public class BigQueryTransferIntegrationTest {
Map.entry("web.http.control.path", "/control"),
Map.entry("edc.dataplane.token.validation.endpoint", "http://localhost:29192/control/token"),
Map.entry("edc.gcp.project.id", "edc-test-project")
)
);
),
":system-tests:runtimes:gcp-bigquery-transfer-consumer"
));

private final BigQueryTransferParticipant consumerClient = BigQueryTransferParticipant.Builder.newInstance()
.id("consumer")
Expand All @@ -203,7 +205,7 @@ public class BigQueryTransferIntegrationTest {


@Test
void transferTable_success() throws InterruptedException {
void transferTable_success() {
assertTrue(BQ_CONTAINER.isRunning());

var ports = BQ_CONTAINER.getExposedPorts();
Expand Down Expand Up @@ -263,7 +265,7 @@ void transferTable_success() throws InterruptedException {
}

@Test
void transferTable_sinkFail() throws InterruptedException {
void transferTable_sinkFail() {
assertTrue(BQ_CONTAINER.isRunning());

var ports = BQ_CONTAINER.getExposedPorts();
Expand Down Expand Up @@ -298,7 +300,7 @@ void transferTable_sinkFail() throws InterruptedException {
}

@Test
void transferTable_sourceFail() throws InterruptedException {
void transferTable_sourceFail() {
assertTrue(BQ_CONTAINER.isRunning());

var ports = BQ_CONTAINER.getExposedPorts();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ dependencies {
implementation(libs.edc.data.plane.selector.api)
implementation(libs.edc.data.plane.selector.core)

implementation(libs.edc.data.plane.control.api)
implementation(libs.edc.data.plane.public.api)
implementation(libs.edc.data.plane.core)
implementation(libs.edc.data.plane.http)
implementation(libs.edc.data.plane.util)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ dependencies {
implementation(libs.edc.data.plane.selector.api)
implementation(libs.edc.data.plane.selector.core)

implementation(libs.edc.data.plane.control.api)
implementation(libs.edc.data.plane.public.api)
implementation(libs.edc.data.plane.core)
implementation(libs.edc.data.plane.http)
implementation(libs.edc.data.plane.util)
Expand Down

0 comments on commit 0b50cad

Please sign in to comment.