Skip to content

Commit 2b2377a

Browse files
authored
build: prepare to 0.7.2 (#238)
* build: prepare to 0.7.2 * dependencies
1 parent e1b1677 commit 2b2377a

File tree

10 files changed

+128
-128
lines changed

10 files changed

+128
-128
lines changed

DEPENDENCIES

Lines changed: 119 additions & 115 deletions
Large diffs are not rendered by default.

extensions/common/azure/azure-eventgrid/src/main/java/org/eclipse/edc/azure/event/AzureEventExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void initialize(ServiceExtensionContext context) {
6262
.buildEventGridEventPublisherAsyncClient();
6363

6464

65-
var publisher = new AzureEventGridPublisher(context.getComponentId(), monitor, publisherClient);
65+
var publisher = new AzureEventGridPublisher(context.getConnectorId(), monitor, publisherClient);
6666

6767
var processObservable = context.getService(TransferProcessObservable.class, true);
6868
if (processObservable != null) {

extensions/data-plane/data-plane-azure-storage/src/main/java/org/eclipse/edc/connector/dataplane/azure/storage/metadata/CommonBlobMetadataDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public BlobMetadata.Builder decorate(DataFlowStartMessage request, DataSource.Pa
4242
builder.put(ORIGINAL_NAME, part.name())
4343
.put(REQUEST_ID, request.getId())
4444
.put(PROCESS_ID, request.getProcessId())
45-
.put(CONNECTOR_ID, context.getComponentId())
45+
.put(CONNECTOR_ID, context.getConnectorId())
4646
.put(PARTICIPANT_ID, context.getParticipantId());
4747

4848
var dataAddress = request.getDestinationDataAddress();

extensions/data-plane/data-plane-azure-storage/src/test/java/org/eclipse/edc/connector/dataplane/azure/storage/AzureDataPlaneCopyIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public BlobAdapter getBlobAdapter(String accountName, String containerName, Stri
139139

140140
var metadataProvider = new BlobMetadataProviderImpl(monitor);
141141
metadataProvider.registerDecorator(new CommonBlobMetadataDecorator(typeManager, context));
142-
when(context.getComponentId()).thenReturn("connector-id");
142+
when(context.getConnectorId()).thenReturn("connector-id");
143143
when(context.getParticipantId()).thenReturn("participant-id");
144144
var dataSinkFactory = new AzureStorageDataSinkFactory(account2ApiPatched, executor, partitionSize, monitor, vault, typeManager, metadataProvider);
145145
var dataSink = dataSinkFactory.createSink(request);

extensions/data-plane/data-plane-azure-storage/src/test/java/org/eclipse/edc/connector/dataplane/azure/storage/metadata/CommonBlobMetadataDecoratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public InputStream openStream() {
6666
}
6767
};
6868

69-
when(context.getComponentId()).thenReturn(TEST_CONNECTOR_ID);
69+
when(context.getConnectorId()).thenReturn(TEST_CONNECTOR_ID);
7070
when(context.getParticipantId()).thenReturn(TEST_PARTICIPANT_ID);
7171

7272
var decorator = new CommonBlobMetadataDecorator(typeManager, context);

extensions/data-plane/data-plane-azure-storage/src/test/java/org/eclipse/edc/connector/dataplane/azure/storage/pipeline/AzureDataSourceToDataSinkTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void transfer_success() {
108108
sharedAccessSignatureMatcher(sinkSharedAccessSignature)
109109
)).thenReturn(fakeCompletionMarker);
110110

111-
when(context.getComponentId()).thenReturn("connectorId");
111+
when(context.getConnectorId()).thenReturn("connectorId");
112112
when(context.getParticipantId()).thenReturn("participantId");
113113

114114
var metadataProvider = new BlobMetadataProviderImpl(monitor);
@@ -170,7 +170,7 @@ void transfer_WhenSourceFails_fails() throws Exception {
170170
sharedAccessSignatureMatcher(sinkSharedAccessSignature)
171171
)).thenReturn(fakeSink);
172172

173-
when(context.getComponentId()).thenReturn("connectorId");
173+
when(context.getConnectorId()).thenReturn("connectorId");
174174
when(context.getParticipantId()).thenReturn("participantId");
175175

176176
var metadataProvider = new BlobMetadataProviderImpl(monitor);
@@ -226,7 +226,7 @@ void transfer_whenSinkFails_fails() throws Exception {
226226
when(blobApi.getBlobAdapter(anyString(), anyString(), anyString(), anyString()))
227227
.thenReturn(blobAdapter);
228228

229-
when(context.getComponentId()).thenReturn("connectorId");
229+
when(context.getConnectorId()).thenReturn("connectorId");
230230
when(context.getParticipantId()).thenReturn("participantId");
231231

232232
var metadataProvider = new BlobMetadataProviderImpl(monitor);

extensions/data-plane/data-plane-azure-storage/src/test/java/org/eclipse/edc/connector/dataplane/azure/storage/pipeline/AzureStorageDataSinkTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void setUp() {
120120
sharedAccessSignatureMatcher(sharedAccessSignature)))
121121
.thenReturn(completionMarker);
122122

123-
when(context.getComponentId()).thenReturn("connectorId");
123+
when(context.getConnectorId()).thenReturn("connectorId");
124124
when(context.getParticipantId()).thenReturn("participantId");
125125
when(destinationBlobName.resolve(blobName, 1)).thenReturn(blobName);
126126
}

extensions/identity-hub/identity-hub-store-cosmos/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ dependencies {
2020
testImplementation(libs.edc.ih.spi.store)
2121

2222
testImplementation(testFixtures(project(":extensions:common:azure:azure-test")))
23-
testImplementation(project(":extensions:common:azure:azure-test"))
2423
testImplementation(libs.edc.sql.core)
2524
testImplementation(libs.edc.sql.identityhub.store)
2625
testImplementation(testFixtures(libs.edc.ih.spi.store))
27-
testImplementation(testFixtures(libs.edc.ext.azure.test))
2826

2927
}

extensions/registration-service/participant-store-cosmos/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ plugins {
1818

1919
dependencies {
2020
testRuntimeOnly(libs.edc.rs.spi.store)
21-
testImplementation(project(":extensions:common:azure:azure-test"))
2221
testImplementation(testFixtures(project(":extensions:common:azure:azure-test")))
2322
testImplementation(libs.edc.sql.core)
2423
testImplementation(libs.edc.sql.participant.store)
2524
testImplementation(testFixtures(libs.edc.rs.spi.store))
26-
testImplementation(testFixtures(libs.edc.ext.azure.test))
2725

2826
}
2927

gradle/libs.versions.toml

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

44
[versions]
5-
edc = "0.7.1"
5+
edc = "0.7.2"
66
# we need to pin the version of IH, because this is the last version to contain the DWN implementation
77
# current snapshot builds of IH don't have feature parity yet.
88
# todo: remove this once IH supports credential presentation and issuance

0 commit comments

Comments
 (0)