You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| contractAgreementId | Defines the ID of existing contract agreement, that should be reused for retrieving the asset. If parameter is specified, but contract is not found, 404 error will be returned. |
37
+
| Name | Description |
38
+
|---|---|
39
+
| contractAgreementId | Defines the ID of existing contract agreement, that should be reused for retrieving the asset. If parameter is specified, but contract is not found, 404 error will be returned. |
40
40
| contractAgreementReuse | Similar to <i>edc.cp.adapter.reuse.contract.agreement</i> option allows to turn off reusing of existing contracts, but on a request level. Set the parameter value to '0' and new contract agrement will be negotiated. |
41
-
41
+
| timeout | Similar to <i>edc.cp.adapter.default.sync.request.timeout</i>, defines the maximum time of the request. If data is not ready, time out error will be returned. |
42
+
42
43
The controller is registered under the context alias of DataManagement API. The authentication depends on the DataManagement configuration.
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/ApiAdapterExtension.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/HttpController.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/dto/ProcessData.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/process/contractnotification/ContractNegotiationListenerImpl.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,8 @@ public void failed(ContractNegotiation negotiation) {
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/process/contractnotification/ContractNotificationHandler.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,8 @@ public void process(DataReferenceRetrievalDto dto) {
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/process/contractnotification/DataTransferInitializer.java
+3-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ public class DataTransferInitializer {
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/service/objectstore/ObjectStoreServiceInMemory.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/service/objectstore/ObjectStoreServiceSql.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/store/SqlObjectStore.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/store/schema/BaseSqlDialectObjectStoreStatements.java
+5
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@ public String getFindByIdAndTypeTemplate() {
16
16
returnformat("SELECT * FROM %s WHERE %s = ? AND %s = ?", getObjectStoreTable(), getIdColumn(), getTypeColumn());
17
17
}
18
18
19
+
@Override
20
+
publicStringgetFindByTypeTemplate() {
21
+
returnformat("SELECT * FROM %s WHERE %s = ?", getObjectStoreTable(), getTypeColumn());
22
+
}
23
+
19
24
@Override
20
25
publicStringgetDeleteTemplate() {
21
26
returnformat("DELETE FROM %s WHERE %s = ? AND %s = ?;", getObjectStoreTable(), getIdColumn(), getTypeColumn());
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/main/java/org/eclipse/tractusx/edc/cp/adapter/store/schema/ObjectStoreStatements.java
Copy file name to clipboardexpand all lines: edc-extensions/control-plane-adapter/src/test/java/org/eclipse/tractusx/edc/cp/adapter/HttpControllerTest.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ public void getAssetSynchronous_shouldReturnBadRequestIfNoAssetIdParam() {
0 commit comments