From 2964eecd8e88d0d65a6b4eec751818cb610815c2 Mon Sep 17 00:00:00 2001 From: Jaro Hartmann Date: Tue, 30 Jan 2024 14:34:25 +0100 Subject: [PATCH] feat(irs-api):[#344] Delete unused files --- .../__files/edc/responseCatalog.json | 119 ------------------ .../edc/responseGetNegotiationConfirmed.json | 11 -- .../__files/edc/responseStartNegotiation.json | 3 - .../edc/responseStartTransferprocess.json | 3 - 4 files changed, 136 deletions(-) delete mode 100644 irs-api/src/test/resources/__files/edc/responseCatalog.json delete mode 100644 irs-api/src/test/resources/__files/edc/responseGetNegotiationConfirmed.json delete mode 100644 irs-api/src/test/resources/__files/edc/responseStartNegotiation.json delete mode 100644 irs-api/src/test/resources/__files/edc/responseStartTransferprocess.json diff --git a/irs-api/src/test/resources/__files/edc/responseCatalog.json b/irs-api/src/test/resources/__files/edc/responseCatalog.json deleted file mode 100644 index e6ba0d04c1..0000000000 --- a/irs-api/src/test/resources/__files/edc/responseCatalog.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "id": "default", - "contractOffers": [ - { - "id": "3:afb3dca6-e7cc-42b6-98bb-c6f948121c7a", - "policy": { - "permissions": [ - { - "edctype": "dataspaceconnector:permission", - "uid": null, - "target": "urn:uuid:5a7ab616-989f-46ae-bdf2-32027b9f6ee6-urn:uuid:31b614f5-ec14-4ed2-a509-e7b7780083e7", - "action": { - "type": "USE", - "includedIn": null, - "constraint": null - }, - "assignee": null, - "assigner": null, - "constraints": [], - "duties": [] - } - ], - "prohibitions": [], - "obligations": [], - "extensibleProperties": {}, - "inheritsFrom": null, - "assigner": null, - "assignee": null, - "target": "urn:uuid:5a7ab616-989f-46ae-bdf2-32027b9f6ee6-urn:uuid:31b614f5-ec14-4ed2-a509-e7b7780083e7", - "@type": { - "@policytype": "set" - } - }, - "asset": { - "id": "urn:uuid:5a7ab616-989f-46ae-bdf2-32027b9f6ee6-urn:uuid:31b614f5-ec14-4ed2-a509-e7b7780083e7", - "createdAt": 1669196292759, - "properties": { - "asset:prop:byteSize": null, - "asset:prop:description": "product description", - "asset:prop:contenttype": "application/json", - "asset:prop:policy-id": "use-eu", - "asset:prop:id": "urn:uuid:5a7ab616-989f-46ae-bdf2-32027b9f6ee6-urn:uuid:31b614f5-ec14-4ed2-a509-e7b7780083e7", - "asset:prop:fileName": null - } - }, - "assetId": null, - "provider": "urn:connector:provider", - "consumer": "urn:connector:consumer", - "offerStart": null, - "offerEnd": null, - "contractStart": null, - "contractEnd": null - }, - { - "id": "notification-receipt-cd:b3693bd7-192e-4b2f-b24b-a1d3e3518dee", - "policy": { - "permissions": [ - { - "edctype": "dataspaceconnector:permission", - "uid": null, - "target": "notification-receipt", - "action": { - "type": "USE", - "includedIn": null, - "constraint": null - }, - "assignee": null, - "assigner": null, - "constraints": [ - { - "edctype": "AtomicConstraint", - "leftExpression": { - "edctype": "dataspaceconnector:literalexpression", - "value": "idsc:PURPOSE" - }, - "rightExpression": { - "edctype": "dataspaceconnector:literalexpression", - "value": "Investigation" - }, - "operator": "EQ" - } - ], - "duties": [] - } - ], - "prohibitions": [], - "obligations": [], - "extensibleProperties": {}, - "inheritsFrom": null, - "assigner": null, - "assignee": null, - "target": "notification-receipt", - "@type": { - "@policytype": "set" - } - }, - "asset": { - "id": "notification-receipt", - "createdAt": 1680088494977, - "properties": { - "asset:prop:byteSize": null, - "asset:prop:name": "Asset to receive investigations", - "asset:prop:contenttype": "application/json", - "asset:prop:notificationtype": "investigation", - "asset:prop:notificationmethod": "receive", - "asset:prop:id": "notification-receipt", - "asset:prop:fileName": null - } - }, - "assetId": null, - "provider": "urn:connector:provider", - "consumer": "urn:connector:consumer", - "offerStart": null, - "offerEnd": null, - "contractStart": null, - "contractEnd": null - } - ] -} \ No newline at end of file diff --git a/irs-api/src/test/resources/__files/edc/responseGetNegotiationConfirmed.json b/irs-api/src/test/resources/__files/edc/responseGetNegotiationConfirmed.json deleted file mode 100644 index 4d0c6ae3cc..0000000000 --- a/irs-api/src/test/resources/__files/edc/responseGetNegotiationConfirmed.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "createdAt": 1669197004371, - "updatedAt": 1669197045765, - "contractAgreementId": "1bbaec6e-c316-4e1e-8258-c07a648cc43c", - "counterPartyAddress": "http://edc.io/BPNL0000000BB2OK/api/v1/ids/data", - "errorDetail": "", - "id": "1cbaec6e-c316-4e3e-8258-c07a648cc44a", - "protocol": "ids-multipart", - "state": "CONFIRMED", - "type": "CONSUMER" -} \ No newline at end of file diff --git a/irs-api/src/test/resources/__files/edc/responseStartNegotiation.json b/irs-api/src/test/resources/__files/edc/responseStartNegotiation.json deleted file mode 100644 index 083246511f..0000000000 --- a/irs-api/src/test/resources/__files/edc/responseStartNegotiation.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "id": "1cbaec6e-c316-4e3e-8258-c07a648cc44a" -} \ No newline at end of file diff --git a/irs-api/src/test/resources/__files/edc/responseStartTransferprocess.json b/irs-api/src/test/resources/__files/edc/responseStartTransferprocess.json deleted file mode 100644 index 88f6783778..0000000000 --- a/irs-api/src/test/resources/__files/edc/responseStartTransferprocess.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "id": "1b21e963-0bc5-422a-b30d-fd3511861d88" -} \ No newline at end of file