From 8028ac4c66fec22d720ef340d5b42f5194883553 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Tue, 5 Mar 2024 15:26:02 +0100 Subject: [PATCH 01/32] feat(irs-api):[#199] register policy definition for certain bpnls --- .../configmap-spring-app-config.yaml | 2 - docs/src/api/irs-api.yaml | 146 +- .../job/delegate/AbstractDelegate.java | 8 +- .../configuration/RegistryConfiguration.java | 2 +- .../MockedNotificationReceiverController.java | 2 +- .../ess/service/EdcNotificationSender.java | 2 +- ...vestigationJobProcessingEventListener.java | 4 +- irs-api/src/main/resources/application.yml | 4 +- .../tractusx/irs/InMemoryBlobStore.java | 5 + .../job/delegate/AbstractDelegateTest.java | 18 +- .../delegate/RelationshipDelegateTest.java | 10 +- .../job/delegate/SubmodelDelegateTest.java | 4 +- ...kedNotificationReceiverControllerTest.java | 4 +- .../service/EdcNotificationSenderTest.java | 3 +- ...igationJobProcessingEventListenerTest.java | 34 +- .../common/persistence/BlobPersistence.java | 5 + .../BlobPersistenceRuntimeException.java | 30 + .../persistence/MinioBlobPersistence.java | 52 +- .../client/ContractNegotiationService.java | 8 +- .../irs/edc/client/EdcSubmodelClient.java | 10 +- .../irs/edc/client/EdcSubmodelClientImpl.java | 26 +- .../client/EdcSubmodelClientLocalStub.java | 9 +- .../irs/edc/client/EdcSubmodelFacade.java | 14 +- .../policy/AcceptedPoliciesProvider.java | 4 +- .../client/policy/PolicyCheckerService.java | 8 +- .../ContractNegotiationServiceTest.java | 28 +- .../EdcSubmodelClientLocalStubTest.java | 2 +- .../irs/edc/client/EdcSubmodelClientTest.java | 44 +- .../irs/edc/client/EdcSubmodelFacadeTest.java | 36 +- .../client/SubmodelFacadeWiremockTest.java | 62 +- .../irs/edc/client/SubmodelRetryerTest.java | 4 +- .../policy/AcceptedPoliciesProviderTest.java | 8 +- .../policy/PolicyCheckerServiceTest.java | 37 +- .../controllers/PolicyStoreController.java | 83 +- .../models/CreatePolicyRequest.java | 5 +- .../models/UpdatePolicyRequest.java | 5 +- .../persistence/PolicyPersistence.java | 57 +- .../services/PolicyStoreService.java | 93 +- .../PolicyStoreControllerTest.java | 15 +- .../persistence/PolicyPersistenceTest.java | 34 +- .../services/PolicyStoreServiceTest.java | 56 +- .../registryclient/DefaultConfiguration.java | 2 +- .../DefaultConfigurationTest.java | 6 +- local/testing/IRS_Request_Collection.json | 7489 ++++++++--------- 44 files changed, 4334 insertions(+), 4146 deletions(-) create mode 100644 irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java diff --git a/charts/irs-helm/templates/configmap-spring-app-config.yaml b/charts/irs-helm/templates/configmap-spring-app-config.yaml index c5811fc1a7..8086564b97 100644 --- a/charts/irs-helm/templates/configmap-spring-app-config.yaml +++ b/charts/irs-helm/templates/configmap-spring-app-config.yaml @@ -157,8 +157,6 @@ data: {{- end }} {{- end }} - apiAllowedBpn: {{ tpl (.Values.bpn | default "") . | quote }} - {{- if .Values.config.content }} {{- tpl (toYaml .Values.config.content) . | nindent 4 }} {{- end }} diff --git a/docs/src/api/irs-api.yaml b/docs/src/api/irs-api.yaml index eae3930a15..62a9d82213 100644 --- a/docs/src/api/irs-api.yaml +++ b/docs/src/api/irs-api.yaml @@ -874,6 +874,50 @@ paths: summary: Register a policy that should be accepted in EDC negotiation. tags: - Item Relationship Service + put: + description: Updates an existing policy. + operationId: updateAllowedPolicy + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdatePolicyRequest' + required: true + responses: + "200": + description: OK + "400": + content: + application/json: + examples: + error: + $ref: '#/components/examples/error-response-400' + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Policy update failed. + "401": + content: + application/json: + examples: + error: + $ref: '#/components/examples/error-response-401' + schema: + $ref: '#/components/schemas/ErrorResponse' + description: No valid authentication credentials. + "403": + content: + application/json: + examples: + error: + $ref: '#/components/examples/error-response-403' + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Authorization refused by server. + security: + - api_key: [ ] + summary: Updates an existing policy. + tags: + - Item Relationship Service /irs/policies/{policyId}: delete: description: Removes a policy that should no longer be accepted in EDC negotiation. @@ -919,33 +963,27 @@ paths: summary: Removes a policy that should no longer be accepted in EDC negotiation. tags: - Item Relationship Service - put: - description: Updates an existing policy with new validUntil value. - operationId: updateAllowedPolicy + /irs/policies/{bpns}: + get: + description: Lists the registered policies that should be accepted in EDC negotiation. + operationId: getAllowedPoliciesByBpn parameters: - - in: path - name: policyId + - name: bpns + in: path required: true schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdatePolicyRequest' - required: true + type: array + items: + type: string responses: "200": - description: OK - "400": content: application/json: - examples: - error: - $ref: '#/components/examples/error-response-400' schema: - $ref: '#/components/schemas/ErrorResponse' - description: Policy update failed. + type: array + items: + $ref: '#/components/schemas/Policy' + description: Returns the policies. "401": content: application/json: @@ -965,8 +1003,8 @@ paths: $ref: '#/components/schemas/ErrorResponse' description: Authorization refused by server. security: - - api_key: [] - summary: Updates an existing policy with new validUntil value. + - api_key: [ ] + summary: Lists the registered policies that should be accepted in EDC negotiation. tags: - Item Relationship Service components: @@ -1714,9 +1752,9 @@ components: description: Request to add a policy properties: payload: - type: object - additionalProperties: - $ref: '#/components/schemas/JsonValue' + type: array + items: + $ref: '#/components/schemas/JsonObject' example: payload: '@context': @@ -1736,23 +1774,14 @@ components: '@id': 'odrl:eq' 'odrl:rightOperand': ID 3.1 Trace validUntil: '2025-12-12T23:59:59.999Z' - properties: - empty: - type: boolean - valueType: - type: string - enum: - - 'ARRAY' - - 'OBJECT' - - 'STRING' - - 'NUMBER' - - 'TRUE' - - 'FALSE' - - 'NULL' validUntil: type: string format: date-time description: Timestamp after which the policy will no longer be accepted in negotiations + businessPartnerNumbers: + type: array + items: + type: string required: - payload - validUntil @@ -2099,6 +2128,41 @@ components: items: $ref: '#/components/schemas/Tombstone' maxItems: 2147483647 + JsonObject: + type: object + additionalProperties: false + properties: + valueType: + type: string + enum: + - 'ARRAY' + - 'OBJECT' + - 'STRING' + - 'NUMBER' + - 'TRUE' + - 'FALSE' + - 'NULL' + empty: + type: boolean + example: + payload: + '@context': + odrl: http://www.w3.org/ns/odrl/2/ + '@id': policy-id + policy: + 'odrl:permission': + - 'odrl:action': USE + 'odrl:constraint': + 'odrl:and': + - 'odrl:leftOperand': Membership + 'odrl:operator': + '@id': 'odrl:eq' + 'odrl:rightOperand': active + - 'odrl:leftOperand': PURPOSE + 'odrl:operator': + '@id': 'odrl:eq' + 'odrl:rightOperand': ID 3.1 Trace + validUntil: '2025-12-12T23:59:59.999Z' JsonValue: type: object additionalProperties: false @@ -2744,6 +2808,14 @@ components: additionalProperties: false description: Request to add a policy properties: + businessPartnerNumbers: + type: array + items: + type: string + policiesIds: + type: array + items: + type: string validUntil: type: string format: date-time diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegate.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegate.java index 5823cff156..0f3664fc39 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegate.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegate.java @@ -98,22 +98,22 @@ protected SubmodelDescriptor requestSubmodel(final EdcSubmodelFacade submodelFac log.debug("Using dspEndpoint of subprotocolBody '{}' to get submodel payload", subprotocolBody); return submodelFacade.getSubmodelPayload(dspEndpoint.get(), digitalTwinRegistryEndpoint.getProtocolInformation().getHref(), - extractAssetId(subprotocolBody)); + extractAssetId(subprotocolBody), bpn); } else { log.info("SubprotocolBody does not contain '{}'. Using Discovery Service as fallback.", DSP_ENDPOINT); final List connectorEndpoints = connectorEndpointsService.fetchConnectorEndpoints(bpn); - return getSubmodel(submodelFacade, digitalTwinRegistryEndpoint, connectorEndpoints); + return getSubmodel(submodelFacade, digitalTwinRegistryEndpoint, connectorEndpoints, bpn); } } private SubmodelDescriptor getSubmodel(final EdcSubmodelFacade submodelFacade, final Endpoint digitalTwinRegistryEndpoint, - final List connectorEndpoints) throws EdcClientException { + final List connectorEndpoints, final String bpn) throws EdcClientException { for (final String connectorEndpoint : connectorEndpoints) { try { return submodelFacade.getSubmodelPayload(connectorEndpoint, digitalTwinRegistryEndpoint.getProtocolInformation().getHref(), - extractAssetId(digitalTwinRegistryEndpoint.getProtocolInformation().getSubprotocolBody())); + extractAssetId(digitalTwinRegistryEndpoint.getProtocolInformation().getSubprotocolBody()), bpn); } catch (EdcClientException e) { log.info("EdcClientException while accessing digitalTwinRegistryEndpoint '{}'", connectorEndpoint, e); } diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java index db7de31bb7..bb71edd17c 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java @@ -75,7 +75,7 @@ public DecentralDigitalTwinRegistryService decentralDigitalTwinRegistryService( return new DecentralDigitalTwinRegistryService(connectorEndpointsService, new EndpointDataForConnectorsService((edcConnectorEndpoint, assetType, assetValue) -> { try { - return facade.getEndpointReferenceForAsset(edcConnectorEndpoint, assetType, assetValue); + return facade.getEndpointReferenceForAsset(edcConnectorEndpoint, assetType, assetValue, null); } catch (EdcClientException e) { throw new EdcRetrieverException(e); } diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverController.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverController.java index a6e6bffabb..4f1eb9410e 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverController.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverController.java @@ -107,7 +107,7 @@ public void receiveNotification( final EdcNotification edcRequest = edcRequest(notificationId, originalNotificationId, senderEdc, senderBpn, recipientBpn, notificationContent); - final var response = edcSubmodelFacade.sendNotification(recipientUrl, "ess-response-asset", edcRequest); + final var response = edcSubmodelFacade.sendNotification(recipientUrl, "ess-response-asset", edcRequest, recipientBpn); if (!response.deliveredSuccessfully()) { throw new EdcClientException( "EDC Provider did not accept message with notificationId " + notificationId); diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSender.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSender.java index 3987c12624..ebaa775c83 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSender.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSender.java @@ -76,7 +76,7 @@ public void sendEdcNotification(final EdcNotification getBlob(final String sourceBlobName) { return Optional.ofNullable(store.get(sourceBlobName)); } + @Override + public Map getAllBlobs() { + return store; + } + @Override public Collection findBlobByPrefix(final String prefix) { return store.entrySet() diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegateTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegateTest.java index f38685a3a8..b4e81769db 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegateTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/AbstractDelegateTest.java @@ -62,7 +62,7 @@ void setUp() { @Test void shouldUseDspEndpointIfPresent() throws EdcClientException { // Arrange - when(submodelFacade.getSubmodelPayload(any(), any(), any())).thenReturn(new SubmodelDescriptor("cid", "test")); + when(submodelFacade.getSubmodelPayload(any(), any(), any(), any())).thenReturn(new SubmodelDescriptor("cid", "test")); final Endpoint endpoint = Endpoint.builder() .protocolInformation(ProtocolInformation.builder() .href("http://dataplane.test/123") @@ -77,7 +77,7 @@ void shouldUseDspEndpointIfPresent() throws EdcClientException { // Assert assertThat(submodel).isEqualTo("test"); - verify(submodelFacade, times(1)).getSubmodelPayload("http://edc.test", "http://dataplane.test/123", "123"); + verify(submodelFacade, times(1)).getSubmodelPayload("http://edc.test", "http://dataplane.test/123", "123", "BPN123"); } @Test @@ -85,9 +85,9 @@ void shouldUseDiscoveryFinderIfDspEndpointNotPresent() throws EdcClientException // Arrange final String connector1 = "http://edc.test1"; final String connector2 = "http://edc.test2"; - when(submodelFacade.getSubmodelPayload(eq(connector1), any(), any())).thenThrow( + when(submodelFacade.getSubmodelPayload(eq(connector1), any(), any(), any())).thenThrow( new EdcClientException("test")); - when(submodelFacade.getSubmodelPayload(eq(connector2), any(), any())).thenReturn(new SubmodelDescriptor("cid", "test")); + when(submodelFacade.getSubmodelPayload(eq(connector2), any(), any(), any())).thenReturn(new SubmodelDescriptor("cid", "test")); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of(connector1, connector2)); final String dataplaneUrl = "http://dataplane.test/123"; final Endpoint endpoint = Endpoint.builder() @@ -104,8 +104,8 @@ void shouldUseDiscoveryFinderIfDspEndpointNotPresent() throws EdcClientException // Assert assertThat(submodel).isEqualTo("test"); - verify(submodelFacade, times(1)).getSubmodelPayload(connector1, dataplaneUrl, "123"); - verify(submodelFacade, times(1)).getSubmodelPayload(connector2, dataplaneUrl, "123"); + verify(submodelFacade, times(1)).getSubmodelPayload(connector1, dataplaneUrl, "123", "BPN123"); + verify(submodelFacade, times(1)).getSubmodelPayload(connector2, dataplaneUrl, "123", "BPN123"); verify(connectorEndpointsService, times(1)).fetchConnectorEndpoints(bpn); } @@ -114,7 +114,7 @@ void shouldThrowGenericEdcClientExceptionIfAllEndpointsThrowExceptions() throws // Arrange final String connector1 = "http://edc.test1"; final String connector2 = "http://edc.test2"; - when(submodelFacade.getSubmodelPayload(any(), any(), any())).thenThrow(new EdcClientException("test")); + when(submodelFacade.getSubmodelPayload(any(), any(), any(), any())).thenThrow(new EdcClientException("test")); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of(connector1, connector2)); final String dataplaneUrl = "http://dataplane.test/123"; final Endpoint endpoint = Endpoint.builder() @@ -131,8 +131,8 @@ void shouldThrowGenericEdcClientExceptionIfAllEndpointsThrowExceptions() throws bpn)); // Assert - verify(submodelFacade, times(1)).getSubmodelPayload(connector1, dataplaneUrl, "123"); - verify(submodelFacade, times(1)).getSubmodelPayload(connector2, dataplaneUrl, "123"); + verify(submodelFacade, times(1)).getSubmodelPayload(connector1, dataplaneUrl, "123", "BPN123"); + verify(submodelFacade, times(1)).getSubmodelPayload(connector2, dataplaneUrl, "123", "BPN123"); verify(connectorEndpointsService, times(1)).fetchConnectorEndpoints(bpn); } } \ No newline at end of file diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/RelationshipDelegateTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/RelationshipDelegateTest.java index 3b060bd29e..cc95f9d671 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/RelationshipDelegateTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/RelationshipDelegateTest.java @@ -71,7 +71,7 @@ void shouldFillItemContainerWithRelationshipAndAddChildIdsToProcess() // given final String payload = Files.readString( Paths.get(Objects.requireNonNull(getClass().getResource("/singleLevelBomAsBuilt.json")).toURI())); - when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString())).thenReturn(new SubmodelDescriptor("cid", payload)); + when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString(), any())).thenReturn(new SubmodelDescriptor("cid", payload)); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("http://localhost")); final ItemContainer.ItemContainerBuilder itemContainerWithShell = ItemContainer.builder() @@ -98,7 +98,7 @@ void shouldFillItemContainerWithUpwardRelationshipAndAddChildIdsToProcess() // given final String payload = Files.readString( Paths.get(Objects.requireNonNull(getClass().getResource("/singleLevelUsageAsBuilt.json")).toURI())); - when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString())).thenReturn(new SubmodelDescriptor("cid", payload)); + when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString(), any())).thenReturn(new SubmodelDescriptor("cid", payload)); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("http://localhost")); final ItemContainer.ItemContainerBuilder itemContainerWithShell = ItemContainer.builder() @@ -142,7 +142,7 @@ void shouldPutTombstoneForMissingBpn() { @Test void shouldCatchRestClientExceptionAndPutTombstone() throws EdcClientException { // given - when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString())).thenThrow( + when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString(), any())).thenThrow( new EdcClientException("Unable to call endpoint")); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("http://localhost")); @@ -167,7 +167,7 @@ void shouldCatchRestClientExceptionAndPutTombstone() throws EdcClientException { @Test void shouldCatchJsonParseExceptionAndPutTombstone() throws EdcClientException { // given - when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString())).thenThrow( + when(submodelFacade.getSubmodelPayload(anyString(), anyString(), anyString(), any())).thenThrow( new EdcClientException(new Exception("Payload did not match expected submodel"))); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("http://localhost")); final ItemContainer.ItemContainerBuilder itemContainerWithShell = ItemContainer.builder() @@ -198,7 +198,7 @@ void shouldCatchUsagePolicyExceptionAndPutTombstone() throws EdcClientException "address"))))); // when - when(submodelFacade.getSubmodelPayload(any(), any(), any())).thenThrow(new UsagePolicyException("itemId", null)); + when(submodelFacade.getSubmodelPayload(any(), any(), any(), any())).thenThrow(new UsagePolicyException("itemId", null)); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("connector.endpoint.nl")); final ItemContainer result = relationshipDelegate.process(itemContainerWithShell, jobParameter(), new AASTransferProcess(), createKey()); diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/SubmodelDelegateTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/SubmodelDelegateTest.java index 312113d974..a564cd78b5 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/SubmodelDelegateTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/SubmodelDelegateTest.java @@ -149,7 +149,7 @@ void shouldCatchUsagePolicyExceptionAndPutTombstone() throws EdcClientException "testSingleLevelBomAsBuiltEndpoint"))))); // when - when(submodelFacade.getSubmodelPayload(any(), any(), any())).thenThrow(new UsagePolicyException("itemId", null)); + when(submodelFacade.getSubmodelPayload(any(), any(), any(), any())).thenThrow(new UsagePolicyException("itemId", null)); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("connector.endpoint.nl")); final ItemContainer result = submodelDelegate.process(itemContainerShellWithTwoSubmodels, jobParameterCollectAspects(), new AASTransferProcess(), createKey()); @@ -173,7 +173,7 @@ void shouldRequestForAllEndpoints() throws EdcClientException, InvalidSchemaExce ""))))); // when - when(submodelFacade.getSubmodelPayload(any(), any(), any())).thenThrow( + when(submodelFacade.getSubmodelPayload(any(), any(), any(), any())).thenThrow( new ItemNotFoundInCatalogException("test", "itemId")).thenReturn(new SubmodelDescriptor("cid", """ {"test": "test"} """)); diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverControllerTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverControllerTest.java index 4060cbeb86..4310d5582e 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverControllerTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/controller/mock/MockedNotificationReceiverControllerTest.java @@ -68,7 +68,7 @@ class MockedNotificationReceiverControllerTest { void shouldReceiveNotificationAndSendMockedNotificationResult() throws Exception { final String bpn = "BPN1"; when(edcDiscoveryMockConfig.getMockEdcResult()).thenReturn(Map.of(bpn, SupplyChainImpacted.YES)); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), anyString())).thenReturn( () -> true); RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(new MockHttpServletRequest())); RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(new MockHttpServletRequest())); @@ -82,7 +82,7 @@ void shouldReceiveNotificationAndSendMockedNotificationResult() throws Exception .content(notificationContent) .build()); - verify(edcSubmodelFacade).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(edcSubmodelFacade).sendNotification(anyString(), anyString(), any(EdcNotification.class), anyString()); } @Test diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSenderTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSenderTest.java index f9e785a8f4..c01c2ebe31 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSenderTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EdcNotificationSenderTest.java @@ -24,6 +24,7 @@ package org.eclipse.tractusx.irs.ess.service; import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @@ -64,7 +65,7 @@ void shouldSendEdcNotificationWithSuccess() throws EdcClientException { // given final EdcNotification edcNotification = prepareNotification( "notification-id"); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), notificationCaptor.capture())).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), notificationCaptor.capture(), any())).thenReturn( () -> true); when(connectorEndpointsService.fetchConnectorEndpoints("senderBpn")).thenReturn(List.of("senderEdc")); diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/InvestigationJobProcessingEventListenerTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/InvestigationJobProcessingEventListenerTest.java index c811a1817f..53bf84b9bb 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/InvestigationJobProcessingEventListenerTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/InvestigationJobProcessingEventListenerTest.java @@ -101,7 +101,7 @@ void shouldSendEdcNotificationWhenJobCompleted() throws EdcClientException { // given final String edcBaseUrl = "http://edc-server-url.com"; when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent(jobId.toString(), JobState.COMPLETED.name(), "", Optional.empty()); @@ -111,7 +111,7 @@ void shouldSendEdcNotificationWhenJobCompleted() throws EdcClientException { // then verify(this.edcSubmodelFacade, times(1)).sendNotification(eq(edcBaseUrl), anyString(), - any(EdcNotification.class)); + any(EdcNotification.class), any()); } @Test @@ -121,7 +121,7 @@ void shouldStopProcessingIfNoRelationshipContainsBPN() throws EdcClientException List.of(createRelationship("asPlanned", null, "testParent", "testChild"))); final String edcBaseUrl = "http://edc-server-url.com"; when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent(jobId.toString(), JobState.COMPLETED.name(), "", Optional.empty()); @@ -142,7 +142,7 @@ void shouldHandleCaseWhenRelationshipDoesNotContainBPN() throws EdcClientExcepti createRelationship("asPlanned", null, "parentId2", "childId2"))); final String edcBaseUrl = "http://edc-server-url.com"; when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent(jobId.toString(), JobState.COMPLETED.name(), "", Optional.empty()); @@ -152,7 +152,7 @@ void shouldHandleCaseWhenRelationshipDoesNotContainBPN() throws EdcClientExcepti // then verify(this.edcSubmodelFacade, times(1)).sendNotification(eq(edcBaseUrl), anyString(), - any(EdcNotification.class)); + any(EdcNotification.class), any()); } @Test @@ -161,7 +161,7 @@ void shouldTriggerCorrectNotificationOnNextLevel() throws EdcClientException { createMockForJobIdAndShell(jobId, "bpn", List.of(createRelationship("asPlanned", "BPN1", "parentId1", "childId1"))); final String edcBaseUrl = "http://edc-server-url.com"; - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent(jobId.toString(), @@ -172,7 +172,7 @@ void shouldTriggerCorrectNotificationOnNextLevel() throws EdcClientException { // then verify(this.edcSubmodelFacade, times(1)).sendNotification(eq(edcBaseUrl), eq("notify-request-asset-recursive"), - edcNotificationCaptor.capture()); + edcNotificationCaptor.capture(), any()); assertThat(edcNotificationCaptor.getValue().getHeader().getNotificationType()).isEqualTo( "ess-supplier-request"); final InvestigationNotificationContent content = (InvestigationNotificationContent) edcNotificationCaptor.getValue() @@ -192,7 +192,7 @@ void shouldStopProcessingIfNoEdcAddressIsDiscovered() throws EdcClientException jobProcessingEventListener.handleJobProcessingFinishedEvent(jobProcessingFinishedEvent); // then - verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class), any()); } @Test @@ -207,7 +207,7 @@ void shouldSendCallbackIfNoMoreRelationshipsAreFound() throws EdcClientException jobProcessingEventListener.handleJobProcessingFinishedEvent(jobProcessingFinishedEvent); // then - verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class), any()); verify(this.recursiveNotificationHandler, times(1)).handleNotification(any(), eq(SupplyChainImpacted.NO), eq("bpn"), eq(0)); } @@ -226,7 +226,7 @@ void shouldStopProcessingIfOneOfEdcAddressesIsNotDiscovered() throws EdcClientEx jobProcessingEventListener.handleJobProcessingFinishedEvent(jobProcessingFinishedEvent); // then - verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class), any()); } @Test @@ -238,7 +238,7 @@ void shouldSendEdcRecursiveNotificationWhenJobCompleted() throws EdcClientExcept "urn:uuid:86f69643-3b90-4e34-90bf-789edcf40e7e"))); final String edcBaseUrl = "http://edc-server-url.com"; when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent( recursiveJobId.toString(), JobState.COMPLETED.name(), "", Optional.empty()); @@ -248,7 +248,7 @@ void shouldSendEdcRecursiveNotificationWhenJobCompleted() throws EdcClientExcept // then verify(this.edcSubmodelFacade, times(1)).sendNotification(eq(edcBaseUrl), eq(ASSET_ID_REQUEST_RECURSIVE), - edcNotificationCaptor.capture()); + edcNotificationCaptor.capture(), any()); assertThat(edcNotificationCaptor.getValue().getHeader().getNotificationType()).isEqualTo( "ess-supplier-request"); } @@ -259,7 +259,7 @@ void shouldSendEdcRecursiveNotificationWithMultipleIncidentBPNSs() throws EdcCli createMockForJobIdAndShell(jobId, "bpn", List.of(createRelationship("asPlanned", "BPN1", "parentId1", "childId1")), List.of("BPN1", "BPN2")); final String edcBaseUrl = "http://edc-server-url.com"; - when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class))).thenReturn( + when(edcSubmodelFacade.sendNotification(anyString(), anyString(), any(EdcNotification.class), any())).thenReturn( () -> true); when(connectorEndpointsService.fetchConnectorEndpoints(anyString())).thenReturn(List.of(edcBaseUrl)); final JobProcessingFinishedEvent jobProcessingFinishedEvent = new JobProcessingFinishedEvent(jobId.toString(), @@ -270,14 +270,14 @@ void shouldSendEdcRecursiveNotificationWithMultipleIncidentBPNSs() throws EdcCli // then verify(this.edcSubmodelFacade, times(1)).sendNotification(eq(edcBaseUrl), eq("notify-request-asset-recursive"), - edcNotificationCaptor.capture()); + edcNotificationCaptor.capture(), any()); final InvestigationNotificationContent content = (InvestigationNotificationContent) edcNotificationCaptor.getValue() .getContent(); assertThat(edcNotificationCaptor.getValue().getHeader().getNotificationType()).isEqualTo( "ess-supplier-request"); assertThat(content.getIncidentBPNSs()).containsAll(List.of("BPN1", "BPN2")); assertThat(content.getConcernedCatenaXIds()).containsAll(List.of("childId1")); - verify(this.edcSubmodelFacade, times(1)).sendNotification(any(), any(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(1)).sendNotification(any(), any(), any(EdcNotification.class), any()); } @Test @@ -292,7 +292,7 @@ void shouldCreateTombstoneWhenAspectModelsMissing() throws EdcClientException { jobProcessingEventListener.handleJobProcessingFinishedEvent(finishedEvent); // then - verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class), any()); final Optional job = bpnInvestigationJobCache.findByJobId(jobId); assertThat(job).isPresent(); assertThat(job.get().getJobSnapshot().getTombstones()).hasSize(2); @@ -310,7 +310,7 @@ void shouldCreateTombstoneWhenSiteIdIsMissing() throws EdcClientException { jobProcessingEventListener.handleJobProcessingFinishedEvent(finishedEvent); // then - verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class)); + verify(this.edcSubmodelFacade, times(0)).sendNotification(anyString(), anyString(), any(EdcNotification.class), any()); final Optional job = bpnInvestigationJobCache.findByJobId(jobId); assertThat(job).isPresent(); assertThat(job.get().getJobSnapshot().getTombstones()).hasSize(1); diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java index d8a38fe6be..03e2256ff5 100644 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java @@ -26,6 +26,7 @@ import java.util.Collection; import java.util.List; +import java.util.Map; import java.util.Optional; /** @@ -33,10 +34,14 @@ */ public interface BlobPersistence { + String DEFAULT_BLOB_NAME = "default"; + void putBlob(String targetBlobName, byte[] blob) throws BlobPersistenceException; Optional getBlob(String sourceBlobName) throws BlobPersistenceException; + Map getAllBlobs() throws BlobPersistenceException; + Collection findBlobByPrefix(String prefix) throws BlobPersistenceException; boolean delete(String blobId, List processIds) throws BlobPersistenceException; diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java new file mode 100644 index 0000000000..9a30f25b51 --- /dev/null +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java @@ -0,0 +1,30 @@ +/******************************************************************************** + * Copyright (c) 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ +package org.eclipse.tractusx.irs.common.persistence; + +/** + * Runtime Exception for everything related to BlobPersistence actions + */ +public class BlobPersistenceRuntimeException extends RuntimeException { + + public BlobPersistenceRuntimeException(final String message, final Throwable cause) { + super(message, cause); + } +} diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java index 5bbe56598c..8ed7f9490b 100644 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java @@ -29,7 +29,9 @@ import java.security.NoSuchAlgorithmException; import java.util.Collection; import java.util.List; +import java.util.Map; import java.util.Optional; +import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Stream; import java.util.stream.StreamSupport; @@ -78,14 +80,17 @@ public MinioBlobPersistence(final String endpoint, final String accessKey, final this(bucketName, createClient(endpoint, accessKey, secretKey), daysToLive); } - public MinioBlobPersistence(final String bucketName, final MinioClient client, final int daysToLive) throws BlobPersistenceException { + public MinioBlobPersistence(final String bucketName, final MinioClient client, final int daysToLive) + throws BlobPersistenceException { this.bucketName = bucketName; this.minioClient = client; this.daysToLive = daysToLive; try { createBucketIfNotExists(bucketName); - } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { + } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException + | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException + | InternalException e) { throw new BlobPersistenceException("Encountered error while trying to create min.io client", e); } } @@ -140,7 +145,9 @@ public void putBlob(final String targetBlobName, final byte[] blob) throws BlobP .stream(byteArrayInputStream, byteArrayInputStream.available(), -1) .build()); log.debug("Saving to bucket name {} with object name {}", bucketName, targetBlobName); - } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { + } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException + | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException + | InternalException e) { throw new BlobPersistenceException("Encountered error while trying to store blob", e); } } @@ -155,7 +162,8 @@ public Optional getBlob(final String sourceBlobName) throws BlobPersiste return Optional.empty(); } throw createLoadFailedException(e); - } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { + } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException + | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { throw createLoadFailedException(e); } try (response) { @@ -163,7 +171,28 @@ public Optional getBlob(final String sourceBlobName) throws BlobPersiste } catch (IOException e) { throw createLoadFailedException(e); } + } + + @Override + public Map getAllBlobs() throws BlobPersistenceException { + final Iterable> items = getItems(); + final Map result = new ConcurrentHashMap<>(); + for (final Result item : items) { + try { + final String objectName = item.get().objectName(); + try (GetObjectResponse response = minioClient.getObject( + GetObjectArgs.builder().bucket(bucketName).object(objectName).build())) { + result.put(objectName, response.readAllBytes()); + } + } catch (ErrorResponseException | InsufficientDataException | InternalException | InvalidKeyException + | InvalidResponseException | IOException | NoSuchAlgorithmException | ServerException + | XmlParserException e) { + throw createLoadFailedException(e); + } + } + + return result; } private BlobPersistenceException createLoadFailedException(final Throwable cause) { @@ -194,7 +223,8 @@ public boolean delete(final String sourceBlobName, final List processIds } else { throw new BlobPersistenceException("Encountered error while trying to delete blob", e); } - } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { + } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException + | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { throw new BlobPersistenceException("Encountered error while trying to delete blob", e); } } @@ -203,7 +233,9 @@ private void deleteConnectedProcessesBlobs(final List processIds) { processIds.forEach(processId -> { try { minioClient.removeObject(RemoveObjectArgs.builder().bucket(bucketName).object(processId).build()); - } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException | ErrorResponseException e) { + } catch (ServerException | InsufficientDataException | IOException | NoSuchAlgorithmException + | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException + | ErrorResponseException e) { log.info("No object data with process Id {} found", processId); } }); @@ -221,10 +253,16 @@ private Stream getBlobIfPresent(final String sourceBlobName) { private Stream getItem(final Result result) { try { return Stream.of(result.get()); - } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException | InternalException e) { + } catch (ServerException | InsufficientDataException | ErrorResponseException | IOException + | NoSuchAlgorithmException | InvalidKeyException | InvalidResponseException | XmlParserException + | InternalException e) { log.error("Encountered error while trying to retrieve result content", e); return Stream.empty(); } } + private Iterable> getItems() { + return minioClient.listObjects(ListObjectsArgs.builder().bucket(bucketName).build()); + } + } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java index 63def1d591..26e4d5ac66 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java @@ -63,7 +63,7 @@ public class ContractNegotiationService { private final EdcConfiguration config; public NegotiationResponse negotiate(final String providerConnectorUrl, final CatalogItem catalogItem, - final EndpointDataReferenceStatus endpointDataReferenceStatus) + final EndpointDataReferenceStatus endpointDataReferenceStatus, final String bpn) throws ContractNegotiationException, UsagePolicyException, TransferProcessException { EndpointDataReferenceStatus resultEndpointDataReferenceStatus; @@ -83,7 +83,7 @@ public NegotiationResponse negotiate(final String providerConnectorUrl, final Ca switch (resultEndpointDataReferenceStatus.tokenStatus()) { case REQUIRED_NEW -> { final CompletableFuture responseFuture = startNewNegotiation(providerConnectorUrl, - catalogItem); + catalogItem, bpn); negotiationResponse = Objects.requireNonNull(getNegotiationResponse(responseFuture)); contractAgreementId = negotiationResponse.getContractAgreementId(); } @@ -119,10 +119,10 @@ public NegotiationResponse negotiate(final String providerConnectorUrl, final Ca } private CompletableFuture startNewNegotiation(final String providerConnectorUrl, - final CatalogItem catalogItem) throws UsagePolicyException { + final CatalogItem catalogItem, final String bpn) throws UsagePolicyException { log.info("Staring new contract negotiation."); - if (!policyCheckerService.isValid(catalogItem.getPolicy())) { + if (!policyCheckerService.isValid(catalogItem.getPolicy(), bpn)) { log.info("Policy was not allowed, canceling negotiation."); throw new UsagePolicyException(catalogItem.getItemId(), catalogItem.getPolicy()); } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClient.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClient.java index ccc37dd532..7b670294e8 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClient.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClient.java @@ -36,19 +36,19 @@ /** * Public API facade for EDC domain */ -@SuppressWarnings("PMD.ExcessiveImports") +@SuppressWarnings({"PMD.ExcessiveImports", "PMD.UseObjectForClearerAPI"}) public interface EdcSubmodelClient { CompletableFuture getSubmodelPayload(String connectorEndpoint, String submodelDataplaneUrl, - String assetId) throws EdcClientException; + String assetId, String bpn) throws EdcClientException; CompletableFuture sendNotification(String submodelEndpointAddress, String assetId, - EdcNotification notification) throws EdcClientException; + EdcNotification notification, String bpn) throws EdcClientException; CompletableFuture getEndpointReferenceForAsset(String endpointAddress, String filterKey, - String filterValue) throws EdcClientException; + String filterValue, String bpn) throws EdcClientException; CompletableFuture getEndpointReferenceForAsset(String endpointAddress, String filterKey, - String filterValue, EndpointDataReferenceStatus cachedEndpointDataReference) throws EdcClientException; + String filterValue, EndpointDataReferenceStatus cachedEndpointDataReference, String bpn) throws EdcClientException; } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientImpl.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientImpl.java index 3cee65c88a..c36cb003c8 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientImpl.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientImpl.java @@ -58,7 +58,7 @@ */ @Slf4j @RequiredArgsConstructor -@SuppressWarnings("PMD.TooManyMethods") +@SuppressWarnings({"PMD.TooManyMethods", "PMD.UseObjectForClearerAPI"}) public class EdcSubmodelClientImpl implements EdcSubmodelClient { private final EdcConfiguration config; @@ -138,13 +138,13 @@ private Optional sendSubmodelNotification(final String @Override public CompletableFuture getSubmodelPayload(final String connectorEndpoint, - final String submodelDataplaneUrl, final String assetId) throws EdcClientException { + final String submodelDataplaneUrl, final String assetId, final String bpn) throws EdcClientException { return execute(connectorEndpoint, () -> { log.info("Requesting raw SubmodelPayload for endpoint '{}'.", connectorEndpoint); final StopWatch stopWatch = new StopWatch(); stopWatch.start("Get EDC Submodel task for raw payload, endpoint " + connectorEndpoint); - final EndpointDataReference endpointDataReference = getEndpointDataReference(connectorEndpoint, assetId); + final EndpointDataReference endpointDataReference = getEndpointDataReference(connectorEndpoint, assetId, bpn); return pollingService.createJob() .action(() -> retrieveSubmodelData(submodelDataplaneUrl, stopWatch, @@ -156,7 +156,7 @@ public CompletableFuture getSubmodelPayload(final String con }); } - private EndpointDataReference getEndpointDataReference(final String connectorEndpoint, final String assetId) + private EndpointDataReference getEndpointDataReference(final String connectorEndpoint, final String assetId, final String bpn) throws EdcClientException { log.info("Retrieving endpoint data reference from cache for asset id: {}", assetId); final EndpointDataReferenceStatus cachedEndpointDataReference = endpointDataReferenceCacheService.getEndpointDataReference( @@ -168,18 +168,18 @@ private EndpointDataReference getEndpointDataReference(final String connectorEnd endpointDataReference = cachedEndpointDataReference.endpointDataReference(); } else { endpointDataReference = getEndpointDataReferenceAndAddToStorage(connectorEndpoint, assetId, - cachedEndpointDataReference); + cachedEndpointDataReference, bpn); } return endpointDataReference; } private EndpointDataReference getEndpointDataReferenceAndAddToStorage(final String connectorEndpoint, - final String assetId, final EndpointDataReferenceStatus cachedEndpointDataReference) + final String assetId, final EndpointDataReferenceStatus cachedEndpointDataReference, final String bpn) throws EdcClientException { try { final EndpointDataReference endpointDataReference = getEndpointReferenceForAsset(connectorEndpoint, - NAMESPACE_EDC_ID, assetId, cachedEndpointDataReference).get(); + NAMESPACE_EDC_ID, assetId, cachedEndpointDataReference, bpn).get(); endpointDataReferenceStorage.put(assetId, endpointDataReference); return endpointDataReference; @@ -193,11 +193,11 @@ private EndpointDataReference getEndpointDataReferenceAndAddToStorage(final Stri @Override public CompletableFuture sendNotification(final String connectorEndpoint, - final String assetId, final EdcNotification notification) throws EdcClientException { + final String assetId, final EdcNotification notification, final String bpn) throws EdcClientException { return execute(connectorEndpoint, () -> { final StopWatch stopWatch = new StopWatch(); stopWatch.start("Send EDC notification task, endpoint " + connectorEndpoint); - final EndpointDataReference endpointDataReference = getEndpointDataReference(connectorEndpoint, assetId); + final EndpointDataReference endpointDataReference = getEndpointDataReference(connectorEndpoint, assetId, bpn); return sendNotificationAsync(assetId, notification, stopWatch, endpointDataReference); }); @@ -205,15 +205,15 @@ public CompletableFuture sendNotification(final String @Override public CompletableFuture getEndpointReferenceForAsset(final String endpointAddress, - final String filterKey, final String filterValue) throws EdcClientException { + final String filterKey, final String filterValue, final String bpn) throws EdcClientException { return execute(endpointAddress, () -> getEndpointReferenceForAsset(endpointAddress, filterKey, filterValue, - new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW))); + new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW), bpn)); } @Override public CompletableFuture getEndpointReferenceForAsset(final String endpointAddress, final String filterKey, final String filterValue, - final EndpointDataReferenceStatus endpointDataReferenceStatus) throws EdcClientException { + final EndpointDataReferenceStatus endpointDataReferenceStatus, final String bpn) throws EdcClientException { final StopWatch stopWatch = new StopWatch(); stopWatch.start("Get EDC Submodel task for shell descriptor, endpoint " + endpointAddress); @@ -224,7 +224,7 @@ public CompletableFuture getEndpointReferenceForAsset(fin filterValue); final NegotiationResponse response = contractNegotiationService.negotiate(providerWithSuffix, - items.stream().findFirst().orElseThrow(), endpointDataReferenceStatus); + items.stream().findFirst().orElseThrow(), endpointDataReferenceStatus, bpn); final String storageId = getStorageId(endpointDataReferenceStatus, response); diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStub.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStub.java index 7e0e37275a..3257bf9b85 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStub.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStub.java @@ -40,6 +40,7 @@ /** * Submodel facade stub used in local environment */ +@SuppressWarnings("PMD.UseObjectForClearerAPI") public class EdcSubmodelClientLocalStub implements EdcSubmodelClient { private final SubmodelTestdataCreator testdataCreator; @@ -51,7 +52,7 @@ public EdcSubmodelClientLocalStub(final CxTestDataContainer cxTestDataContainer) @Override public CompletableFuture getSubmodelPayload(final String connectorEndpoint, - final String submodelDataplaneUrl, final String assetId) throws EdcClientException { + final String submodelDataplaneUrl, final String assetId, final String bpn) throws EdcClientException { if ("urn:uuid:c35ee875-5443-4a2d-bc14-fdacd64b9446".equals(assetId)) { throw new EdcClientException("Dummy Exception"); } @@ -62,7 +63,7 @@ public CompletableFuture getSubmodelPayload(final String con @Override public CompletableFuture sendNotification(final String submodelEndpointAddress, - final String assetId, final EdcNotification notification) { + final String assetId, final EdcNotification notification, final String bpn) { // not actually sending anything, just return success response return CompletableFuture.completedFuture(() -> true); } @@ -70,13 +71,13 @@ public CompletableFuture sendNotification(final String @Override public CompletableFuture getEndpointReferenceForAsset(final String endpointAddress, final String filterKey, final String filterValue, - final EndpointDataReferenceStatus cachedEndpointDataReference) throws EdcClientException { + final EndpointDataReferenceStatus cachedEndpointDataReference, final String bpn) throws EdcClientException { throw new EdcClientException("Not implemented"); } @Override public CompletableFuture getEndpointReferenceForAsset(final String endpointAddress, - final String filterKey, final String filterValue) throws EdcClientException { + final String filterKey, final String filterValue, final String bpn) throws EdcClientException { throw new EdcClientException("Not implemented"); } } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacade.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacade.java index 0b5e0558f5..281b981983 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacade.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacade.java @@ -39,16 +39,16 @@ */ @Slf4j @RequiredArgsConstructor -@SuppressWarnings("PMD.AvoidDuplicateLiterals") +@SuppressWarnings({"PMD.AvoidDuplicateLiterals", "PMD.UseObjectForClearerAPI"}) public class EdcSubmodelFacade { private final EdcSubmodelClient client; @SuppressWarnings("PMD.PreserveStackTrace") public SubmodelDescriptor getSubmodelPayload(final String connectorEndpoint, final String submodelDataplaneUrl, - final String assetId) throws EdcClientException { + final String assetId, final String bpn) throws EdcClientException { try { - return client.getSubmodelPayload(connectorEndpoint, submodelDataplaneUrl, assetId).get(); + return client.getSubmodelPayload(connectorEndpoint, submodelDataplaneUrl, assetId, bpn).get(); } catch (InterruptedException e) { log.debug("InterruptedException occurred.", e); Thread.currentThread().interrupt(); @@ -65,10 +65,10 @@ public SubmodelDescriptor getSubmodelPayload(final String connectorEndpoint, fin @SuppressWarnings("PMD.PreserveStackTrace") public EdcNotificationResponse sendNotification(final String submodelEndpointAddress, final String assetId, - final EdcNotification notification) throws EdcClientException { + final EdcNotification notification, final String bpn) throws EdcClientException { try { log.debug("Sending EDC Notification '{}'", notification); - return client.sendNotification(submodelEndpointAddress, assetId, notification).get(); + return client.sendNotification(submodelEndpointAddress, assetId, notification, bpn).get(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); return null; @@ -83,9 +83,9 @@ public EdcNotificationResponse sendNotification(final String submodelEndpointAdd @SuppressWarnings("PMD.PreserveStackTrace") public EndpointDataReference getEndpointReferenceForAsset(final String endpointAddress, final String filterKey, - final String filterValue) throws EdcClientException { + final String filterValue, final String bpn) throws EdcClientException { try { - return client.getEndpointReferenceForAsset(endpointAddress, filterKey, filterValue).get(); + return client.getEndpointReferenceForAsset(endpointAddress, filterKey, filterValue, bpn).get(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); return null; diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java index 8f4ffbce3d..263848689e 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java @@ -33,7 +33,7 @@ * Provides policies to be accepted during EDC negotiation */ public interface AcceptedPoliciesProvider { - List getAcceptedPolicies(); + List getAcceptedPolicies(List bpns); /** * Default provider if no other beans are loaded. @@ -46,7 +46,7 @@ class DefaultAcceptedPoliciesProvider implements AcceptedPoliciesProvider { private final List acceptedPolicies = new ArrayList<>(); @Override - public List getAcceptedPolicies() { + public List getAcceptedPolicies(final List bpns) { return List.copyOf(acceptedPolicies); } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java index 0dbe398aad..8461976b8e 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java @@ -43,8 +43,8 @@ public class PolicyCheckerService { private final AcceptedPoliciesProvider policyStore; private final ConstraintCheckerService constraintCheckerService; - public boolean isValid(final Policy policy) { - return policy.getPermissions().stream().allMatch(permission -> isValid(permission, getValidStoredPolicies())); + public boolean isValid(final Policy policy, final String bpn) { + return policy.getPermissions().stream().allMatch(permission -> isValid(permission, getValidStoredPolicies(bpn))); } private boolean isValid(final Permission permission, final List validStoredPolicies) { @@ -53,8 +53,8 @@ private boolean isValid(final Permission permission, final List acceptedPolicy.policy(), permission.getConstraints())); } - private List getValidStoredPolicies() { - return policyStore.getAcceptedPolicies() + private List getValidStoredPolicies(final String bpn) { + return policyStore.getAcceptedPolicies(bpn == null ? null : List.of(bpn)) .stream() .filter(p -> p.validUntil().isAfter(OffsetDateTime.now())) .toList(); diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationServiceTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationServiceTest.java index 8ac92edb92..18ee578180 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationServiceTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationServiceTest.java @@ -84,7 +84,7 @@ void shouldNegotiateSuccessfully() final var assetId = "testTarget"; final String offerId = "offerId"; final CatalogItem catalogItem = createCatalogItem(assetId, offerId); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.TRUE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.TRUE); when(edcControlPlaneClient.startNegotiations(any())).thenReturn( Response.builder().responseId("negotiationId").build()); CompletableFuture response = CompletableFuture.completedFuture( @@ -97,7 +97,7 @@ void shouldNegotiateSuccessfully() // act NegotiationResponse result = testee.negotiate(CONNECTOR_URL, catalogItem, - new EndpointDataReferenceStatus(null, EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW)); + new EndpointDataReferenceStatus(null, EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW), "bpn"); // assert assertThat(result).isNotNull(); @@ -110,7 +110,7 @@ void shouldThrowErrorWhenRetrievingNegotiationResult() { final var assetId = "testTarget"; final String offerId = "offerId"; final CatalogItem catalogItem = createCatalogItem(assetId, offerId); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.TRUE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.TRUE); when(edcControlPlaneClient.startNegotiations(any())).thenReturn( Response.builder().responseId("negotiationId").build()); CompletableFuture response = CompletableFuture.failedFuture( @@ -119,7 +119,7 @@ void shouldThrowErrorWhenRetrievingNegotiationResult() { // act & assert assertThatThrownBy(() -> testee.negotiate(CONNECTOR_URL, catalogItem, new EndpointDataReferenceStatus(null, - EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW))).isInstanceOf(EdcClientException.class); + EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW), "bpn")).isInstanceOf(EdcClientException.class); } @Test @@ -128,7 +128,7 @@ void shouldThrowErrorWhenRetrievingTransferResult() { final var assetId = "testTarget"; final String offerId = "offerId"; final CatalogItem catalogItem = createCatalogItem(assetId, offerId); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.TRUE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.TRUE); when(edcControlPlaneClient.startNegotiations(any())).thenReturn( Response.builder().responseId("negotiationId").build()); @@ -144,7 +144,7 @@ void shouldThrowErrorWhenRetrievingTransferResult() { // act & assert assertThatThrownBy(() -> testee.negotiate(CONNECTOR_URL, catalogItem, new EndpointDataReferenceStatus(null, - EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW))).isInstanceOf(EdcClientException.class); + EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW), "bpn")).isInstanceOf(EdcClientException.class); } @Test @@ -156,11 +156,11 @@ void shouldThrowErrorWhenPolicyCheckerReturnFalse() { .policy(createPolicy(assetId)) .assetPropId(assetId) .build(); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.FALSE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.FALSE); // act & assert assertThatThrownBy(() -> testee.negotiate(CONNECTOR_URL, catalogItem, new EndpointDataReferenceStatus(null, - EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW))).isInstanceOf(EdcClientException.class); + EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW), "bpn")).isInstanceOf(EdcClientException.class); } @Test @@ -170,7 +170,7 @@ void shouldStartNegotiationProcessWhenTokenStatusIsRequiredNew() final var assetId = "testTarget"; final String offerId = "offerId"; final CatalogItem catalogItem = createCatalogItem(assetId, offerId); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.TRUE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.TRUE); when(edcControlPlaneClient.startNegotiations(any())).thenReturn( Response.builder().responseId("negotiationId").build()); CompletableFuture negotiationResponse = CompletableFuture.completedFuture( @@ -183,7 +183,7 @@ void shouldStartNegotiationProcessWhenTokenStatusIsRequiredNew() // when testee.negotiate(CONNECTOR_URL, catalogItem, - new EndpointDataReferenceStatus(null, EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW)); + new EndpointDataReferenceStatus(null, EndpointDataReferenceStatus.TokenStatus.REQUIRED_NEW), "bpn"); // then verify(edcControlPlaneClient).startNegotiations(any()); @@ -196,7 +196,7 @@ void shouldStartNegotiationProcessWhenTokenStatusIsMissing() final var assetId = "testTarget"; final String offerId = "offerId"; final CatalogItem catalogItem = createCatalogItem(assetId, offerId); - when(policyCheckerService.isValid(any())).thenReturn(Boolean.TRUE); + when(policyCheckerService.isValid(any(), any())).thenReturn(Boolean.TRUE); when(edcControlPlaneClient.startNegotiations(any())).thenReturn( Response.builder().responseId("negotiationId").build()); CompletableFuture negotiationResponse = CompletableFuture.completedFuture( @@ -208,7 +208,7 @@ void shouldStartNegotiationProcessWhenTokenStatusIsMissing() CompletableFuture.completedFuture(TransferProcessResponse.builder().build())); // when - testee.negotiate(CONNECTOR_URL, catalogItem, null); + testee.negotiate(CONNECTOR_URL, catalogItem, null, "bpn"); // then verify(edcControlPlaneClient).startNegotiations(any()); @@ -231,7 +231,7 @@ void shouldNotStartNewNegotiationWhenTokenIsExpired() // when testee.negotiate(CONNECTOR_URL, catalogItem, new EndpointDataReferenceStatus( EndpointDataReference.Builder.newInstance().authKey("").authCode(encodedAuthCode).endpoint("").build(), - EndpointDataReferenceStatus.TokenStatus.EXPIRED)); + EndpointDataReferenceStatus.TokenStatus.EXPIRED), "bpn"); // then verify(edcControlPlaneClient, never()).startNegotiations(any()); @@ -248,7 +248,7 @@ void shouldThrowInvalidStateExceptionWhenTokenIsValid() { // then assertThatThrownBy(() -> testee.negotiate(CONNECTOR_URL, catalogItem, new EndpointDataReferenceStatus( EndpointDataReference.Builder.newInstance().authKey("").endpoint("").authCode("").build(), - EndpointDataReferenceStatus.TokenStatus.VALID))).isInstanceOf(IllegalStateException.class); + EndpointDataReferenceStatus.TokenStatus.VALID), "bpn")).isInstanceOf(IllegalStateException.class); } } \ No newline at end of file diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStubTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStubTest.java index 9be5557c9c..f979c91a8e 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStubTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientLocalStubTest.java @@ -47,6 +47,6 @@ void shouldThrowExceptionFor() { String assetId = "urn:uuid:c35ee875-5443-4a2d-bc14-fdacd64b9446"; // when - assertThrows(EdcClientException.class, () -> edcSubmodelClientLocalStub.getSubmodelPayload("", "", assetId)); + assertThrows(EdcClientException.class, () -> edcSubmodelClientLocalStub.getSubmodelPayload("", "", assetId, "")); } } \ No newline at end of file diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientTest.java index 5e2b06ea4b..54f6ebf6f5 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelClientTest.java @@ -136,7 +136,7 @@ void shouldRetrieveValidRelationship() throws Exception { when(catalogFacade.fetchCatalogByFilter(any(), any(), any())).thenReturn( List.of(CatalogItem.builder().itemId("itemId").build())); when(contractNegotiationService.negotiate(any(), any(), - eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)))).thenReturn( + eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)), any())).thenReturn( NegotiationResponse.builder().contractAgreementId("agreementId").build()); final EndpointDataReference ref = TestMother.endpointDataReference("agreementId"); endpointDataReferenceStorage.put("agreementId", ref); @@ -146,7 +146,7 @@ void shouldRetrieveValidRelationship() throws Exception { new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); // act - final var result = testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId"); + final var result = testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId", "bpn"); final String resultingRelationships = result.get(5, TimeUnit.SECONDS).getPayload(); // assert @@ -159,7 +159,7 @@ void shouldSendNotificationSuccessfully() throws Exception { final EdcNotification notification = EdcNotification.builder().build(); when(catalogFacade.fetchCatalogByFilter(any(), any(), any())).thenReturn( List.of(CatalogItem.builder().itemId("itemId").build())); - when(contractNegotiationService.negotiate(any(), any(), any())).thenReturn( + when(contractNegotiationService.negotiate(any(), any(), any(), any())).thenReturn( NegotiationResponse.builder().contractAgreementId("agreementId").build()); final EndpointDataReference ref = mock(EndpointDataReference.class); endpointDataReferenceStorage.put("agreementId", ref); @@ -168,7 +168,7 @@ void shouldSendNotificationSuccessfully() throws Exception { new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); // act - final var result = testee.sendNotification(CONNECTOR_ENDPOINT, "notify-request-asset", notification); + final var result = testee.sendNotification(CONNECTOR_ENDPOINT, "notify-request-asset", notification, "bpn"); final EdcNotificationResponse response = result.get(5, TimeUnit.SECONDS); // assert @@ -195,7 +195,7 @@ void shouldReturnRelationshipsWhenRequestingWithCatenaXIdAndSingleLevelBomAsBuil when(endpointDataReferenceCacheService.getEndpointDataReference(any())).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); - final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID) + final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).contains(existingCatenaXId); @@ -210,7 +210,7 @@ void shouldReturnRelationshipsWhenRequestingWithCatenaXIdAndSingleLevelBomAsPlan when(endpointDataReferenceCacheService.getEndpointDataReference(any())).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); - final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID) + final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).contains("urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97"); @@ -225,7 +225,7 @@ void shouldReturnRelationshipsWhenRequestingWithCatenaXIdAndSingleLevelBomAsSpec when(endpointDataReferenceCacheService.getEndpointDataReference(any())).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); - final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID) + final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).contains("urn:uuid:2afbac90-a662-4f16-9058-4f030e692631"); @@ -240,7 +240,7 @@ void shouldReturnEmptyRelationshipsWhenRequestingWithCatenaXIdAndSingleLevelUsag when(endpointDataReferenceCacheService.getEndpointDataReference(any())).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); - final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID) + final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).isNotEmpty(); @@ -256,7 +256,7 @@ void shouldReturnEmptyRelationshipsWhenRequestingWithNotExistingCatenaXIdAndSing when(endpointDataReferenceCacheService.getEndpointDataReference(ASSET_ID)).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); - final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID) + final String submodelResponse = testee.getSubmodelPayload("http://localhost/", "/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).isEqualTo("{}"); @@ -272,7 +272,7 @@ void shouldReturnRawSerialPartWhenExisting() throws Exception { new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); final String submodelResponse = testee.getSubmodelPayload("https://connector.endpoint.com", - "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", ASSET_ID) + "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).startsWith( @@ -290,7 +290,7 @@ void shouldUseDecodedTargetId() throws Exception { new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); final String submodelResponse = testee.getSubmodelPayload("https://connector.endpoint.com", - "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", ASSET_ID) + "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", ASSET_ID, "bpn") .get(5, TimeUnit.SECONDS).getPayload(); assertThat(submodelResponse).startsWith( @@ -307,7 +307,7 @@ void shouldReturnSameRelationshipsForDifferentDirections() throws Exception { when(endpointDataReferenceCacheService.getEndpointDataReference(ASSET_ID)).thenReturn( new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); final String relationshipsJson = testee.getSubmodelPayload("http://localhost/", "_singleLevelBomAsBuilt", - ASSET_ID).get(5, TimeUnit.SECONDS).getPayload(); + ASSET_ID, "bpn").get(5, TimeUnit.SECONDS).getPayload(); final var relationships = StringMapper.mapFromString(relationshipsJson, RelationshipAspect.from(asBuilt, Direction.DOWNWARD).getSubmodelClazz()).asRelationships(); @@ -320,7 +320,7 @@ void shouldReturnSameRelationshipsForDifferentDirections() throws Exception { prepareTestdata(childCatenaXId.getGlobalAssetId(), "_singleLevelUsageAsBuilt"); final String singleLevelUsageRelationshipsJson = testee.getSubmodelPayload("http://localhost/", - "_singleLevelUsageAsBuilt", ASSET_ID).get(5, TimeUnit.SECONDS).getPayload(); + "_singleLevelUsageAsBuilt", ASSET_ID, "bpn").get(5, TimeUnit.SECONDS).getPayload(); final var singleLevelUsageRelationships = StringMapper.mapFromString(singleLevelUsageRelationshipsJson, RelationshipAspect.from(asBuilt, Direction.UPWARD).getSubmodelClazz()).asRelationships(); @@ -340,14 +340,14 @@ void shouldRetrieveEndpointReferenceForAsset() throws Exception { when(catalogFacade.fetchCatalogByFilter(any(), any(), any())).thenReturn( List.of(CatalogItem.builder().itemId("asset-id").build())); when(contractNegotiationService.negotiate(any(), any(), - eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)))).thenReturn( + eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)), any())).thenReturn( NegotiationResponse.builder().contractAgreementId(agreementId).build()); final EndpointDataReference expected = mock(EndpointDataReference.class); endpointDataReferenceStorage.put(agreementId, expected); // act final var result = testee.getEndpointReferenceForAsset(ENDPOINT_ADDRESS, filterKey, filterValue, - new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); + new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW), "bpn"); final EndpointDataReference actual = result.get(5, TimeUnit.SECONDS); // assert @@ -363,13 +363,13 @@ void shouldRetrieveEndpointReferenceForAsset2() throws Exception { when(catalogFacade.fetchCatalogByFilter(any(), any(), any())).thenReturn( List.of(CatalogItem.builder().itemId("asset-id").build())); when(contractNegotiationService.negotiate(any(), any(), - eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)))).thenReturn( + eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)), any())).thenReturn( NegotiationResponse.builder().contractAgreementId(agreementId).build()); final EndpointDataReference expected = mock(EndpointDataReference.class); endpointDataReferenceStorage.put(agreementId, expected); // act - final var result = testee.getEndpointReferenceForAsset(ENDPOINT_ADDRESS, filterKey, filterValue); + final var result = testee.getEndpointReferenceForAsset(ENDPOINT_ADDRESS, filterKey, filterValue, "bpn"); final EndpointDataReference actual = result.get(5, TimeUnit.SECONDS); // assert @@ -387,11 +387,11 @@ void shouldUseCachedEndpointReferenceValueWhenTokenIsValid() when(edcDataPlaneClient.getData(any(), any())).thenReturn(value); // when - final var resultFuture = testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId"); + final var resultFuture = testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId", "bpn"); // then final String result = resultFuture.get().getPayload(); - verify(contractNegotiationService, never()).negotiate(any(), any(), any()); + verify(contractNegotiationService, never()).negotiate(any(), any(), any(), any()); assertThat(result).isEqualTo(value); } @@ -401,7 +401,7 @@ void shouldCreateCacheRecordWhenTokenIsNotValid() throws EdcClientException { when(catalogFacade.fetchCatalogByFilter(any(), any(), any())).thenReturn( List.of(CatalogItem.builder().itemId("itemId").build())); when(contractNegotiationService.negotiate(any(), any(), - eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)))).thenReturn( + eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)), any())).thenReturn( NegotiationResponse.builder().contractAgreementId("agreementId").build()); final EndpointDataReference ref = mock(EndpointDataReference.class); endpointDataReferenceStorage.put("agreementId", ref); @@ -409,7 +409,7 @@ void shouldCreateCacheRecordWhenTokenIsNotValid() throws EdcClientException { new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)); // when - testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId"); + testee.getSubmodelPayload(ENDPOINT_ADDRESS, "suffix", "assetId", "bpn"); // then final Optional referenceFromStorage = endpointDataReferenceStorage.get("assetId"); @@ -420,7 +420,7 @@ private void prepareTestdata(final String catenaXId, final String submodelDataSu throws ContractNegotiationException, IOException, UsagePolicyException, TransferProcessException { when(contractNegotiationService.negotiate(any(), any(), - eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)))).thenReturn( + eq(new EndpointDataReferenceStatus(null, TokenStatus.REQUIRED_NEW)), any())).thenReturn( NegotiationResponse.builder().contractAgreementId("agreementId").build()); final EndpointDataReference ref = TestMother.endpointDataReference("agreementId"); endpointDataReferenceStorage.put("agreementId", ref); diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacadeTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacadeTest.java index 5b384f1ccc..d757c87b2b 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacadeTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/EdcSubmodelFacadeTest.java @@ -67,11 +67,11 @@ void shouldThrowExecutionExceptionForSubmodel() throws EdcClientException { // arrange final ExecutionException e = new ExecutionException(new EdcClientException("test")); final CompletableFuture future = CompletableFuture.failedFuture(e); - when(client.getSubmodelPayload(any(), any(), any())).thenReturn(future); + when(client.getSubmodelPayload(any(), any(), any(), any())).thenReturn(future); // act ThrowableAssert.ThrowingCallable action = () -> testee.getSubmodelPayload(CONNECTOR_ENDPOINT, - SUBMODEL_SUFIX, ASSET_ID); + SUBMODEL_SUFIX, ASSET_ID, "bpn"); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -81,11 +81,11 @@ void shouldThrowExecutionExceptionForSubmodel() throws EdcClientException { void shouldThrowEdcClientExceptionForSubmodel() throws EdcClientException { // arrange final EdcClientException e = new EdcClientException("test"); - when(client.getSubmodelPayload(any(), any(), any())).thenThrow(e); + when(client.getSubmodelPayload(any(), any(), any(), any())).thenThrow(e); // act ThrowableAssert.ThrowingCallable action = () -> testee.getSubmodelPayload(CONNECTOR_ENDPOINT, - SUBMODEL_SUFIX, ASSET_ID); + SUBMODEL_SUFIX, ASSET_ID, "bpn"); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -98,10 +98,10 @@ void shouldRestoreInterruptOnInterruptExceptionForSubmodel() final CompletableFuture future = mock(CompletableFuture.class); final InterruptedException e = new InterruptedException(); when(future.get()).thenThrow(e); - when(client.getSubmodelPayload(any(), any(), any())).thenReturn(future); + when(client.getSubmodelPayload(any(), any(), any(), any())).thenReturn(future); // act - testee.getSubmodelPayload(CONNECTOR_ENDPOINT, SUBMODEL_SUFIX, ASSET_ID); + testee.getSubmodelPayload(CONNECTOR_ENDPOINT, SUBMODEL_SUFIX, ASSET_ID, "bpn"); // assert assertThat(Thread.currentThread().isInterrupted()).isTrue(); @@ -120,10 +120,10 @@ void shouldRestoreInterruptOnInterruptExceptionForNotification() final CompletableFuture future = mock(CompletableFuture.class); final InterruptedException e = new InterruptedException(); when(future.get()).thenThrow(e); - when(client.sendNotification(any(), any(), any())).thenReturn(future); + when(client.sendNotification(any(), any(), any(), any())).thenReturn(future); // act - testee.sendNotification("", "notify-request-asset", null); + testee.sendNotification("", "notify-request-asset", null, "bpn"); // assert assertThat(Thread.currentThread().isInterrupted()).isTrue(); @@ -134,10 +134,10 @@ void shouldThrowExecutionExceptionForNotification() throws EdcClientException { // arrange final ExecutionException e = new ExecutionException(new EdcClientException("test")); final CompletableFuture future = CompletableFuture.failedFuture(e); - when(client.sendNotification(any(), any(), any())).thenReturn(future); + when(client.sendNotification(any(), any(), any(), any())).thenReturn(future); // act - ThrowableAssert.ThrowingCallable action = () -> testee.sendNotification("", "notify-request-asset", null); + ThrowableAssert.ThrowingCallable action = () -> testee.sendNotification("", "notify-request-asset", null, "bpn"); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -147,10 +147,10 @@ void shouldThrowExecutionExceptionForNotification() throws EdcClientException { void shouldThrowEdcClientExceptionForNotification() throws EdcClientException { // arrange final EdcClientException e = new EdcClientException("test"); - when(client.sendNotification(any(), any(), any())).thenThrow(e); + when(client.sendNotification(any(), any(), any(), any())).thenThrow(e); // act - ThrowableAssert.ThrowingCallable action = () -> testee.sendNotification("", "notify-request-asset", null); + ThrowableAssert.ThrowingCallable action = () -> testee.sendNotification("", "notify-request-asset", null, "bpn"); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -165,10 +165,10 @@ class GetEndpointReferenceForAssetTests { void shouldThrowEdcClientExceptionForEndpointReference() throws EdcClientException { // arrange final EdcClientException e = new EdcClientException("test"); - when(client.getEndpointReferenceForAsset(any(), any(), any())).thenThrow(e); + when(client.getEndpointReferenceForAsset(any(), any(), any(), any())).thenThrow(e); // act - ThrowableAssert.ThrowingCallable action = () -> testee.getEndpointReferenceForAsset("", "", ""); + ThrowableAssert.ThrowingCallable action = () -> testee.getEndpointReferenceForAsset("", "", "", ""); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -179,10 +179,10 @@ void shouldThrowExecutionExceptionForEndpointReference() throws EdcClientExcepti // arrange final ExecutionException e = new ExecutionException(new EdcClientException("test")); final CompletableFuture future = CompletableFuture.failedFuture(e); - when(client.getEndpointReferenceForAsset(any(), any(), any())).thenReturn(future); + when(client.getEndpointReferenceForAsset(any(), any(), any(), any())).thenReturn(future); // act - ThrowableAssert.ThrowingCallable action = () -> testee.getEndpointReferenceForAsset("", "", ""); + ThrowableAssert.ThrowingCallable action = () -> testee.getEndpointReferenceForAsset("", "", "", ""); // assert assertThatThrownBy(action).isInstanceOf(EdcClientException.class); @@ -195,10 +195,10 @@ void shouldRestoreInterruptOnInterruptExceptionForEndpointReference() final CompletableFuture future = mock(CompletableFuture.class); final InterruptedException e = new InterruptedException(); when(future.get()).thenThrow(e); - when(client.getEndpointReferenceForAsset(any(), any(), any())).thenReturn(future); + when(client.getEndpointReferenceForAsset(any(), any(), any(), any())).thenReturn(future); // act - testee.getEndpointReferenceForAsset("", "", ""); + testee.getEndpointReferenceForAsset("", "", "", ""); // assert assertThat(Thread.currentThread().isInterrupted()).isTrue(); diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java index f96987c366..88525c208f 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java @@ -33,6 +33,7 @@ import static org.eclipse.tractusx.irs.testing.wiremock.SubmodelFacadeWiremockSupport.PATH_DATAPLANE_PUBLIC; import static org.eclipse.tractusx.irs.testing.wiremock.WireMockConfig.responseWithStatus; import static org.eclipse.tractusx.irs.testing.wiremock.WireMockConfig.restTemplateProxy; +import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @@ -125,7 +126,7 @@ void configureSystemUnderTest(WireMockRuntimeInfo wireMockRuntimeInfo) { new EndpointDataReferenceStorage(Duration.ofMinutes(1))); acceptedPoliciesProvider = mock(AcceptedPoliciesProvider.class); - when(acceptedPoliciesProvider.getAcceptedPolicies()).thenReturn(List.of(new AcceptedPolicy(policy("IRS Policy", + when(acceptedPoliciesProvider.getAcceptedPolicies(List.of("BPN"))).thenReturn(List.of(new AcceptedPolicy(policy("IRS Policy", List.of(new Permission(PolicyType.USE, new Constraints( List.of(new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")), @@ -148,9 +149,18 @@ void shouldReturnAssemblyPartRelationshipAsString() givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn( responseWithStatus(200).withBodyFile("singleLevelBomAsBuilt.json"))); + final List andConstraints = List.of( + new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")); + final ArrayList orConstraints = new ArrayList<>(); + final Permission permission = new Permission(PolicyType.USE, + new Constraints(andConstraints, orConstraints)); + final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), + OffsetDateTime.now().plusYears(1)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, - ASSET_ID).get().getPayload(); + ASSET_ID, "bpn").get().getPayload(); // Assert assertThat(submodel).contains("\"catenaXId\": \"urn:uuid:fe99da3d-b0de-4e80-81da-882aebcca978\""); @@ -164,9 +174,18 @@ void shouldReturnMaterialForRecyclingAsString() givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn( responseWithStatus(200).withBodyFile("materialForRecycling.json"))); + final List andConstraints = List.of( + new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")); + final ArrayList orConstraints = new ArrayList<>(); + final Permission permission = new Permission(PolicyType.USE, + new Constraints(andConstraints, orConstraints)); + final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), + OffsetDateTime.now().plusYears(1)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, - ASSET_ID).get().getPayload(); + ASSET_ID, "bpn").get().getPayload(); // Assert assertThat(submodel).contains("\"materialName\": \"Cooper\","); @@ -179,9 +198,18 @@ void shouldReturnObjectAsStringWhenResponseNotJSON() prepareNegotiation(); givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn(responseWithStatus(200).withBody("test"))); + final List andConstraints = List.of( + new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")); + final ArrayList orConstraints = new ArrayList<>(); + final Permission permission = new Permission(PolicyType.USE, + new Constraints(andConstraints, orConstraints)); + final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), + OffsetDateTime.now().plusYears(1)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, - ASSET_ID).get().getPayload(); + ASSET_ID, "bpn").get().getPayload(); // Assert assertThat(submodel).isEqualTo("test"); @@ -198,7 +226,7 @@ void shouldThrowExceptionWhenPoliciesAreNotAccepted() { final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies()).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(List.of("bpn"))).thenReturn(List.of(acceptedPolicy)); prepareNegotiation(); givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn(responseWithStatus(200).withBody("test"))); @@ -206,7 +234,7 @@ void shouldThrowExceptionWhenPoliciesAreNotAccepted() { // Act & Assert final String errorMessage = "Consumption of asset '58505404-4da1-427a-82aa-b79482bcd1f0' is not permitted as the required catalog offer policies do not comply with defined IRS policies."; assertThatExceptionOfType(UsagePolicyException.class).isThrownBy( - () -> edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID) + () -> edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID, "bpn") .get()).withMessageEndingWith(errorMessage); } @@ -217,9 +245,18 @@ void shouldThrowExceptionWhenResponse_400() { givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn( responseWithStatus(400).withBody("{ error: '400'}"))); + final List andConstraints = List.of( + new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")); + final ArrayList orConstraints = new ArrayList<>(); + final Permission permission = new Permission(PolicyType.USE, + new Constraints(andConstraints, orConstraints)); + final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), + OffsetDateTime.now().plusYears(1)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + // Act final ThrowableAssert.ThrowingCallable throwingCallable = () -> edcSubmodelClient.getSubmodelPayload( - CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID).get(5, TimeUnit.SECONDS); + CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID, "bpn").get(5, TimeUnit.SECONDS); // Assert assertThatExceptionOfType(ExecutionException.class).isThrownBy(throwingCallable) @@ -233,9 +270,18 @@ void shouldThrowExceptionWhenResponse_500() { givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn( responseWithStatus(500).withBody("{ error: '500'}"))); + final List andConstraints = List.of( + new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), "active")); + final ArrayList orConstraints = new ArrayList<>(); + final Permission permission = new Permission(PolicyType.USE, + new Constraints(andConstraints, orConstraints)); + final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), + OffsetDateTime.now().plusYears(1)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + // Act final ThrowableAssert.ThrowingCallable throwingCallable = () -> edcSubmodelClient.getSubmodelPayload( - CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID).get(5, TimeUnit.SECONDS); + CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, ASSET_ID, "bpn").get(5, TimeUnit.SECONDS); // Assert assertThatExceptionOfType(ExecutionException.class).isThrownBy(throwingCallable) diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelRetryerTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelRetryerTest.java index 7758811e42..9ea8201595 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelRetryerTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelRetryerTest.java @@ -100,7 +100,7 @@ void shouldRetryExecutionOfGetSubmodelOnClientMaxAttemptTimes() { assertThatThrownBy(() -> testee.getSubmodelPayload( "https://connector.endpoint.com", "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", - "9300395e-c0a5-4e88-bc57-a3973fec4c26")).hasCauseInstanceOf( + "9300395e-c0a5-4e88-bc57-a3973fec4c26", "bpn")).hasCauseInstanceOf( HttpServerErrorException.class); // Assert @@ -119,7 +119,7 @@ void shouldRetryOnAnyRuntimeException() { assertThatThrownBy(() -> testee.getSubmodelPayload( "https://connector.endpoint.com", "/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel", - "9300395e-c0a5-4e88-bc57-a3973fec4c26")).hasCauseInstanceOf(RuntimeException.class); + "9300395e-c0a5-4e88-bc57-a3973fec4c26", "bpn")).hasCauseInstanceOf(RuntimeException.class); // Assert verify(restTemplate, times(retryRegistry.getDefaultConfig().getMaxAttempts())).exchange(any(String.class), diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java index a0d042703f..d38386f03c 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java @@ -37,7 +37,7 @@ class AcceptedPoliciesProviderTest { @Test void getAcceptedPolicies() { - final var acceptedPolicies = testee.getAcceptedPolicies(); + final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); assertThat(acceptedPolicies).isEmpty(); } @@ -45,20 +45,20 @@ void getAcceptedPolicies() { @Test void shouldReturnStoredPolicies() { testee.addAcceptedPolicies(List.of(policy())); - final var acceptedPolicies = testee.getAcceptedPolicies(); + final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); assertThat(acceptedPolicies).hasSize(1); } @Test void shouldRemoveStoredPolicies() { testee.addAcceptedPolicies(List.of(policy())); - final var acceptedPolicies = testee.getAcceptedPolicies(); + final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); assertThat(acceptedPolicies).hasSize(1); testee.removeAcceptedPolicies(acceptedPolicies); - assertThat(testee.getAcceptedPolicies()).isEmpty(); + assertThat(testee.getAcceptedPolicies(List.of("testBpn"))).isEmpty(); } @NotNull private static AcceptedPolicy policy() { diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java index 1954360597..8b2f020021 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java @@ -29,6 +29,7 @@ import static org.eclipse.tractusx.irs.edc.client.testutil.TestMother.createAtomicConstraintPolicy; import static org.eclipse.tractusx.irs.edc.client.testutil.TestMother.createOrConstraintPolicy; import static org.eclipse.tractusx.irs.edc.client.testutil.TestMother.createXOneConstraintPolicy; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import java.time.OffsetDateTime; @@ -56,7 +57,7 @@ void setUp() { new AcceptedPolicy(policy(TestConstants.ID_3_0_TRACE), OffsetDateTime.now().plusYears(1)), new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); +// when(policyStore.getAcceptedPolicies(List.of("bpn"))).thenReturn(policyList); policyCheckerService = new PolicyCheckerService(policyStore, new ConstraintCheckerService()); } @@ -66,7 +67,7 @@ void shouldRejectWrongPolicy() { final String unknownRightExpression = "Wrong_Trace"; Policy policy = createAtomicConstraintPolicy(TestConstants.PURPOSE, unknownRightExpression); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); @@ -76,9 +77,9 @@ void shouldRejectWrongPolicy() { void shouldRejectWhenPolicyStoreIsEmpty() { // given Policy policy = createAtomicConstraintPolicy(TestConstants.PURPOSE, TestConstants.ID_3_0_TRACE); - when(policyStore.getAcceptedPolicies()).thenReturn(List.of()); + when(policyStore.getAcceptedPolicies(any())).thenReturn(List.of()); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); @@ -91,13 +92,13 @@ void shouldRejectAndConstraintsWhenOnlyOneMatch() { OffsetDateTime.now().plusYears(1)), new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_DISMANTLER), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createAndConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); @@ -116,13 +117,13 @@ void shouldAcceptAndConstraintsWhenAcceptedPolicyContainsMoreConstraintsSuperSet new AcceptedPolicy(policy("and-policy", List.of(constraint1, constraint2, constraint3), List.of()), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createAndConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isTrue(); @@ -141,13 +142,13 @@ void shouldAcceptOrConstraintsWhenAcceptedPolicyContainsMoreConstraintsSuperSetO new AcceptedPolicy(policy("and-policy", List.of(), List.of(constraint1, constraint2, constraint3)), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createOrConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isTrue(); @@ -166,14 +167,14 @@ void shouldAcceptConstraintsWithDefaultPolicy() { final var policyList = List.of(new AcceptedPolicy( policy("default-policy", List.of(constraint1, constraint2, constraint3), List.of(constraint1, constraint2, constraint3)), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createOrConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isTrue(); @@ -186,13 +187,13 @@ void shouldRejectOrConstraintsWhenNoneMatch() { new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_TEST), OffsetDateTime.now().plusYears(1)), new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_DISMANTLER), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createAndConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); @@ -205,13 +206,13 @@ void shouldRejectXOneConstraintsWhenNoneMatch() { new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_TEST), OffsetDateTime.now().plusYears(1)), new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_DISMANTLER), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createXOneConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); @@ -223,13 +224,13 @@ void shouldRejectXOneConstraintsWhenMoreThanOneMatch() { final var policyList = List.of(new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY), OffsetDateTime.now().plusYears(1)), new AcceptedPolicy(policy(TestConstants.MEMBERSHIP), OffsetDateTime.now().plusYears(1))); - when(policyStore.getAcceptedPolicies()).thenReturn(policyList); + when(policyStore.getAcceptedPolicies(any())).thenReturn(policyList); Policy policy = createXOneConstraintPolicy( List.of(createAtomicConstraint(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY, TestConstants.STATUS_ACTIVE), createAtomicConstraint(TestConstants.MEMBERSHIP, TestConstants.STATUS_ACTIVE))); // when - boolean result = policyCheckerService.isValid(policy); + boolean result = policyCheckerService.isValid(policy, "bpn"); // then assertThat(result).isFalse(); diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 56aa0e1b72..a9a61d1fd7 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -27,6 +27,12 @@ import static org.eclipse.tractusx.irs.common.ApiConstants.UNAUTHORIZED_DESC; import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; +import java.util.AbstractMap; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.ArraySchema; import io.swagger.v3.oas.annotations.media.Content; @@ -36,7 +42,6 @@ import io.swagger.v3.oas.annotations.responses.ApiResponses; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import jakarta.validation.Valid; -import java.util.List; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.common.auth.IrsRoles; @@ -67,7 +72,8 @@ @RequestMapping("irs") @RequiredArgsConstructor @SuppressWarnings({ "PMD.AvoidDuplicateLiterals", - "PMD.ExcessiveImports" + "PMD.ExcessiveImports", + "PMD.UseVarargs" }) public class PolicyStoreController { @@ -76,8 +82,7 @@ public class PolicyStoreController { @Operation(operationId = "registerAllowedPolicy", summary = "Register a policy that should be accepted in EDC negotiation.", - security = @SecurityRequirement(name = "api_key"), - tags = { "Item Relationship Service" }, + security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, description = "Register a policy that should be accepted in EDC negotiation.") @ApiResponses(value = { @ApiResponse(responseCode = "201"), @ApiResponse(responseCode = "400", description = "Policy registration failed.", @@ -103,15 +108,16 @@ public class PolicyStoreController { @ResponseStatus(HttpStatus.CREATED) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request) { - final Policy policy = edcTransformer.transformToPolicy(request.payload()); - policy.setValidUntil(request.validUntil()); - service.registerPolicy(policy); + request.payload().stream().map(payload -> { + final Policy policy = edcTransformer.transformToPolicy(payload); + policy.setValidUntil(request.validUntil()); + return policy; + }).forEach(policy -> service.registerPolicy(policy, request.businessPartnerNumbers())); } - @Operation(operationId = "getAllowedPolicies", + @Operation(operationId = "getAllowedPoliciesByBpn", summary = "Lists the registered policies that should be accepted in EDC negotiation.", - security = @SecurityRequirement(name = "api_key"), - tags = { "Item Relationship Service" }, + security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, description = "Lists the registered policies that should be accepted in EDC negotiation.") @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Returns the policies.", content = { @Content(mediaType = APPLICATION_JSON_VALUE, array = @ArraySchema( @@ -130,19 +136,52 @@ public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request ref = "#/components/examples/error-response-403")) }), }) - @GetMapping("/policies") + @GetMapping("/policies/{bpns}") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public List getPolicies() { - return service.getStoredPolicies().stream() + public List getPolicies(@PathVariable final String[] bpns) { + return service.getStoredPolicies(Arrays.stream(bpns).toList()) + .stream() .map(PolicyResponse::fromPolicy) .toList(); } + @Operation(operationId = "getAllowedPolicies", + summary = "Lists the registered policies that should be accepted in EDC negotiation.", + security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, + description = "Lists the registered policies that should be accepted in EDC negotiation.") + @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Returns the policies.", + content = { @Content(mediaType = APPLICATION_JSON_VALUE, array = @ArraySchema( + schema = @Schema(implementation = Policy.class))) + }), + @ApiResponse(responseCode = "401", description = UNAUTHORIZED_DESC, + content = { @Content(mediaType = APPLICATION_JSON_VALUE, + schema = @Schema(implementation = ErrorResponse.class), + examples = @ExampleObject(name = "error", + ref = "#/components/examples/error-response-401")) + }), + @ApiResponse(responseCode = "403", description = FORBIDDEN_DESC, + content = { @Content(mediaType = APPLICATION_JSON_VALUE, + schema = @Schema(implementation = ErrorResponse.class), + examples = @ExampleObject(name = "error", + ref = "#/components/examples/error-response-403")) + }), + }) + @GetMapping("/policies") + @ResponseStatus(HttpStatus.OK) + @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") + public Map> getAllPolicies() { + return service.getAllStoredPolicies() + .entrySet() + .stream() + .map(entry -> new AbstractMap.SimpleEntry<>(entry.getKey(), + entry.getValue().stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList()))) + .collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); + } + @Operation(operationId = "deleteAllowedPolicy", summary = "Removes a policy that should no longer be accepted in EDC negotiation.", - security = @SecurityRequirement(name = "api_key"), - tags = { "Item Relationship Service" }, + security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, description = "Removes a policy that should no longer be accepted in EDC negotiation.") @ApiResponses(value = { @ApiResponse(responseCode = "200"), @ApiResponse(responseCode = "400", description = "Policy deletion failed.", @@ -171,10 +210,9 @@ public void deleteAllowedPolicy(@PathVariable("policyId") final String policyId) service.deletePolicy(policyId); } - @Operation(operationId = "updateAllowedPolicy", summary = "Updates an existing policy with new validUntil value.", - security = @SecurityRequirement(name = "api_key"), - tags = { "Item Relationship Service" }, - description = "Updates an existing policy with new validUntil value.") + @Operation(operationId = "updateAllowedPolicy", summary = "Updates an existing policy.", + security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, + description = "Updates an existing policy.") @ApiResponses(value = { @ApiResponse(responseCode = "200"), @ApiResponse(responseCode = "400", description = "Policy update failed.", content = { @Content(mediaType = APPLICATION_JSON_VALUE, @@ -195,11 +233,10 @@ public void deleteAllowedPolicy(@PathVariable("policyId") final String policyId) ref = "#/components/examples/error-response-403")) }), }) - @PutMapping("/policies/{policyId}") + @PutMapping("/policies") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public void updateAllowedPolicy(@PathVariable("policyId") final String policyId, - final @Valid @RequestBody UpdatePolicyRequest request) { - service.updatePolicy(policyId, request); + public void updateAllowedPolicy(final @Valid @RequestBody UpdatePolicyRequest request) { + request.policiesIds().forEach(policyId -> service.updatePolicy(policyId, request)); } } diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java index 06fbee3f36..3154a363ee 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java @@ -24,7 +24,9 @@ package org.eclipse.tractusx.irs.policystore.models; import java.time.OffsetDateTime; +import java.util.List; +import io.swagger.v3.oas.annotations.media.ArraySchema; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.json.JsonObject; import jakarta.validation.constraints.NotNull; @@ -36,7 +38,8 @@ @Schema(description = "Request to add a policy") public record CreatePolicyRequest( @NotNull @Schema(description = "Timestamp after which the policy will no longer be accepted in negotiations") OffsetDateTime validUntil, - @NotNull @Schema(example = CreatePolicyRequest.EXAMPLE_PAYLOAD) JsonObject payload) { + @ArraySchema() List businessPartnerNumbers, + @NotNull @Schema(example = CreatePolicyRequest.EXAMPLE_PAYLOAD) List payload) { @SuppressWarnings("java:S2479") // this value is used by open-api to show example payload diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/UpdatePolicyRequest.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/UpdatePolicyRequest.java index 4b4c455bd3..ead5a738bc 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/UpdatePolicyRequest.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/UpdatePolicyRequest.java @@ -24,6 +24,7 @@ package org.eclipse.tractusx.irs.policystore.models; import java.time.OffsetDateTime; +import java.util.List; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; @@ -33,5 +34,7 @@ */ @Schema(description = "Request to add a policy") public record UpdatePolicyRequest( - @Schema(description = "Timestamp after which the policy will no longer be accepted in negotiations") @NotNull OffsetDateTime validUntil) { + @Schema(description = "Timestamp after which the policy will no longer be accepted in negotiations") @NotNull OffsetDateTime validUntil, + List businessPartnerNumbers, + List policiesIds) { } diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index b2991563c5..74bae5be3e 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -26,16 +26,19 @@ import static org.eclipse.tractusx.irs.policystore.config.PolicyConfiguration.POLICY_BLOB_PERSISTENCE; import java.io.IOException; -import java.time.OffsetDateTime; +import java.util.AbstractMap; import java.util.ArrayList; import java.util.List; +import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantReadWriteLock; +import java.util.stream.Collectors; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.eclipse.tractusx.irs.common.persistence.BlobPersistence; import org.eclipse.tractusx.irs.common.persistence.BlobPersistenceException; +import org.eclipse.tractusx.irs.common.persistence.BlobPersistenceRuntimeException; import org.eclipse.tractusx.irs.edc.client.policy.Policy; import org.eclipse.tractusx.irs.policystore.exceptions.PolicyStoreException; import org.springframework.beans.factory.annotation.Qualifier; @@ -66,13 +69,28 @@ public PolicyPersistence(@Qualifier(POLICY_BLOB_PERSISTENCE) final BlobPersisten this.mapper = mapper; } - public void save(final String bpn, final Policy policy) { - final var policies = readAll(bpn); + public void save(final List bpns, final Policy policy) { + if (bpns == null) { + final List policies = readAll(BlobPersistence.DEFAULT_BLOB_NAME); + checkIfPolicyAlreadyExists(policy, policies); + policies.add(policy); + save(BlobPersistence.DEFAULT_BLOB_NAME, policies); + } else { + final Map> storedBpnToPolicies = bpns.stream() + .collect(Collectors.toMap(bpn -> bpn, + this::readAll)); + storedBpnToPolicies.forEach((bpn, policies) -> { + checkIfPolicyAlreadyExists(policy, policies); + policies.add(policy); + save(bpn, policies); + }); + } + } + + private static void checkIfPolicyAlreadyExists(final Policy policy, final List policies) { if (policies.stream().map(Policy::getPolicyId).anyMatch(policy.getPolicyId()::equals)) { throw new PolicyStoreException("Policy with id '" + policy.getPolicyId() + "' already exists!"); } - policies.add(policy); - save(bpn, policies); } public void delete(final String bpn, final String policyId) { @@ -84,18 +102,6 @@ public void delete(final String bpn, final String policyId) { save(bpn, modifiedPolicies); } - public void update(final String bpn, final String policyId, final OffsetDateTime validUntil) { - final var policies = readAll(bpn); - final Policy policy = policies.stream() - .filter(p -> p.getPolicyId().equals(policyId)) - .findFirst() - .orElseThrow(() -> new PolicyStoreException( - "Policy with id '" + policyId + "' doesn't exists!")); - - policy.update(validUntil); - save(bpn, policies); - } - private void save(final String bpn, final List modifiedPolicies) { writeLock(() -> { try { @@ -123,6 +129,23 @@ public List readAll(final String bpn) { } + public Map> readAll() { + try { + + + return policyStorePersistence.getAllBlobs().entrySet().stream().map(entry -> { + try { + return new AbstractMap.SimpleEntry<>(entry.getKey(), + mapper.readerForListOf(Policy.class).>readValue(entry.getValue())); + } catch (IOException e) { + throw new PolicyStoreException("Could not read the policies from the store", e); + } + }).collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); + } catch (BlobPersistenceException | BlobPersistenceRuntimeException e) { + throw new PolicyStoreException("Could not read the policies from the store", e); + } + } + private void writeLock(final Runnable work) { try { if (!lock.writeLock().tryLock(TIMEOUT, TimeUnit.MILLISECONDS)) { diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index 3f16e4a90b..5c4118b46e 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -23,10 +23,17 @@ ********************************************************************************/ package org.eclipse.tractusx.irs.policystore.services; +import static org.eclipse.tractusx.irs.common.persistence.BlobPersistence.DEFAULT_BLOB_NAME; + import java.time.Clock; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Collection; +import java.util.Comparator; +import java.util.LinkedList; import java.util.List; +import java.util.Map; +import java.util.TreeSet; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.edc.client.policy.AcceptedPoliciesProvider; @@ -42,7 +49,6 @@ import org.eclipse.tractusx.irs.policystore.exceptions.PolicyStoreException; import org.eclipse.tractusx.irs.policystore.models.UpdatePolicyRequest; import org.eclipse.tractusx.irs.policystore.persistence.PolicyPersistence; -import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Service; import org.springframework.web.server.ResponseStatusException; @@ -55,26 +61,24 @@ public class PolicyStoreService implements AcceptedPoliciesProvider { public static final int DEFAULT_POLICY_LIFETIME_YEARS = 5; - private final String apiAllowedBpn; private final List allowedPoliciesFromConfig; private final PolicyPersistence persistence; private final Clock clock; private static final String MISSING_REQUEST_FIELD_MESSAGE = "Request does not contain all required fields. Missing: %s"; - public PolicyStoreService(@Value("${apiAllowedBpn:}") final String apiAllowedBpn, - final DefaultAcceptedPoliciesConfig defaultAcceptedPoliciesConfig, final PolicyPersistence persistence, final Clock clock) { - this.apiAllowedBpn = apiAllowedBpn; + public PolicyStoreService(final DefaultAcceptedPoliciesConfig defaultAcceptedPoliciesConfig, + final PolicyPersistence persistence, final Clock clock) { this.allowedPoliciesFromConfig = createDefaultPolicyFromConfig(defaultAcceptedPoliciesConfig); this.persistence = persistence; this.clock = clock; } - public void registerPolicy(final Policy policy) { + public void registerPolicy(final Policy policy, final List businessPartnersNumbers) { validatePolicy(policy); policy.setCreatedOn(OffsetDateTime.now(clock)); log.info("Registering new policy with id {}, valid until {}", policy.getPolicyId(), policy.getValidUntil()); try { - persistence.save(apiAllowedBpn, policy); + persistence.save(businessPartnersNumbers, policy); } catch (final PolicyStoreException e) { throw new ResponseStatusException(HttpStatus.BAD_REQUEST, e.getMessage(), e); } @@ -82,20 +86,25 @@ public void registerPolicy(final Policy policy) { /** * Checks whether policy from register policy request has all required fields + * * @param policy policy to register */ private void validatePolicy(final Policy policy) { if (policy.getPermissions() == null) { - throw new ResponseStatusException(HttpStatus.BAD_REQUEST, String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:permission")); + throw new ResponseStatusException(HttpStatus.BAD_REQUEST, + String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:permission")); } if (policy.getPermissions().stream().anyMatch(p -> p.getConstraint() == null)) { - throw new ResponseStatusException(HttpStatus.BAD_REQUEST, String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:constraint")); + throw new ResponseStatusException(HttpStatus.BAD_REQUEST, + String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:constraint")); } } - public List getStoredPolicies() { - log.info("Reading all stored polices for BPN {}", apiAllowedBpn); - final var storedPolicies = persistence.readAll(apiAllowedBpn); + public List getStoredPolicies(final List bpns) { + log.info("Reading all stored polices for BPN {}", bpns); + final List storedPolicies = new LinkedList<>(); + bpns.forEach(bpn -> storedPolicies.addAll(persistence.readAll(bpn))); + if (storedPolicies.isEmpty()) { log.info("Policy store is empty, returning default values from config"); return allowedPoliciesFromConfig; @@ -104,10 +113,29 @@ public List getStoredPolicies() { } } + public Map> getAllStoredPolicies() { + final Map> bpnToPolicies = persistence.readAll(); + if (bpnToPolicies.isEmpty()) { + return Map.of("", allowedPoliciesFromConfig); + } + return bpnToPolicies; + } + public void deletePolicy(final String policyId) { try { + log.info("Getting all policies to find correct bpn number"); + final List bpnsContainingPolicyId = getAllStoredPolicies().entrySet() + .stream() + .filter(entry -> entry.getValue() + .stream() + .anyMatch( + policy -> policy.getPolicyId() + .equals(policyId))) + .map(Map.Entry::getKey) + .toList(); + log.info("Deleting policy with id {}", policyId); - persistence.delete(apiAllowedBpn, policyId); + bpnsContainingPolicyId.forEach(bpn -> persistence.delete(bpn, policyId)); } catch (final PolicyStoreException e) { throw new ResponseStatusException(HttpStatus.NOT_FOUND, e.getMessage(), e); } @@ -117,15 +145,48 @@ public void deletePolicy(final String policyId) { public void updatePolicy(final String policyId, final UpdatePolicyRequest request) { try { log.info("Updating policy with id {}", policyId); - persistence.update(apiAllowedBpn, policyId, request.validUntil()); + final List bpnsContainingPolicyId = getAllStoredPolicies().entrySet() + .stream() + .filter(entry -> entry.getValue() + .stream() + .anyMatch( + policy -> policy.getPolicyId() + .equals(policyId))) + .map(Map.Entry::getKey) + .toList(); + + final Policy policyToUpdate = getStoredPolicies(bpnsContainingPolicyId).stream() + .filter(policy -> policy.getPolicyId() + .equals(policyId)) + .findAny() + .orElseThrow( + () -> new PolicyStoreException( + "Policy with id '" + + policyId + + "' doesn't exists!")); + + policyToUpdate.update(request.validUntil()); + bpnsContainingPolicyId.forEach(bpn -> persistence.delete(bpn, policyId)); + persistence.save(request.businessPartnerNumbers(), policyToUpdate); } catch (final PolicyStoreException e) { throw new ResponseStatusException(HttpStatus.NOT_FOUND, e.getMessage(), e); } } @Override - public List getAcceptedPolicies() { - return getStoredPolicies().stream().map(this::toAcceptedPolicy).toList(); + public List getAcceptedPolicies(final List bpns) { + if (bpns == null) { + return getAllStoredPolicies().values().stream().flatMap(Collection::stream).map(this::toAcceptedPolicy).toList(); + } + + final ArrayList policies = new ArrayList<>(); + policies.addAll(getStoredPolicies(bpns)); + policies.addAll(getStoredPolicies(List.of(DEFAULT_BLOB_NAME))); + + final TreeSet result = new TreeSet<>(Comparator.comparing(Policy::getPolicyId)); + result.addAll(policies); + + return result.stream().map(this::toAcceptedPolicy).toList(); } private AcceptedPolicy toAcceptedPolicy(final Policy policy) { diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index f685cd33ab..66f1edf631 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -25,6 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -121,10 +122,10 @@ void registerAllowedPolicy() { // act testee.registerAllowedPolicy( - new CreatePolicyRequest(now.plusMinutes(1), jsonObject.get("payload").asJsonObject())); + new CreatePolicyRequest(now.plusMinutes(1), null, List.of(jsonObject.get("payload").asJsonObject()))); // assert - verify(service).registerPolicy(any()); + verify(service).registerPolicy(any(), eq(null)); } @Test @@ -132,10 +133,10 @@ void getPolicies() { // arrange final List policies = List.of( new Policy("testId", OffsetDateTime.now(), OffsetDateTime.now(), createPermissions())); - when(service.getStoredPolicies()).thenReturn(policies); + when(service.getStoredPolicies(List.of("bpn1"))).thenReturn(policies); // act - final List returnedPolicies = testee.getPolicies(); + final List returnedPolicies = testee.getPolicies(new String[]{"bpn1"}); // assert assertThat(returnedPolicies).isEqualTo( @@ -154,11 +155,11 @@ void deleteAllowedPolicy() { @Test void updateAllowedPolicy() { // arrange - final UpdatePolicyRequest request = new UpdatePolicyRequest(OffsetDateTime.now()); + final String policyId = "policyId"; + final UpdatePolicyRequest request = new UpdatePolicyRequest(OffsetDateTime.now(), List.of("bpn"),List.of(policyId)); // act - final String policyId = "policyId"; - testee.updateAllowedPolicy(policyId, request); + testee.updateAllowedPolicy(request); // assert verify(service).updatePolicy(policyId, request); diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java index 7fe7aedbc1..7264c7b3f6 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java @@ -73,7 +73,7 @@ void save() throws BlobPersistenceException { final var policy = new Policy("test", OffsetDateTime.now(), OffsetDateTime.now(), emptyList()); // act - testee.save("testBpn", policy); + testee.save(List.of("testBpn"), policy); // assert verify(mockPersistence).putBlob(anyString(), any()); @@ -87,7 +87,7 @@ void saveDuplicate() throws BlobPersistenceException, JsonProcessingException { when(mockPersistence.getBlob(anyString())).thenReturn(Optional.of(mapper.writeValueAsBytes(policies))); // act & assert - assertThatThrownBy(() -> testee.save("testBpn", policy)).isInstanceOf(PolicyStoreException.class); + assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); } @Test @@ -98,7 +98,7 @@ void saveWithError() throws BlobPersistenceException { new BlobPersistenceException("test", new IllegalStateException())); // act & assert - assertThatThrownBy(() -> testee.save("testBpn", policy)).isInstanceOf(PolicyStoreException.class); + assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); } @Test @@ -109,7 +109,7 @@ void saveWithWriteError() throws BlobPersistenceException { .putBlob(any(), any()); // act & assert - assertThatThrownBy(() -> testee.save("testBpn", policy)).isInstanceOf(PolicyStoreException.class); + assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); } @Test @@ -127,21 +127,6 @@ void delete() throws BlobPersistenceException, JsonProcessingException { verify(mockPersistence).putBlob(anyString(), any()); } - @Test - void update() throws BlobPersistenceException, JsonProcessingException { - // arrange - final String policyId = "test"; - final var policy = new Policy(policyId, OffsetDateTime.now(), OffsetDateTime.now(), emptyList()); - final var policies = List.of(policy); - when(mockPersistence.getBlob(anyString())).thenReturn(Optional.of(mapper.writeValueAsBytes(policies))); - - // act - testee.update("testBpn", policyId, OffsetDateTime.now()); - - // assert - verify(mockPersistence).putBlob(anyString(), any()); - } - @Test void deleteShouldThrowExceptionIfPolicyWithIdDoesntExists() throws BlobPersistenceException, JsonProcessingException { // arrange @@ -152,17 +137,6 @@ void deleteShouldThrowExceptionIfPolicyWithIdDoesntExists() throws BlobPersisten assertThrows(PolicyStoreException.class, () -> testee.delete("testBpn", "notExistingPolicyId")); } - @Test - void updateShouldThrowExceptionIfPolicyWithIdDoesntExists() throws BlobPersistenceException, JsonProcessingException { - // arrange - final OffsetDateTime now = OffsetDateTime.now(); - final var policy = new Policy("policyId", now, now, emptyList()); - when(mockPersistence.getBlob(anyString())).thenReturn(Optional.of(mapper.writeValueAsBytes(List.of(policy)))); - - // act - assertThrows(PolicyStoreException.class, () -> testee.update("testBpn", "notExistingPolicyId", now)); - } - @Test void readAll() throws BlobPersistenceException, JsonProcessingException { // arrange diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index e218ca2b94..03edeeed12 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -36,6 +36,7 @@ import java.time.OffsetDateTime; import java.util.Collections; import java.util.List; +import java.util.Map; import org.eclipse.tractusx.irs.edc.client.policy.Constraint; import org.eclipse.tractusx.irs.edc.client.policy.Constraints; @@ -46,7 +47,6 @@ import org.eclipse.tractusx.irs.edc.client.policy.PolicyType; import org.eclipse.tractusx.irs.policystore.config.DefaultAcceptedPoliciesConfig; import org.eclipse.tractusx.irs.policystore.exceptions.PolicyStoreException; -import org.eclipse.tractusx.irs.policystore.models.UpdatePolicyRequest; import org.eclipse.tractusx.irs.policystore.persistence.PolicyPersistence; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -74,7 +74,7 @@ class PolicyStoreServiceTest { void setUp() { final DefaultAcceptedPoliciesConfig defaultAcceptedPoliciesConfig = new DefaultAcceptedPoliciesConfig(); defaultAcceptedPoliciesConfig.setAcceptedPolicies(List.of()); - testee = new PolicyStoreService(BPN, defaultAcceptedPoliciesConfig, persistence, clock); + testee = new PolicyStoreService(defaultAcceptedPoliciesConfig, persistence, clock); } @Test @@ -84,10 +84,10 @@ void registerPolicy() { final Policy policy = new Policy("testId", now, now.plusMinutes(1), emptyList()); // act - testee.registerPolicy(policy); + testee.registerPolicy(policy, List.of(BPN)); // assert - verify(persistence).save(eq(BPN), any()); + verify(persistence).save(eq(List.of(BPN)), any()); } @Test @@ -97,10 +97,10 @@ void registerPolicyWithPermission() { final Policy policy = new Policy("testId", now, now.plusMinutes(1), createPermissions()); // act - testee.registerPolicy(policy); + testee.registerPolicy(policy, List.of(BPN)); // assert - verify(persistence).save(eq(BPN), policyCaptor.capture()); + verify(persistence).save(eq(List.of(BPN)), policyCaptor.capture()); assertThat(policyCaptor.getValue()).isNotNull(); List permissionList = policyCaptor.getValue().getPermissions(); @@ -115,10 +115,11 @@ void registerPolicyShouldThrowResponseStatusException() { final String policyId = "testId"; final OffsetDateTime now = OffsetDateTime.now(clock); final Policy policy = new Policy(policyId, now, now.plusMinutes(1), createPermissions()); - doThrow(new PolicyStoreException("")).when(persistence).save(eq(BPN), any()); + doThrow(new PolicyStoreException("")).when(persistence).save(any(), any()); // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy)); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, + List.of(BPN))); } @Test @@ -128,7 +129,7 @@ void getStoredPolicies() { when(persistence.readAll(BPN)).thenReturn(policies); // act - final var storedPolicies = testee.getStoredPolicies(); + final var storedPolicies = testee.getStoredPolicies(List.of(BPN)); // assert assertThat(storedPolicies).hasSize(3); @@ -143,10 +144,10 @@ void getDefaultStoredPoliciesWhenEmpty() { EXAMPLE_ACCEPTED_LEFT_OPERAND, "eq", EXAMPLE_ALLOWED_NAME); final DefaultAcceptedPoliciesConfig defaultAcceptedPoliciesConfig = new DefaultAcceptedPoliciesConfig(); defaultAcceptedPoliciesConfig.setAcceptedPolicies(List.of(acceptedPolicy1, acceptedPolicy2)); - testee = new PolicyStoreService(BPN, defaultAcceptedPoliciesConfig, persistence, clock); + testee = new PolicyStoreService(defaultAcceptedPoliciesConfig, persistence, clock); // act - final var defaultPolicies = testee.getStoredPolicies(); + final var defaultPolicies = testee.getStoredPolicies(List.of(BPN)); // assert assertThat(defaultPolicies).hasSize(1); @@ -175,6 +176,9 @@ private Constraints createConstraints() { @Test void deletePolicy() { + // arrange + when(persistence.readAll()).thenReturn(Map.of(BPN, List.of(new Policy("testId", null, null, null)))); + // act testee.deletePolicy("testId"); @@ -186,35 +190,13 @@ void deletePolicy() { void deletePolicyShouldThrowResponseStatusException() { // act final String policyId = "testId"; + when(persistence.readAll()).thenReturn(Map.of(BPN, List.of(new Policy("testId", null, null, null)))); doThrow(new PolicyStoreException("")).when(persistence).delete(BPN, policyId); // assert assertThrows(ResponseStatusException.class, () -> testee.deletePolicy(policyId)); } - @Test - void updatePolicy() { - // act - final String policyId = "testId"; - final OffsetDateTime validUntil = OffsetDateTime.now(); - testee.updatePolicy(policyId, new UpdatePolicyRequest(validUntil)); - - // assert - verify(persistence).update(BPN, policyId, validUntil); - } - - @Test - void updatePolicyShouldThrowResponseStatusException() { - // act - final String policyId = "testId"; - final OffsetDateTime validUntil = OffsetDateTime.now(); - doThrow(new PolicyStoreException("")).when(persistence).update(BPN, policyId, validUntil); - final UpdatePolicyRequest request = new UpdatePolicyRequest(validUntil); - - // assert - assertThrows(ResponseStatusException.class, () -> testee.updatePolicy(policyId, request)); - } - @Test void whenRegisterPolicyWithMissingPermissionsShouldThrowException() { // arrange @@ -222,7 +204,8 @@ void whenRegisterPolicyWithMissingPermissionsShouldThrowException() { // act // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy)); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, + null)); } @Test @@ -237,6 +220,7 @@ void whenRegisterPolicyWithMissingConstraintShouldThrowException() { // act // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy)); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, + null)); } } \ No newline at end of file diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java index 613c12db3c..0bf5abba69 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java @@ -118,7 +118,7 @@ public ConnectorEndpointsService connectorEndpointsService(final DiscoveryFinder public EndpointDataForConnectorsService endpointDataForConnectorsService(final EdcSubmodelFacade facade) { return new EndpointDataForConnectorsService((edcConnectorEndpoint, assetType, assetValue) -> { try { - return facade.getEndpointReferenceForAsset(edcConnectorEndpoint, assetType, assetValue); + return facade.getEndpointReferenceForAsset(edcConnectorEndpoint, assetType, assetValue, null); } catch (EdcClientException e) { throw new EdcRetrieverException(e); } diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java index 4a3b67fd5f..38a1e4a1de 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java @@ -82,7 +82,7 @@ void endpointDataForConnectorsService() throws EdcClientException { final var mock = mock(EdcSubmodelFacade.class); final var endpointAddress = "endpointaddress"; final var endpointDataReference = EndpointDataReference.Builder.newInstance().endpoint(endpointAddress).build(); - when(mock.getEndpointReferenceForAsset(eq(endpointAddress), any(), any())).thenReturn(endpointDataReference); + when(mock.getEndpointReferenceForAsset(eq(endpointAddress), any(), any(), any())).thenReturn(endpointDataReference); // ACT final var endpointDataForConnectorsService = testee.endpointDataForConnectorsService(mock); @@ -97,13 +97,13 @@ void endpointDataForConnectorsService() throws EdcClientException { }); // ASSERT - verify(mock).getEndpointReferenceForAsset(eq(endpointAddress), any(), any()); + verify(mock).getEndpointReferenceForAsset(eq(endpointAddress), any(), any(), any()); } @Test void endpointDataForConnectorsService_withException() throws EdcClientException { final var mock = mock(EdcSubmodelFacade.class); - when(mock.getEndpointReferenceForAsset(any(), any(), any())).thenThrow(new EdcClientException("test")); + when(mock.getEndpointReferenceForAsset(any(), any(), any(), any())).thenThrow(new EdcClientException("test")); final var endpointDataForConnectorsService = testee.endpointDataForConnectorsService(mock); final var dummyEndpoints = List.of("test"); diff --git a/local/testing/IRS_Request_Collection.json b/local/testing/IRS_Request_Collection.json index 246addc92b..a843c0b0ae 100644 --- a/local/testing/IRS_Request_Collection.json +++ b/local/testing/IRS_Request_Collection.json @@ -1,3793 +1,3700 @@ { - "_type": "export", - "__export_format": 4, - "__export_date": "2024-02-05T09:54:46.629Z", - "__export_source": "insomnia.desktop.app:v8.6.0", - "resources": [ - { - "_id": "req_168bf1cb28a043d18f376c8d93c82d1a", - "parentId": "fld_ce20d8a3c9d441178febcb303a052551", - "modified": 1705006817408, - "created": 1705005887617, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Get all policies", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1705005887617, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_ce20d8a3c9d441178febcb303a052551", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1687243055015, - "created": 1687243055015, - "name": "Policy Store", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1687243055015, - "_type": "request_group" - }, - { - "_id": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "parentId": "wrk_dbeadb1e56e942299e6c920265e6c667", - "modified": 1691572726194, - "created": 1680682418636, - "name": "IRS DEMO Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418636, - "_type": "request_group" - }, - { - "_id": "wrk_dbeadb1e56e942299e6c920265e6c667", - "parentId": null, - "modified": 1706524702729, - "created": 1706524692257, - "name": "IRS", - "description": "", - "scope": "collection", - "_type": "workspace" - }, - { - "_id": "req_d9aec188d27d4e26922788e029f48cb3", - "parentId": "fld_ce20d8a3c9d441178febcb303a052551", - "modified": 1702990529632, - "created": 1687243204155, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", - "name": "Delete policy", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1685602897140.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f23abf2cce914010bc0a1b6cca091ad2", - "parentId": "fld_ce20d8a3c9d441178febcb303a052551", - "modified": 1702990565006, - "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'id', '', 'traceability-test', '', false, true %}", - "name": "Update policy", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684874704117.875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5d5596ef316341198185c3dab431235c", - "parentId": "fld_ce20d8a3c9d441178febcb303a052551", - "modified": 1707126688041, - "created": 1687243182397, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Register policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"payload\": {\n\t\t\"@context\": {\n\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t},\n\t\t\"@id\": \"policy-id12\",\n\t\t\"policy\": {\n\t\t\t\"odrl:permission\": [\n\t\t\t\t{\n\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1683962737633.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0ea20f07e6384c87aec64b664f1f1936", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003275081, - "created": 1680682418619, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", - "name": "Get Shell by aasIdentifier", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418619, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_4990991deee940668b0772802a92dad7", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1691504187689, - "created": 1680682418630, - "name": "Digital Twin Registry", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418630, - "_type": "request_group" - }, - { - "_id": "req_645f097057dd4d0b8a94530853402acc", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706002920212, - "created": 1690529035794, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", - "name": "Get Shells", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418614, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b3e47af3e76746539ca0bf30c60e39ea", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003278149, - "created": 1680682418609, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By BPN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", - "disabled": true, - "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", - "disabled": true, - "id": "pair_cc48c08e3b834497a2d88bd4201c3867" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", - "disabled": false, - "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", - "disabled": true, - "id": "pair_706e6930cc874343941b744a054ef388" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", - "disabled": true, - "id": "pair_45c6bcf3266a475891ebbbba6cde0798" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", - "disabled": true, - "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", - "disabled": true, - "id": "pair_d72f55c7bf714c7c9aae58456c778443" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", - "disabled": true, - "id": "pair_406c9da4dc014fb297f70bb3da7128c1" - } - ], - "headers": [ - { - "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418609, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d7172466c4bc48e986679e0895b8a2cc", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003280850, - "created": 1680682418595, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By VAN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", - "disabled": false, - "id": "pair_50d86e928e9f448d97da8ada0390e12f" - } - ], - "headers": [ - { - "id": "pair_ed11c2a6df9248e292914df944e8ba93", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418595, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3e07acae12c54acb94dd7aa9a9237b00", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003354109, - "created": 1680682418581, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", - "disabled": false, - "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" - } - ], - "headers": [ - { - "id": "pair_71ae5e562e9c414a82e84220f3c00343", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418581, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b2e720c47f6145e9915b098cfb162bf4", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003284715, - "created": 1680682418570, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By VAN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_2f4c445074514f92a4dee92554053d0a" - }, - { - "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418570, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c25fd37611874fb9b9d614c5119fc9f2", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003286642, - "created": 1691408320970, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" - }, - { - "id": "pair_5dc1d703196747318faff9a8dd96be0c", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418560.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3250e5def5654142a519de4427107bbd", - "parentId": "fld_4990991deee940668b0772802a92dad7", - "modified": 1706003289343, - "created": 1689167429413, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Shell by aasIdentifier", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [ - { - "id": "pair_6266690c04fd466fa1617082f5b8ec76", - "name": "pageSize", - "value": "50", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418470, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e1cec062761b4714b9d79f95bfb4f052", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991054859, - "created": 1680682418551, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.0.0 [Register Job]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418551, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_66bf58dc74c24069a012d954a5fcc046", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418562, - "created": 1680682418562, - "name": "IRS Test Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418562, - "_type": "request_group" - }, - { - "_id": "req_4c94d946a6ca458baf3953f64eb3d2f1", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991058493, - "created": 1680682418539, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.0 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418539, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_eecb959367ec45538fed6c82871dff36", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991063641, - "created": 1680682418524, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.1 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418524, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0cf1f56543b043e0b6c2d60dc1339efb", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991067797, - "created": 1680682418514, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418514, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0dd4702af7f44308ae5fc38b1247ddb9", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991071709, - "created": 1680682418504, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418504, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_57f0986d2fbd448a8763203a07f4e538", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991076696, - "created": 1695042901876, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418496, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9eb404e09440411da201197459b718be", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991080833, - "created": 1680682418488, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.0 [Register Job with aspect SerialPart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418488, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_803a18dc7154479f99ca3323bc502004", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991084713, - "created": 1680682418479, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418479, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f4f50dc45f2d447fb198671a25fa554c", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991088495, - "created": 1680682418469, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"BatteryPass\",\n\t\t\"MaterialForRecycling\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418469, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_adb8c665373d432eb5868cdb54e005ae", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991094498, - "created": 1680682418460, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.3 [Register Job with aspect type Batch and CertificateOfDestruction]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"Batch\",\n\t\t\"CertificateOfDestruction\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418460, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4d5b921d3b65463c9413a037e19ae4e0", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991098918, - "created": 1680682418451, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.4 [Register Job with aspect SerialPart and AddressAspect]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"AddressAspect\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418451, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c78f55430e3c4caa9db40afa18e0071e", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991103182, - "created": 1680682418442, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.5 [Register Job with aspect PartAsPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418442, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_cd096c5dd862469ea857cfbaaec565a7", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991107672, - "created": 1680682418432, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.6 [Register Job with upward direction]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418432, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_75498c5f7f4e49a9aa5eaed3f56efbfe", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991113717, - "created": 1695192937155, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.7 [Register Job with aspect JustInSequencePart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418428, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2c4bd212e2cc4072a77963d1c15bd3c0", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991120609, - "created": 1695192971825, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.8 [Register Job with aspect TractionBatteryCode]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418426, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_daf9e35ba9f94a4abebba38d62c7ad57", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991125292, - "created": 1680682418424, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418424, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e88261d8f4c3408183d52a94fe0f64aa", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991130711, - "created": 1680682418414, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418414, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_253793b503264ec586dd5a3981902934", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991137603, - "created": 1680682418401, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.5.0 [Register Job with all aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPartTypization\",\n\t\t\"AssemblyPartRelationship\",\n\t\t\"Batch\",\n\t\t\"ProductDescription\",\n\t\t\"IdConversion\",\n\t\t\"MarketplaceOffer\",\n\t\t\"MaterialForRecycling\",\n\t\t\"PhysicalDimension\",\n\t\t\"ReturnRequest\",\n\t\t\"CertificateOfDestruction\",\n\t\t\"CertificateOfDismantler\",\n\t\t\"EndOfLife\",\n\t\t\"EsrCertificate\",\n\t\t\"EsrCertificateStateStatistic\",\n\t\t\"ChargingProcess\",\n\t\t\"AddressAspect\",\n\t\t\"ClaimData\",\n\t\t\"BatteryPass\",\n\t\t\"DiagnosticData\",\n\t\t\"MaterialForHomologation\",\n\t\t\"PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418401, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_68fe9a6efec74ee9a167a895c8babb10", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991145487, - "created": 1680682418392, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.6.0 [Register Job with BPN lookup]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418392, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6aac64b0a99e4ffabeb55f10353c357f", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991149742, - "created": 1683184048412, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.7.0 [Register Job with invalid policy]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418386.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4138d3ef7c2842e2866fb9be242c4735", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991154342, - "created": 1693493383337, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.0 [Register Job with data integrity success]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418382.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9956e174586d4716b2652ed693518241", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991159838, - "created": 1693493584873, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.1 [Register Job with data integrity wrong hash]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8cc9f463cd5e456f8cc922b9cbfbf35c", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991164094, - "created": 1693493594373, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.2 [Register Job with data integrity wrong signature]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.3438, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_162de6be38a749f99ad80c9d73a5062e", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991168363, - "created": 1693493604521, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_cb39bd2420084559a4b8df34efc0225a", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991173689, - "created": 1680682418381, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.0 [Search for completed Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "COMPLETED", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fa00c41986994e53b60fb66f6a7f9b13", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991177973, - "created": 1680682418372, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.1 [Search for Jobs in error state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418372, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e4960d3aea4a45098a0ad41783ee8b3e", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991182139, - "created": 1680682418358, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.2 [Search for Jobs in initial state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "INITIAL", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418358, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fab648d9d45b426886a3f8d5d9e07610", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991186114, - "created": 1680682418348, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.3 [Search for all Jobs in JobStore]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418348, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_47ad9b23e8f646cfaa67e1c14123ed0b", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991190326, - "created": 1680682418339, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.1.0 [Search for running Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "RUNNING", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418339, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_097638186ae0403aa04692c9e282e14f", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991196283, - "created": 1680682418325, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.0.0 [Search for given jobId with uncomplete]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418325, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0bb34d3d1ff547d1abe7f50a31b3f225", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991200399, - "created": 1680682418316, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.1.0 [Search for given jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418316, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_a94ae8d8ebb94f758ab6196c97e9061c", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991205447, - "created": 1680682418307, - "url": "{{IRS_HOST}}/irs/jobs/test", - "name": "3.1.1 [Search for invalid jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418307, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1b10ff658962459db2c6c1b704ff68b8", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991214202, - "created": 1680682418297, - "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", - "name": "3.1.2 [Search for unknown jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418297, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fe2049dcfd6b4c06a36069d0bf530e20", - "parentId": "fld_66bf58dc74c24069a012d954a5fcc046", - "modified": 1702991218362, - "created": 1680682418280, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "6.0.0 [Cancel Job for given jobId]", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418280, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c1a1e632e4364bf3928104eb2700f8a0", - "parentId": "fld_366bdc4025de4610b245e7bc85b90b58", - "modified": 1705942015684, - "created": 1682672699249, - "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", - "name": "Find BPN endpoints for manufacturer numbers", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630902023, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_366bdc4025de4610b245e7bc85b90b58", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1683630931664, - "created": 1683630887514, - "name": "Discovery", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418417.5, - "_type": "request_group" - }, - { - "_id": "req_75de594fc67c4e0e89af774b81c3f0af", - "parentId": "fld_366bdc4025de4610b245e7bc85b90b58", - "modified": 1705942027574, - "created": 1683031718699, - "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", - "name": "Find BPN Discovery Endpoints of type BPN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901923, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_afa03ef38dd34df8ad7febd021e97b2a", - "parentId": "fld_366bdc4025de4610b245e7bc85b90b58", - "modified": 1705942036978, - "created": 1683560906453, - "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", - "name": "Find EDC endpoints for BPNs", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "[\n\t\"BPNL00000001CRHK\"\n]" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901873, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9d0281b262424f4b8c1ba62e11bb2fa3", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1705006665175, - "created": 1680682418265, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Register Job", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"SingleLevelBomAsBuilt\",\n\t\t\"SerialPart\",\n\t\t\"Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418265, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418273, - "created": 1680682418273, - "name": "IRS Basic API Calls", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418273, - "_type": "request_group" - }, - { - "_id": "req_54c394982fa249618bb7bb46aea068a7", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1705942154792, - "created": 1680682418238, - "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", - "name": "Get registered Job", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418261, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_52cadc4a668a4cd58157a434730da4da", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1702991288793, - "created": 1680682418257, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for all Jobs in JobStore", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418257, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2dbc0c6f7cac4e3d990c8f684045d6d2", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1702991284435, - "created": 1680682418247, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for Jobs for given state", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": true, - "id": "pair_c694b66f41e649db837f801b5699859e" - }, - { - "name": "jobStates", - "value": "CANCELED,COMPLETED", - "disabled": false, - "id": "pair_ab346623e5394504b7232cc40ae75bed" - }, - { - "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "jobStates", - "value": "RUNNING", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418247, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b338f7d3e6ea444ca473353ba38e7bfd", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1703236659047, - "created": 1690384427379, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Get Job for jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418238, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b17cbac5c1fb4c039569aaaa7a9a5a4e", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1702991276045, - "created": 1680682418229, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Cancel Job for jobId", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418229, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f57006fe36314a729d471d4e12f67e7e", - "parentId": "fld_0fe6ae4d2f4e4ce4b370fd2792670219", - "modified": 1702991272198, - "created": 1682498338739, - "url": "{{IRS_HOST}}/irs/aspectmodels", - "name": "Get all available Aspect Models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418179, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f95fff1880e54ba898388804f798f85d", - "parentId": "fld_c51adfe29e5e450eb21effa8f3242d1e", - "modified": 1705942066941, - "created": 1680682418213, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", - "name": "Get all models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "pageSize", - "value": "100", - "disabled": false, - "id": "pair_96567b64925d4487bae4c74bfa9e021e" - }, - { - "id": "pair_2dae68db8a564296a5835e66d951331f", - "name": "status", - "value": "RELEASED", - "description": "" - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418213, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_c51adfe29e5e450eb21effa8f3242d1e", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418222, - "created": 1680682418222, - "name": "Semantics Hub", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418222, - "_type": "request_group" - }, - { - "_id": "req_ee0b0282d68e47e2b950d8722fb09fd2", - "parentId": "fld_c51adfe29e5e450eb21effa8f3242d1e", - "modified": 1705942077015, - "created": 1680682418204, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", - "name": "Get SerialPartTypization", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418204, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5144d157e6b14563ac9da40036794278", - "parentId": "fld_c51adfe29e5e450eb21effa8f3242d1e", - "modified": 1705942085733, - "created": 1680682418192, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", - "name": "Get SerialPartTypization Json Schema", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418192, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ae558137943343a6ad929382a8b3a29c", - "parentId": "fld_38ea37e2feb443ecbd02440c7d4dc84c", - "modified": 1705942100313, - "created": 1680682418174, - "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", - "name": "Get business partner by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "idType", - "value": "BPN", - "disabled": false - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.BPDM_CLIENT_ID }}", - "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418174, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_38ea37e2feb443ecbd02440c7d4dc84c", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418184, - "created": 1680682418184, - "name": "Business partner data management", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418184, - "_type": "request_group" - }, - { - "_id": "req_28227bd00d864bc99f67332ec824083f", - "parentId": "fld_7a89506c3c384d70b9beef7abeefbe55", - "modified": 1702991347797, - "created": 1680682418157, - "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", - "name": "Get Esr Statistics", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418158, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_7a89506c3c384d70b9beef7abeefbe55", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418167, - "created": 1680682418167, - "name": "ESR Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418167, - "_type": "request_group" - }, - { - "_id": "req_31c8cd5dd85f4cdc8c3ae3af01b034a0", - "parentId": "fld_47f7596261a24253b451004cd8ba2140", - "modified": 1702991361578, - "created": 1680682418143, - "url": "{{IRS_HOST}}/ess/bpn/investigations", - "name": "Register Job Investigation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418143, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_47f7596261a24253b451004cd8ba2140", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418151, - "created": 1680682418151, - "name": "ESS Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418151, - "_type": "request_group" - }, - { - "_id": "req_143d26188fd341b0aa13f5c4784106f2", - "parentId": "fld_47f7596261a24253b451004cd8ba2140", - "modified": 1705942138125, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", - "name": "Get registered investigation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418138.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8a0b5ce9751f470cb590a511ae97fb74", - "parentId": "fld_47f7596261a24253b451004cd8ba2140", - "modified": 1702991370481, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Search for investigation by jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418134, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ae50b9e3429249719df0aea840ec9456", - "parentId": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "modified": 1702991381651, - "created": 1680682418118, - "url": "{{IRS_HOST}}/irs/orders", - "name": "Register Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"AssemblyPartRelationship\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418118, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1680682418128, - "created": 1680682418128, - "name": "Batch Processing", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418128, - "_type": "request_group" - }, - { - "_id": "req_76bbe66f75cd4deab0452c7e2b281305", - "parentId": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "modified": 1702991390349, - "created": 1696342619602, - "url": "{{IRS_HOST}}/irs/ess/orders", - "name": "Register ESS Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418113.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e5d03176a6f84e7ba6f9e0a293497c0c", - "parentId": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "modified": 1705006936944, - "created": 1705006139836, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Cancel order job for given orderId", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_88db8badf4ea4a0d9968c769167407c8" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418111.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5f370d022e0b422b967d6c80c8a91e2d", - "parentId": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "modified": 1702991398473, - "created": 1680682418109, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Search for given orderId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418109, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_cd0d65ae1507433891eb7d2a05d5d366", - "parentId": "fld_576c196fe0fb4274b90431b1b35ae3a6", - "modified": 1702991409664, - "created": 1680682418099, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", - "name": "Search for given orderId and batchId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418099, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5e7e778b5e6543fcb9eea7b99073c93e", - "parentId": "fld_05b3542403444219baacd303af0aee7d", - "modified": 1690472186478, - "created": 1678358655308, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722939.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_05b3542403444219baacd303af0aee7d", - "parentId": "fld_ea70da20cb354243839c8f775fe3bd85", - "modified": 1690362660167, - "created": 1690362660167, - "name": "Catalog", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1690362660167, - "_type": "request_group" - }, - { - "_id": "fld_ea70da20cb354243839c8f775fe3bd85", - "parentId": "fld_7ea21da81d7f43b59b1eadd5558a0d4e", - "modified": 1690363778601, - "created": 1675675609576, - "name": "EDC-Requests", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418078, - "_type": "request_group" - }, - { - "_id": "req_d662c03a94f446d2afc6d8ada83bfe3e", - "parentId": "fld_05b3542403444219baacd303af0aee7d", - "modified": 1691500654267, - "created": 1685521485278, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with registry filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722889.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c32a0a83b43d494e9cbffdfe035badec", - "parentId": "fld_05b3542403444219baacd303af0aee7d", - "modified": 1705940987109, - "created": 1691654388376, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with asset filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722789.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f745598008ad40808cce24fa009d9c4d", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1691578280640, - "created": 1675675609557, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", - "name": "Start contract negotiation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511095, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "parentId": "fld_ea70da20cb354243839c8f775fe3bd85", - "modified": 1684146626847, - "created": 1684146519491, - "name": "Negotiation", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1679911060327.75, - "_type": "request_group" - }, - { - "_id": "req_3f181fd162664bb89604fd311628d84e", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1690362123962, - "created": 1675675609549, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", - "name": "Get contract negotiation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511045, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_41e49b80380f401ca7ba1c3079e36acf", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1690362117725, - "created": 1685444139708, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", - "name": "Cancel contract negotation", - "description": "", - "method": "POST", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511020, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_dd017a01aaef4e6aa43a006a7116cbd2", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1690361721223, - "created": 1681911985730, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", - "name": "Get contract negotiations", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510995, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8315d1cf3016462ebaf36b221ff121b7", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1691578311420, - "created": 1675675609541, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", - "name": "Start transferprocess", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510945, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_475b5dc25a0349a0bdaf1388767009d3", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1691503370103, - "created": 1679993996270, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", - "name": "Get transferprocess by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510895, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b7d4d2ae87f848d18e09fa9066a64def", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1690361795179, - "created": 1675675609525, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", - "name": "Get transferprocesses", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510845, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_07bb49740fd6490d960262fe773ca273", - "parentId": "fld_d6f7d906c7fd4203b8c75da059900aa9", - "modified": 1690361763512, - "created": 1681910653593, - "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", - "name": "Get contract agreements", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510795, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9c20ac607a1f4dd2ac6fa7d44464ee39", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362947546, - "created": 1681907482278, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", - "name": "Create Asset", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033461.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_cdf7808307974213bddcaa8c454ebfa4", - "parentId": "fld_ea70da20cb354243839c8f775fe3bd85", - "modified": 1705940929752, - "created": 1684146457388, - "name": "Provider", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1678852197613.5625, - "_type": "request_group" - }, - { - "_id": "req_491fb44312cc49138ce948dffd4342d5", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362407763, - "created": 1685444139630, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Asset by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033452.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_244dee9fd5a64fafa2f5ac5bdaa6994d", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362438115, - "created": 1685444139625, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", - "name": "Get all Assets", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033447.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_27e29ff2819d489ea9248fab518be562", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362400081, - "created": 1685444139636, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Asset", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033433.625, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_605ebafb36034d11b783f2c20fe0e764", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362581978, - "created": 1685444139641, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", - "name": "Create Policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033403.9375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3d746a9c3a52496499bf5bfac31acbad", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362549290, - "created": 1685444139647, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Policy by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033364.0938, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_15a39c3c4029494ca53867d6a3c28a33", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362591799, - "created": 1685444139653, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", - "name": "Get all Policies", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033344.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_487d7bd02af746db8c6cda9d0f4d662a", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362559324, - "created": 1685444139659, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Policy by ID", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033299.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_324212ad1f21447880f16ad152d861ab", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690363080444, - "created": 1685444139665, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", - "name": "Create Contract Definitinion", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033261.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d90aecacb8e446c795a6b0fc8e007e90", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690362691392, - "created": 1685444139672, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Contract Definition by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033199.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d0cc3341bce24e3aa7459b319755e918", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690363126919, - "created": 1685444139678, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", - "name": "Get all Contract Definitinions", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033174.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_13b593535b3e46f2904fd938a830bd66", - "parentId": "fld_cdf7808307974213bddcaa8c454ebfa4", - "modified": 1690363136216, - "created": 1685444139684, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Contract Definition", - "description": "", - "method": "DELETE", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033149.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "env_0bce3b8371da4128ab2299d44b2e5324", - "parentId": "wrk_dbeadb1e56e942299e6c920265e6c667", - "modified": 1683638503332, - "created": 1680782486844, - "name": "Base Environment", - "data": {}, - "dataPropertyOrder": {}, - "color": null, - "isPrivate": false, - "metaSortKey": 1680782486844, - "_type": "environment" - }, - { - "_id": "jar_dbc637bc345d403a8f7dd19f333a3bde", - "parentId": "wrk_dbeadb1e56e942299e6c920265e6c667", - "modified": 1705938127468, - "created": 1680782486851, - "name": "Default Jar", - "cookies": [ - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp.int.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-04-06T13:30:18.499Z", - "lastAccessed": "2024-01-22T15:42:07.467Z", - "id": "352618e3-4618-4778-9693-f76be3b538d4" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp.beta.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-04-28T12:09:23.681Z", - "lastAccessed": "2023-05-02T09:14:02.169Z", - "id": "44bc1771-1687-42bb-beb0-9d9474131a95" - }, - { - "key": "rack.session", - "value": "5579bbaf14b5ac5c004f6806ca10d35363aca208e5d17e4b6b07da103e23f219", - "domain": "daps1.int.demo.catena-x.net", - "path": "/", - "secure": true, - "httpOnly": true, - "hostOnly": true, - "creation": "2023-06-14T15:30:53.779Z", - "lastAccessed": "2023-06-14T15:30:53.779Z", - "id": "59744b74-474c-47c6-8765-cf287a936c5e" - }, - { - "key": "rack.session", - "value": "26cd0504acae7aa1a40aff58b15b72989eba6ff7efb7890d035d97d7d96129e8", - "domain": "daps-irs.dev.demo.catena-x.net", - "path": "/", - "secure": true, - "httpOnly": true, - "hostOnly": true, - "creation": "2023-06-26T13:21:41.705Z", - "lastAccessed": "2023-06-26T13:21:41.705Z", - "id": "76f1eca0-1990-491d-8e48-55862a864050" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "localhost", - "path": "/realms/miw_test/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-06-29T14:17:50.058Z", - "lastAccessed": "2023-06-29T14:38:54.694Z", - "id": "1f19c6ad-ee86-410b-baa9-40d9d2a2664b" - }, - { - "key": "JSESSIONID", - "value": "AA8B41248817CEF92F54E92816BA4E0C", - "domain": "managed-identity-wallets-new.int.demo.catena-x.net", - "path": "/", - "secure": true, - "httpOnly": true, - "hostOnly": true, - "creation": "2023-07-03T14:36:17.598Z", - "lastAccessed": "2023-07-03T14:39:34.758Z", - "id": "d4252d5d-5ba0-4841-a995-0405d9106af4" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp-pen.dev.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-07-11T15:11:58.167Z", - "lastAccessed": "2023-11-13T09:10:13.699Z", - "id": "d1322e15-2207-4bda-a8ae-6f98e5b92d48" - }, - { - "key": "AWSALB", - "value": "XBr2pDKiJ9eB9tgdQ1S7WNGW6LVV4e4wBnXgbPFZ7pDre9G+02ZrS8VGFUYjlmLgaW909IJIXDy+o9jIE5Q4vphrsvI3ezlFhYjmbXJp9jz5APwKavVG3/gt2YZw", - "expires": "2023-08-15T14:12:54.000Z", - "domain": "connector.cx-rel.edc.aws.bmw.cloud", - "path": "/", - "hostOnly": true, - "creation": "2023-08-07T10:43:07.218Z", - "lastAccessed": "2023-08-08T14:12:54.582Z", - "id": "c6451ae9-9bd5-4e83-b39c-d92af9e9c1a5" - }, - { - "key": "AWSALBCORS", - "value": "XBr2pDKiJ9eB9tgdQ1S7WNGW6LVV4e4wBnXgbPFZ7pDre9G+02ZrS8VGFUYjlmLgaW909IJIXDy+o9jIE5Q4vphrsvI3ezlFhYjmbXJp9jz5APwKavVG3/gt2YZw", - "expires": "2023-08-15T14:12:54.000Z", - "domain": "connector.cx-rel.edc.aws.bmw.cloud", - "path": "/", - "secure": true, - "extensions": [ - "SameSite=None" - ], - "hostOnly": true, - "creation": "2023-08-07T10:43:07.218Z", - "lastAccessed": "2023-08-08T14:12:54.582Z", - "id": "eace0316-1260-4915-953a-e1c27f76df22" - } - ], - "_type": "cookie_jar" - } - ] + "_type": "export", + "__export_format": 4, + "__export_date": "2024-03-05T14:13:05.950Z", + "__export_source": "insomnia.desktop.app:v8.6.1", + "resources": [ + { + "_id": "req_c043cbe1fe1743a9bd7d0b90933429ca", + "parentId": "fld_67f17d3922fd4eaabedd123cb54e0822", + "modified": 1705006817408, + "created": 1705005887617, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Get all policies", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1705005887617, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_67f17d3922fd4eaabedd123cb54e0822", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1687243055015, + "created": 1687243055015, + "name": "Policy Store", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1687243055015, + "_type": "request_group" + }, + { + "_id": "fld_91ef19bcb20042be976aaf29a6e80517", + "parentId": "wrk_ca9b08d813264d90b6386f58ed14c80e", + "modified": 1691572726194, + "created": 1680682418636, + "name": "IRS DEMO Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418636, + "_type": "request_group" + }, + { + "_id": "wrk_ca9b08d813264d90b6386f58ed14c80e", + "parentId": null, + "modified": 1709646966614, + "created": 1709646966614, + "name": "IRS3 - to change", + "description": "", + "scope": "collection", + "_type": "workspace" + }, + { + "_id": "req_0c8e3b75f01543cc8462ef641bc1a255", + "parentId": "fld_67f17d3922fd4eaabedd123cb54e0822", + "modified": 1709647843974, + "created": 1709647106788, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'bpns', '', 'BPNL00000001CRHK', '', false, true %}", + "name": "Get policy", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1696124472132.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_888a1bd5c172449a967bf4f56ee7586e", + "parentId": "fld_67f17d3922fd4eaabedd123cb54e0822", + "modified": 1702990529632, + "created": 1687243204155, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", + "name": "Delete policy", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1685602897140.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4337f826abd94af8956e82cf6ce72607", + "parentId": "fld_67f17d3922fd4eaabedd123cb54e0822", + "modified": 1709647896380, + "created": 1693576003390, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'id', '', 'traceability-test', '', false, true %}", + "name": "Update policy", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684874704117.875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4b5c4e0d116047c1a78a8d5262b69115", + "parentId": "fld_67f17d3922fd4eaabedd123cb54e0822", + "modified": 1709647932414, + "created": 1687243182397, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Register policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-126\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-127\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1683962737633.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_cc6e7812052841b49573e4e5c2f1ff24", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003275081, + "created": 1680682418619, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", + "name": "Get Shell by aasIdentifier", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418619, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_1ce7c08bd391458b8421355d96708d0b", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1691504187689, + "created": 1680682418630, + "name": "Digital Twin Registry", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418630, + "_type": "request_group" + }, + { + "_id": "req_cb3fdbda487a4585baec8b6753eb4664", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706002920212, + "created": 1690529035794, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", + "name": "Get Shells", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418614, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2b88822ad1f344d59e26b18ab8bcd98a", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003278149, + "created": 1680682418609, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By BPN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", + "disabled": true, + "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", + "disabled": true, + "id": "pair_cc48c08e3b834497a2d88bd4201c3867" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", + "disabled": false, + "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", + "disabled": true, + "id": "pair_706e6930cc874343941b744a054ef388" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", + "disabled": true, + "id": "pair_45c6bcf3266a475891ebbbba6cde0798" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", + "disabled": true, + "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", + "disabled": true, + "id": "pair_d72f55c7bf714c7c9aae58456c778443" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", + "disabled": true, + "id": "pair_406c9da4dc014fb297f70bb3da7128c1" + } + ], + "headers": [ + { + "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418609, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_acae7ae7d590403ab262abe804c62791", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003280850, + "created": 1680682418595, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By VAN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", + "disabled": false, + "id": "pair_50d86e928e9f448d97da8ada0390e12f" + } + ], + "headers": [ + { + "id": "pair_ed11c2a6df9248e292914df944e8ba93", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418595, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b9ac9f0d80294e3eaa05ae9fb32f32e0", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003354109, + "created": 1680682418581, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", + "disabled": false, + "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" + } + ], + "headers": [ + { + "id": "pair_71ae5e562e9c414a82e84220f3c00343", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418581, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0658b8a06160494584312e1dc4026b45", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003284715, + "created": 1680682418570, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By VAN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_2f4c445074514f92a4dee92554053d0a" + }, + { + "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418570, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3a767a05044c4b86bdee3a0b6853f0a4", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003286642, + "created": 1691408320970, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" + }, + { + "id": "pair_5dc1d703196747318faff9a8dd96be0c", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418560.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3d5f2115b14c46328187dd6c0efb7bc1", + "parentId": "fld_1ce7c08bd391458b8421355d96708d0b", + "modified": 1706003289343, + "created": 1689167429413, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Shell by aasIdentifier", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [ + { + "id": "pair_6266690c04fd466fa1617082f5b8ec76", + "name": "pageSize", + "value": "50", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418470, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c2f60e2a32e24b4facf54a98908dd26a", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991054859, + "created": 1680682418551, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.0.0 [Register Job]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418551, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_d4f8d7db05324567a88d79bf333f909c", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418562, + "created": 1680682418562, + "name": "IRS Test Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418562, + "_type": "request_group" + }, + { + "_id": "req_a05635fd71e84a618d5a1800c95cfcf1", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991058493, + "created": 1680682418539, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.0 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418539, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_71f4a739c7904464be77239e17ca64f5", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991063641, + "created": 1680682418524, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.1 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418524, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a61a662b06f94803aee1c2392af80bda", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991067797, + "created": 1680682418514, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418514, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a687b2f700844208b746b2b09d87b736", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991071709, + "created": 1680682418504, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418504, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0267b41afc4c45bbb18e008cc0e60c13", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991076696, + "created": 1695042901876, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418496, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9a0e2ee860b146cea1b2b1853f141a10", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991080833, + "created": 1680682418488, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.0 [Register Job with aspect SerialPart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418488, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_43f7ffbec5bb465eb8eed5e26dbb31cc", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991084713, + "created": 1680682418479, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418479, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b2c9a17a0d174f68bfdac12ab63e8384", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991088495, + "created": 1680682418469, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"BatteryPass\",\n\t\t\"MaterialForRecycling\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418469, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7f581bd9b693437b9e8a1b58f98e558e", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991094498, + "created": 1680682418460, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.3 [Register Job with aspect type Batch and CertificateOfDestruction]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"Batch\",\n\t\t\"CertificateOfDestruction\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418460, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1a349444aa2e464ab563e61bbd4aacf2", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991098918, + "created": 1680682418451, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.4 [Register Job with aspect SerialPart and AddressAspect]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"AddressAspect\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418451, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_79e13903f5a34c6f89e6a19691335b45", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991103182, + "created": 1680682418442, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.5 [Register Job with aspect PartAsPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418442, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e5fd25a041a94a99911475b1edc03652", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991107672, + "created": 1680682418432, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.6 [Register Job with upward direction]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418432, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f46a98b489554b528145895cd655ea89", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991113717, + "created": 1695192937155, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.7 [Register Job with aspect JustInSequencePart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418428, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ec357fa8a2a24f6b8c3b8488ffa89ad4", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991120609, + "created": 1695192971825, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.8 [Register Job with aspect TractionBatteryCode]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418426, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c256080d9ddf4ffda88298a4287b3605", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991125292, + "created": 1680682418424, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418424, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_800ff912fcfc49078f7c38169b5a7aa1", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991130711, + "created": 1680682418414, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418414, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_161c32b41e914e46887e089602d2e25f", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991137603, + "created": 1680682418401, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.5.0 [Register Job with all aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPartTypization\",\n\t\t\"AssemblyPartRelationship\",\n\t\t\"Batch\",\n\t\t\"ProductDescription\",\n\t\t\"IdConversion\",\n\t\t\"MarketplaceOffer\",\n\t\t\"MaterialForRecycling\",\n\t\t\"PhysicalDimension\",\n\t\t\"ReturnRequest\",\n\t\t\"CertificateOfDestruction\",\n\t\t\"CertificateOfDismantler\",\n\t\t\"EndOfLife\",\n\t\t\"EsrCertificate\",\n\t\t\"EsrCertificateStateStatistic\",\n\t\t\"ChargingProcess\",\n\t\t\"AddressAspect\",\n\t\t\"ClaimData\",\n\t\t\"BatteryPass\",\n\t\t\"DiagnosticData\",\n\t\t\"MaterialForHomologation\",\n\t\t\"PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418401, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7cab2e60214f445596a6563f1edf8f0c", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991145487, + "created": 1680682418392, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.6.0 [Register Job with BPN lookup]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418392, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a1d3ac7190c143678c04fe015bba94d4", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991149742, + "created": 1683184048412, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.7.0 [Register Job with invalid policy]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418386.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_26dc4bfbf4854b24acd3d7710732a26e", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991154342, + "created": 1693493383337, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.0 [Register Job with data integrity success]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418382.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5e3915096edd489babec923a5da57604", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991159838, + "created": 1693493584873, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.1 [Register Job with data integrity wrong hash]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2e8593050a3249d29cfbf96919db2ece", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991164094, + "created": 1693493594373, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.2 [Register Job with data integrity wrong signature]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.3438, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f398842586a742bb8766909c8829b9f6", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991168363, + "created": 1693493604521, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SerialPart\",\n\t\t\"SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2d2678c78fbd4572bf917270c0f505b7", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991173689, + "created": 1680682418381, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.0 [Search for completed Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "COMPLETED", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9ea75dc06cfe44f0b7d110ed41febc2f", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991177973, + "created": 1680682418372, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.1 [Search for Jobs in error state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418372, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ae4b12eafd044fa6890608bc303af687", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991182139, + "created": 1680682418358, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.2 [Search for Jobs in initial state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "INITIAL", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418358, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_26255fd22b634b3995aa028a1b3c0c43", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991186114, + "created": 1680682418348, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.3 [Search for all Jobs in JobStore]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418348, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0f6c2c6ccb704668a441e5aef89eaac6", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991190326, + "created": 1680682418339, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.1.0 [Search for running Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "RUNNING", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418339, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_12d5baa27e2d43a1bcd9749c15398d4b", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991196283, + "created": 1680682418325, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.0.0 [Search for given jobId with uncomplete]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418325, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8ab3ce9ce37845ccb7604e6026621081", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991200399, + "created": 1680682418316, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.1.0 [Search for given jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418316, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5bc74292403841e0a0caaf47e5705323", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991205447, + "created": 1680682418307, + "url": "{{IRS_HOST}}/irs/jobs/test", + "name": "3.1.1 [Search for invalid jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418307, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6473a4d69ab74a6085fff6dd311e1a30", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991214202, + "created": 1680682418297, + "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", + "name": "3.1.2 [Search for unknown jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418297, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_72fe5b24f75949e7aa01f4472097075c", + "parentId": "fld_d4f8d7db05324567a88d79bf333f909c", + "modified": 1702991218362, + "created": 1680682418280, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "6.0.0 [Cancel Job for given jobId]", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418280, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_29d7b3e9a6bb4026beea1b937a4ff7f5", + "parentId": "fld_4b8961ebc450406eb0ee363cc99d4742", + "modified": 1705942015684, + "created": 1682672699249, + "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", + "name": "Find BPN endpoints for manufacturer numbers", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630902023, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_4b8961ebc450406eb0ee363cc99d4742", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1683630931664, + "created": 1683630887514, + "name": "Discovery", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418417.5, + "_type": "request_group" + }, + { + "_id": "req_7009591610794ff3a6acebeff788cc22", + "parentId": "fld_4b8961ebc450406eb0ee363cc99d4742", + "modified": 1705942027574, + "created": 1683031718699, + "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", + "name": "Find BPN Discovery Endpoints of type BPN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901923, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_965d38688d3d488db7e4bae8f022aea7", + "parentId": "fld_4b8961ebc450406eb0ee363cc99d4742", + "modified": 1705942036978, + "created": 1683560906453, + "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", + "name": "Find EDC endpoints for BPNs", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "[\n\t\"BPNL00000001CRHK\"\n]" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901873, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1036ad8aff404c338c1b34590d2f5c14", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1705006665175, + "created": 1680682418265, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Register Job", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"SingleLevelBomAsBuilt\",\n\t\t\"SerialPart\",\n\t\t\"Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418265, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b83723e836624519b7414b1df0380116", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418273, + "created": 1680682418273, + "name": "IRS Basic API Calls", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418273, + "_type": "request_group" + }, + { + "_id": "req_d295b0819877445fa48bb10c779b024e", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1705942154792, + "created": 1680682418238, + "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", + "name": "Get registered Job", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418261, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_26e9061a971942e7bdbdefb666001946", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1702991288793, + "created": 1680682418257, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for all Jobs in JobStore", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418257, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bd5978eee1d04fe8bd59740510f0923d", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1702991284435, + "created": 1680682418247, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for Jobs for given state", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": true, + "id": "pair_c694b66f41e649db837f801b5699859e" + }, + { + "name": "jobStates", + "value": "CANCELED,COMPLETED", + "disabled": false, + "id": "pair_ab346623e5394504b7232cc40ae75bed" + }, + { + "id": "pair_ddbccd5219944e8cac3d99249ba881e5", + "name": "jobStates", + "value": "RUNNING", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418247, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bfeacc17a6e044fabfba15ff6c72e303", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1703236659047, + "created": 1690384427379, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Get Job for jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418238, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ff2cda30fbb4460288c84a3cf650896c", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1702991276045, + "created": 1680682418229, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Cancel Job for jobId", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418229, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_66ba113696264b78a6c5310273184b1b", + "parentId": "fld_b83723e836624519b7414b1df0380116", + "modified": 1702991272198, + "created": 1682498338739, + "url": "{{IRS_HOST}}/irs/aspectmodels", + "name": "Get all available Aspect Models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418179, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d54d9a4424ee4957a8b349dea9715ee6", + "parentId": "fld_4b79510114d546dbb678cd229f7789b9", + "modified": 1705942066941, + "created": 1680682418213, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", + "name": "Get all models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "pageSize", + "value": "100", + "disabled": false, + "id": "pair_96567b64925d4487bae4c74bfa9e021e" + }, + { + "id": "pair_2dae68db8a564296a5835e66d951331f", + "name": "status", + "value": "RELEASED", + "description": "" + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418213, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_4b79510114d546dbb678cd229f7789b9", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418222, + "created": 1680682418222, + "name": "Semantics Hub", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418222, + "_type": "request_group" + }, + { + "_id": "req_81377811f4244953ac068437b9060e10", + "parentId": "fld_4b79510114d546dbb678cd229f7789b9", + "modified": 1705942077015, + "created": 1680682418204, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", + "name": "Get SerialPartTypization", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418204, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0716a468d154e17982134afd29cc5d5", + "parentId": "fld_4b79510114d546dbb678cd229f7789b9", + "modified": 1705942085733, + "created": 1680682418192, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", + "name": "Get SerialPartTypization Json Schema", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418192, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5b303c2ca3984341a4151d6521eb499c", + "parentId": "fld_b5b8f7cfcc274a309acc226fee86fcb1", + "modified": 1705942100313, + "created": 1680682418174, + "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", + "name": "Get business partner by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "idType", + "value": "BPN", + "disabled": false + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.BPDM_CLIENT_ID }}", + "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418174, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b5b8f7cfcc274a309acc226fee86fcb1", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418184, + "created": 1680682418184, + "name": "Business partner data management", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418184, + "_type": "request_group" + }, + { + "_id": "req_6f34aa94c45b44709594b1bca9e38818", + "parentId": "fld_7cfb5375fab847a0908ce5e7caf278ac", + "modified": 1702991347797, + "created": 1680682418157, + "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", + "name": "Get Esr Statistics", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418158, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_7cfb5375fab847a0908ce5e7caf278ac", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418167, + "created": 1680682418167, + "name": "ESR Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418167, + "_type": "request_group" + }, + { + "_id": "req_4256d7144c904c48b5d06143ce64b76e", + "parentId": "fld_8592e58d5e1843c6a57381ade99fab71", + "modified": 1702991361578, + "created": 1680682418143, + "url": "{{IRS_HOST}}/ess/bpn/investigations", + "name": "Register Job Investigation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418143, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_8592e58d5e1843c6a57381ade99fab71", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418151, + "created": 1680682418151, + "name": "ESS Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418151, + "_type": "request_group" + }, + { + "_id": "req_d778f172dac9411e8ef9308f4e47f9b0", + "parentId": "fld_8592e58d5e1843c6a57381ade99fab71", + "modified": 1705942138125, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", + "name": "Get registered investigation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418138.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fedf8b63198f4d77aa4ea593b2e294d2", + "parentId": "fld_8592e58d5e1843c6a57381ade99fab71", + "modified": 1702991370481, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Search for investigation by jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418134, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f91b5c6dcf924e31a1af84ecb8254ec2", + "parentId": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "modified": 1702991381651, + "created": 1680682418118, + "url": "{{IRS_HOST}}/irs/orders", + "name": "Register Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"AssemblyPartRelationship\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418118, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1680682418128, + "created": 1680682418128, + "name": "Batch Processing", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418128, + "_type": "request_group" + }, + { + "_id": "req_92235b58ec8a44da81e767d06b6e4633", + "parentId": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "modified": 1702991390349, + "created": 1696342619602, + "url": "{{IRS_HOST}}/irs/ess/orders", + "name": "Register ESS Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418113.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3b64342f58eb47ba958e83b27726ddb6", + "parentId": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "modified": 1705006936944, + "created": 1705006139836, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Cancel order job for given orderId", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_88db8badf4ea4a0d9968c769167407c8" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418111.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_cb1012c1000d4b41b8f6894cbd24e044", + "parentId": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "modified": 1702991398473, + "created": 1680682418109, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Search for given orderId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418109, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_defc889a0ee14011b172a573ab655aa0", + "parentId": "fld_63e8883cb36c4bc5bc5f7ef328a0fdfe", + "modified": 1702991409664, + "created": 1680682418099, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", + "name": "Search for given orderId and batchId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418099, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b415b74e1e4d4342966fbf5de4a79f9e", + "parentId": "fld_5a3b5e4a46e543d1b9e95f4f81035a17", + "modified": 1690472186478, + "created": 1678358655308, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722939.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_5a3b5e4a46e543d1b9e95f4f81035a17", + "parentId": "fld_31bb17ac73a340ea93995fe1fa48e47a", + "modified": 1690362660167, + "created": 1690362660167, + "name": "Catalog", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1690362660167, + "_type": "request_group" + }, + { + "_id": "fld_31bb17ac73a340ea93995fe1fa48e47a", + "parentId": "fld_91ef19bcb20042be976aaf29a6e80517", + "modified": 1690363778601, + "created": 1675675609576, + "name": "EDC-Requests", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418078, + "_type": "request_group" + }, + { + "_id": "req_1dcbb5c5976f424bbcd4f9902f58f1e1", + "parentId": "fld_5a3b5e4a46e543d1b9e95f4f81035a17", + "modified": 1691500654267, + "created": 1685521485278, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with registry filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722889.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0f8a6a9377b6488b847e1e2b07333453", + "parentId": "fld_5a3b5e4a46e543d1b9e95f4f81035a17", + "modified": 1705940987109, + "created": 1691654388376, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with asset filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722789.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bf3680c2f8644f94b3bbaae5512ba828", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1691578280640, + "created": 1675675609557, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", + "name": "Start contract negotiation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511095, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b7118301ee954c218a0b7b28ef493aff", + "parentId": "fld_31bb17ac73a340ea93995fe1fa48e47a", + "modified": 1684146626847, + "created": 1684146519491, + "name": "Negotiation", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1679911060327.75, + "_type": "request_group" + }, + { + "_id": "req_bf97eddd42c94685b01ec41552ae1943", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1690362123962, + "created": 1675675609549, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", + "name": "Get contract negotiation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511045, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_791cc3305462455c96ab5e5286a5c19d", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1690362117725, + "created": 1685444139708, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", + "name": "Cancel contract negotation", + "description": "", + "method": "POST", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511020, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_89fd7fa1a9db4118a702aa06db4a0c48", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1690361721223, + "created": 1681911985730, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", + "name": "Get contract negotiations", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510995, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_73719cfd0bf9436083b2e8fc8dec207d", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1691578311420, + "created": 1675675609541, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", + "name": "Start transferprocess", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510945, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2d5c4f48173040fe877f75bb122241f0", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1691503370103, + "created": 1679993996270, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", + "name": "Get transferprocess by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510895, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_34851b9a4e2a476d97e12a521f333162", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1690361795179, + "created": 1675675609525, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", + "name": "Get transferprocesses", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510845, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3379be736ec7421b8184a3a97e1f97b7", + "parentId": "fld_b7118301ee954c218a0b7b28ef493aff", + "modified": 1690361763512, + "created": 1681910653593, + "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", + "name": "Get contract agreements", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510795, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9be9ba8510fc4cc58b804e244b3d2578", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362947546, + "created": 1681907482278, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", + "name": "Create Asset", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033461.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "parentId": "fld_31bb17ac73a340ea93995fe1fa48e47a", + "modified": 1705940929752, + "created": 1684146457388, + "name": "Provider", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1678852197613.5625, + "_type": "request_group" + }, + { + "_id": "req_364b19a6ef7748a08d9e9bcc7f37c39b", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362407763, + "created": 1685444139630, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Asset by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033452.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5aa04951c7f04c77a20ee53c3c46f064", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362438115, + "created": 1685444139625, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", + "name": "Get all Assets", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033447.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f08045197cd540a0a8345a28fb67e444", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362400081, + "created": 1685444139636, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Asset", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033433.625, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c14c05ad601c42f8b43e7b1fdb5f5908", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362581978, + "created": 1685444139641, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", + "name": "Create Policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033403.9375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f7c456432c574ad2a58d9978cd3cb4e7", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362549290, + "created": 1685444139647, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Policy by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033364.0938, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a1368a5545b34896aeaad49db9bdf441", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362591799, + "created": 1685444139653, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", + "name": "Get all Policies", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033344.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0de8ad3bf4814cb5a33018068257d382", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362559324, + "created": 1685444139659, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Policy by ID", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033299.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_862d1ebd25b047d0b780ed937d9dfd19", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690363080444, + "created": 1685444139665, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", + "name": "Create Contract Definitinion", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033261.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1b029137e2fb497994dd611376961682", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690362691392, + "created": 1685444139672, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Contract Definition by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033199.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e3df4e9843c240c5b2586f131185fd5d", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690363126919, + "created": 1685444139678, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", + "name": "Get all Contract Definitinions", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033174.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8587be05210d448f8aafbd3479aeeddc", + "parentId": "fld_0ba7abd072014dd49a9c4c4bb5b0ce89", + "modified": 1690363136216, + "created": 1685444139684, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Contract Definition", + "description": "", + "method": "DELETE", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033149.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "env_4161dfad2a143d9b5b04ad55ef46180b706186ca", + "parentId": "wrk_ca9b08d813264d90b6386f58ed14c80e", + "modified": 1709646966620, + "created": 1709646966620, + "name": "Base Environment", + "data": {}, + "dataPropertyOrder": null, + "color": null, + "isPrivate": false, + "metaSortKey": 1709646966620, + "_type": "environment" + }, + { + "_id": "jar_4161dfad2a143d9b5b04ad55ef46180b706186ca", + "parentId": "wrk_ca9b08d813264d90b6386f58ed14c80e", + "modified": 1709646966628, + "created": 1709646966628, + "name": "Default Jar", + "cookies": [], + "_type": "cookie_jar" + } + ] } \ No newline at end of file From f9a886bab2a34b4ed913b5d806d0cce1e5bc546c Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Tue, 12 Mar 2024 15:09:06 +0100 Subject: [PATCH 02/32] feat(irs-api):[#199] added test --- .../persistence/PolicyPersistence.java | 2 -- .../PolicyStoreControllerTest.java | 16 +++++++++++ .../persistence/PolicyPersistenceTest.java | 27 +++++++++++++++++++ .../services/PolicyStoreServiceTest.java | 16 +++++++++++ 4 files changed, 59 insertions(+), 2 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index 74bae5be3e..db5744402b 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -131,8 +131,6 @@ public List readAll(final String bpn) { public Map> readAll() { try { - - return policyStorePersistence.getAllBlobs().entrySet().stream().map(entry -> { try { return new AbstractMap.SimpleEntry<>(entry.getKey(), diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 66f1edf631..58b7713076 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -33,6 +33,7 @@ import java.time.OffsetDateTime; import java.util.Collections; import java.util.List; +import java.util.Map; import java.util.stream.Collectors; import jakarta.json.Json; @@ -143,6 +144,21 @@ void getPolicies() { policies.stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList())); } + @Test + void getAllPolicies() { + // arrange + final List policies = List.of( + new Policy("testId", OffsetDateTime.now(), OffsetDateTime.now(), createPermissions())); + when(service.getAllStoredPolicies()).thenReturn(Map.of("bpn", policies)); + + // act + final Map> returnedPolicies = testee.getAllPolicies(); + + // assert + assertThat(returnedPolicies.get("bpn")).isEqualTo( + policies.stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList())); + } + @Test void deleteAllowedPolicy() { // act diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java index 7264c7b3f6..8e5945cb3e 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java @@ -36,6 +36,7 @@ import java.time.OffsetDateTime; import java.util.List; +import java.util.Map; import java.util.Optional; import com.fasterxml.jackson.core.JsonProcessingException; @@ -79,6 +80,18 @@ void save() throws BlobPersistenceException { verify(mockPersistence).putBlob(anyString(), any()); } + @Test + void saveWithoutBpn() throws BlobPersistenceException { + // arrange + final var policy = new Policy("test", OffsetDateTime.now(), OffsetDateTime.now(), emptyList()); + + // act + testee.save(null, policy); + + // assert + verify(mockPersistence).putBlob(anyString(), any()); + } + @Test void saveDuplicate() throws BlobPersistenceException, JsonProcessingException { // arrange @@ -151,6 +164,20 @@ void readAll() throws BlobPersistenceException, JsonProcessingException { assertThat(readPolicies).hasSize(1); } + @Test + void whenReadAllShouldReturnCorrect() throws BlobPersistenceException, JsonProcessingException { + // arrange + final var policy = new Policy("test", OffsetDateTime.now(), OffsetDateTime.now(), emptyList()); + final var policies = List.of(policy); + when(mockPersistence.getAllBlobs()).thenReturn(Map.of("bpn1", mapper.writeValueAsBytes(policies))); + + // act + final var readPolicies = testee.readAll(); + + // assert + assertThat(readPolicies).hasSize(1); + } + @Test void readAllWithError() throws BlobPersistenceException, JsonProcessingException { // arrange diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 03edeeed12..4741fb3b4e 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -47,6 +47,7 @@ import org.eclipse.tractusx.irs.edc.client.policy.PolicyType; import org.eclipse.tractusx.irs.policystore.config.DefaultAcceptedPoliciesConfig; import org.eclipse.tractusx.irs.policystore.exceptions.PolicyStoreException; +import org.eclipse.tractusx.irs.policystore.models.UpdatePolicyRequest; import org.eclipse.tractusx.irs.policystore.persistence.PolicyPersistence; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -223,4 +224,19 @@ void whenRegisterPolicyWithMissingConstraintShouldThrowException() { assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, null)); } + + @Test + void whenUpdate() { + // arrange + final OffsetDateTime now = OffsetDateTime.now(clock); + when(persistence.readAll()).thenReturn(Map.of("bpn2", List.of(new Policy("testId", now, now.plusMinutes(1), emptyList())))); + when(persistence.readAll(any())).thenReturn(List.of(new Policy("testId", now, now.plusMinutes(1), emptyList()))); + + // act + testee.updatePolicy("testId", new UpdatePolicyRequest(OffsetDateTime.now(), List.of("bpn1"), List.of("policyId"))); + + // assert + verify(persistence).delete("bpn2", "testId"); + verify(persistence).save(eq(List.of("bpn1")), any()); + } } \ No newline at end of file From eba75409ee51fb78a239e02a047d103fbd99a93a Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Wed, 13 Mar 2024 11:34:12 +0100 Subject: [PATCH 03/32] feat(irs-api):[#199] added tests --- .../BlobPersistenceRuntimeException.java | 30 ------------ .../persistence/MinioBlobPersistenceTest.java | 48 +++++++++++++++++++ .../persistence/PolicyPersistence.java | 3 +- .../services/PolicyStoreServiceTest.java | 5 ++ 4 files changed, 54 insertions(+), 32 deletions(-) delete mode 100644 irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java deleted file mode 100644 index 9a30f25b51..0000000000 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistenceRuntimeException.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation - * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. - * - * This program and the accompanying materials are made available under the - * terms of the Apache License, Version 2.0 which is available at - * https://www.apache.org/licenses/LICENSE-2.0. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * SPDX-License-Identifier: Apache-2.0 - ********************************************************************************/ -package org.eclipse.tractusx.irs.common.persistence; - -/** - * Runtime Exception for everything related to BlobPersistence actions - */ -public class BlobPersistenceRuntimeException extends RuntimeException { - - public BlobPersistenceRuntimeException(final String message, final Throwable cause) { - super(message, cause); - } -} diff --git a/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java b/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java index e62a2ae9e6..39b9320d93 100644 --- a/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java +++ b/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java @@ -32,10 +32,18 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; import java.io.IOException; +import java.io.InputStream; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; import java.nio.charset.StandardCharsets; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; import java.util.Collection; import java.util.List; +import java.util.Map; import java.util.Optional; import java.util.stream.Stream; @@ -43,8 +51,16 @@ import io.minio.MinioClient; import io.minio.Result; import io.minio.errors.ErrorResponseException; +import io.minio.errors.InsufficientDataException; +import io.minio.errors.InternalException; +import io.minio.errors.InvalidResponseException; +import io.minio.errors.ServerException; +import io.minio.errors.XmlParserException; +import io.minio.messages.Contents; import io.minio.messages.ErrorResponse; import io.minio.messages.Item; +import lombok.AllArgsConstructor; +import okhttp3.Headers; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -217,4 +233,36 @@ void shouldNotFindBlobByPrefix() throws Exception { assertThat(blobsByPrefix).isEmpty(); } + @Test + void test() throws BlobPersistenceException, ServerException, InsufficientDataException, ErrorResponseException, + IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, + InternalException { + final String name = "test-name"; + when(client.listObjects(any())).thenReturn(List.of(new Result<>(new TestItem(name)))); + + final ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); + objectOutputStream.writeUTF(""); + InputStream inputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray()); + ObjectInputStream outputStream = new ObjectInputStream(inputStream); + + when(client.getObject(any())).thenReturn(new GetObjectResponse(null, null, null, null, outputStream)); + + // act + final Map allBlobs = testee.getAllBlobs(); + + // assert + assertThat(allBlobs.get(name)).isNotNull(); + } + + @AllArgsConstructor + static class TestItem extends Item { + + private final String name; + + @Override + public String objectName() { + return name; + } + } } \ No newline at end of file diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index db5744402b..9830f00825 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -38,7 +38,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import org.eclipse.tractusx.irs.common.persistence.BlobPersistence; import org.eclipse.tractusx.irs.common.persistence.BlobPersistenceException; -import org.eclipse.tractusx.irs.common.persistence.BlobPersistenceRuntimeException; import org.eclipse.tractusx.irs.edc.client.policy.Policy; import org.eclipse.tractusx.irs.policystore.exceptions.PolicyStoreException; import org.springframework.beans.factory.annotation.Qualifier; @@ -139,7 +138,7 @@ public Map> readAll() { throw new PolicyStoreException("Could not read the policies from the store", e); } }).collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); - } catch (BlobPersistenceException | BlobPersistenceRuntimeException e) { + } catch (BlobPersistenceException e) { throw new PolicyStoreException("Could not read the policies from the store", e); } } diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 4741fb3b4e..412b78d350 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -187,6 +187,11 @@ void deletePolicy() { verify(persistence).delete(BPN, "testId"); } + @Test + void shouldThrowException() { + + } + @Test void deletePolicyShouldThrowResponseStatusException() { // act From dcdd24e75911e3a6ec2ffc61b4fee08a44e19f5d Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Wed, 13 Mar 2024 13:57:56 +0100 Subject: [PATCH 04/32] feat(irs-api):[#199] test clean up --- .../irs/common/persistence/MinioBlobPersistenceTest.java | 2 +- .../irs/edc/client/policy/PolicyCheckerServiceTest.java | 5 ----- .../irs/policystore/services/PolicyStoreServiceTest.java | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java b/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java index 39b9320d93..c0bc89d951 100644 --- a/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java +++ b/irs-common/src/test/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistenceTest.java @@ -234,7 +234,7 @@ void shouldNotFindBlobByPrefix() throws Exception { } @Test - void test() throws BlobPersistenceException, ServerException, InsufficientDataException, ErrorResponseException, + void shouldReturnAllBlobs() throws BlobPersistenceException, ServerException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException { final String name = "test-name"; diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java index 8b2f020021..d3d5de037e 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerServiceTest.java @@ -53,11 +53,6 @@ class PolicyCheckerServiceTest { @BeforeEach void setUp() { - final var policyList = List.of( - new AcceptedPolicy(policy(TestConstants.ID_3_0_TRACE), OffsetDateTime.now().plusYears(1)), - new AcceptedPolicy(policy(TestConstants.FRAMEWORK_AGREEMENT_TRACEABILITY), - OffsetDateTime.now().plusYears(1))); -// when(policyStore.getAcceptedPolicies(List.of("bpn"))).thenReturn(policyList); policyCheckerService = new PolicyCheckerService(policyStore, new ConstraintCheckerService()); } diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 412b78d350..4741fb3b4e 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -187,11 +187,6 @@ void deletePolicy() { verify(persistence).delete(BPN, "testId"); } - @Test - void shouldThrowException() { - - } - @Test void deletePolicyShouldThrowResponseStatusException() { // act From 58a32125a7b0b4bf83279ad75233d50f38a86899 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 13 Mar 2024 18:21:16 +0100 Subject: [PATCH 05/32] feat(impl): [#199] Harden test and clean method signature 1) harden test PolicyStoreServiceTest#whenUpdate by asserting that the creation timestamp is not changed and that the validUntil timestamp is changed as expected 2) clean method signature by moving loop from controller to the service method --- .../controllers/PolicyStoreController.java | 4 +- .../services/PolicyStoreService.java | 36 ++++++++++------ .../PolicyStoreControllerTest.java | 2 +- .../services/PolicyStoreServiceTest.java | 42 ++++++++++++------- 4 files changed, 55 insertions(+), 29 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index a9a61d1fd7..d05691be6f 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -104,6 +104,7 @@ public class PolicyStoreController { ref = "#/components/examples/error-response-403")) }), }) + @PostMapping("/policies") @ResponseStatus(HttpStatus.CREATED) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") @@ -237,6 +238,7 @@ public void deleteAllowedPolicy(@PathVariable("policyId") final String policyId) @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public void updateAllowedPolicy(final @Valid @RequestBody UpdatePolicyRequest request) { - request.policiesIds().forEach(policyId -> service.updatePolicy(policyId, request)); + service.updatePolicies(request); } + } diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index 5c4118b46e..28cf9c107c 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -142,7 +142,13 @@ public void deletePolicy(final String policyId) { } - public void updatePolicy(final String policyId, final UpdatePolicyRequest request) { + public void updatePolicies(final UpdatePolicyRequest request) { + for (final String policyId : request.policiesIds()) { + updatePolicy(policyId, request.validUntil(), request.businessPartnerNumbers()); + } + } + + private void updatePolicy(final String policyId, final OffsetDateTime validUntil, final List bpns) { try { log.info("Updating policy with id {}", policyId); final List bpnsContainingPolicyId = getAllStoredPolicies().entrySet() @@ -156,18 +162,18 @@ public void updatePolicy(final String policyId, final UpdatePolicyRequest reques .toList(); final Policy policyToUpdate = getStoredPolicies(bpnsContainingPolicyId).stream() - .filter(policy -> policy.getPolicyId() - .equals(policyId)) - .findAny() - .orElseThrow( - () -> new PolicyStoreException( - "Policy with id '" - + policyId - + "' doesn't exists!")); - - policyToUpdate.update(request.validUntil()); + .filter(policy -> policy.getPolicyId() + .equals(policyId)) + .findAny() + .orElseThrow( + () -> new PolicyStoreException( + "Policy with id '" + + policyId + + "' doesn't exists!")); + + policyToUpdate.update(validUntil); bpnsContainingPolicyId.forEach(bpn -> persistence.delete(bpn, policyId)); - persistence.save(request.businessPartnerNumbers(), policyToUpdate); + persistence.save(bpns, policyToUpdate); } catch (final PolicyStoreException e) { throw new ResponseStatusException(HttpStatus.NOT_FOUND, e.getMessage(), e); } @@ -176,7 +182,11 @@ public void updatePolicy(final String policyId, final UpdatePolicyRequest reques @Override public List getAcceptedPolicies(final List bpns) { if (bpns == null) { - return getAllStoredPolicies().values().stream().flatMap(Collection::stream).map(this::toAcceptedPolicy).toList(); + return getAllStoredPolicies().values() + .stream() + .flatMap(Collection::stream) + .map(this::toAcceptedPolicy) + .toList(); } final ArrayList policies = new ArrayList<>(); diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 58b7713076..7992eac8ae 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -178,7 +178,7 @@ void updateAllowedPolicy() { testee.updateAllowedPolicy(request); // assert - verify(service).updatePolicy(policyId, request); + verify(service).updatePolicies(request); } private List createPermissions() { diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 4741fb3b4e..007e35dacb 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -205,38 +205,52 @@ void whenRegisterPolicyWithMissingPermissionsShouldThrowException() { // act // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, - null)); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, null)); } @Test void whenRegisterPolicyWithMissingConstraintShouldThrowException() { // arrange final Policy policy = Policy.builder() - .permissions(List.of( - Permission.builder().constraint(new Constraints(emptyList(), emptyList())).build(), - Permission.builder().build() - )) + .permissions(List.of(Permission.builder() + .constraint( + new Constraints(emptyList(), emptyList())) + .build(), Permission.builder().build())) .build(); // act // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, - null)); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, null)); } @Test void whenUpdate() { // arrange - final OffsetDateTime now = OffsetDateTime.now(clock); - when(persistence.readAll()).thenReturn(Map.of("bpn2", List.of(new Policy("testId", now, now.plusMinutes(1), emptyList())))); - when(persistence.readAll(any())).thenReturn(List.of(new Policy("testId", now, now.plusMinutes(1), emptyList()))); + final String policyId = "testId"; + + final String originalBpn = "bpn2"; + final String expectedBpn = "bpn1"; + + final OffsetDateTime createdOn = OffsetDateTime.now(clock).minusDays(10); + final OffsetDateTime originalValidUntil = createdOn.plusMinutes(1); + final OffsetDateTime expectedValidUntil = createdOn.plusDays(3); + + final List permissions = emptyList(); + + final Policy testPolicy = new Policy(policyId, createdOn, originalValidUntil, permissions); + when(persistence.readAll()).thenReturn(Map.of(originalBpn, List.of(testPolicy))); + when(persistence.readAll(originalBpn)).thenReturn( + List.of(new Policy(policyId, createdOn, originalValidUntil, permissions))); // act - testee.updatePolicy("testId", new UpdatePolicyRequest(OffsetDateTime.now(), List.of("bpn1"), List.of("policyId"))); + testee.updatePolicies(new UpdatePolicyRequest(expectedValidUntil, List.of(expectedBpn), List.of(policyId))); // assert - verify(persistence).delete("bpn2", "testId"); - verify(persistence).save(eq(List.of("bpn1")), any()); + verify(persistence).delete(originalBpn, policyId); + + final var policyCaptor = ArgumentCaptor.forClass(Policy.class); + verify(persistence).save(eq(List.of(expectedBpn)), policyCaptor.capture()); + assertThat(policyCaptor.getValue().getCreatedOn()).isEqualTo(createdOn); + assertThat(policyCaptor.getValue().getValidUntil()).isEqualTo(expectedValidUntil); } } \ No newline at end of file From 9340fb433700c0d2c44fcc0f3ba2e622c33e5364 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 13 Mar 2024 18:22:23 +0100 Subject: [PATCH 06/32] feat(impl): [#199] Fix warnings --- .../policystore/controllers/PolicyStoreControllerTest.java | 2 +- .../irs/policystore/services/PolicyStoreServiceTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 7992eac8ae..00358f2620 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -155,7 +155,7 @@ void getAllPolicies() { final Map> returnedPolicies = testee.getAllPolicies(); // assert - assertThat(returnedPolicies.get("bpn")).isEqualTo( + assertThat(returnedPolicies).containsEntry("bpn", policies.stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList())); } diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 007e35dacb..498f49afcf 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -119,8 +119,8 @@ void registerPolicyShouldThrowResponseStatusException() { doThrow(new PolicyStoreException("")).when(persistence).save(any(), any()); // assert - assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, - List.of(BPN))); + final List bpns = List.of(BPN); + assertThrows(ResponseStatusException.class, () -> testee.registerPolicy(policy, bpns)); } @Test From 05ec245997f904aebccea19d29d4df4db31c5ed5 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 13 Mar 2024 21:26:03 +0100 Subject: [PATCH 07/32] feat(impl): [#199] Deduplicate by extraction to findBpnsByPolicyId --- .../services/PolicyStoreService.java | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index 28cf9c107c..395a35f98b 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -34,6 +34,7 @@ import java.util.List; import java.util.Map; import java.util.TreeSet; +import java.util.function.Predicate; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.edc.client.policy.AcceptedPoliciesProvider; @@ -124,15 +125,7 @@ public Map> getAllStoredPolicies() { public void deletePolicy(final String policyId) { try { log.info("Getting all policies to find correct bpn number"); - final List bpnsContainingPolicyId = getAllStoredPolicies().entrySet() - .stream() - .filter(entry -> entry.getValue() - .stream() - .anyMatch( - policy -> policy.getPolicyId() - .equals(policyId))) - .map(Map.Entry::getKey) - .toList(); + final List bpnsContainingPolicyId = findBpnsByPolicyId(policyId); log.info("Deleting policy with id {}", policyId); bpnsContainingPolicyId.forEach(bpn -> persistence.delete(bpn, policyId)); @@ -151,15 +144,7 @@ public void updatePolicies(final UpdatePolicyRequest request) { private void updatePolicy(final String policyId, final OffsetDateTime validUntil, final List bpns) { try { log.info("Updating policy with id {}", policyId); - final List bpnsContainingPolicyId = getAllStoredPolicies().entrySet() - .stream() - .filter(entry -> entry.getValue() - .stream() - .anyMatch( - policy -> policy.getPolicyId() - .equals(policyId))) - .map(Map.Entry::getKey) - .toList(); + final List bpnsContainingPolicyId = findBpnsByPolicyId(policyId); final Policy policyToUpdate = getStoredPolicies(bpnsContainingPolicyId).stream() .filter(policy -> policy.getPolicyId() @@ -179,6 +164,18 @@ private void updatePolicy(final String policyId, final OffsetDateTime validUntil } } + private List findBpnsByPolicyId(final String policyId) { + return findBpnsByPolicyId(getAllStoredPolicies(), policyId); + } + + private static List findBpnsByPolicyId(final Map> policyMap, final String policyId) { + return policyMap.entrySet().stream().filter(byPolicyId(policyId)).map(Map.Entry::getKey).toList(); + } + + private static Predicate>> byPolicyId(final String policyId) { + return entry -> entry.getValue().stream().anyMatch(policy -> policy.getPolicyId().equals(policyId)); + } + @Override public List getAcceptedPolicies(final List bpns) { if (bpns == null) { From 038b85aa3c2450ca8e81f6763212e951807e0692 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 13 Mar 2024 22:29:45 +0100 Subject: [PATCH 08/32] feat(impl): [#199] Avoid too many methods by extraction to helper class inlcuding test for helper class --- .../policystore/services/PolicyHelper.java | 48 +++++++++++++++++ .../services/PolicyStoreService.java | 25 +++------ .../services/PolicyHelperTest.java | 53 +++++++++++++++++++ 3 files changed, 109 insertions(+), 17 deletions(-) create mode 100644 irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelper.java create mode 100644 irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelperTest.java diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelper.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelper.java new file mode 100644 index 0000000000..98fa17fecf --- /dev/null +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelper.java @@ -0,0 +1,48 @@ +/******************************************************************************** + * Copyright (c) 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ +package org.eclipse.tractusx.irs.policystore.services; + +import java.util.List; +import java.util.Map; +import java.util.function.Predicate; + +import org.eclipse.tractusx.irs.edc.client.policy.Policy; + +/** + * Helper methods for policies. + */ +public final class PolicyHelper { + + private PolicyHelper() { + } + + public static List findBpnsByPolicyId(final Map> policyMap, final String policyId) { + return policyMap.entrySet().stream().filter(mapEntriesByPolicyId(policyId)).map(Map.Entry::getKey).toList(); + } + + private static Predicate>> mapEntriesByPolicyId(final String policyId) { + return entry -> entry.getValue().stream().anyMatch(havingPolicyId(policyId)); + } + + public static Predicate havingPolicyId(final String policyId) { + return policy -> policy.getPolicyId().equals(policyId); + } + +} diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index 395a35f98b..d4afeb5537 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -34,7 +34,6 @@ import java.util.List; import java.util.Map; import java.util.TreeSet; -import java.util.function.Predicate; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.edc.client.policy.AcceptedPoliciesProvider; @@ -91,10 +90,12 @@ public void registerPolicy(final Policy policy, final List businessPartn * @param policy policy to register */ private void validatePolicy(final Policy policy) { + if (policy.getPermissions() == null) { throw new ResponseStatusException(HttpStatus.BAD_REQUEST, String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:permission")); } + if (policy.getPermissions().stream().anyMatch(p -> p.getConstraint() == null)) { throw new ResponseStatusException(HttpStatus.BAD_REQUEST, String.format(MISSING_REQUEST_FIELD_MESSAGE, "odrl:constraint")); @@ -125,7 +126,8 @@ public Map> getAllStoredPolicies() { public void deletePolicy(final String policyId) { try { log.info("Getting all policies to find correct bpn number"); - final List bpnsContainingPolicyId = findBpnsByPolicyId(policyId); + final List bpnsContainingPolicyId = PolicyHelper.findBpnsByPolicyId(getAllStoredPolicies(), + policyId); log.info("Deleting policy with id {}", policyId); bpnsContainingPolicyId.forEach(bpn -> persistence.delete(bpn, policyId)); @@ -144,11 +146,12 @@ public void updatePolicies(final UpdatePolicyRequest request) { private void updatePolicy(final String policyId, final OffsetDateTime validUntil, final List bpns) { try { log.info("Updating policy with id {}", policyId); - final List bpnsContainingPolicyId = findBpnsByPolicyId(policyId); + final List bpnsContainingPolicyId = PolicyHelper.findBpnsByPolicyId(getAllStoredPolicies(), + policyId); final Policy policyToUpdate = getStoredPolicies(bpnsContainingPolicyId).stream() - .filter(policy -> policy.getPolicyId() - .equals(policyId)) + .filter(PolicyHelper.havingPolicyId( + policyId)) .findAny() .orElseThrow( () -> new PolicyStoreException( @@ -164,18 +167,6 @@ private void updatePolicy(final String policyId, final OffsetDateTime validUntil } } - private List findBpnsByPolicyId(final String policyId) { - return findBpnsByPolicyId(getAllStoredPolicies(), policyId); - } - - private static List findBpnsByPolicyId(final Map> policyMap, final String policyId) { - return policyMap.entrySet().stream().filter(byPolicyId(policyId)).map(Map.Entry::getKey).toList(); - } - - private static Predicate>> byPolicyId(final String policyId) { - return entry -> entry.getValue().stream().anyMatch(policy -> policy.getPolicyId().equals(policyId)); - } - @Override public List getAcceptedPolicies(final List bpns) { if (bpns == null) { diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelperTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelperTest.java new file mode 100644 index 0000000000..1362d7a7bb --- /dev/null +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyHelperTest.java @@ -0,0 +1,53 @@ +/******************************************************************************** + * Copyright (c) 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ +package org.eclipse.tractusx.irs.policystore.services; + +import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; + +import java.util.HashMap; +import java.util.List; + +import org.eclipse.tractusx.irs.edc.client.policy.Policy; +import org.junit.jupiter.api.Test; + +class PolicyHelperTest { + + @Test + void shouldFilterMapByPolicyId() { + + // ARRANGE + final HashMap> policyMap = new HashMap<>(); + final String policyIdToFind = "policyIdToFind"; + policyMap.put("BPN1", List.of(Policy.builder().policyId(policyIdToFind).build(), + Policy.builder().policyId("policy1").build())); + policyMap.put("BPN2", List.of(Policy.builder().policyId("policy2").build(), + Policy.builder().policyId(policyIdToFind).build())); + policyMap.put("BPN3", + List.of(Policy.builder().policyId("policy3").build(), Policy.builder().policyId("policy4").build())); + policyMap.put("BPN4", List.of(Policy.builder().policyId(policyIdToFind).build())); + + // ACT + final List result = PolicyHelper.findBpnsByPolicyId(policyMap, policyIdToFind); + + // ASSERT + assertThat(result).containsExactlyInAnyOrder("BPN1", "BPN2", "BPN4"); + } + +} From c999b0a0557cea15d447ca714df0537710ca4d3b Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 13 Mar 2024 23:43:50 +0100 Subject: [PATCH 09/32] feat(impl): [#199] Add tests - updatePolicies_shouldAddPolicyToEachBpn - updatePolicies_shouldAddBpnsToEachPolicy --- .../services/PolicyStoreServiceTest.java | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 498f49afcf..f0f3f9ba78 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -29,6 +29,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.doThrow; +import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -253,4 +254,87 @@ void whenUpdate() { assertThat(policyCaptor.getValue().getCreatedOn()).isEqualTo(createdOn); assertThat(policyCaptor.getValue().getValidUntil()).isEqualTo(expectedValidUntil); } + + @SuppressWarnings("unchecked") + @Test + void updatePolicies_shouldAddPolicyToEachBpn() { + + // ARRANGE + final String policyId = "testId"; + + final OffsetDateTime createdOn = OffsetDateTime.now(clock).minusDays(10); + final OffsetDateTime validUntil = createdOn.plusDays(14); + + final List permissions = emptyList(); + + // BPN1 without any policies + + // BPN2 with testPolicy + final Policy testPolicy = new Policy(policyId, createdOn, validUntil, permissions); + when(persistence.readAll()).thenReturn(Map.of("bpn2", List.of(testPolicy))); + when(persistence.readAll("bpn2")).thenReturn(List.of(testPolicy)); + + // ACT + testee.updatePolicies(new UpdatePolicyRequest(validUntil, List.of("bpn1", "bpn2"), List.of(policyId))); + + // ASSERT + verify(persistence).delete("bpn2", policyId); + + final var bpnsCaptor = ArgumentCaptor.forClass(List.class); + final var policyCaptor = ArgumentCaptor.forClass(Policy.class); + verify(persistence).save(bpnsCaptor.capture(), policyCaptor.capture()); + + // policy added to each BPN + assertThat(policyCaptor.getValue().getPolicyId()).isEqualTo(policyId); + assertThat(bpnsCaptor.getValue()).containsAll(List.of("bpn1", "bpn2")); + } + + @SuppressWarnings("unchecked") + @Test + void updatePolicies_shouldAddBpnsToEachPolicy() { + + // ARRANGE + final String policyId1 = "testId1"; + final String policyId2 = "testId2"; + + final String bpn1 = "bpn1"; + final String bpn2 = "bpn2"; + + final OffsetDateTime createdOn = OffsetDateTime.now(clock).minusDays(10); + final OffsetDateTime originalValidUntil = createdOn.plusMinutes(1); + + final List permissions = emptyList(); + + final Policy testPolicy1 = new Policy(policyId1, createdOn, originalValidUntil, permissions); + final Policy testPolicy2 = new Policy(policyId2, createdOn, originalValidUntil, permissions); + + // BPN1 without any policies + + // BPN2 with testPolicy1 and testPolicy2 + when(persistence.readAll()).thenReturn(Map.of(bpn2, List.of(testPolicy1, testPolicy2))); + when(persistence.readAll(bpn2)).thenReturn( + List.of(new Policy(policyId1, createdOn, originalValidUntil, permissions), + new Policy(policyId2, createdOn, originalValidUntil, permissions))); + + // ACT + testee.updatePolicies( + new UpdatePolicyRequest(originalValidUntil, List.of(bpn1, bpn2), List.of(policyId1, policyId2))); + + // ASSERT + verify(persistence).delete(bpn2, policyId1); + verify(persistence).delete(bpn2, policyId2); + + final var bpnsCaptor = ArgumentCaptor.forClass(List.class); + final var policyCaptor = ArgumentCaptor.forClass(Policy.class); + verify(persistence, times(2)).save(bpnsCaptor.capture(), policyCaptor.capture()); + + // each BPNs added to policy 1 + assertThat(policyCaptor.getAllValues().get(0).getPolicyId()).isEqualTo(policyId1); + assertThat(bpnsCaptor.getAllValues().get(0)).containsAll(List.of("bpn1", "bpn2")); + + // each BPNs added to policy 2 + assertThat(bpnsCaptor.getAllValues().get(1)).containsAll(List.of("bpn1", "bpn2")); + assertThat(policyCaptor.getAllValues().get(1).getPolicyId()).isEqualTo(policyId2); + } + } \ No newline at end of file From 6a32fde9f6466eeeff6bb20ece5bc88f62431281 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Thu, 14 Mar 2024 13:29:26 +0100 Subject: [PATCH 10/32] feat(irs-api):[#199] corrections after review --- docs/src/api/irs-api.yaml | 67 +++++++++++++++---- .../common/persistence/BlobPersistence.java | 3 + .../controllers/PolicyStoreController.java | 11 +-- .../PolicyStoreControllerTest.java | 2 +- 4 files changed, 65 insertions(+), 18 deletions(-) diff --git a/docs/src/api/irs-api.yaml b/docs/src/api/irs-api.yaml index fb2f1d528f..2950cd5111 100644 --- a/docs/src/api/irs-api.yaml +++ b/docs/src/api/irs-api.yaml @@ -797,7 +797,15 @@ paths: /irs/policies: get: description: Lists the registered policies that should be accepted in EDC negotiation. - operationId: getAllowedPolicies + operationId: getAllowedPoliciesByBpn + parameters: + - name: bpns + in: query + required: true + schema: + type: array + items: + type: string responses: "200": content: @@ -826,7 +834,7 @@ paths: $ref: '#/components/schemas/ErrorResponse' description: Authorization refused by server. security: - - api_key: [] + - api_key: [ ] summary: Lists the registered policies that should be accepted in EDC negotiation. tags: - Item Relationship Service @@ -963,18 +971,10 @@ paths: summary: Removes a policy that should no longer be accepted in EDC negotiation. tags: - Item Relationship Service - /irs/policies/{bpns}: + /irs/policies/all: get: description: Lists the registered policies that should be accepted in EDC negotiation. - operationId: getAllowedPoliciesByBpn - parameters: - - name: bpns - in: path - required: true - schema: - type: array - items: - type: string + operationId: getAllowedPolicies responses: "200": content: @@ -1007,6 +1007,49 @@ paths: summary: Lists the registered policies that should be accepted in EDC negotiation. tags: - Item Relationship Service +# get: +# description: Lists the registered policies that should be accepted in EDC negotiation. +# operationId: getAllowedPoliciesByBpn +# parameters: +# - name: bpns +# in: path +# required: true +# schema: +# type: array +# items: +# type: string +# responses: +# "200": +# content: +# application/json: +# schema: +# type: array +# items: +# $ref: '#/components/schemas/Policy' +# description: Returns the policies. +# "401": +# content: +# application/json: +# examples: +# error: +# $ref: '#/components/examples/error-response-401' +# schema: +# $ref: '#/components/schemas/ErrorResponse' +# description: No valid authentication credentials. +# "403": +# content: +# application/json: +# examples: +# error: +# $ref: '#/components/examples/error-response-403' +# schema: +# $ref: '#/components/schemas/ErrorResponse' +# description: Authorization refused by server. +# security: +# - api_key: [ ] +# summary: Lists the registered policies that should be accepted in EDC negotiation. +# tags: +# - Item Relationship Service components: examples: canceled-job-response: diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java index 03e2256ff5..d334dab798 100644 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java @@ -40,6 +40,9 @@ public interface BlobPersistence { Optional getBlob(String sourceBlobName) throws BlobPersistenceException; + /** + * @return Map of bpn to matching blobs + */ Map getAllBlobs() throws BlobPersistenceException; Collection findBlobByPrefix(String prefix) throws BlobPersistenceException; diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index d05691be6f..080e38ea88 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -28,7 +28,6 @@ import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; import java.util.AbstractMap; -import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.Collectors; @@ -42,6 +41,7 @@ import io.swagger.v3.oas.annotations.responses.ApiResponses; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.common.auth.IrsRoles; @@ -61,6 +61,7 @@ import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseStatus; import org.springframework.web.bind.annotation.RestController; @@ -137,11 +138,11 @@ public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request ref = "#/components/examples/error-response-403")) }), }) - @GetMapping("/policies/{bpns}") + @GetMapping("/policies") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public List getPolicies(@PathVariable final String[] bpns) { - return service.getStoredPolicies(Arrays.stream(bpns).toList()) + public List getPolicies(@RequestParam @NotNull final List bpns) { + return service.getStoredPolicies(bpns) .stream() .map(PolicyResponse::fromPolicy) .toList(); @@ -168,7 +169,7 @@ public List getPolicies(@PathVariable final String[] bpns) { ref = "#/components/examples/error-response-403")) }), }) - @GetMapping("/policies") + @GetMapping("/policies/all") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public Map> getAllPolicies() { diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 00358f2620..7045d0c525 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -137,7 +137,7 @@ void getPolicies() { when(service.getStoredPolicies(List.of("bpn1"))).thenReturn(policies); // act - final List returnedPolicies = testee.getPolicies(new String[]{"bpn1"}); + final List returnedPolicies = testee.getPolicies(List.of("bpn1")); // assert assertThat(returnedPolicies).isEqualTo( From eea278b69d8aab4a03c0b97250c9b2bcde39b3c0 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Thu, 14 Mar 2024 13:52:29 +0100 Subject: [PATCH 11/32] feat(irs-api):[#199] corrections after review --- .../configuration/RegistryConfiguration.java | 4 +++- .../client/policy/PolicyCheckerService.java | 3 ++- .../controllers/PolicyStoreController.java | 20 ++++++++++--------- .../persistence/PolicyPersistence.java | 19 ++++++------------ .../services/PolicyStoreService.java | 3 ++- .../PolicyStoreControllerTest.java | 2 +- .../persistence/PolicyPersistenceTest.java | 2 +- .../registryclient/DefaultConfiguration.java | 3 ++- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java index 6806ee968e..08a7034999 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java @@ -49,6 +49,8 @@ @Configuration public class RegistryConfiguration { + private static final String DEFAULT = "default"; + @Bean @ConditionalOnProperty(prefix = "digitalTwinRegistry", name = "type", havingValue = "central") public CentralDigitalTwinRegistryService centralDigitalTwinRegistryService(final DigitalTwinRegistryClient client) { @@ -75,7 +77,7 @@ public DecentralDigitalTwinRegistryService decentralDigitalTwinRegistryService( return new DecentralDigitalTwinRegistryService(connectorEndpointsService, new EndpointDataForConnectorsService((edcConnectorEndpoint, assetType, assetValue) -> { try { - return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, null); + return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, DEFAULT); } catch (EdcClientException e) { throw new EdcRetrieverException(e); } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java index 8461976b8e..6c5c3be9b7 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java @@ -42,6 +42,7 @@ public class PolicyCheckerService { private final AcceptedPoliciesProvider policyStore; private final ConstraintCheckerService constraintCheckerService; + private static final String DEFAULT = "default"; public boolean isValid(final Policy policy, final String bpn) { return policy.getPermissions().stream().allMatch(permission -> isValid(permission, getValidStoredPolicies(bpn))); @@ -54,7 +55,7 @@ private boolean isValid(final Permission permission, final List } private List getValidStoredPolicies(final String bpn) { - return policyStore.getAcceptedPolicies(bpn == null ? null : List.of(bpn)) + return policyStore.getAcceptedPolicies(bpn == null ? List.of(DEFAULT) : List.of(bpn)) .stream() .filter(p -> p.validUntil().isAfter(OffsetDateTime.now())) .toList(); diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 080e38ea88..86c12b77f5 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -80,6 +80,7 @@ public class PolicyStoreController { private final PolicyStoreService service; private final EdcTransformer edcTransformer; + private static final String DEFAULT = "default"; @Operation(operationId = "registerAllowedPolicy", summary = "Register a policy that should be accepted in EDC negotiation.", @@ -110,11 +111,15 @@ public class PolicyStoreController { @ResponseStatus(HttpStatus.CREATED) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request) { - request.payload().stream().map(payload -> { - final Policy policy = edcTransformer.transformToPolicy(payload); - policy.setValidUntil(request.validUntil()); - return policy; - }).forEach(policy -> service.registerPolicy(policy, request.businessPartnerNumbers())); + request.payload() + .stream() + .map(payload -> { + final Policy policy = edcTransformer.transformToPolicy(payload); + policy.setValidUntil(request.validUntil()); + return policy; + }) + .forEach(policy -> service.registerPolicy(policy, + request.businessPartnerNumbers() == null ? List.of(DEFAULT) : request.businessPartnerNumbers())); } @Operation(operationId = "getAllowedPoliciesByBpn", @@ -142,10 +147,7 @@ public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public List getPolicies(@RequestParam @NotNull final List bpns) { - return service.getStoredPolicies(bpns) - .stream() - .map(PolicyResponse::fromPolicy) - .toList(); + return service.getStoredPolicies(bpns).stream().map(PolicyResponse::fromPolicy).toList(); } @Operation(operationId = "getAllowedPolicies", diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index 9830f00825..130f0bdcec 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -69,21 +69,14 @@ public PolicyPersistence(@Qualifier(POLICY_BLOB_PERSISTENCE) final BlobPersisten } public void save(final List bpns, final Policy policy) { - if (bpns == null) { - final List policies = readAll(BlobPersistence.DEFAULT_BLOB_NAME); + final Map> storedBpnToPolicies = bpns.stream() + .collect(Collectors.toMap(bpn -> bpn, + this::readAll)); + storedBpnToPolicies.forEach((bpn, policies) -> { checkIfPolicyAlreadyExists(policy, policies); policies.add(policy); - save(BlobPersistence.DEFAULT_BLOB_NAME, policies); - } else { - final Map> storedBpnToPolicies = bpns.stream() - .collect(Collectors.toMap(bpn -> bpn, - this::readAll)); - storedBpnToPolicies.forEach((bpn, policies) -> { - checkIfPolicyAlreadyExists(policy, policies); - policies.add(policy); - save(bpn, policies); - }); - } + save(bpn, policies); + }); } private static void checkIfPolicyAlreadyExists(final Policy policy, final List policies) { diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index d4afeb5537..170e641174 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -65,6 +65,7 @@ public class PolicyStoreService implements AcceptedPoliciesProvider { private final PolicyPersistence persistence; private final Clock clock; private static final String MISSING_REQUEST_FIELD_MESSAGE = "Request does not contain all required fields. Missing: %s"; + private static final String DEFAULT = "default"; public PolicyStoreService(final DefaultAcceptedPoliciesConfig defaultAcceptedPoliciesConfig, final PolicyPersistence persistence, final Clock clock) { @@ -139,7 +140,7 @@ public void deletePolicy(final String policyId) { public void updatePolicies(final UpdatePolicyRequest request) { for (final String policyId : request.policiesIds()) { - updatePolicy(policyId, request.validUntil(), request.businessPartnerNumbers()); + updatePolicy(policyId, request.validUntil(), request.businessPartnerNumbers() == null ? List.of(DEFAULT) : request.businessPartnerNumbers()); } } diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 7045d0c525..6c0afc1d73 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -126,7 +126,7 @@ void registerAllowedPolicy() { new CreatePolicyRequest(now.plusMinutes(1), null, List.of(jsonObject.get("payload").asJsonObject()))); // assert - verify(service).registerPolicy(any(), eq(null)); + verify(service).registerPolicy(any(), eq(List.of("default"))); } @Test diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java index 8e5945cb3e..c29eea59e4 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java @@ -86,7 +86,7 @@ void saveWithoutBpn() throws BlobPersistenceException { final var policy = new Policy("test", OffsetDateTime.now(), OffsetDateTime.now(), emptyList()); // act - testee.save(null, policy); + testee.save(List.of("default"), policy); // assert verify(mockPersistence).putBlob(anyString(), any()); diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java index db086fd33e..744c9c4686 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java @@ -72,6 +72,7 @@ public class DefaultConfiguration { private static final String CONFIG_VALUE_DECENTRAL = "decentral"; private static final String CONFIG_VALUE_CENTRAL = "central"; private static final int POOL_SIZE = 20; + private static final String DEFAULT = "default"; @Bean @ConditionalOnProperty(prefix = CONFIG_PREFIX, name = CONFIG_FIELD_TYPE, havingValue = CONFIG_VALUE_CENTRAL) @@ -117,7 +118,7 @@ public ConnectorEndpointsService connectorEndpointsService(final DiscoveryFinder public EndpointDataForConnectorsService endpointDataForConnectorsService(final EdcSubmodelFacade facade) { return new EndpointDataForConnectorsService((edcConnectorEndpoint, assetType, assetValue) -> { try { - return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, null); + return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, DEFAULT); } catch (EdcClientException e) { throw new EdcRetrieverException(e); } From 29b7560a097fa9ba5e5aec8b09613d0bdddfc184 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Thu, 14 Mar 2024 14:17:04 +0100 Subject: [PATCH 12/32] feat(irs-api):[#199] added test --- .../services/PolicyStoreServiceTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index f0f3f9ba78..53cd9ba62a 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -24,6 +24,7 @@ package org.eclipse.tractusx.irs.policystore.services; import static java.util.Collections.emptyList; +import static java.util.Collections.emptyMap; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; @@ -337,4 +338,16 @@ void updatePolicies_shouldAddBpnsToEachPolicy() { assertThat(policyCaptor.getAllValues().get(1).getPolicyId()).isEqualTo(policyId2); } + @Test + void shouldReturnDefaultPolicyWhenBpnIsEmpty() { + // arrange + when(persistence.readAll()).thenReturn(emptyMap()); + + // act + final var acceptedPolicies = testee.getAcceptedPolicies(null); + + // assert + assertThat(acceptedPolicies.get(0).policy().getPolicyId()).isEqualTo("default-policy"); + } + } \ No newline at end of file From a2f32d9bcababfa3ffbee9b79791a3f71777ef8e Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Mon, 18 Mar 2024 08:41:44 +0100 Subject: [PATCH 13/32] feat(irs-api):[#199] corrections after review --- .../irs/common/persistence/BlobPersistence.java | 3 --- .../common/persistence/MinioBlobPersistence.java | 3 +++ .../client/policy/AcceptedPoliciesProvider.java | 4 ++-- .../edc/client/policy/PolicyCheckerService.java | 3 +-- .../irs/edc/client/SubmodelFacadeWiremockTest.java | 14 +++++++------- .../policy/AcceptedPoliciesProviderTest.java | 8 ++++---- .../policystore/persistence/PolicyPersistence.java | 8 +++++++- .../policystore/services/PolicyStoreService.java | 8 ++++---- .../services/PolicyStoreServiceTest.java | 11 +++++++++++ 9 files changed, 39 insertions(+), 23 deletions(-) diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java index d334dab798..03e2256ff5 100644 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/BlobPersistence.java @@ -40,9 +40,6 @@ public interface BlobPersistence { Optional getBlob(String sourceBlobName) throws BlobPersistenceException; - /** - * @return Map of bpn to matching blobs - */ Map getAllBlobs() throws BlobPersistenceException; Collection findBlobByPrefix(String prefix) throws BlobPersistenceException; diff --git a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java index 8ed7f9490b..d05906cf32 100644 --- a/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java +++ b/irs-common/src/main/java/org/eclipse/tractusx/irs/common/persistence/MinioBlobPersistence.java @@ -173,6 +173,9 @@ public Optional getBlob(final String sourceBlobName) throws BlobPersiste } } + /** + * @return Map of bpn to matching blobs + */ @Override public Map getAllBlobs() throws BlobPersistenceException { final Iterable> items = getItems(); diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java index 263848689e..c33707d3ba 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProvider.java @@ -33,7 +33,7 @@ * Provides policies to be accepted during EDC negotiation */ public interface AcceptedPoliciesProvider { - List getAcceptedPolicies(List bpns); + List getAcceptedPolicies(String bpn); /** * Default provider if no other beans are loaded. @@ -46,7 +46,7 @@ class DefaultAcceptedPoliciesProvider implements AcceptedPoliciesProvider { private final List acceptedPolicies = new ArrayList<>(); @Override - public List getAcceptedPolicies(final List bpns) { + public List getAcceptedPolicies(final String bpn) { return List.copyOf(acceptedPolicies); } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java index 6c5c3be9b7..062bdafad8 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/policy/PolicyCheckerService.java @@ -42,7 +42,6 @@ public class PolicyCheckerService { private final AcceptedPoliciesProvider policyStore; private final ConstraintCheckerService constraintCheckerService; - private static final String DEFAULT = "default"; public boolean isValid(final Policy policy, final String bpn) { return policy.getPermissions().stream().allMatch(permission -> isValid(permission, getValidStoredPolicies(bpn))); @@ -55,7 +54,7 @@ private boolean isValid(final Permission permission, final List } private List getValidStoredPolicies(final String bpn) { - return policyStore.getAcceptedPolicies(bpn == null ? List.of(DEFAULT) : List.of(bpn)) + return policyStore.getAcceptedPolicies(bpn) .stream() .filter(p -> p.validUntil().isAfter(OffsetDateTime.now())) .toList(); diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java index b798c517b2..a7fafce3b5 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/SubmodelFacadeWiremockTest.java @@ -132,7 +132,7 @@ void configureSystemUnderTest(WireMockRuntimeInfo wireMockRuntimeInfo) { storage); acceptedPoliciesProvider = mock(AcceptedPoliciesProvider.class); - when(acceptedPoliciesProvider.getAcceptedPolicies(List.of("BPN"))).thenReturn(List.of(new AcceptedPolicy(policy("IRS Policy", + when(acceptedPoliciesProvider.getAcceptedPolicies("BPN")).thenReturn(List.of(new AcceptedPolicy(policy("IRS Policy", List.of(new Permission(PolicyType.USE, new Constraints( List.of(new Constraint("Membership", new Operator(OperatorType.EQ), "active"), new Constraint("FrameworkAgreement.traceability", new Operator(OperatorType.EQ), @@ -162,7 +162,7 @@ void shouldReturnAssemblyPartRelationshipAsString() new Constraints(andConstraints, orConstraints)); final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq("bpn"))).thenReturn(List.of(acceptedPolicy)); // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, @@ -187,7 +187,7 @@ void shouldReturnMaterialForRecyclingAsString() new Constraints(andConstraints, orConstraints)); final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq("bpn"))).thenReturn(List.of(acceptedPolicy)); // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, @@ -211,7 +211,7 @@ void shouldReturnObjectAsStringWhenResponseNotJSON() new Constraints(andConstraints, orConstraints)); final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq("bpn"))).thenReturn(List.of(acceptedPolicy)); // Act final String submodel = edcSubmodelClient.getSubmodelPayload(CONNECTOR_ENDPOINT_URL, SUBMODEL_DATAPLANE_URL, @@ -231,7 +231,7 @@ void shouldThrowExceptionWhenPoliciesAreNotAccepted() { final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(List.of("bpn"))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies("bpn")).thenReturn(List.of(acceptedPolicy)); prepareNegotiation(); givenThat(get(urlPathEqualTo(SUBMODEL_DATAPLANE_PATH)).willReturn(responseWithStatus(200).withBody("test"))); @@ -257,7 +257,7 @@ void shouldThrowExceptionWhenResponse_400() { new Constraints(andConstraints, orConstraints)); final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq("bpn"))).thenReturn(List.of(acceptedPolicy)); // Act final ThrowableAssert.ThrowingCallable throwingCallable = () -> edcSubmodelClient.getSubmodelPayload( @@ -282,7 +282,7 @@ void shouldThrowExceptionWhenResponse_500() { new Constraints(andConstraints, orConstraints)); final AcceptedPolicy acceptedPolicy = new AcceptedPolicy(policy("IRS Policy", List.of(permission)), OffsetDateTime.now().plusYears(1)); - when(acceptedPoliciesProvider.getAcceptedPolicies(eq(List.of("bpn")))).thenReturn(List.of(acceptedPolicy)); + when(acceptedPoliciesProvider.getAcceptedPolicies(eq("bpn"))).thenReturn(List.of(acceptedPolicy)); // Act final ThrowableAssert.ThrowingCallable throwingCallable = () -> edcSubmodelClient.getSubmodelPayload( diff --git a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java index d38386f03c..e572a6a2da 100644 --- a/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java +++ b/irs-edc-client/src/test/java/org/eclipse/tractusx/irs/edc/client/policy/AcceptedPoliciesProviderTest.java @@ -37,7 +37,7 @@ class AcceptedPoliciesProviderTest { @Test void getAcceptedPolicies() { - final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); + final var acceptedPolicies = testee.getAcceptedPolicies("testBpn"); assertThat(acceptedPolicies).isEmpty(); } @@ -45,20 +45,20 @@ void getAcceptedPolicies() { @Test void shouldReturnStoredPolicies() { testee.addAcceptedPolicies(List.of(policy())); - final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); + final var acceptedPolicies = testee.getAcceptedPolicies("testBpn"); assertThat(acceptedPolicies).hasSize(1); } @Test void shouldRemoveStoredPolicies() { testee.addAcceptedPolicies(List.of(policy())); - final var acceptedPolicies = testee.getAcceptedPolicies(List.of("testBpn")); + final var acceptedPolicies = testee.getAcceptedPolicies("testBpn"); assertThat(acceptedPolicies).hasSize(1); testee.removeAcceptedPolicies(acceptedPolicies); - assertThat(testee.getAcceptedPolicies(List.of("testBpn"))).isEmpty(); + assertThat(testee.getAcceptedPolicies("testBpn")).isEmpty(); } @NotNull private static AcceptedPolicy policy() { diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index 130f0bdcec..3eaa762819 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -121,11 +121,17 @@ public List readAll(final String bpn) { } + /** + * Returns all policies. + * + * @return policies as map of BPN to list of policies + */ public Map> readAll() { try { return policyStorePersistence.getAllBlobs().entrySet().stream().map(entry -> { try { - return new AbstractMap.SimpleEntry<>(entry.getKey(), + final String bpn = entry.getKey(); + return new AbstractMap.SimpleEntry<>(bpn, mapper.readerForListOf(Policy.class).>readValue(entry.getValue())); } catch (IOException e) { throw new PolicyStoreException("Could not read the policies from the store", e); diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index 170e641174..c9de4fd5ad 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -144,7 +144,7 @@ public void updatePolicies(final UpdatePolicyRequest request) { } } - private void updatePolicy(final String policyId, final OffsetDateTime validUntil, final List bpns) { + public void updatePolicy(final String policyId, final OffsetDateTime validUntil, final List bpns) { try { log.info("Updating policy with id {}", policyId); final List bpnsContainingPolicyId = PolicyHelper.findBpnsByPolicyId(getAllStoredPolicies(), @@ -169,8 +169,8 @@ private void updatePolicy(final String policyId, final OffsetDateTime validUntil } @Override - public List getAcceptedPolicies(final List bpns) { - if (bpns == null) { + public List getAcceptedPolicies(final String bpn) { + if (bpn == null) { return getAllStoredPolicies().values() .stream() .flatMap(Collection::stream) @@ -179,7 +179,7 @@ public List getAcceptedPolicies(final List bpns) { } final ArrayList policies = new ArrayList<>(); - policies.addAll(getStoredPolicies(bpns)); + policies.addAll(getStoredPolicies(List.of(bpn))); policies.addAll(getStoredPolicies(List.of(DEFAULT_BLOB_NAME))); final TreeSet result = new TreeSet<>(Comparator.comparing(Policy::getPolicyId)); diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 53cd9ba62a..1cbcd65b4f 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -350,4 +350,15 @@ void shouldReturnDefaultPolicyWhenBpnIsEmpty() { assertThat(acceptedPolicies.get(0).policy().getPolicyId()).isEqualTo("default-policy"); } + @Test + void updatePolicyShouldThrowResponseStatusException() { + // act + final String policyId = "testId"; + final OffsetDateTime validUntil = OffsetDateTime.now(); + doThrow(new PolicyStoreException("")).when(persistence).readAll(); + + // assert + assertThrows(ResponseStatusException.class, () -> testee.updatePolicy(policyId, validUntil, List.of("bpn"))); + } + } \ No newline at end of file From be8825813ef0f2f1c57d7b5560ab69c71400c924 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Tue, 19 Mar 2024 10:48:25 +0100 Subject: [PATCH 14/32] feat(irs):[#199] corrections after review --- docs/src/api/irs-api.yaml | 83 +------------------ .../controllers/PolicyStoreController.java | 33 +------- .../services/PolicyStoreService.java | 10 +++ .../PolicyStoreControllerTest.java | 14 ++-- 4 files changed, 22 insertions(+), 118 deletions(-) diff --git a/docs/src/api/irs-api.yaml b/docs/src/api/irs-api.yaml index 37cfb6a481..fa8333bcbf 100644 --- a/docs/src/api/irs-api.yaml +++ b/docs/src/api/irs-api.yaml @@ -796,9 +796,9 @@ paths: description: Lists the registered policies that should be accepted in EDC negotiation. operationId: getAllowedPoliciesByBpn parameters: - - name: bpns + - name: bpnls in: query - required: true + required: false schema: type: array items: @@ -968,85 +968,6 @@ paths: summary: Removes a policy that should no longer be accepted in EDC negotiation. tags: - Item Relationship Service - /irs/policies/all: - get: - description: Lists the registered policies that should be accepted in EDC negotiation. - operationId: getAllowedPolicies - responses: - "200": - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Policy' - description: Returns the policies. - "401": - content: - application/json: - examples: - error: - $ref: '#/components/examples/error-response-401' - schema: - $ref: '#/components/schemas/ErrorResponse' - description: No valid authentication credentials. - "403": - content: - application/json: - examples: - error: - $ref: '#/components/examples/error-response-403' - schema: - $ref: '#/components/schemas/ErrorResponse' - description: Authorization refused by server. - security: - - api_key: [ ] - summary: Lists the registered policies that should be accepted in EDC negotiation. - tags: - - Item Relationship Service -# get: -# description: Lists the registered policies that should be accepted in EDC negotiation. -# operationId: getAllowedPoliciesByBpn -# parameters: -# - name: bpns -# in: path -# required: true -# schema: -# type: array -# items: -# type: string -# responses: -# "200": -# content: -# application/json: -# schema: -# type: array -# items: -# $ref: '#/components/schemas/Policy' -# description: Returns the policies. -# "401": -# content: -# application/json: -# examples: -# error: -# $ref: '#/components/examples/error-response-401' -# schema: -# $ref: '#/components/schemas/ErrorResponse' -# description: No valid authentication credentials. -# "403": -# content: -# application/json: -# examples: -# error: -# $ref: '#/components/examples/error-response-403' -# schema: -# $ref: '#/components/schemas/ErrorResponse' -# description: Authorization refused by server. -# security: -# - api_key: [ ] -# summary: Lists the registered policies that should be accepted in EDC negotiation. -# tags: -# - Item Relationship Service components: examples: canceled-job-response: diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 86c12b77f5..10158a99af 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -41,7 +41,6 @@ import io.swagger.v3.oas.annotations.responses.ApiResponses; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import jakarta.validation.Valid; -import jakarta.validation.constraints.NotNull; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.common.auth.IrsRoles; @@ -146,36 +145,8 @@ public void registerAllowedPolicy(final @RequestBody CreatePolicyRequest request @GetMapping("/policies") @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public List getPolicies(@RequestParam @NotNull final List bpns) { - return service.getStoredPolicies(bpns).stream().map(PolicyResponse::fromPolicy).toList(); - } - - @Operation(operationId = "getAllowedPolicies", - summary = "Lists the registered policies that should be accepted in EDC negotiation.", - security = @SecurityRequirement(name = "api_key"), tags = { "Item Relationship Service" }, - description = "Lists the registered policies that should be accepted in EDC negotiation.") - @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Returns the policies.", - content = { @Content(mediaType = APPLICATION_JSON_VALUE, array = @ArraySchema( - schema = @Schema(implementation = Policy.class))) - }), - @ApiResponse(responseCode = "401", description = UNAUTHORIZED_DESC, - content = { @Content(mediaType = APPLICATION_JSON_VALUE, - schema = @Schema(implementation = ErrorResponse.class), - examples = @ExampleObject(name = "error", - ref = "#/components/examples/error-response-401")) - }), - @ApiResponse(responseCode = "403", description = FORBIDDEN_DESC, - content = { @Content(mediaType = APPLICATION_JSON_VALUE, - schema = @Schema(implementation = ErrorResponse.class), - examples = @ExampleObject(name = "error", - ref = "#/components/examples/error-response-403")) - }), - }) - @GetMapping("/policies/all") - @ResponseStatus(HttpStatus.OK) - @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") - public Map> getAllPolicies() { - return service.getAllStoredPolicies() + public Map> getPolicies(@RequestParam(required = false) final List bpnls) { + return service.getPolicies(bpnls) .entrySet() .stream() .map(entry -> new AbstractMap.SimpleEntry<>(entry.getKey(), diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index c9de4fd5ad..725bfd4d97 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -27,6 +27,7 @@ import java.time.Clock; import java.time.OffsetDateTime; +import java.util.AbstractMap; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; @@ -34,6 +35,7 @@ import java.util.List; import java.util.Map; import java.util.TreeSet; +import java.util.stream.Collectors; import lombok.extern.slf4j.Slf4j; import org.eclipse.tractusx.irs.edc.client.policy.AcceptedPoliciesProvider; @@ -103,6 +105,14 @@ private void validatePolicy(final Policy policy) { } } + public Map> getPolicies(final List bpns) { + if (bpns == null) { + return getAllStoredPolicies(); + } else { + return bpns.stream().map(bpn -> new AbstractMap.SimpleEntry<>(bpn, getStoredPolicies(List.of(bpn)))).collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); + } + } + public List getStoredPolicies(final List bpns) { log.info("Reading all stored polices for BPN {}", bpns); final List storedPolicies = new LinkedList<>(); diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java index 6c0afc1d73..b504e5bdab 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreControllerTest.java @@ -134,13 +134,14 @@ void getPolicies() { // arrange final List policies = List.of( new Policy("testId", OffsetDateTime.now(), OffsetDateTime.now(), createPermissions())); - when(service.getStoredPolicies(List.of("bpn1"))).thenReturn(policies); + final String bpn = "bpn1"; + when(service.getPolicies(List.of(bpn))).thenReturn(Map.of(bpn, policies)); // act - final List returnedPolicies = testee.getPolicies(List.of("bpn1")); + final Map> returnedPolicies = testee.getPolicies(List.of(bpn)); // assert - assertThat(returnedPolicies).isEqualTo( + assertThat(returnedPolicies.get(bpn)).isEqualTo( policies.stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList())); } @@ -149,13 +150,14 @@ void getAllPolicies() { // arrange final List policies = List.of( new Policy("testId", OffsetDateTime.now(), OffsetDateTime.now(), createPermissions())); - when(service.getAllStoredPolicies()).thenReturn(Map.of("bpn", policies)); + final String bpn = "bpn1"; + when(service.getPolicies(null)).thenReturn(Map.of(bpn, policies)); // act - final Map> returnedPolicies = testee.getAllPolicies(); + final Map> returnedPolicies = testee.getPolicies(null); // assert - assertThat(returnedPolicies).containsEntry("bpn", + assertThat(returnedPolicies).containsEntry(bpn, policies.stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList())); } From 47585547fda9fa9f4a20f62c9d09a587a4829b04 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 10:22:21 +0100 Subject: [PATCH 15/32] feat(irs):[#199] corrections after review --- .../configuration/RegistryConfiguration.java | 6 +-- .../registryclient/DefaultConfiguration.java | 2 +- .../DecentralDigitalTwinRegistryService.java | 8 ++-- .../EdcEndpointReferenceRetriever.java | 4 +- .../EndpointDataForConnectorsService.java | 8 ++-- .../DefaultConfigurationTest.java | 4 +- ...centralDigitalTwinRegistryServiceTest.java | 8 ++-- ...igitalTwinRegistryServiceWiremockTest.java | 18 ++++----- .../EndpointDataForConnectorsServiceTest.java | 39 ++++++++++--------- 9 files changed, 49 insertions(+), 48 deletions(-) diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java index 117a23c300..936aa6ebbc 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RegistryConfiguration.java @@ -51,8 +51,6 @@ @Configuration public class RegistryConfiguration { - private static final String DEFAULT = "default"; - @Bean @ConditionalOnProperty(prefix = "digitalTwinRegistry", name = "type", havingValue = "central") public CentralDigitalTwinRegistryService centralDigitalTwinRegistryService(final DigitalTwinRegistryClient client) { @@ -78,9 +76,9 @@ public DecentralDigitalTwinRegistryService decentralDigitalTwinRegistryService( @Value("${digitalTwinRegistry.lookupShellsTemplate:}") final String lookupShellsTemplate, final EdcConfiguration edcConfiguration) { - final EdcEndpointReferenceRetriever endpointReferenceRetriever = (edcConnectorEndpoint, assetType, assetValue) -> { + final EdcEndpointReferenceRetriever endpointReferenceRetriever = (edcConnectorEndpoint, assetType, assetValue, bpn) -> { try { - return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, DEFAULT); + return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, bpn); } catch (EdcClientException e) { throw new EdcRetrieverException(e); } diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java index d1fa5cb626..37a322a9a9 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/DefaultConfiguration.java @@ -119,7 +119,7 @@ public ConnectorEndpointsService connectorEndpointsService(final DiscoveryFinder @ConditionalOnProperty(prefix = CONFIG_PREFIX, name = CONFIG_FIELD_TYPE, havingValue = CONFIG_VALUE_DECENTRAL) public EndpointDataForConnectorsService endpointDataForConnectorsService(final EdcSubmodelFacade facade) { - final EdcEndpointReferenceRetriever edcEndpointReferenceRetriever = (edcConnectorEndpoint, assetType, assetValue) -> { + final EdcEndpointReferenceRetriever edcEndpointReferenceRetriever = (edcConnectorEndpoint, assetType, assetValue, bpn) -> { try { return facade.getEndpointReferencesForAsset(edcConnectorEndpoint, assetType, assetValue, DEFAULT); } catch (EdcClientException e) { diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java index ab5b05e50c..5157d5293c 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java @@ -159,7 +159,7 @@ private CompletableFuture> fetchShellDescriptors(final Set c log.info("Found {} connector endpoints for bpn '{}'", edcUrls.size(), bpn); calledEndpoints.addAll(edcUrls); - return fetchShellDescriptorsForConnectorEndpoints(keys, edcUrls); + return fetchShellDescriptorsForConnectorEndpoints(keys, edcUrls, bpn); } finally { watch.stop(); @@ -168,10 +168,10 @@ private CompletableFuture> fetchShellDescriptors(final Set c } private CompletableFuture> fetchShellDescriptorsForConnectorEndpoints( - final List keys, final List edcUrls) { + final List keys, final List edcUrls, final String bpn) { final var service = endpointDataForConnectorsService; - final var shellsFuture = service.createFindEndpointDataForConnectorsFutures(edcUrls) + final var shellsFuture = service.createFindEndpointDataForConnectorsFutures(edcUrls, bpn) .stream() .map(edrFuture -> edrFuture.thenCompose(edr -> CompletableFuture.supplyAsync( () -> fetchShellDescriptorsForKey(keys, edr)))) @@ -284,7 +284,7 @@ private Collection lookupShellIds(final String bpn) throws RegistryServi log.info("Looking up shell ids for bpn '{}' with connector endpoints {}", bpn, edcUrls); final var endpointDataReferenceFutures = endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures( - edcUrls); + edcUrls, bpn); return lookupShellIds(bpn, endpointDataReferenceFutures); diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EdcEndpointReferenceRetriever.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EdcEndpointReferenceRetriever.java index d27f5748c7..3b76116a3a 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EdcEndpointReferenceRetriever.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EdcEndpointReferenceRetriever.java @@ -39,9 +39,11 @@ public interface EdcEndpointReferenceRetriever { * @param edcConnectorEndpoint the endpoint URL * @param assetType the asset type id * @param assetValue the asset type value + * @param bpn bpn value * @return the endpoint data references as list of futures * @throws EdcRetrieverException on any EDC errors */ + @SuppressWarnings("PMD.UseObjectForClearerAPI") List> getEndpointReferencesForAsset(String edcConnectorEndpoint, - String assetType, String assetValue) throws EdcRetrieverException; + String assetType, String assetValue, String bpn) throws EdcRetrieverException; } diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsService.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsService.java index 7b2af22161..c65abe5f1e 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsService.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsService.java @@ -47,7 +47,7 @@ public class EndpointDataForConnectorsService { private final EdcEndpointReferenceRetriever edcSubmodelFacade; public List> createFindEndpointDataForConnectorsFutures( - final List edcUrls) { + final List edcUrls, final String bpn) { final var watch = new StopWatch(); final String msg = "Creating futures to get EndpointDataReferences for endpoints: %s".formatted(edcUrls); @@ -58,7 +58,7 @@ public List> createFindEndpointDataForC try { log.info("Creating futures to get EndpointDataReferences for endpoints: {}", edcUrls); futures = edcUrls.stream() - .flatMap(edcUrl -> createGetEndpointReferencesForAssetFutures(edcUrl).stream()) + .flatMap(edcUrl -> createGetEndpointReferencesForAssetFutures(edcUrl, bpn).stream()) .toList(); return futures; } finally { @@ -69,7 +69,7 @@ public List> createFindEndpointDataForC } private List> createGetEndpointReferencesForAssetFutures( - final String edcUrl) { + final String edcUrl, final String bpn) { final var watch = new StopWatch(); final String msg = "Trying to retrieve EndpointDataReference for connector '%s'".formatted(edcUrl); @@ -78,7 +78,7 @@ private List> createGetEndpointReferenc try { return edcSubmodelFacade.getEndpointReferencesForAsset(edcUrl, DT_REGISTRY_ASSET_TYPE, - DT_REGISTRY_ASSET_VALUE); + DT_REGISTRY_ASSET_VALUE, bpn); } catch (EdcRetrieverException e) { log.warn("Exception occurred when retrieving EndpointDataReference from connector '{}'", edcUrl, e); return List.of(CompletableFuture.failedFuture(e)); diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java index afc080e38c..e6fdc50904 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/DefaultConfigurationTest.java @@ -93,7 +93,7 @@ void endpointDataForConnectorsService() throws EdcClientException { // ACT final var endpointDataForConnectorsService = testee.endpointDataForConnectorsService(mock); - endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(List.of(endpointAddress)) // + endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(List.of(endpointAddress), "bpn") // .forEach(future -> { try { future.get(); @@ -116,7 +116,7 @@ void endpointDataForConnectorsService_withException() throws EdcClientException final var endpointDataForConnectorsService = testee.endpointDataForConnectorsService(mock); final var dummyEndpoints = List.of("test"); - endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(dummyEndpoints).forEach(future -> { + endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(dummyEndpoints, "bpn").forEach(future -> { assertThatThrownBy(future::get).isInstanceOf(ExecutionException.class) .extracting(Throwable::getCause) .isInstanceOf(EdcRetrieverException.class); diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java index a2c2dace14..74a2197551 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java @@ -99,7 +99,7 @@ void shouldReturnExpectedShell() throws RegistryServiceException { when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("address")); final var endpointDataRefFutures = List.of(completedFuture(endpointDataReference)); - when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(anyList())).thenReturn( + when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(anyList(), any())).thenReturn( endpointDataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), @@ -129,7 +129,7 @@ void whenInterruptedExceptionOccurs() throws ExecutionException, InterruptedExce completedFuture(endpointDataReference("url.to.host1")), // completedFuture(endpointDataReference("url.to.host2"))); when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures( - connectorEndpoints)).thenReturn(dataRefFutures); + connectorEndpoints, "bpn")).thenReturn(dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), anyList())).thenReturn(lookupShellsResponse); @@ -163,7 +163,7 @@ void whenExecutionExceptionOccurs() { final var dataRefFutures = List.of(completedFuture(endpointDataReference("url.to.host"))); when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures( - connectorEndpoints)).thenReturn(dataRefFutures); + connectorEndpoints, "bpn")).thenReturn(dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), anyList())).thenReturn(lookupShellsResponse); @@ -227,7 +227,7 @@ void shouldReturnTheExpectedGlobalAssetId() throws RegistryServiceException { .result(List.of(digitalTwinRegistryKey.shellId())) .build(); when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn(List.of("address")); - when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(anyList())).thenReturn( + when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(anyList(), any())).thenReturn( dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), anyList())).thenReturn(lookupShellsResponse); diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceWiremockTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceWiremockTest.java index e0f085bab9..31994eaff0 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceWiremockTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceWiremockTest.java @@ -117,7 +117,7 @@ void shouldDiscoverEDCAndRequestRegistry() throws RegistryServiceException, EdcR givenThat(getShellDescriptor200()); final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); // Act @@ -166,7 +166,7 @@ void shouldThrowInCaseOfLookupShellsError() throws EdcRetrieverException { givenThat(postEdcDiscovery200()); final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); givenThat(getLookupShells404()); @@ -187,7 +187,7 @@ void shouldThrowInCaseOfShellDescriptorsError() throws EdcRetrieverException { givenThat(postEdcDiscovery200()); final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); givenThat(getLookupShells200()); @@ -210,7 +210,7 @@ void shouldThrowExceptionOnEmptyShells() throws EdcRetrieverException { givenThat(postEdcDiscovery200()); final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); givenThat(getLookupShells200Empty()); @@ -240,7 +240,7 @@ void lookupShellIdentifiers_oneEDC_oneDTR() throws RegistryServiceException, Edc // simulate endpoint data reference final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(any(), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); // Act @@ -271,9 +271,9 @@ void lookupShellIdentifiers_multipleEDCs_oneDTR(String title, // simulate endpoint data reference final var endpointDataReference = endpointDataReference("assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc1Url), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc1Url), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference))); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc2Url), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc2Url), any(), any(), any())).thenReturn( endpointDataReferenceForAssetFutures); // Act @@ -315,9 +315,9 @@ void lookupShellIdentifiers_multipleEDCs_multipleDTRs() throws RegistryServiceEx // simulate endpoint data reference final var endpointDataReference1 = endpointDataReference("dtr1-assetId"); final var endpointDataReference2 = endpointDataReference("dtr2-assetId"); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc1Url), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc1Url), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference1))); - when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc2Url), any(), any())).thenReturn( + when(edcEndpointReferenceRetrieverMock.getEndpointReferencesForAsset(eq(edc2Url), any(), any(), any())).thenReturn( List.of(CompletableFuture.completedFuture(endpointDataReference2))); // Act & Assert diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsServiceTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsServiceTest.java index b4a8b9f922..3181ef0310 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsServiceTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/EndpointDataForConnectorsServiceTest.java @@ -45,14 +45,15 @@ class EndpointDataForConnectorsServiceTest { private static final String DT_REGISTRY_ASSET_TYPE = "https://w3id.org/edc/v0.0.1/ns/type"; private static final String DT_REGISTRY_ASSET_VALUE = "data.core.digitalTwinRegistry"; - private static final String connectionOneAddress = "connectionOneAddress"; - private static final String connectionTwoAddress = "connectionTwoAddress"; + private static final String CONNECTION_ONE_ADDRESS = "connectionOneAddress"; + private static final String CONNECTION_TWO_ADDRESS = "connectionTwoAddress"; + private static final String BPN = "bpn"; private static final EndpointDataReference CONNECTION_ONE_DATA_REF = // - EndpointDataReference.Builder.newInstance().endpoint(connectionOneAddress).build(); + EndpointDataReference.Builder.newInstance().endpoint(CONNECTION_ONE_ADDRESS).build(); private static final EndpointDataReference CONNECTION_TWO_DATA_REF = // - EndpointDataReference.Builder.newInstance().endpoint(connectionTwoAddress).build(); + EndpointDataReference.Builder.newInstance().endpoint(CONNECTION_TWO_ADDRESS).build(); private final EdcEndpointReferenceRetriever edcSubmodelFacade = mock(EdcEndpointReferenceRetriever.class); @@ -62,20 +63,20 @@ class EndpointDataForConnectorsServiceTest { void shouldReturnExpectedEndpointDataReference() throws EdcRetrieverException { // GIVEN - when(edcSubmodelFacade.getEndpointReferencesForAsset(connectionOneAddress, DT_REGISTRY_ASSET_TYPE, - DT_REGISTRY_ASSET_VALUE)).thenReturn( + when(edcSubmodelFacade.getEndpointReferencesForAsset(CONNECTION_ONE_ADDRESS, DT_REGISTRY_ASSET_TYPE, + DT_REGISTRY_ASSET_VALUE, BPN)).thenReturn( List.of(CompletableFuture.completedFuture(CONNECTION_ONE_DATA_REF))); // WHEN final List> endpointDataReferences = sut.createFindEndpointDataForConnectorsFutures( - Collections.singletonList(connectionOneAddress)); + Collections.singletonList(CONNECTION_ONE_ADDRESS), BPN); // THEN assertThat(endpointDataReferences).isNotEmpty() .extracting(CompletableFuture::get) .isNotEmpty() .extracting(EndpointDataReference::getEndpoint) - .contains(connectionOneAddress); + .contains(CONNECTION_ONE_ADDRESS); } @Test @@ -84,20 +85,20 @@ void shouldReturnExpectedEndpointDataReferenceFromSecondConnectionEndpoint() thr // GIVEN // a first endpoint failing (1) - when(edcSubmodelFacade.getEndpointReferencesForAsset(connectionOneAddress, DT_REGISTRY_ASSET_TYPE, - DT_REGISTRY_ASSET_VALUE)).thenThrow( + when(edcSubmodelFacade.getEndpointReferencesForAsset(CONNECTION_ONE_ADDRESS, DT_REGISTRY_ASSET_TYPE, + DT_REGISTRY_ASSET_VALUE, BPN)).thenThrow( new EdcRetrieverException(new EdcClientException("EdcClientException"))); // and a second endpoint returning successfully (2) - when(edcSubmodelFacade.getEndpointReferencesForAsset(connectionTwoAddress, DT_REGISTRY_ASSET_TYPE, - DT_REGISTRY_ASSET_VALUE)).thenReturn( + when(edcSubmodelFacade.getEndpointReferencesForAsset(CONNECTION_TWO_ADDRESS, DT_REGISTRY_ASSET_TYPE, + DT_REGISTRY_ASSET_VALUE, BPN)).thenReturn( List.of(CompletableFuture.completedFuture(CONNECTION_TWO_DATA_REF))); // WHEN final List> dataRefFutures = // - sut.createFindEndpointDataForConnectorsFutures(List.of(connectionOneAddress, // (1) - connectionTwoAddress // (2) - )); + sut.createFindEndpointDataForConnectorsFutures(List.of(CONNECTION_ONE_ADDRESS, // (1) + CONNECTION_TWO_ADDRESS // (2) + ), BPN); // THEN final List dataReferences = // @@ -108,7 +109,7 @@ void shouldReturnExpectedEndpointDataReferenceFromSecondConnectionEndpoint() thr assertThat(dataReferences).isNotEmpty() // .extracting(EndpointDataReference::getEndpoint) // - .contains(connectionTwoAddress); + .contains(CONNECTION_TWO_ADDRESS); } private static EndpointDataReference executeFutureMappingErrorsToNull( @@ -126,15 +127,15 @@ void shouldThrowExceptionWhenConnectorEndpointsNotReachable() throws EdcRetrieve // GIVEN when(edcSubmodelFacade.getEndpointReferencesForAsset(anyString(), eq(DT_REGISTRY_ASSET_TYPE), - eq(DT_REGISTRY_ASSET_VALUE))).thenThrow( + eq(DT_REGISTRY_ASSET_VALUE), eq(BPN))).thenThrow( new EdcRetrieverException(new EdcClientException("EdcClientException"))); // WHEN final var exceptions = new ArrayList<>(); // THEN - final List connectorEndpoints = List.of(connectionOneAddress, connectionTwoAddress); - sut.createFindEndpointDataForConnectorsFutures(connectorEndpoints) // + final List connectorEndpoints = List.of(CONNECTION_ONE_ADDRESS, CONNECTION_TWO_ADDRESS); + sut.createFindEndpointDataForConnectorsFutures(connectorEndpoints, BPN) // .forEach(future -> { try { future.get(); From 2d4e1cb5e6e18e244c20a351b78637057f2afc97 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 10:32:47 +0100 Subject: [PATCH 16/32] feat(irs):[#199] updated insomnia collection --- .../IRS_Request_Collection.json | 7176 +++++++++-------- 1 file changed, 3623 insertions(+), 3553 deletions(-) diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index 0722d60f79..0b808b6602 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1,3555 +1,3625 @@ { - "_type": "export", - "__export_format": 4, - "__export_date": "2024-03-10T13:23:40.100Z", - "__export_source": "insomnia.desktop.app:v2023.5.8", - "resources": [ - { - "_id": "req_87f0d66bd32b4f2d8551791af7f2e2ed", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1705006817408, - "created": 1705005887617, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Get all policies", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1705005887617, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1687243055015, - "created": 1687243055015, - "name": "Policy Store", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1687243055015, - "_type": "request_group" - }, - { - "_id": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1691572726194, - "created": 1680682418636, - "name": "IRS DEMO Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418636, - "_type": "request_group" - }, - { - "_id": "wrk_565df8abe30f4da29d8bffcde97927d7", - "parentId": null, - "modified": 1680682438221, - "created": 1680682419747, - "name": "IRS", - "description": "", - "scope": "collection", - "_type": "workspace" - }, - { - "_id": "req_5696fa47e33c407cbb7a2deac8ddbcd2", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1702990529632, - "created": 1687243204155, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", - "name": "Delete policy", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1685602897140.75, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_34b6d543720247a7bcad402cab2d2f7f", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1702990565006, - "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'id', '', 'traceability-test', '', false, true %}", - "name": "Update policy", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684874704117.875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_82102b5d71704eae97e5b50dad29a262", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1707126688041, - "created": 1687243182397, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Register policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"payload\": {\n\t\t\"@context\": {\n\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t},\n\t\t\"@id\": \"policy-id12\",\n\t\t\"policy\": {\n\t\t\t\"odrl:permission\": [\n\t\t\t\t{\n\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1683962737633.5, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_01d928eddda6422eae8f9e6722997640", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003275081, - "created": 1680682418619, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", - "name": "Get Shell by aasIdentifier", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418619, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1691504187689, - "created": 1680682418630, - "name": "Digital Twin Registry", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418630, - "_type": "request_group" - }, - { - "_id": "req_c6d045b660f949499151f63e60f51225", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706002920212, - "created": 1690529035794, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", - "name": "Get Shells", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418614, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c183c331cf2c418e8e89ce95dee5ddbd", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003278149, - "created": 1680682418609, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By BPN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", - "disabled": true, - "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", - "disabled": true, - "id": "pair_cc48c08e3b834497a2d88bd4201c3867" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", - "disabled": false, - "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", - "disabled": true, - "id": "pair_706e6930cc874343941b744a054ef388" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", - "disabled": true, - "id": "pair_45c6bcf3266a475891ebbbba6cde0798" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", - "disabled": true, - "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", - "disabled": true, - "id": "pair_d72f55c7bf714c7c9aae58456c778443" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", - "disabled": true, - "id": "pair_406c9da4dc014fb297f70bb3da7128c1" - } - ], - "headers": [ - { - "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418609, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_24a9b4f03e7a498dbc51aecea0ca3492", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003280850, - "created": 1680682418595, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By VAN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", - "disabled": false, - "id": "pair_50d86e928e9f448d97da8ada0390e12f" - } - ], - "headers": [ - { - "id": "pair_ed11c2a6df9248e292914df944e8ba93", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418595, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5fb54d629b714382ae77c4918a848844", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003354109, - "created": 1680682418581, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", - "disabled": false, - "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" - } - ], - "headers": [ - { - "id": "pair_71ae5e562e9c414a82e84220f3c00343", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418581, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0231f2221b0b4c52b6f8f82654b40b97", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003284715, - "created": 1680682418570, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By VAN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_2f4c445074514f92a4dee92554053d0a" - }, - { - "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418570, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0e9e498304f1450db30ccd7633c1d044", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003286642, - "created": 1691408320970, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" - }, - { - "id": "pair_5dc1d703196747318faff9a8dd96be0c", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418560.5, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c45556a411394ae7acaf7b0d7a52c64c", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "modified": 1706003289343, - "created": 1689167429413, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Shell by aasIdentifier", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [ - { - "id": "pair_6266690c04fd466fa1617082f5b8ec76", - "name": "pageSize", - "value": "50", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418470, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4598fa44ca1e445f84dcc88b69e68b2d", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991054859, - "created": 1680682418551, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.0.0 [Register Job]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418551, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_99916d6788d445df86cffea2202c7faf", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418562, - "created": 1680682418562, - "name": "IRS Test Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418562, - "_type": "request_group" - }, - { - "_id": "req_1789ac98712b4774a9478e25eb589bf0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991058493, - "created": 1680682418539, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.0 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418539, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3a2d07190c9546378a10b66b6ff4f462", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991063641, - "created": 1680682418524, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.1 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418524, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8a3d036a282e403481b73587111f6aa7", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991067797, - "created": 1680682418514, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418514, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3dfcf0469334429f8ed26e7cb3b1e7b4", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991071709, - "created": 1680682418504, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418504, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8bf909bae9f54371a9056e6c4b9eefca", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991076696, - "created": 1695042901876, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418496, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_dc785af1908140b4b28e72a7b89c10e2", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076144872, - "created": 1680682418488, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.0 [Register Job with aspect SerialPart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418488, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1d2d60468a46479aa620856c3af9edad", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076455844, - "created": 1680682418479, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418479, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e4781ee7f21c4269877a90c7b3763747", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076515556, - "created": 1680682418469, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418469, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4454faa5384d4e1a9eed077d9bb439d3", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076741632, - "created": 1680682418442, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.3 [Register Job with aspect PartAsPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418442, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_14d8a81103934ca8bde6a913419b6965", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076751758, - "created": 1680682418432, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.4 [Register Job with upward direction]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418432, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4d162553ba09443686bb9e8e90e01f97", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076760570, - "created": 1695192937155, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.5 [Register Job with aspect JustInSequencePart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418428, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2bdd38ac17234d7286dc03f0c2741d25", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076769119, - "created": 1695192971825, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418426, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_56ce00c13b6e42329fb3ed6d18a134eb", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076214310, - "created": 1680682418424, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418424, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c4e086d67cb64786b235745f4e56f24c", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991130711, - "created": 1680682418414, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418414, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2571426d88934df39d76364ce94533a9", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076937249, - "created": 1680682418401, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.5.0 [Register Job with all aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418401, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f0b3da6d108f475cb429c99bd9c57dc5", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076677384, - "created": 1680682418392, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.6.0 [Register Job with BPN lookup]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418392, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f8f3e3d937e341e388abd88454f31cc2", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076237949, - "created": 1683184048412, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.7.0 [Register Job with invalid policy]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418386.5, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6d86d4ad672a454f85f03672926d6f3c", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076397373, - "created": 1693493383337, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.0 [Register Job with data integrity success]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418382.375, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9f6f900788a94461a3856dff0fd3102b", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076245754, - "created": 1693493584873, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.1 [Register Job with data integrity wrong hash]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.6875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b4dabeb86fed4de5b54c32a250f94196", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076391502, - "created": 1693493594373, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.2 [Register Job with data integrity wrong signature]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.3438, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_35ef2aef21804c3cb86a9aabc7eba0ab", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1710076385497, - "created": 1693493604521, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.1719, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d27e4316d77c4a48adbe27e65390cda8", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991173689, - "created": 1680682418381, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.0 [Search for completed Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "COMPLETED", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d8fdde14cf9144ff805a51ff292b9382", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991177973, - "created": 1680682418372, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.1 [Search for Jobs in error state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418372, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_19d3cc30b4644dd8957cf980f3ee10ff", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991182139, - "created": 1680682418358, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.2 [Search for Jobs in initial state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "INITIAL", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418358, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7801aee13dd5435a8db10338a2d4f95b", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991186114, - "created": 1680682418348, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.3 [Search for all Jobs in JobStore]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418348, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1687b685ea5949c89c8c61e483dc60f0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991190326, - "created": 1680682418339, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.1.0 [Search for running Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "RUNNING", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418339, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d4d21a45adbc4398a37eb64325f96277", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991196283, - "created": 1680682418325, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.0.0 [Search for given jobId with uncomplete]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418325, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9baf580bb6384fcea6cd181bc4019c97", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991200399, - "created": 1680682418316, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.1.0 [Search for given jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418316, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ea9dc2c81dae4b4e945c52ed81a233b9", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991205447, - "created": 1680682418307, - "url": "{{IRS_HOST}}/irs/jobs/test", - "name": "3.1.1 [Search for invalid jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418307, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0808b16bfb534c7e859834972a64ffd0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991214202, - "created": 1680682418297, - "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", - "name": "3.1.2 [Search for unknown jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418297, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c28839aad9394b2bbda87017500ed616", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", - "modified": 1702991218362, - "created": 1680682418280, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "6.0.0 [Cancel Job for given jobId]", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418280, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d8919afd30d44d1a846084157de8c69d", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", - "modified": 1705942015684, - "created": 1682672699249, - "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", - "name": "Find BPN endpoints for manufacturer numbers", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630902023, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1683630931664, - "created": 1683630887514, - "name": "Discovery", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418417.5, - "_type": "request_group" - }, - { - "_id": "req_01422217227b452a98e7db4cb60ca5bd", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", - "modified": 1705942027574, - "created": 1683031718699, - "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", - "name": "Find BPN Discovery Endpoints of type BPN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901923, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1357c99d62684a7b93cde637b6490d11", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", - "modified": 1705942036978, - "created": 1683560906453, - "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", - "name": "Find EDC endpoints for BPNs", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "[\n\t\"BPNL00000001CRHK\"\n]" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901873, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3261038fea10412c9f1daf62c3129529", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1710076352238, - "created": 1680682418265, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Register Job", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418265, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_b5db89748d844f92a8e2f577faa58f25", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418273, - "created": 1680682418273, - "name": "IRS Basic API Calls", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418273, - "_type": "request_group" - }, - { - "_id": "req_b5192703cc404e838b2e9f127674b6a9", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1705942154792, - "created": 1680682418238, - "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", - "name": "Get registered Job", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418261, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5a857366bb044122b7bebd64aa58c4f9", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1702991288793, - "created": 1680682418257, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for all Jobs in JobStore", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418257, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_08470d1692b24a5eb0be4f34cdac0088", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1702991284435, - "created": 1680682418247, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for Jobs for given state", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": true, - "id": "pair_c694b66f41e649db837f801b5699859e" - }, - { - "name": "jobStates", - "value": "CANCELED,COMPLETED", - "disabled": false, - "id": "pair_ab346623e5394504b7232cc40ae75bed" - }, - { - "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "jobStates", - "value": "RUNNING", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418247, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3dc3438d10ec4540ac5273a3e5a9b83e", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1703236659047, - "created": 1690384427379, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Get Job for jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418238, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_992a742bd2274479bddc627789274c45", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1702991276045, - "created": 1680682418229, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Cancel Job for jobId", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418229, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e3487fdf1f844cc58ff1d5f13cefe638", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", - "modified": 1702991272198, - "created": 1682498338739, - "url": "{{IRS_HOST}}/irs/aspectmodels", - "name": "Get all available Aspect Models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418179, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_98b454b45f5c4cad933df80c0ca8ff5c", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", - "modified": 1705942066941, - "created": 1680682418213, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", - "name": "Get all models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "pageSize", - "value": "100", - "disabled": false, - "id": "pair_96567b64925d4487bae4c74bfa9e021e" - }, - { - "id": "pair_2dae68db8a564296a5835e66d951331f", - "name": "status", - "value": "RELEASED", - "description": "" - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418213, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_9dceb37ce1154d0095a71bdb36fe4a79", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418222, - "created": 1680682418222, - "name": "Semantics Hub", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418222, - "_type": "request_group" - }, - { - "_id": "req_7c6af0f0d72e4c29a504e44aa4acf2dc", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", - "modified": 1705942077015, - "created": 1680682418204, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", - "name": "Get SerialPartTypization", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418204, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f205a27f8073450cbde5e0398b48bde6", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", - "modified": 1705942085733, - "created": 1680682418192, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", - "name": "Get SerialPartTypization Json Schema", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418192, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_93454fd3c1084d399b3c2905cee98912", - "parentId": "fld_99d07b61e21942fab3999ca3411b6309", - "modified": 1705942100313, - "created": 1680682418174, - "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", - "name": "Get business partner by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "idType", - "value": "BPN", - "disabled": false - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.BPDM_CLIENT_ID }}", - "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418174, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_99d07b61e21942fab3999ca3411b6309", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418184, - "created": 1680682418184, - "name": "Business partner data management", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418184, - "_type": "request_group" - }, - { - "_id": "req_88256dff324a428fa91d114a88fcd3b4", - "parentId": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", - "modified": 1702991347797, - "created": 1680682418157, - "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", - "name": "Get Esr Statistics", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418158, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418167, - "created": 1680682418167, - "name": "ESR Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418167, - "_type": "request_group" - }, - { - "_id": "req_7872f416ad5349db9fbc8198a93438f0", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", - "modified": 1702991361578, - "created": 1680682418143, - "url": "{{IRS_HOST}}/ess/bpn/investigations", - "name": "Register Job Investigation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418143, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_a374a4f655934a47a494ab91e5ed46e3", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418151, - "created": 1680682418151, - "name": "ESS Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418151, - "_type": "request_group" - }, - { - "_id": "req_88afb1555cd1418a9fed7524d2cfe286", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", - "modified": 1705942138125, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", - "name": "Get registered investigation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418138.5, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d2307da1ffaa4cee95303f073e8e8025", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", - "modified": 1702991370481, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Search for investigation by jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418134, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8890c0b2034c48769d06fdefdd8ad27d", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "modified": 1710076303275, - "created": 1680682418118, - "url": "{{IRS_HOST}}/irs/orders", - "name": "Register Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418118, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1680682418128, - "created": 1680682418128, - "name": "Batch Processing", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418128, - "_type": "request_group" - }, - { - "_id": "req_899fdffe97094ec1b8360b09ff7f19e4", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "modified": 1702991390349, - "created": 1696342619602, - "url": "{{IRS_HOST}}/irs/ess/orders", - "name": "Register ESS Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418113.5, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_500399b00f1c4beba49bb0d416693873", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "modified": 1705006936944, - "created": 1705006139836, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Cancel order job for given orderId", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_88db8badf4ea4a0d9968c769167407c8" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418111.25, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e5c9453b6ca4432dbc41f0719ebc10ee", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "modified": 1702991398473, - "created": 1680682418109, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Search for given orderId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418109, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_17ef91cf95974a88ab1ea3caac512f2e", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "modified": 1702991409664, - "created": 1680682418099, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", - "name": "Search for given orderId and batchId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418099, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4c99e0188bee4399b5b835473f5faf0c", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", - "modified": 1690472186478, - "created": 1678358655308, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722939.1875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_b3e64009f73b4de58102f62dfddee9da", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", - "modified": 1690362660167, - "created": 1690362660167, - "name": "Catalog", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1690362660167, - "_type": "request_group" - }, - { - "_id": "fld_64cab3b2c6fd483e87208b3ff434a03e", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "modified": 1690363778601, - "created": 1675675609576, - "name": "EDC-Requests", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418078, - "_type": "request_group" - }, - { - "_id": "req_3c34357d0ea04bccb4b6213f492673cc", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", - "modified": 1691500654267, - "created": 1685521485278, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with registry filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722889.1875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_36dd4e98c75b43dcac15252ad1b05469", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", - "modified": 1705940987109, - "created": 1691654388376, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with asset filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722789.1875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b1080c0e01e640afad06e99a8e9c6256", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1691578280640, - "created": 1675675609557, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", - "name": "Start contract negotiation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511095, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", - "modified": 1684146626847, - "created": 1684146519491, - "name": "Negotiation", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1679911060327.75, - "_type": "request_group" - }, - { - "_id": "req_56247bd1dd154ba5b925d7c2347adbb8", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1690362123962, - "created": 1675675609549, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", - "name": "Get contract negotiation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511045, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_61c7b18918854333bf64b6b2a7d30a0e", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1690362117725, - "created": 1685444139708, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", - "name": "Cancel contract negotation", - "description": "", - "method": "POST", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511020, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bb6f0b86fcdc45e190c8295415554a19", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1690361721223, - "created": 1681911985730, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", - "name": "Get contract negotiations", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510995, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_64bfc1e19445477497857f7e4573cf65", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1691578311420, - "created": 1675675609541, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", - "name": "Start transferprocess", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510945, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fa5e5cf564a74c8c9a804b7b2b8963e2", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1691503370103, - "created": 1679993996270, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", - "name": "Get transferprocess by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510895, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b8f90634a5944b348ea9494c7f17b6a8", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1690361795179, - "created": 1675675609525, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", - "name": "Get transferprocesses", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510845, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_edcebfca1e5a40d6b7f2d99e74db43c3", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "modified": 1690361763512, - "created": 1681910653593, - "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", - "name": "Get contract agreements", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510795, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_317357c37d724aa2a25d2243ec444e31", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362947546, - "created": 1681907482278, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", - "name": "Create Asset", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033461.75, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", - "modified": 1705940929752, - "created": 1684146457388, - "name": "Provider", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1678852197613.5625, - "_type": "request_group" - }, - { - "_id": "req_570c4a14d7db43a18d296cb11f1a1cee", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362407763, - "created": 1685444139630, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Asset by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033452.375, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c4df9110e0a345cc95afe85a30eac32b", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362438115, - "created": 1685444139625, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", - "name": "Get all Assets", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033447.6875, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0bc18af3230d4046b3e805ad47d7a86d", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362400081, - "created": 1685444139636, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Asset", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033433.625, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bf080627d91545438cb460ad078fc01a", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362581978, - "created": 1685444139641, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", - "name": "Create Policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033403.9375, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_06b8fed2305945deafe7dd173618e440", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362549290, - "created": 1685444139647, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Policy by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033364.0937, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ab6433968d444c4fb3980000d98c177e", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362591799, - "created": 1685444139653, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", - "name": "Get all Policies", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033344.1719, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2d58d303468d4b42bc2943873356836c", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362559324, - "created": 1685444139659, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Policy by ID", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033299.25, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c7751e7ea2a343a1bfdf5a7391d8b1e8", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690363080444, - "created": 1685444139665, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", - "name": "Create Contract Definitinion", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033261.75, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4dbe36f239974916b8328f92025f7079", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690362691392, - "created": 1685444139672, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Contract Definition by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033199.25, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b6e1779d1fd74edfa3e9861e5a2f85b4", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690363126919, - "created": 1685444139678, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", - "name": "Get all Contract Definitinions", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033174.25, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0841b47dec974e11a2ec9db073fb6af0", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "modified": 1690363136216, - "created": 1685444139684, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Contract Definition", - "description": "", - "method": "DELETE", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033149.25, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "env_d2b7eb1621841465ea24b73343568b286aa8ac9a", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1680782486844, - "created": 1680782486844, - "name": "Base Environment", - "data": {}, - "dataPropertyOrder": null, - "color": null, - "isPrivate": false, - "metaSortKey": 1680782486844, - "_type": "environment" - }, - { - "_id": "jar_d2b7eb1621841465ea24b73343568b286aa8ac9a", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1709815397125, - "created": 1680782486851, - "name": "Default Jar", - "cookies": [ - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp.int.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-04-06T13:30:18.499Z", - "lastAccessed": "2024-03-07T12:43:17.124Z", - "id": "4402460762686" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp-pen.dev.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2024-02-13T11:37:30.975Z", - "lastAccessed": "2024-02-13T11:54:54.713Z", - "id": "7574385565222739" - } - ], - "_type": "cookie_jar" - }, - { - "_id": "spc_22dfe33611af4731965cc2b08febcfdb", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1680782484284, - "created": 1680782484284, - "fileName": "IRS", - "contents": "", - "contentType": "yaml", - "_type": "api_spec" - }, - { - "_id": "spc_3a573993100a40b3bc2b0a5bd8e5cc48", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1681726479575, - "created": 1681726479575, - "fileName": "IRS", - "contents": "", - "contentType": "yaml", - "_type": "api_spec" - } - ] + "_type": "export", + "__export_format": 4, + "__export_date": "2024-03-22T09:31:33.166Z", + "__export_source": "insomnia.desktop.app:v8.6.1", + "resources": [ + { + "_id": "req_2d5a4fb5ec0845059533cb9904910156", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099785377, + "created": 1705005887617, + "url": "{{IRS_HOST}}/irs/policies?bpnls=BPNL00000001CRHK", + "name": "Get all policies", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1705005887617, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_c751e5e73d5248a3ae22a44bafae7906", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1687243055015, + "created": 1687243055015, + "name": "Policy Store", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1687243055015, + "_type": "request_group" + }, + { + "_id": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1691572726194, + "created": 1680682418636, + "name": "IRS DEMO Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418636, + "_type": "request_group" + }, + { + "_id": "wrk_d83bab75184e43adadd63001907af70d", + "parentId": null, + "modified": 1711099756361, + "created": 1711099756361, + "name": "IRS", + "description": "", + "scope": "collection", + "_type": "workspace" + }, + { + "_id": "req_ab9376672bd94bd783aa97f36646981b", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1702990529632, + "created": 1687243204155, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", + "name": "Delete policy", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1685602897140.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a68c5fa596ee4b738eefd6b7b4e2bd7a", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099840007, + "created": 1693576003390, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Update policy", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684874704117.875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_95aa08cefddc4743afc85fcabf40e4ee", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099862861, + "created": 1687243182397, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Register policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-1\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-12\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1683962737633.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b22ea4121d2249e0830489b188ec21e4", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003275081, + "created": 1680682418619, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", + "name": "Get Shell by aasIdentifier", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418619, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_5930ffca903d46feb1793ebd290dde47", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1691504187689, + "created": 1680682418630, + "name": "Digital Twin Registry", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418630, + "_type": "request_group" + }, + { + "_id": "req_ca1125488c45483c9ddda17955067893", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706002920212, + "created": 1690529035794, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", + "name": "Get Shells", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418614, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6735560470e644d2b0378e7bddf1b99e", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003278149, + "created": 1680682418609, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By BPN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", + "disabled": true, + "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", + "disabled": true, + "id": "pair_cc48c08e3b834497a2d88bd4201c3867" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", + "disabled": false, + "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", + "disabled": true, + "id": "pair_706e6930cc874343941b744a054ef388" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", + "disabled": true, + "id": "pair_45c6bcf3266a475891ebbbba6cde0798" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", + "disabled": true, + "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", + "disabled": true, + "id": "pair_d72f55c7bf714c7c9aae58456c778443" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", + "disabled": true, + "id": "pair_406c9da4dc014fb297f70bb3da7128c1" + } + ], + "headers": [ + { + "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418609, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_837d51ff21e140ab96da276abdaaef54", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003280850, + "created": 1680682418595, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By VAN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", + "disabled": false, + "id": "pair_50d86e928e9f448d97da8ada0390e12f" + } + ], + "headers": [ + { + "id": "pair_ed11c2a6df9248e292914df944e8ba93", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418595, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9332ba908a3648328059a85fc5583ac9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003354109, + "created": 1680682418581, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", + "disabled": false, + "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" + } + ], + "headers": [ + { + "id": "pair_71ae5e562e9c414a82e84220f3c00343", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418581, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0b28f257a75249d084c0cedad0e3c655", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003284715, + "created": 1680682418570, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By VAN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_2f4c445074514f92a4dee92554053d0a" + }, + { + "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418570, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f593512f0af543a6b70242da819df2db", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003286642, + "created": 1691408320970, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" + }, + { + "id": "pair_5dc1d703196747318faff9a8dd96be0c", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418560.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bbb801fd3b2b444bb3318a8de92918a9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003289343, + "created": 1689167429413, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Shell by aasIdentifier", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [ + { + "id": "pair_6266690c04fd466fa1617082f5b8ec76", + "name": "pageSize", + "value": "50", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418470, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7ea6d52eea2442ba82a8255041f3cb39", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991054859, + "created": 1680682418551, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.0.0 [Register Job]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418551, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_80d0dfda7d9849f8923030bcb64169a7", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418562, + "created": 1680682418562, + "name": "IRS Test Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418562, + "_type": "request_group" + }, + { + "_id": "req_b5a068e9bd7044c699f03ee26a1c7499", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991058493, + "created": 1680682418539, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.0 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418539, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f32ea4db7e4e4c0fa9a4058f20ab3a58", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991063641, + "created": 1680682418524, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.1 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418524, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fa7ee06927f942a88dcf9d047a59dd22", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991067797, + "created": 1680682418514, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418514, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0a75e90c3b8c4f4cb2088d456b0d1d98", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991071709, + "created": 1680682418504, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418504, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4424152376ce49e1b00d404b4346b9e4", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991076696, + "created": 1695042901876, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418496, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b8bcd1059fa0428fa74db6e0df9a549c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076144872, + "created": 1680682418488, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.0 [Register Job with aspect SerialPart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418488, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1f8b0bee14394eebbd17f2a845491f5b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076455844, + "created": 1680682418479, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418479, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3d4c81094d24462c9f6eb69069dabfcf", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076515556, + "created": 1680682418469, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418469, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d11875dae2e142cd99de8db2594b5749", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076741632, + "created": 1680682418442, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.3 [Register Job with aspect PartAsPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418442, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3664de01c8554ff89c651dff9e0821ab", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076751758, + "created": 1680682418432, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.4 [Register Job with upward direction]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418432, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_60839c35d2124c9fbb593969fcc552df", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076760570, + "created": 1695192937155, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.5 [Register Job with aspect JustInSequencePart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418428, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5215512817494d63918383988c06144c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076769119, + "created": 1695192971825, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418426, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_050aba71af544728bf13966232a68c94", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076214310, + "created": 1680682418424, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418424, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_245ceb95afa8407ba017e6143e942557", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991130711, + "created": 1680682418414, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418414, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5c0c50a042914805a4f00cc38e6ec327", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076937249, + "created": 1680682418401, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.5.0 [Register Job with all aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418401, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fd882f9ee36c4efaaaaad5ee15110e95", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076677384, + "created": 1680682418392, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.6.0 [Register Job with BPN lookup]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418392, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7c176ef2953f4ef3a9bafdf1fdc4f59c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076237949, + "created": 1683184048412, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.7.0 [Register Job with invalid policy]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418386.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e72bfa320e9d44c7b5df861133034f65", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076397373, + "created": 1693493383337, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.0 [Register Job with data integrity success]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418382.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0b0ebd7ab684c038163cbda0d8e38b2", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076245754, + "created": 1693493584873, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.1 [Register Job with data integrity wrong hash]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_daed8469e6804426b06e685c13c5a2ee", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076391502, + "created": 1693493594373, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.2 [Register Job with data integrity wrong signature]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.3438, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3ee66542ae4d4bd086097cc127901a0d", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076385497, + "created": 1693493604521, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_db0100a82fdc4bd7ac88f5fcbfc951f7", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991173689, + "created": 1680682418381, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.0 [Search for completed Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "COMPLETED", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bf1ded5777714303b33ecc6d802d65ac", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991177973, + "created": 1680682418372, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.1 [Search for Jobs in error state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418372, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6dbc72ee2c494a1784766b54862ed682", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991182139, + "created": 1680682418358, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.2 [Search for Jobs in initial state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "INITIAL", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418358, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ac1c2b21900440d4901111176675e2ff", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991186114, + "created": 1680682418348, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.3 [Search for all Jobs in JobStore]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418348, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_53fd3aefa06945f8aea85d3b3c322699", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991190326, + "created": 1680682418339, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.1.0 [Search for running Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "RUNNING", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418339, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0f0101575ead4084b46710bfb0091f3f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991196283, + "created": 1680682418325, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.0.0 [Search for given jobId with uncomplete]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418325, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c50ba332341e4018b4313e7e72695954", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991200399, + "created": 1680682418316, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.1.0 [Search for given jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418316, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bfcb98fc286a4be79030c9513ed9735f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991205447, + "created": 1680682418307, + "url": "{{IRS_HOST}}/irs/jobs/test", + "name": "3.1.1 [Search for invalid jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418307, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_35c58b65dd9d4582ab9472ad1c9d3e3b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991214202, + "created": 1680682418297, + "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", + "name": "3.1.2 [Search for unknown jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418297, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_896fa0136d6e49d69a938f4de5811bad", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991218362, + "created": 1680682418280, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "6.0.0 [Cancel Job for given jobId]", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418280, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_69f863ad2c674907ad29581828ba5c43", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942015684, + "created": 1682672699249, + "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", + "name": "Find BPN endpoints for manufacturer numbers", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630902023, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1683630931664, + "created": 1683630887514, + "name": "Discovery", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418417.5, + "_type": "request_group" + }, + { + "_id": "req_7ba23e27b73845c9a9b566c72f4f0c29", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942027574, + "created": 1683031718699, + "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", + "name": "Find BPN Discovery Endpoints of type BPN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901923, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4325898bf3df40648ad9cf8b304a58ee", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942036978, + "created": 1683560906453, + "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", + "name": "Find EDC endpoints for BPNs", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "[\n\t\"BPNL00000001CRHK\"\n]" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901873, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_349d613f763d4102bee054dcfd5da1bc", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1710076352238, + "created": 1680682418265, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Register Job", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418265, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418273, + "created": 1680682418273, + "name": "IRS Basic API Calls", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418273, + "_type": "request_group" + }, + { + "_id": "req_9b5111fd12ea47639c6621d23ddc528c", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1705942154792, + "created": 1680682418238, + "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", + "name": "Get registered Job", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418261, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0a7c66ccddb04f9caca830e197aecf64", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991288793, + "created": 1680682418257, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for all Jobs in JobStore", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418257, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3d05fdc2d1e24d60960031834adf6753", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991284435, + "created": 1680682418247, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for Jobs for given state", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": true, + "id": "pair_c694b66f41e649db837f801b5699859e" + }, + { + "name": "jobStates", + "value": "CANCELED,COMPLETED", + "disabled": false, + "id": "pair_ab346623e5394504b7232cc40ae75bed" + }, + { + "id": "pair_ddbccd5219944e8cac3d99249ba881e5", + "name": "jobStates", + "value": "RUNNING", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418247, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_22194c017aac4261bb344662839de6f5", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1703236659047, + "created": 1690384427379, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Get Job for jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418238, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_95ccc8f10f584a4aaf4d2a0b9c44441b", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991276045, + "created": 1680682418229, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Cancel Job for jobId", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418229, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d677e6e5a736406ba05aea1a9a98595a", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991272198, + "created": 1682498338739, + "url": "{{IRS_HOST}}/irs/aspectmodels", + "name": "Get all available Aspect Models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418179, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b1a92060c1bd47078fbee001952da6d8", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942066941, + "created": 1680682418213, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", + "name": "Get all models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "pageSize", + "value": "100", + "disabled": false, + "id": "pair_96567b64925d4487bae4c74bfa9e021e" + }, + { + "id": "pair_2dae68db8a564296a5835e66d951331f", + "name": "status", + "value": "RELEASED", + "description": "" + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418213, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_187756e90d514741a65cb9617a3ea41a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418222, + "created": 1680682418222, + "name": "Semantics Hub", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418222, + "_type": "request_group" + }, + { + "_id": "req_bf8fdccfac4141ea871c41d4f7403f5c", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942077015, + "created": 1680682418204, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", + "name": "Get SerialPartTypization", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418204, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fb25cdceae984425b3aa867c3d5ea866", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942085733, + "created": 1680682418192, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", + "name": "Get SerialPartTypization Json Schema", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418192, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fad2ca6d902f401da947308e36bb22ff", + "parentId": "fld_26b4903278b54dc5a940fe28e4dd200a", + "modified": 1705942100313, + "created": 1680682418174, + "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", + "name": "Get business partner by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "idType", + "value": "BPN", + "disabled": false + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.BPDM_CLIENT_ID }}", + "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418174, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_26b4903278b54dc5a940fe28e4dd200a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418184, + "created": 1680682418184, + "name": "Business partner data management", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418184, + "_type": "request_group" + }, + { + "_id": "req_1b203a87420e42d5ba75c662ac8f49ee", + "parentId": "fld_048a4c04d1c4419683cb645279444127", + "modified": 1702991347797, + "created": 1680682418157, + "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", + "name": "Get Esr Statistics", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418158, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_048a4c04d1c4419683cb645279444127", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418167, + "created": 1680682418167, + "name": "ESR Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418167, + "_type": "request_group" + }, + { + "_id": "req_32cc185810924d6cba6bb783422e919e", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1702991361578, + "created": 1680682418143, + "url": "{{IRS_HOST}}/ess/bpn/investigations", + "name": "Register Job Investigation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418143, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_c645034b945b4aa5a34f15c60be2b27c", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418151, + "created": 1680682418151, + "name": "ESS Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418151, + "_type": "request_group" + }, + { + "_id": "req_818115f180424cc287bc730453851346", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1705942138125, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", + "name": "Get registered investigation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418138.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2a5fb997e87c439c8d2d75b1278bae3f", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1702991370481, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Search for investigation by jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418134, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_09e428687b484535af82e17dbf9a68bf", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1710076303275, + "created": 1680682418118, + "url": "{{IRS_HOST}}/irs/orders", + "name": "Register Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418118, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_9b6334cef97a427195690af454455820", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418128, + "created": 1680682418128, + "name": "Batch Processing", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418128, + "_type": "request_group" + }, + { + "_id": "req_cfe969099893477d95f7f654a588750a", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991390349, + "created": 1696342619602, + "url": "{{IRS_HOST}}/irs/ess/orders", + "name": "Register ESS Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418113.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9aca2c0b52564e64b266ecf2ef22d5e0", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1705006936944, + "created": 1705006139836, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Cancel order job for given orderId", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_88db8badf4ea4a0d9968c769167407c8" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418111.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_55a45adbf0c9488ab2c912b92a49a103", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991398473, + "created": 1680682418109, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Search for given orderId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418109, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c2b63b7133fb460db0f6289b75733bc6", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991409664, + "created": 1680682418099, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", + "name": "Search for given orderId and batchId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418099, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b74cc6344b7c4388b96656993b172d46", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1690472186478, + "created": 1678358655308, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722939.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_46a973a72ee54858be7b730077f4a0c6", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1690362660167, + "created": 1690362660167, + "name": "Catalog", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1690362660167, + "_type": "request_group" + }, + { + "_id": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1690363778601, + "created": 1675675609576, + "name": "EDC-Requests", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418078, + "_type": "request_group" + }, + { + "_id": "req_73691ed276bd4771a5f9504075648a79", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1691500654267, + "created": 1685521485278, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with registry filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722889.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f063f58ce17c4c04bcd9e8feea08027c", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1705940987109, + "created": 1691654388376, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with asset filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722789.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5eb26ad544f147b9a6f145a931e9f500", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691578280640, + "created": 1675675609557, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", + "name": "Start contract negotiation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511095, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1684146626847, + "created": 1684146519491, + "name": "Negotiation", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1679911060327.75, + "_type": "request_group" + }, + { + "_id": "req_4fced7f1dd1c40b3b7ff236a89f1922e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690362123962, + "created": 1675675609549, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", + "name": "Get contract negotiation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511045, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e62636f85f0d48d6bfb21a16602eacda", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690362117725, + "created": 1685444139708, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", + "name": "Cancel contract negotation", + "description": "", + "method": "POST", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511020, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0b90529e95545af8d9f6ef234d64670", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361721223, + "created": 1681911985730, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", + "name": "Get contract negotiations", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510995, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7ef28b43bb8444728eb0bedaf8af2111", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691578311420, + "created": 1675675609541, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", + "name": "Start transferprocess", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510945, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_04d6350cd308435589ff2d8fb6bb01dc", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691503370103, + "created": 1679993996270, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", + "name": "Get transferprocess by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510895, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4ec26c1537ed4c66ac8d6da53a506c71", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361795179, + "created": 1675675609525, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", + "name": "Get transferprocesses", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510845, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0d7af3abbb194ed191e482b9b857070e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361763512, + "created": 1681910653593, + "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", + "name": "Get contract agreements", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510795, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_633a776c22914478a6899c6f2f757d8e", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362947546, + "created": 1681907482278, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", + "name": "Create Asset", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033461.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_ca5fb2ce9c5a4640b827916773279500", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1705940929752, + "created": 1684146457388, + "name": "Provider", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1678852197613.5625, + "_type": "request_group" + }, + { + "_id": "req_52d9308387b04d60a06b43ee1c492478", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362407763, + "created": 1685444139630, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Asset by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033452.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1ae8b300301b406eb545df43a353fda9", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362438115, + "created": 1685444139625, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", + "name": "Get all Assets", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033447.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9eff358d42094196924ab55c23d7510d", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362400081, + "created": 1685444139636, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Asset", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033433.625, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5fd712c0594d4b46a349bb56dae21809", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362581978, + "created": 1685444139641, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", + "name": "Create Policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033403.9375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8b5ce92a1e96425e8353aba23643cd6b", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362549290, + "created": 1685444139647, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Policy by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033364.0938, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_274c9ac5236046919dd4bb71af15dd62", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362591799, + "created": 1685444139653, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", + "name": "Get all Policies", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033344.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e5e4eaf35c7545d7aaacf2388e2a42fc", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362559324, + "created": 1685444139659, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Policy by ID", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033299.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_92959d74ff4f475b8e357e4958b1c457", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363080444, + "created": 1685444139665, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", + "name": "Create Contract Definitinion", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033261.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3de985b534fd4b23ad77e45e40126706", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362691392, + "created": 1685444139672, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Contract Definition by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033199.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_730967ca2ad2470bab0d047f7491c460", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363126919, + "created": 1685444139678, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", + "name": "Get all Contract Definitinions", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033174.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b200c2519b814e159bdde39fd86690a2", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363136216, + "created": 1685444139684, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Contract Definition", + "description": "", + "method": "DELETE", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033149.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "env_a3894a0a395c481d84f1126ba07bb47c", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1680782486844, + "created": 1680782486844, + "name": "Base Environment", + "data": {}, + "dataPropertyOrder": null, + "color": null, + "isPrivate": false, + "metaSortKey": 1680782486844, + "_type": "environment" + }, + { + "_id": "jar_13d0657e04f54f6ab1e9903f108f0841", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1709815397125, + "created": 1680782486851, + "name": "Default Jar", + "cookies": [ + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp.int.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2023-04-06T13:30:18.499Z", + "lastAccessed": "2024-03-07T12:43:17.124Z", + "id": "4402460762686" + }, + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp-pen.dev.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2024-02-13T11:37:30.975Z", + "lastAccessed": "2024-02-13T11:54:54.713Z", + "id": "7574385565222739" + } + ], + "_type": "cookie_jar" + } + ] } \ No newline at end of file From 296261516d3e9efb501b492658b87e43d12abfda Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 10:44:49 +0100 Subject: [PATCH 17/32] feat(irs):[#199] sonar issues fix --- .../policystore/controllers/PolicyStoreController.java | 2 +- .../irs/policystore/persistence/PolicyPersistence.java | 8 +++++--- .../policystore/persistence/PolicyPersistenceTest.java | 9 ++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index 10158a99af..1caf0a65aa 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -150,7 +150,7 @@ public Map> getPolicies(@RequestParam(required = fa .entrySet() .stream() .map(entry -> new AbstractMap.SimpleEntry<>(entry.getKey(), - entry.getValue().stream().map(PolicyResponse::fromPolicy).collect(Collectors.toList()))) + entry.getValue().stream().map(PolicyResponse::fromPolicy).toList())) .collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); } diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java index 3eaa762819..84a92b6316 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistence.java @@ -62,6 +62,8 @@ public class PolicyPersistence { */ private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock(); + private static final String COULD_NOT_READ_POLICY_ERROR_MESSAGE = "Could not read the policies from the store"; + public PolicyPersistence(@Qualifier(POLICY_BLOB_PERSISTENCE) final BlobPersistence policyStorePersistence, final ObjectMapper mapper) { this.policyStorePersistence = policyStorePersistence; @@ -111,7 +113,7 @@ public List readAll(final String bpn) { try { return mapper.readerForListOf(Policy.class).>readValue(blob); } catch (IOException | RuntimeException e) { - throw new PolicyStoreException("Could not read the policies from the store", e); + throw new PolicyStoreException(COULD_NOT_READ_POLICY_ERROR_MESSAGE, e); } }).map(ArrayList::new).orElseGet(ArrayList::new); @@ -134,11 +136,11 @@ public Map> readAll() { return new AbstractMap.SimpleEntry<>(bpn, mapper.readerForListOf(Policy.class).>readValue(entry.getValue())); } catch (IOException e) { - throw new PolicyStoreException("Could not read the policies from the store", e); + throw new PolicyStoreException(COULD_NOT_READ_POLICY_ERROR_MESSAGE, e); } }).collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey, AbstractMap.SimpleEntry::getValue)); } catch (BlobPersistenceException e) { - throw new PolicyStoreException("Could not read the policies from the store", e); + throw new PolicyStoreException(COULD_NOT_READ_POLICY_ERROR_MESSAGE, e); } } diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java index c29eea59e4..60a48e3c00 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/persistence/PolicyPersistenceTest.java @@ -100,7 +100,8 @@ void saveDuplicate() throws BlobPersistenceException, JsonProcessingException { when(mockPersistence.getBlob(anyString())).thenReturn(Optional.of(mapper.writeValueAsBytes(policies))); // act & assert - assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); + final List bpn = List.of("testBpn"); + assertThatThrownBy(() -> testee.save(bpn, policy)).isInstanceOf(PolicyStoreException.class); } @Test @@ -111,7 +112,8 @@ void saveWithError() throws BlobPersistenceException { new BlobPersistenceException("test", new IllegalStateException())); // act & assert - assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); + final List bpn = List.of("testBpn"); + assertThatThrownBy(() -> testee.save(bpn, policy)).isInstanceOf(PolicyStoreException.class); } @Test @@ -122,7 +124,8 @@ void saveWithWriteError() throws BlobPersistenceException { .putBlob(any(), any()); // act & assert - assertThatThrownBy(() -> testee.save(List.of("testBpn"), policy)).isInstanceOf(PolicyStoreException.class); + final List bpn = List.of("testBpn"); + assertThatThrownBy(() -> testee.save(bpn, policy)).isInstanceOf(PolicyStoreException.class); } @Test From 740b1884da9c50ea5ea1021a767adb7ecea5ab36 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 10:53:06 +0100 Subject: [PATCH 18/32] feat(irs):[#199] sonar issues fix --- .../irs/policystore/services/PolicyStoreServiceTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java index 1cbcd65b4f..93a0f38afe 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreServiceTest.java @@ -358,7 +358,8 @@ void updatePolicyShouldThrowResponseStatusException() { doThrow(new PolicyStoreException("")).when(persistence).readAll(); // assert - assertThrows(ResponseStatusException.class, () -> testee.updatePolicy(policyId, validUntil, List.of("bpn"))); + final List bpn = List.of("bpn"); + assertThrows(ResponseStatusException.class, () -> testee.updatePolicy(policyId, validUntil, bpn)); } } \ No newline at end of file From 13136f5d870b83030d2760d099dc38668dc19048 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 13:24:09 +0100 Subject: [PATCH 19/32] feat(irs):[#199] changed spaces in irs request collection --- .../IRS_Request_Collection.json | 7224 ++++++++--------- 1 file changed, 3612 insertions(+), 3612 deletions(-) diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index 0b808b6602..64b78861ad 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1,3625 +1,3625 @@ { - "_type": "export", - "__export_format": 4, - "__export_date": "2024-03-22T09:31:33.166Z", - "__export_source": "insomnia.desktop.app:v8.6.1", - "resources": [ - { - "_id": "req_2d5a4fb5ec0845059533cb9904910156", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099785377, - "created": 1705005887617, - "url": "{{IRS_HOST}}/irs/policies?bpnls=BPNL00000001CRHK", - "name": "Get all policies", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1705005887617, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_c751e5e73d5248a3ae22a44bafae7906", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1687243055015, - "created": 1687243055015, - "name": "Policy Store", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1687243055015, - "_type": "request_group" - }, - { - "_id": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1691572726194, - "created": 1680682418636, - "name": "IRS DEMO Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418636, - "_type": "request_group" - }, - { - "_id": "wrk_d83bab75184e43adadd63001907af70d", - "parentId": null, - "modified": 1711099756361, - "created": 1711099756361, - "name": "IRS", - "description": "", - "scope": "collection", - "_type": "workspace" - }, - { - "_id": "req_ab9376672bd94bd783aa97f36646981b", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1702990529632, - "created": 1687243204155, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", - "name": "Delete policy", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1685602897140.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_a68c5fa596ee4b738eefd6b7b4e2bd7a", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099840007, - "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Update policy", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684874704117.875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_95aa08cefddc4743afc85fcabf40e4ee", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099862861, - "created": 1687243182397, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Register policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-1\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-12\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1683962737633.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b22ea4121d2249e0830489b188ec21e4", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003275081, - "created": 1680682418619, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", - "name": "Get Shell by aasIdentifier", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418619, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_5930ffca903d46feb1793ebd290dde47", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1691504187689, - "created": 1680682418630, - "name": "Digital Twin Registry", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418630, - "_type": "request_group" - }, - { - "_id": "req_ca1125488c45483c9ddda17955067893", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706002920212, - "created": 1690529035794, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", - "name": "Get Shells", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418614, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6735560470e644d2b0378e7bddf1b99e", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003278149, - "created": 1680682418609, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By BPN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", - "disabled": true, - "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", - "disabled": true, - "id": "pair_cc48c08e3b834497a2d88bd4201c3867" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", - "disabled": false, - "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", - "disabled": true, - "id": "pair_706e6930cc874343941b744a054ef388" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", - "disabled": true, - "id": "pair_45c6bcf3266a475891ebbbba6cde0798" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", - "disabled": true, - "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", - "disabled": true, - "id": "pair_d72f55c7bf714c7c9aae58456c778443" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", - "disabled": true, - "id": "pair_406c9da4dc014fb297f70bb3da7128c1" - } - ], - "headers": [ + "_type": "export", + "__export_format": 4, + "__export_date": "2024-03-22T09:31:33.166Z", + "__export_source": "insomnia.desktop.app:v8.6.1", + "resources": [ + { + "_id": "req_2d5a4fb5ec0845059533cb9904910156", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099785377, + "created": 1705005887617, + "url": "{{IRS_HOST}}/irs/policies?bpnls=BPNL00000001CRHK", + "name": "Get all policies", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1705005887617, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418609, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_837d51ff21e140ab96da276abdaaef54", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003280850, - "created": 1680682418595, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By VAN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", - "disabled": false, - "id": "pair_50d86e928e9f448d97da8ada0390e12f" - } - ], - "headers": [ + "_id": "fld_c751e5e73d5248a3ae22a44bafae7906", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1687243055015, + "created": 1687243055015, + "name": "Policy Store", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1687243055015, + "_type": "request_group" + }, { - "id": "pair_ed11c2a6df9248e292914df944e8ba93", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418595, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9332ba908a3648328059a85fc5583ac9", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003354109, - "created": 1680682418581, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", - "disabled": false, - "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" - } - ], - "headers": [ + "_id": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1691572726194, + "created": 1680682418636, + "name": "IRS DEMO Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418636, + "_type": "request_group" + }, { - "id": "pair_71ae5e562e9c414a82e84220f3c00343", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418581, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0b28f257a75249d084c0cedad0e3c655", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003284715, - "created": 1680682418570, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By VAN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_2f4c445074514f92a4dee92554053d0a" - }, - { - "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418570, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f593512f0af543a6b70242da819df2db", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003286642, - "created": 1691408320970, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" - }, - { - "id": "pair_5dc1d703196747318faff9a8dd96be0c", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418560.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bbb801fd3b2b444bb3318a8de92918a9", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003289343, - "created": 1689167429413, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Shell by aasIdentifier", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [ - { - "id": "pair_6266690c04fd466fa1617082f5b8ec76", - "name": "pageSize", - "value": "50", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418470, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7ea6d52eea2442ba82a8255041f3cb39", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991054859, - "created": 1680682418551, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.0.0 [Register Job]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418551, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_80d0dfda7d9849f8923030bcb64169a7", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418562, - "created": 1680682418562, - "name": "IRS Test Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418562, - "_type": "request_group" - }, - { - "_id": "req_b5a068e9bd7044c699f03ee26a1c7499", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991058493, - "created": 1680682418539, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.0 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418539, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f32ea4db7e4e4c0fa9a4058f20ab3a58", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991063641, - "created": 1680682418524, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.1 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418524, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fa7ee06927f942a88dcf9d047a59dd22", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991067797, - "created": 1680682418514, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418514, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0a75e90c3b8c4f4cb2088d456b0d1d98", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991071709, - "created": 1680682418504, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418504, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4424152376ce49e1b00d404b4346b9e4", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991076696, - "created": 1695042901876, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418496, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b8bcd1059fa0428fa74db6e0df9a549c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076144872, - "created": 1680682418488, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.0 [Register Job with aspect SerialPart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418488, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1f8b0bee14394eebbd17f2a845491f5b", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076455844, - "created": 1680682418479, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418479, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3d4c81094d24462c9f6eb69069dabfcf", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076515556, - "created": 1680682418469, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418469, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d11875dae2e142cd99de8db2594b5749", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076741632, - "created": 1680682418442, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.3 [Register Job with aspect PartAsPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418442, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3664de01c8554ff89c651dff9e0821ab", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076751758, - "created": 1680682418432, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.4 [Register Job with upward direction]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418432, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_60839c35d2124c9fbb593969fcc552df", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076760570, - "created": 1695192937155, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.5 [Register Job with aspect JustInSequencePart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418428, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5215512817494d63918383988c06144c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076769119, - "created": 1695192971825, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418426, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_050aba71af544728bf13966232a68c94", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076214310, - "created": 1680682418424, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418424, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_245ceb95afa8407ba017e6143e942557", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991130711, - "created": 1680682418414, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418414, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5c0c50a042914805a4f00cc38e6ec327", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076937249, - "created": 1680682418401, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.5.0 [Register Job with all aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418401, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fd882f9ee36c4efaaaaad5ee15110e95", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076677384, - "created": 1680682418392, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.6.0 [Register Job with BPN lookup]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418392, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7c176ef2953f4ef3a9bafdf1fdc4f59c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076237949, - "created": 1683184048412, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.7.0 [Register Job with invalid policy]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418386.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e72bfa320e9d44c7b5df861133034f65", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076397373, - "created": 1693493383337, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.0 [Register Job with data integrity success]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418382.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d0b0ebd7ab684c038163cbda0d8e38b2", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076245754, - "created": 1693493584873, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.1 [Register Job with data integrity wrong hash]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_daed8469e6804426b06e685c13c5a2ee", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076391502, - "created": 1693493594373, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.2 [Register Job with data integrity wrong signature]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.3438, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3ee66542ae4d4bd086097cc127901a0d", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076385497, - "created": 1693493604521, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_db0100a82fdc4bd7ac88f5fcbfc951f7", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991173689, - "created": 1680682418381, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.0 [Search for completed Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "COMPLETED", - "disabled": false - } - ], - "headers": [ + "_id": "wrk_d83bab75184e43adadd63001907af70d", + "parentId": null, + "modified": 1711099756361, + "created": 1711099756361, + "name": "IRS", + "description": "", + "scope": "collection", + "_type": "workspace" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bf1ded5777714303b33ecc6d802d65ac", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991177973, - "created": 1680682418372, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.1 [Search for Jobs in error state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": false - } - ], - "headers": [ + "_id": "req_ab9376672bd94bd783aa97f36646981b", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1702990529632, + "created": 1687243204155, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", + "name": "Delete policy", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1685602897140.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418372, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6dbc72ee2c494a1784766b54862ed682", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991182139, - "created": 1680682418358, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.2 [Search for Jobs in initial state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "INITIAL", - "disabled": false - } - ], - "headers": [ + "_id": "req_a68c5fa596ee4b738eefd6b7b4e2bd7a", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099840007, + "created": 1693576003390, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Update policy", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684874704117.875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418358, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ac1c2b21900440d4901111176675e2ff", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991186114, - "created": 1680682418348, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.3 [Search for all Jobs in JobStore]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418348, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_53fd3aefa06945f8aea85d3b3c322699", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991190326, - "created": 1680682418339, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.1.0 [Search for running Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "RUNNING", - "disabled": false - } - ], - "headers": [ + "_id": "req_95aa08cefddc4743afc85fcabf40e4ee", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099862861, + "created": 1687243182397, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Register policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-1\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-12\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1683962737633.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418339, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0f0101575ead4084b46710bfb0091f3f", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991196283, - "created": 1680682418325, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.0.0 [Search for given jobId with uncomplete]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ + "_id": "req_b22ea4121d2249e0830489b188ec21e4", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003275081, + "created": 1680682418619, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", + "name": "Get Shell by aasIdentifier", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418619, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418325, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c50ba332341e4018b4313e7e72695954", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991200399, - "created": 1680682418316, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.1.0 [Search for given jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418316, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bfcb98fc286a4be79030c9513ed9735f", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991205447, - "created": 1680682418307, - "url": "{{IRS_HOST}}/irs/jobs/test", - "name": "3.1.1 [Search for invalid jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418307, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_35c58b65dd9d4582ab9472ad1c9d3e3b", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991214202, - "created": 1680682418297, - "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", - "name": "3.1.2 [Search for unknown jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418297, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_896fa0136d6e49d69a938f4de5811bad", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991218362, - "created": 1680682418280, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "6.0.0 [Cancel Job for given jobId]", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418280, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_69f863ad2c674907ad29581828ba5c43", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942015684, - "created": 1682672699249, - "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", - "name": "Find BPN endpoints for manufacturer numbers", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630902023, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1683630931664, - "created": 1683630887514, - "name": "Discovery", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418417.5, - "_type": "request_group" - }, - { - "_id": "req_7ba23e27b73845c9a9b566c72f4f0c29", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942027574, - "created": 1683031718699, - "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", - "name": "Find BPN Discovery Endpoints of type BPN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901923, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4325898bf3df40648ad9cf8b304a58ee", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942036978, - "created": 1683560906453, - "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", - "name": "Find EDC endpoints for BPNs", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "[\n\t\"BPNL00000001CRHK\"\n]" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901873, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_349d613f763d4102bee054dcfd5da1bc", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1710076352238, - "created": 1680682418265, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Register Job", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418265, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418273, - "created": 1680682418273, - "name": "IRS Basic API Calls", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418273, - "_type": "request_group" - }, - { - "_id": "req_9b5111fd12ea47639c6621d23ddc528c", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1705942154792, - "created": 1680682418238, - "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", - "name": "Get registered Job", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ + "_id": "fld_5930ffca903d46feb1793ebd290dde47", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1691504187689, + "created": 1680682418630, + "name": "Digital Twin Registry", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418630, + "_type": "request_group" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418261, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0a7c66ccddb04f9caca830e197aecf64", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991288793, - "created": 1680682418257, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for all Jobs in JobStore", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418257, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3d05fdc2d1e24d60960031834adf6753", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991284435, - "created": 1680682418247, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for Jobs for given state", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": true, - "id": "pair_c694b66f41e649db837f801b5699859e" - }, - { - "name": "jobStates", - "value": "CANCELED,COMPLETED", - "disabled": false, - "id": "pair_ab346623e5394504b7232cc40ae75bed" - }, - { - "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "jobStates", - "value": "RUNNING", - "description": "", - "disabled": true - } - ], - "headers": [ + "_id": "req_ca1125488c45483c9ddda17955067893", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706002920212, + "created": 1690529035794, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", + "name": "Get Shells", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418614, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418247, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_22194c017aac4261bb344662839de6f5", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1703236659047, - "created": 1690384427379, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Get Job for jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ + "_id": "req_6735560470e644d2b0378e7bddf1b99e", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003278149, + "created": 1680682418609, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By BPN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", + "disabled": true, + "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", + "disabled": true, + "id": "pair_cc48c08e3b834497a2d88bd4201c3867" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", + "disabled": false, + "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", + "disabled": true, + "id": "pair_706e6930cc874343941b744a054ef388" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", + "disabled": true, + "id": "pair_45c6bcf3266a475891ebbbba6cde0798" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", + "disabled": true, + "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", + "disabled": true, + "id": "pair_d72f55c7bf714c7c9aae58456c778443" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", + "disabled": true, + "id": "pair_406c9da4dc014fb297f70bb3da7128c1" + } + ], + "headers": [ + { + "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418609, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418238, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_95ccc8f10f584a4aaf4d2a0b9c44441b", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991276045, - "created": 1680682418229, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Cancel Job for jobId", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418229, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d677e6e5a736406ba05aea1a9a98595a", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991272198, - "created": 1682498338739, - "url": "{{IRS_HOST}}/irs/aspectmodels", - "name": "Get all available Aspect Models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418179, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b1a92060c1bd47078fbee001952da6d8", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942066941, - "created": 1680682418213, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", - "name": "Get all models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "pageSize", - "value": "100", - "disabled": false, - "id": "pair_96567b64925d4487bae4c74bfa9e021e" - }, - { - "id": "pair_2dae68db8a564296a5835e66d951331f", - "name": "status", - "value": "RELEASED", - "description": "" - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418213, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_187756e90d514741a65cb9617a3ea41a", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418222, - "created": 1680682418222, - "name": "Semantics Hub", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418222, - "_type": "request_group" - }, - { - "_id": "req_bf8fdccfac4141ea871c41d4f7403f5c", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942077015, - "created": 1680682418204, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", - "name": "Get SerialPartTypization", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418204, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fb25cdceae984425b3aa867c3d5ea866", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942085733, - "created": 1680682418192, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", - "name": "Get SerialPartTypization Json Schema", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418192, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fad2ca6d902f401da947308e36bb22ff", - "parentId": "fld_26b4903278b54dc5a940fe28e4dd200a", - "modified": 1705942100313, - "created": 1680682418174, - "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", - "name": "Get business partner by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "idType", - "value": "BPN", - "disabled": false - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.BPDM_CLIENT_ID }}", - "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418174, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_26b4903278b54dc5a940fe28e4dd200a", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418184, - "created": 1680682418184, - "name": "Business partner data management", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418184, - "_type": "request_group" - }, - { - "_id": "req_1b203a87420e42d5ba75c662ac8f49ee", - "parentId": "fld_048a4c04d1c4419683cb645279444127", - "modified": 1702991347797, - "created": 1680682418157, - "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", - "name": "Get Esr Statistics", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418158, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_048a4c04d1c4419683cb645279444127", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418167, - "created": 1680682418167, - "name": "ESR Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418167, - "_type": "request_group" - }, - { - "_id": "req_32cc185810924d6cba6bb783422e919e", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1702991361578, - "created": 1680682418143, - "url": "{{IRS_HOST}}/ess/bpn/investigations", - "name": "Register Job Investigation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418143, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_c645034b945b4aa5a34f15c60be2b27c", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418151, - "created": 1680682418151, - "name": "ESS Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418151, - "_type": "request_group" - }, - { - "_id": "req_818115f180424cc287bc730453851346", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1705942138125, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", - "name": "Get registered investigation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418138.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2a5fb997e87c439c8d2d75b1278bae3f", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1702991370481, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Search for investigation by jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418134, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_09e428687b484535af82e17dbf9a68bf", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1710076303275, - "created": 1680682418118, - "url": "{{IRS_HOST}}/irs/orders", - "name": "Register Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418118, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_9b6334cef97a427195690af454455820", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418128, - "created": 1680682418128, - "name": "Batch Processing", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418128, - "_type": "request_group" - }, - { - "_id": "req_cfe969099893477d95f7f654a588750a", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991390349, - "created": 1696342619602, - "url": "{{IRS_HOST}}/irs/ess/orders", - "name": "Register ESS Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418113.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9aca2c0b52564e64b266ecf2ef22d5e0", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1705006936944, - "created": 1705006139836, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Cancel order job for given orderId", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_88db8badf4ea4a0d9968c769167407c8" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418111.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_55a45adbf0c9488ab2c912b92a49a103", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991398473, - "created": 1680682418109, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Search for given orderId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418109, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c2b63b7133fb460db0f6289b75733bc6", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991409664, - "created": 1680682418099, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", - "name": "Search for given orderId and batchId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418099, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b74cc6344b7c4388b96656993b172d46", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1690472186478, - "created": 1678358655308, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722939.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_46a973a72ee54858be7b730077f4a0c6", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1690362660167, - "created": 1690362660167, - "name": "Catalog", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1690362660167, - "_type": "request_group" - }, - { - "_id": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1690363778601, - "created": 1675675609576, - "name": "EDC-Requests", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418078, - "_type": "request_group" - }, - { - "_id": "req_73691ed276bd4771a5f9504075648a79", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1691500654267, - "created": 1685521485278, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with registry filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722889.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f063f58ce17c4c04bcd9e8feea08027c", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1705940987109, - "created": 1691654388376, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with asset filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722789.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5eb26ad544f147b9a6f145a931e9f500", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691578280640, - "created": 1675675609557, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", - "name": "Start contract negotiation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511095, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1684146626847, - "created": 1684146519491, - "name": "Negotiation", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1679911060327.75, - "_type": "request_group" - }, - { - "_id": "req_4fced7f1dd1c40b3b7ff236a89f1922e", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690362123962, - "created": 1675675609549, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", - "name": "Get contract negotiation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511045, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e62636f85f0d48d6bfb21a16602eacda", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690362117725, - "created": 1685444139708, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", - "name": "Cancel contract negotation", - "description": "", - "method": "POST", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511020, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d0b90529e95545af8d9f6ef234d64670", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361721223, - "created": 1681911985730, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", - "name": "Get contract negotiations", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510995, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7ef28b43bb8444728eb0bedaf8af2111", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691578311420, - "created": 1675675609541, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", - "name": "Start transferprocess", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510945, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_04d6350cd308435589ff2d8fb6bb01dc", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691503370103, - "created": 1679993996270, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", - "name": "Get transferprocess by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510895, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4ec26c1537ed4c66ac8d6da53a506c71", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361795179, - "created": 1675675609525, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", - "name": "Get transferprocesses", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510845, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0d7af3abbb194ed191e482b9b857070e", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361763512, - "created": 1681910653593, - "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", - "name": "Get contract agreements", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510795, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_633a776c22914478a6899c6f2f757d8e", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362947546, - "created": 1681907482278, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", - "name": "Create Asset", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033461.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_ca5fb2ce9c5a4640b827916773279500", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1705940929752, - "created": 1684146457388, - "name": "Provider", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1678852197613.5625, - "_type": "request_group" - }, - { - "_id": "req_52d9308387b04d60a06b43ee1c492478", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362407763, - "created": 1685444139630, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Asset by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033452.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1ae8b300301b406eb545df43a353fda9", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362438115, - "created": 1685444139625, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", - "name": "Get all Assets", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033447.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9eff358d42094196924ab55c23d7510d", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362400081, - "created": 1685444139636, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Asset", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033433.625, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5fd712c0594d4b46a349bb56dae21809", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362581978, - "created": 1685444139641, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", - "name": "Create Policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033403.9375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8b5ce92a1e96425e8353aba23643cd6b", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362549290, - "created": 1685444139647, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Policy by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033364.0938, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_274c9ac5236046919dd4bb71af15dd62", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362591799, - "created": 1685444139653, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", - "name": "Get all Policies", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033344.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e5e4eaf35c7545d7aaacf2388e2a42fc", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362559324, - "created": 1685444139659, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Policy by ID", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033299.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_92959d74ff4f475b8e357e4958b1c457", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363080444, - "created": 1685444139665, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", - "name": "Create Contract Definitinion", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033261.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3de985b534fd4b23ad77e45e40126706", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362691392, - "created": 1685444139672, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Contract Definition by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033199.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_730967ca2ad2470bab0d047f7491c460", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363126919, - "created": 1685444139678, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", - "name": "Get all Contract Definitinions", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033174.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b200c2519b814e159bdde39fd86690a2", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363136216, - "created": 1685444139684, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Contract Definition", - "description": "", - "method": "DELETE", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033149.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "env_a3894a0a395c481d84f1126ba07bb47c", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1680782486844, - "created": 1680782486844, - "name": "Base Environment", - "data": {}, - "dataPropertyOrder": null, - "color": null, - "isPrivate": false, - "metaSortKey": 1680782486844, - "_type": "environment" - }, - { - "_id": "jar_13d0657e04f54f6ab1e9903f108f0841", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1709815397125, - "created": 1680782486851, - "name": "Default Jar", - "cookies": [ - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp.int.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-04-06T13:30:18.499Z", - "lastAccessed": "2024-03-07T12:43:17.124Z", - "id": "4402460762686" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp-pen.dev.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2024-02-13T11:37:30.975Z", - "lastAccessed": "2024-02-13T11:54:54.713Z", - "id": "7574385565222739" - } - ], - "_type": "cookie_jar" - } - ] + "_id": "req_837d51ff21e140ab96da276abdaaef54", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003280850, + "created": 1680682418595, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By VAN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", + "disabled": false, + "id": "pair_50d86e928e9f448d97da8ada0390e12f" + } + ], + "headers": [ + { + "id": "pair_ed11c2a6df9248e292914df944e8ba93", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418595, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9332ba908a3648328059a85fc5583ac9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003354109, + "created": 1680682418581, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", + "disabled": false, + "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" + } + ], + "headers": [ + { + "id": "pair_71ae5e562e9c414a82e84220f3c00343", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418581, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0b28f257a75249d084c0cedad0e3c655", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003284715, + "created": 1680682418570, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By VAN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_2f4c445074514f92a4dee92554053d0a" + }, + { + "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418570, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f593512f0af543a6b70242da819df2db", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003286642, + "created": 1691408320970, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" + }, + { + "id": "pair_5dc1d703196747318faff9a8dd96be0c", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418560.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bbb801fd3b2b444bb3318a8de92918a9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", + "modified": 1706003289343, + "created": 1689167429413, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Shell by aasIdentifier", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [ + { + "id": "pair_6266690c04fd466fa1617082f5b8ec76", + "name": "pageSize", + "value": "50", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418470, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7ea6d52eea2442ba82a8255041f3cb39", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991054859, + "created": 1680682418551, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.0.0 [Register Job]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418551, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_80d0dfda7d9849f8923030bcb64169a7", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418562, + "created": 1680682418562, + "name": "IRS Test Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418562, + "_type": "request_group" + }, + { + "_id": "req_b5a068e9bd7044c699f03ee26a1c7499", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991058493, + "created": 1680682418539, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.0 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418539, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f32ea4db7e4e4c0fa9a4058f20ab3a58", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991063641, + "created": 1680682418524, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.1 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418524, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fa7ee06927f942a88dcf9d047a59dd22", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991067797, + "created": 1680682418514, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418514, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0a75e90c3b8c4f4cb2088d456b0d1d98", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991071709, + "created": 1680682418504, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418504, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4424152376ce49e1b00d404b4346b9e4", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991076696, + "created": 1695042901876, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418496, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b8bcd1059fa0428fa74db6e0df9a549c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076144872, + "created": 1680682418488, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.0 [Register Job with aspect SerialPart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418488, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1f8b0bee14394eebbd17f2a845491f5b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076455844, + "created": 1680682418479, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418479, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3d4c81094d24462c9f6eb69069dabfcf", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076515556, + "created": 1680682418469, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418469, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d11875dae2e142cd99de8db2594b5749", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076741632, + "created": 1680682418442, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.3 [Register Job with aspect PartAsPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418442, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3664de01c8554ff89c651dff9e0821ab", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076751758, + "created": 1680682418432, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.4 [Register Job with upward direction]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418432, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_60839c35d2124c9fbb593969fcc552df", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076760570, + "created": 1695192937155, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.5 [Register Job with aspect JustInSequencePart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418428, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5215512817494d63918383988c06144c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076769119, + "created": 1695192971825, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418426, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_050aba71af544728bf13966232a68c94", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076214310, + "created": 1680682418424, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418424, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_245ceb95afa8407ba017e6143e942557", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991130711, + "created": 1680682418414, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418414, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5c0c50a042914805a4f00cc38e6ec327", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076937249, + "created": 1680682418401, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.5.0 [Register Job with all aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418401, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fd882f9ee36c4efaaaaad5ee15110e95", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076677384, + "created": 1680682418392, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.6.0 [Register Job with BPN lookup]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418392, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7c176ef2953f4ef3a9bafdf1fdc4f59c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076237949, + "created": 1683184048412, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.7.0 [Register Job with invalid policy]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418386.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e72bfa320e9d44c7b5df861133034f65", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076397373, + "created": 1693493383337, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.0 [Register Job with data integrity success]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418382.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0b0ebd7ab684c038163cbda0d8e38b2", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076245754, + "created": 1693493584873, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.1 [Register Job with data integrity wrong hash]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_daed8469e6804426b06e685c13c5a2ee", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076391502, + "created": 1693493594373, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.2 [Register Job with data integrity wrong signature]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.3438, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3ee66542ae4d4bd086097cc127901a0d", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1710076385497, + "created": 1693493604521, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_db0100a82fdc4bd7ac88f5fcbfc951f7", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991173689, + "created": 1680682418381, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.0 [Search for completed Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "COMPLETED", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bf1ded5777714303b33ecc6d802d65ac", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991177973, + "created": 1680682418372, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.1 [Search for Jobs in error state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418372, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6dbc72ee2c494a1784766b54862ed682", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991182139, + "created": 1680682418358, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.2 [Search for Jobs in initial state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "INITIAL", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418358, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ac1c2b21900440d4901111176675e2ff", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991186114, + "created": 1680682418348, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.3 [Search for all Jobs in JobStore]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418348, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_53fd3aefa06945f8aea85d3b3c322699", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991190326, + "created": 1680682418339, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.1.0 [Search for running Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "RUNNING", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418339, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0f0101575ead4084b46710bfb0091f3f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991196283, + "created": 1680682418325, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.0.0 [Search for given jobId with uncomplete]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418325, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c50ba332341e4018b4313e7e72695954", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991200399, + "created": 1680682418316, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.1.0 [Search for given jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418316, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bfcb98fc286a4be79030c9513ed9735f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991205447, + "created": 1680682418307, + "url": "{{IRS_HOST}}/irs/jobs/test", + "name": "3.1.1 [Search for invalid jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418307, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_35c58b65dd9d4582ab9472ad1c9d3e3b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991214202, + "created": 1680682418297, + "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", + "name": "3.1.2 [Search for unknown jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418297, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_896fa0136d6e49d69a938f4de5811bad", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", + "modified": 1702991218362, + "created": 1680682418280, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "6.0.0 [Cancel Job for given jobId]", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418280, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_69f863ad2c674907ad29581828ba5c43", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942015684, + "created": 1682672699249, + "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", + "name": "Find BPN endpoints for manufacturer numbers", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630902023, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1683630931664, + "created": 1683630887514, + "name": "Discovery", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418417.5, + "_type": "request_group" + }, + { + "_id": "req_7ba23e27b73845c9a9b566c72f4f0c29", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942027574, + "created": 1683031718699, + "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", + "name": "Find BPN Discovery Endpoints of type BPN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901923, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4325898bf3df40648ad9cf8b304a58ee", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "modified": 1705942036978, + "created": 1683560906453, + "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", + "name": "Find EDC endpoints for BPNs", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "[\n\t\"BPNL00000001CRHK\"\n]" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901873, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_349d613f763d4102bee054dcfd5da1bc", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1710076352238, + "created": 1680682418265, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Register Job", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418265, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418273, + "created": 1680682418273, + "name": "IRS Basic API Calls", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418273, + "_type": "request_group" + }, + { + "_id": "req_9b5111fd12ea47639c6621d23ddc528c", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1705942154792, + "created": 1680682418238, + "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", + "name": "Get registered Job", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418261, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0a7c66ccddb04f9caca830e197aecf64", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991288793, + "created": 1680682418257, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for all Jobs in JobStore", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418257, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3d05fdc2d1e24d60960031834adf6753", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991284435, + "created": 1680682418247, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for Jobs for given state", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": true, + "id": "pair_c694b66f41e649db837f801b5699859e" + }, + { + "name": "jobStates", + "value": "CANCELED,COMPLETED", + "disabled": false, + "id": "pair_ab346623e5394504b7232cc40ae75bed" + }, + { + "id": "pair_ddbccd5219944e8cac3d99249ba881e5", + "name": "jobStates", + "value": "RUNNING", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418247, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_22194c017aac4261bb344662839de6f5", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1703236659047, + "created": 1690384427379, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Get Job for jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418238, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_95ccc8f10f584a4aaf4d2a0b9c44441b", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991276045, + "created": 1680682418229, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Cancel Job for jobId", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418229, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d677e6e5a736406ba05aea1a9a98595a", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "modified": 1702991272198, + "created": 1682498338739, + "url": "{{IRS_HOST}}/irs/aspectmodels", + "name": "Get all available Aspect Models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418179, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b1a92060c1bd47078fbee001952da6d8", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942066941, + "created": 1680682418213, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", + "name": "Get all models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "pageSize", + "value": "100", + "disabled": false, + "id": "pair_96567b64925d4487bae4c74bfa9e021e" + }, + { + "id": "pair_2dae68db8a564296a5835e66d951331f", + "name": "status", + "value": "RELEASED", + "description": "" + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418213, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_187756e90d514741a65cb9617a3ea41a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418222, + "created": 1680682418222, + "name": "Semantics Hub", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418222, + "_type": "request_group" + }, + { + "_id": "req_bf8fdccfac4141ea871c41d4f7403f5c", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942077015, + "created": 1680682418204, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", + "name": "Get SerialPartTypization", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418204, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fb25cdceae984425b3aa867c3d5ea866", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", + "modified": 1705942085733, + "created": 1680682418192, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", + "name": "Get SerialPartTypization Json Schema", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418192, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fad2ca6d902f401da947308e36bb22ff", + "parentId": "fld_26b4903278b54dc5a940fe28e4dd200a", + "modified": 1705942100313, + "created": 1680682418174, + "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", + "name": "Get business partner by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "idType", + "value": "BPN", + "disabled": false + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.BPDM_CLIENT_ID }}", + "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418174, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_26b4903278b54dc5a940fe28e4dd200a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418184, + "created": 1680682418184, + "name": "Business partner data management", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418184, + "_type": "request_group" + }, + { + "_id": "req_1b203a87420e42d5ba75c662ac8f49ee", + "parentId": "fld_048a4c04d1c4419683cb645279444127", + "modified": 1702991347797, + "created": 1680682418157, + "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", + "name": "Get Esr Statistics", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418158, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_048a4c04d1c4419683cb645279444127", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418167, + "created": 1680682418167, + "name": "ESR Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418167, + "_type": "request_group" + }, + { + "_id": "req_32cc185810924d6cba6bb783422e919e", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1702991361578, + "created": 1680682418143, + "url": "{{IRS_HOST}}/ess/bpn/investigations", + "name": "Register Job Investigation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418143, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_c645034b945b4aa5a34f15c60be2b27c", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418151, + "created": 1680682418151, + "name": "ESS Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418151, + "_type": "request_group" + }, + { + "_id": "req_818115f180424cc287bc730453851346", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1705942138125, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", + "name": "Get registered investigation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418138.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2a5fb997e87c439c8d2d75b1278bae3f", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", + "modified": 1702991370481, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Search for investigation by jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418134, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_09e428687b484535af82e17dbf9a68bf", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1710076303275, + "created": 1680682418118, + "url": "{{IRS_HOST}}/irs/orders", + "name": "Register Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418118, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_9b6334cef97a427195690af454455820", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1680682418128, + "created": 1680682418128, + "name": "Batch Processing", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418128, + "_type": "request_group" + }, + { + "_id": "req_cfe969099893477d95f7f654a588750a", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991390349, + "created": 1696342619602, + "url": "{{IRS_HOST}}/irs/ess/orders", + "name": "Register ESS Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418113.5, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9aca2c0b52564e64b266ecf2ef22d5e0", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1705006936944, + "created": 1705006139836, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Cancel order job for given orderId", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_88db8badf4ea4a0d9968c769167407c8" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418111.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_55a45adbf0c9488ab2c912b92a49a103", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991398473, + "created": 1680682418109, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Search for given orderId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418109, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c2b63b7133fb460db0f6289b75733bc6", + "parentId": "fld_9b6334cef97a427195690af454455820", + "modified": 1702991409664, + "created": 1680682418099, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", + "name": "Search for given orderId and batchId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418099, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b74cc6344b7c4388b96656993b172d46", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1690472186478, + "created": 1678358655308, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722939.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_46a973a72ee54858be7b730077f4a0c6", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1690362660167, + "created": 1690362660167, + "name": "Catalog", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1690362660167, + "_type": "request_group" + }, + { + "_id": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "modified": 1690363778601, + "created": 1675675609576, + "name": "EDC-Requests", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418078, + "_type": "request_group" + }, + { + "_id": "req_73691ed276bd4771a5f9504075648a79", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1691500654267, + "created": 1685521485278, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with registry filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722889.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f063f58ce17c4c04bcd9e8feea08027c", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", + "modified": 1705940987109, + "created": 1691654388376, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with asset filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722789.1875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5eb26ad544f147b9a6f145a931e9f500", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691578280640, + "created": 1675675609557, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", + "name": "Start contract negotiation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511095, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1684146626847, + "created": 1684146519491, + "name": "Negotiation", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1679911060327.75, + "_type": "request_group" + }, + { + "_id": "req_4fced7f1dd1c40b3b7ff236a89f1922e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690362123962, + "created": 1675675609549, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", + "name": "Get contract negotiation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511045, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e62636f85f0d48d6bfb21a16602eacda", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690362117725, + "created": 1685444139708, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", + "name": "Cancel contract negotation", + "description": "", + "method": "POST", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511020, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0b90529e95545af8d9f6ef234d64670", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361721223, + "created": 1681911985730, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", + "name": "Get contract negotiations", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510995, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7ef28b43bb8444728eb0bedaf8af2111", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691578311420, + "created": 1675675609541, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", + "name": "Start transferprocess", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510945, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_04d6350cd308435589ff2d8fb6bb01dc", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1691503370103, + "created": 1679993996270, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", + "name": "Get transferprocess by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510895, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4ec26c1537ed4c66ac8d6da53a506c71", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361795179, + "created": 1675675609525, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", + "name": "Get transferprocesses", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510845, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0d7af3abbb194ed191e482b9b857070e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "modified": 1690361763512, + "created": 1681910653593, + "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", + "name": "Get contract agreements", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510795, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_633a776c22914478a6899c6f2f757d8e", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362947546, + "created": 1681907482278, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", + "name": "Create Asset", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033461.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_ca5fb2ce9c5a4640b827916773279500", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "modified": 1705940929752, + "created": 1684146457388, + "name": "Provider", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1678852197613.5625, + "_type": "request_group" + }, + { + "_id": "req_52d9308387b04d60a06b43ee1c492478", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362407763, + "created": 1685444139630, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Asset by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033452.375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1ae8b300301b406eb545df43a353fda9", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362438115, + "created": 1685444139625, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", + "name": "Get all Assets", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033447.6875, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9eff358d42094196924ab55c23d7510d", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362400081, + "created": 1685444139636, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Asset", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033433.625, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5fd712c0594d4b46a349bb56dae21809", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362581978, + "created": 1685444139641, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", + "name": "Create Policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033403.9375, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8b5ce92a1e96425e8353aba23643cd6b", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362549290, + "created": 1685444139647, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Policy by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033364.0938, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_274c9ac5236046919dd4bb71af15dd62", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362591799, + "created": 1685444139653, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", + "name": "Get all Policies", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033344.1719, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e5e4eaf35c7545d7aaacf2388e2a42fc", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362559324, + "created": 1685444139659, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Policy by ID", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033299.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_92959d74ff4f475b8e357e4958b1c457", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363080444, + "created": 1685444139665, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", + "name": "Create Contract Definitinion", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033261.75, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3de985b534fd4b23ad77e45e40126706", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690362691392, + "created": 1685444139672, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Contract Definition by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033199.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_730967ca2ad2470bab0d047f7491c460", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363126919, + "created": 1685444139678, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", + "name": "Get all Contract Definitinions", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033174.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b200c2519b814e159bdde39fd86690a2", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", + "modified": 1690363136216, + "created": 1685444139684, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Contract Definition", + "description": "", + "method": "DELETE", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033149.25, + "isPrivate": false, + "pathParameters": [], + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "env_a3894a0a395c481d84f1126ba07bb47c", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1680782486844, + "created": 1680782486844, + "name": "Base Environment", + "data": {}, + "dataPropertyOrder": null, + "color": null, + "isPrivate": false, + "metaSortKey": 1680782486844, + "_type": "environment" + }, + { + "_id": "jar_13d0657e04f54f6ab1e9903f108f0841", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", + "modified": 1709815397125, + "created": 1680782486851, + "name": "Default Jar", + "cookies": [ + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp.int.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2023-04-06T13:30:18.499Z", + "lastAccessed": "2024-03-07T12:43:17.124Z", + "id": "4402460762686" + }, + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp-pen.dev.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2024-02-13T11:37:30.975Z", + "lastAccessed": "2024-02-13T11:54:54.713Z", + "id": "7574385565222739" + } + ], + "_type": "cookie_jar" + } + ] } \ No newline at end of file From 20c7e49e8ca42470835f42a266d703cc9bcd1eaf Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 13:27:07 +0100 Subject: [PATCH 20/32] feat(irs):[#199] revert white signs in request collection --- .../IRS_Request_Collection.json | 7176 ++++++++--------- 1 file changed, 3553 insertions(+), 3623 deletions(-) diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index 64b78861ad..0722d60f79 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1,3625 +1,3555 @@ { - "_type": "export", - "__export_format": 4, - "__export_date": "2024-03-22T09:31:33.166Z", - "__export_source": "insomnia.desktop.app:v8.6.1", - "resources": [ - { - "_id": "req_2d5a4fb5ec0845059533cb9904910156", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099785377, - "created": 1705005887617, - "url": "{{IRS_HOST}}/irs/policies?bpnls=BPNL00000001CRHK", - "name": "Get all policies", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1705005887617, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_c751e5e73d5248a3ae22a44bafae7906", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1687243055015, - "created": 1687243055015, - "name": "Policy Store", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1687243055015, - "_type": "request_group" - }, - { - "_id": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1691572726194, - "created": 1680682418636, - "name": "IRS DEMO Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418636, - "_type": "request_group" - }, - { - "_id": "wrk_d83bab75184e43adadd63001907af70d", - "parentId": null, - "modified": 1711099756361, - "created": 1711099756361, - "name": "IRS", - "description": "", - "scope": "collection", - "_type": "workspace" - }, - { - "_id": "req_ab9376672bd94bd783aa97f36646981b", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1702990529632, - "created": 1687243204155, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", - "name": "Delete policy", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1685602897140.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_a68c5fa596ee4b738eefd6b7b4e2bd7a", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099840007, - "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Update policy", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684874704117.875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_95aa08cefddc4743afc85fcabf40e4ee", - "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", - "modified": 1711099862861, - "created": 1687243182397, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Register policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-1\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-12\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1683962737633.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b22ea4121d2249e0830489b188ec21e4", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003275081, - "created": 1680682418619, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", - "name": "Get Shell by aasIdentifier", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418619, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_5930ffca903d46feb1793ebd290dde47", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1691504187689, - "created": 1680682418630, - "name": "Digital Twin Registry", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418630, - "_type": "request_group" - }, - { - "_id": "req_ca1125488c45483c9ddda17955067893", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706002920212, - "created": 1690529035794, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", - "name": "Get Shells", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418614, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6735560470e644d2b0378e7bddf1b99e", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003278149, - "created": 1680682418609, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By BPN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", - "disabled": true, - "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", - "disabled": true, - "id": "pair_cc48c08e3b834497a2d88bd4201c3867" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", - "disabled": false, - "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", - "disabled": true, - "id": "pair_706e6930cc874343941b744a054ef388" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", - "disabled": true, - "id": "pair_45c6bcf3266a475891ebbbba6cde0798" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", - "disabled": true, - "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", - "disabled": true, - "id": "pair_d72f55c7bf714c7c9aae58456c778443" - }, - { - "name": "assetIds", - "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", - "disabled": true, - "id": "pair_406c9da4dc014fb297f70bb3da7128c1" - } - ], - "headers": [ - { - "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418609, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_837d51ff21e140ab96da276abdaaef54", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003280850, - "created": 1680682418595, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By VAN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", - "disabled": false, - "id": "pair_50d86e928e9f448d97da8ada0390e12f" - } - ], - "headers": [ - { - "id": "pair_ed11c2a6df9248e292914df944e8ba93", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418595, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9332ba908a3648328059a85fc5583ac9", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003354109, - "created": 1680682418581, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "assetIds", - "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", - "disabled": false, - "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" - } - ], - "headers": [ - { - "id": "pair_71ae5e562e9c414a82e84220f3c00343", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418581, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0b28f257a75249d084c0cedad0e3c655", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003284715, - "created": 1680682418570, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By VAN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_2f4c445074514f92a4dee92554053d0a" - }, - { - "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418570, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f593512f0af543a6b70242da819df2db", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003286642, - "created": 1691408320970, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", - "name": "Query Registry By globalAssetId", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" - }, - { - "id": "pair_5dc1d703196747318faff9a8dd96be0c", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "" - } - ], - "authentication": {}, - "metaSortKey": -1680682418560.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bbb801fd3b2b444bb3318a8de92918a9", - "parentId": "fld_5930ffca903d46feb1793ebd290dde47", - "modified": 1706003289343, - "created": 1689167429413, - "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Shell by aasIdentifier", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [ - { - "id": "pair_6266690c04fd466fa1617082f5b8ec76", - "name": "pageSize", - "value": "50", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "id": "pair_7877c58fd3ae46758cabf9f6cb397818", - "name": "Edc-Bpn", - "value": "BPNL00000001CRHK", - "description": "", - "disabled": false - } - ], - "authentication": {}, - "metaSortKey": -1680682418470, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7ea6d52eea2442ba82a8255041f3cb39", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991054859, - "created": 1680682418551, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.0.0 [Register Job]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418551, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_80d0dfda7d9849f8923030bcb64169a7", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418562, - "created": 1680682418562, - "name": "IRS Test Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418562, - "_type": "request_group" - }, - { - "_id": "req_b5a068e9bd7044c699f03ee26a1c7499", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991058493, - "created": 1680682418539, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.0 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418539, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f32ea4db7e4e4c0fa9a4058f20ab3a58", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991063641, - "created": 1680682418524, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.1.1 [Register Job globalAssetId ]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418524, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fa7ee06927f942a88dcf9d047a59dd22", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991067797, - "created": 1680682418514, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418514, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0a75e90c3b8c4f4cb2088d456b0d1d98", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991071709, - "created": 1680682418504, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418504, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4424152376ce49e1b00d404b4346b9e4", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991076696, - "created": 1695042901876, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418496, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b8bcd1059fa0428fa74db6e0df9a549c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076144872, - "created": 1680682418488, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.0 [Register Job with aspect SerialPart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418488, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1f8b0bee14394eebbd17f2a845491f5b", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076455844, - "created": 1680682418479, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418479, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3d4c81094d24462c9f6eb69069dabfcf", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076515556, - "created": 1680682418469, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418469, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d11875dae2e142cd99de8db2594b5749", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076741632, - "created": 1680682418442, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.3 [Register Job with aspect PartAsPlanned]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418442, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3664de01c8554ff89c651dff9e0821ab", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076751758, - "created": 1680682418432, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.4 [Register Job with upward direction]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418432, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_60839c35d2124c9fbb593969fcc552df", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076760570, - "created": 1695192937155, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.5 [Register Job with aspect JustInSequencePart]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418428, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5215512817494d63918383988c06144c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076769119, - "created": 1695192971825, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418426, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_050aba71af544728bf13966232a68c94", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076214310, - "created": 1680682418424, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418424, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_245ceb95afa8407ba017e6143e942557", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991130711, - "created": 1680682418414, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418414, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5c0c50a042914805a4f00cc38e6ec327", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076937249, - "created": 1680682418401, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.5.0 [Register Job with all aspect type]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418401, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fd882f9ee36c4efaaaaad5ee15110e95", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076677384, - "created": 1680682418392, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.6.0 [Register Job with BPN lookup]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418392, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7c176ef2953f4ef3a9bafdf1fdc4f59c", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076237949, - "created": 1683184048412, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.7.0 [Register Job with invalid policy]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418386.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e72bfa320e9d44c7b5df861133034f65", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076397373, - "created": 1693493383337, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.0 [Register Job with data integrity success]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418382.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d0b0ebd7ab684c038163cbda0d8e38b2", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076245754, - "created": 1693493584873, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.1 [Register Job with data integrity wrong hash]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_daed8469e6804426b06e685c13c5a2ee", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076391502, - "created": 1693493594373, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.2 [Register Job with data integrity wrong signature]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.3438, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3ee66542ae4d4bd086097cc127901a0d", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1710076385497, - "created": 1693493604521, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_db0100a82fdc4bd7ac88f5fcbfc951f7", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991173689, - "created": 1680682418381, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.0 [Search for completed Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "COMPLETED", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418381, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bf1ded5777714303b33ecc6d802d65ac", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991177973, - "created": 1680682418372, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.1 [Search for Jobs in error state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418372, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_6dbc72ee2c494a1784766b54862ed682", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991182139, - "created": 1680682418358, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.2 [Search for Jobs in initial state]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "INITIAL", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418358, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_ac1c2b21900440d4901111176675e2ff", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991186114, - "created": 1680682418348, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.3 [Search for all Jobs in JobStore]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418348, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_53fd3aefa06945f8aea85d3b3c322699", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991190326, - "created": 1680682418339, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.1.0 [Search for running Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "RUNNING", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418339, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0f0101575ead4084b46710bfb0091f3f", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991196283, - "created": 1680682418325, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.0.0 [Search for given jobId with uncomplete]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418325, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c50ba332341e4018b4313e7e72695954", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991200399, - "created": 1680682418316, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "3.1.0 [Search for given jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418316, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_bfcb98fc286a4be79030c9513ed9735f", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991205447, - "created": 1680682418307, - "url": "{{IRS_HOST}}/irs/jobs/test", - "name": "3.1.1 [Search for invalid jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418307, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_35c58b65dd9d4582ab9472ad1c9d3e3b", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991214202, - "created": 1680682418297, - "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", - "name": "3.1.2 [Search for unknown jobId]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418297, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_896fa0136d6e49d69a938f4de5811bad", - "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", - "modified": 1702991218362, - "created": 1680682418280, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "6.0.0 [Cancel Job for given jobId]", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418280, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_69f863ad2c674907ad29581828ba5c43", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942015684, - "created": 1682672699249, - "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", - "name": "Find BPN endpoints for manufacturer numbers", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630902023, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1683630931664, - "created": 1683630887514, - "name": "Discovery", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418417.5, - "_type": "request_group" - }, - { - "_id": "req_7ba23e27b73845c9a9b566c72f4f0c29", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942027574, - "created": 1683031718699, - "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", - "name": "Find BPN Discovery Endpoints of type BPN", - "description": "", - "method": "POST", - "body": { - "mimeType": "", - "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901923, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4325898bf3df40648ad9cf8b304a58ee", - "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", - "modified": 1705942036978, - "created": 1683560906453, - "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", - "name": "Find EDC endpoints for BPNs", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "[\n\t\"BPNL00000001CRHK\"\n]" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", - "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", - "disabled": false - }, - "metaSortKey": -1683630901873, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_349d613f763d4102bee054dcfd5da1bc", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1710076352238, - "created": 1680682418265, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Register Job", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418265, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418273, - "created": 1680682418273, - "name": "IRS Basic API Calls", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418273, - "_type": "request_group" - }, - { - "_id": "req_9b5111fd12ea47639c6621d23ddc528c", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1705942154792, - "created": 1680682418238, - "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", - "name": "Get registered Job", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418261, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0a7c66ccddb04f9caca830e197aecf64", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991288793, - "created": 1680682418257, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for all Jobs in JobStore", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418257, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3d05fdc2d1e24d60960031834adf6753", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991284435, - "created": 1680682418247, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for Jobs for given state", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "jobStates", - "value": "ERROR", - "disabled": true, - "id": "pair_c694b66f41e649db837f801b5699859e" - }, - { - "name": "jobStates", - "value": "CANCELED,COMPLETED", - "disabled": false, - "id": "pair_ab346623e5394504b7232cc40ae75bed" - }, - { - "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "jobStates", - "value": "RUNNING", - "description": "", - "disabled": true - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418247, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_22194c017aac4261bb344662839de6f5", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1703236659047, - "created": 1690384427379, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Get Job for jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "returnUncompletedJob", - "value": "true", - "disabled": false - } - ], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418238, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_95ccc8f10f584a4aaf4d2a0b9c44441b", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991276045, - "created": 1680682418229, - "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Cancel Job for jobId", - "description": "", - "method": "PUT", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418229, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d677e6e5a736406ba05aea1a9a98595a", - "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", - "modified": 1702991272198, - "created": 1682498338739, - "url": "{{IRS_HOST}}/irs/aspectmodels", - "name": "Get all available Aspect Models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418179, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b1a92060c1bd47078fbee001952da6d8", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942066941, - "created": 1680682418213, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", - "name": "Get all models", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "pageSize", - "value": "100", - "disabled": false, - "id": "pair_96567b64925d4487bae4c74bfa9e021e" - }, - { - "id": "pair_2dae68db8a564296a5835e66d951331f", - "name": "status", - "value": "RELEASED", - "description": "" - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418213, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_187756e90d514741a65cb9617a3ea41a", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418222, - "created": 1680682418222, - "name": "Semantics Hub", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418222, - "_type": "request_group" - }, - { - "_id": "req_bf8fdccfac4141ea871c41d4f7403f5c", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942077015, - "created": 1680682418204, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", - "name": "Get SerialPartTypization", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418204, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fb25cdceae984425b3aa867c3d5ea866", - "parentId": "fld_187756e90d514741a65cb9617a3ea41a", - "modified": 1705942085733, - "created": 1680682418192, - "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", - "name": "Get SerialPartTypization Json Schema", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", - "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418192, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_fad2ca6d902f401da947308e36bb22ff", - "parentId": "fld_26b4903278b54dc5a940fe28e4dd200a", - "modified": 1705942100313, - "created": 1680682418174, - "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", - "name": "Get business partner by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "idType", - "value": "BPN", - "disabled": false - } - ], - "headers": [], - "authentication": { - "type": "oauth2", - "grantType": "client_credentials", - "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", - "clientId": "{{ _.BPDM_CLIENT_ID }}", - "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" - }, - "metaSortKey": -1680682418174, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_26b4903278b54dc5a940fe28e4dd200a", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418184, - "created": 1680682418184, - "name": "Business partner data management", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418184, - "_type": "request_group" - }, - { - "_id": "req_1b203a87420e42d5ba75c662ac8f49ee", - "parentId": "fld_048a4c04d1c4419683cb645279444127", - "modified": 1702991347797, - "created": 1680682418157, - "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", - "name": "Get Esr Statistics", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418158, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_048a4c04d1c4419683cb645279444127", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418167, - "created": 1680682418167, - "name": "ESR Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418167, - "_type": "request_group" - }, - { - "_id": "req_32cc185810924d6cba6bb783422e919e", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1702991361578, - "created": 1680682418143, - "url": "{{IRS_HOST}}/ess/bpn/investigations", - "name": "Register Job Investigation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418143, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_c645034b945b4aa5a34f15c60be2b27c", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418151, - "created": 1680682418151, - "name": "ESS Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418151, - "_type": "request_group" - }, - { - "_id": "req_818115f180424cc287bc730453851346", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1705942138125, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", - "name": "Get registered investigation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418138.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_2a5fb997e87c439c8d2d75b1278bae3f", - "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", - "modified": 1702991370481, - "created": 1680682418134, - "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", - "name": "Search for investigation by jobId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418134, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_09e428687b484535af82e17dbf9a68bf", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1710076303275, - "created": 1680682418118, - "url": "{{IRS_HOST}}/irs/orders", - "name": "Register Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418118, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_9b6334cef97a427195690af454455820", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1680682418128, - "created": 1680682418128, - "name": "Batch Processing", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418128, - "_type": "request_group" - }, - { - "_id": "req_cfe969099893477d95f7f654a588750a", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991390349, - "created": 1696342619602, - "url": "{{IRS_HOST}}/irs/ess/orders", - "name": "Register ESS Batch Order", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418113.5, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9aca2c0b52564e64b266ecf2ef22d5e0", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1705006936944, - "created": 1705006139836, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Cancel order job for given orderId", - "description": "", - "method": "PUT", - "body": { - "mimeType": "application/json", - "text": "{}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json", - "id": "pair_88db8badf4ea4a0d9968c769167407c8" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418111.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_55a45adbf0c9488ab2c912b92a49a103", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991398473, - "created": 1680682418109, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", - "name": "Search for given orderId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418109, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_c2b63b7133fb460db0f6289b75733bc6", - "parentId": "fld_9b6334cef97a427195690af454455820", - "modified": 1702991409664, - "created": 1680682418099, - "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", - "name": "Search for given orderId and batchId", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.REGULAR_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1680682418099, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b74cc6344b7c4388b96656993b172d46", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1690472186478, - "created": 1678358655308, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722939.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_46a973a72ee54858be7b730077f4a0c6", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1690362660167, - "created": 1690362660167, - "name": "Catalog", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1690362660167, - "_type": "request_group" - }, - { - "_id": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", - "modified": 1690363778601, - "created": 1675675609576, - "name": "EDC-Requests", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418078, - "_type": "request_group" - }, - { - "_id": "req_73691ed276bd4771a5f9504075648a79", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1691500654267, - "created": 1685521485278, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with registry filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722889.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f063f58ce17c4c04bcd9e8feea08027c", - "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", - "modified": 1705940987109, - "created": 1691654388376, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", - "name": "Get catalog with asset filter", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1686195722789.1875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5eb26ad544f147b9a6f145a931e9f500", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691578280640, - "created": 1675675609557, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", - "name": "Start contract negotiation", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511095, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1684146626847, - "created": 1684146519491, - "name": "Negotiation", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1679911060327.75, - "_type": "request_group" - }, - { - "_id": "req_4fced7f1dd1c40b3b7ff236a89f1922e", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690362123962, - "created": 1675675609549, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", - "name": "Get contract negotiation", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511045, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e62636f85f0d48d6bfb21a16602eacda", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690362117725, - "created": 1685444139708, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", - "name": "Cancel contract negotation", - "description": "", - "method": "POST", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146511020, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_d0b90529e95545af8d9f6ef234d64670", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361721223, - "created": 1681911985730, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", - "name": "Get contract negotiations", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510995, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_7ef28b43bb8444728eb0bedaf8af2111", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691578311420, - "created": 1675675609541, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", - "name": "Start transferprocess", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510945, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_04d6350cd308435589ff2d8fb6bb01dc", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1691503370103, - "created": 1679993996270, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", - "name": "Get transferprocess by id", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510895, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_4ec26c1537ed4c66ac8d6da53a506c71", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361795179, - "created": 1675675609525, - "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", - "name": "Get transferprocesses", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510845, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_0d7af3abbb194ed191e482b9b857070e", - "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", - "modified": 1690361763512, - "created": 1681910653593, - "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", - "name": "Get contract agreements", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1684146510795, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_633a776c22914478a6899c6f2f757d8e", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362947546, - "created": 1681907482278, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", - "name": "Create Asset", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033461.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "fld_ca5fb2ce9c5a4640b827916773279500", - "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", - "modified": 1705940929752, - "created": 1684146457388, - "name": "Provider", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1678852197613.5625, - "_type": "request_group" - }, - { - "_id": "req_52d9308387b04d60a06b43ee1c492478", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362407763, - "created": 1685444139630, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Asset by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033452.375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_1ae8b300301b406eb545df43a353fda9", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362438115, - "created": 1685444139625, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", - "name": "Get all Assets", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033447.6875, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_9eff358d42094196924ab55c23d7510d", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362400081, - "created": 1685444139636, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", - "name": "Delete Asset", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033433.625, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_5fd712c0594d4b46a349bb56dae21809", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362581978, - "created": 1685444139641, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", - "name": "Create Policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033403.9375, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_8b5ce92a1e96425e8353aba23643cd6b", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362549290, - "created": 1685444139647, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Policy by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033364.0938, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_274c9ac5236046919dd4bb71af15dd62", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362591799, - "created": 1685444139653, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", - "name": "Get all Policies", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033344.1719, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_e5e4eaf35c7545d7aaacf2388e2a42fc", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362559324, - "created": 1685444139659, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Policy by ID", - "description": "", - "method": "DELETE", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033299.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_92959d74ff4f475b8e357e4958b1c457", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363080444, - "created": 1685444139665, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", - "name": "Create Contract Definitinion", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033261.75, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_3de985b534fd4b23ad77e45e40126706", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690362691392, - "created": 1685444139672, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Get Contract Definition by ID", - "description": "", - "method": "GET", - "body": {}, - "parameters": [], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033199.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_730967ca2ad2470bab0d047f7491c460", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363126919, - "created": 1685444139678, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", - "name": "Get all Contract Definitinions", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033174.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_b200c2519b814e159bdde39fd86690a2", - "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", - "modified": 1690363136216, - "created": 1685444139684, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", - "name": "Delte Contract Definition", - "description": "", - "method": "DELETE", - "body": { - "mimeType": "application/json", - "text": "" - }, - "parameters": [], - "headers": [ - { - "name": "Content-Type", - "value": "application/json" - } - ], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-Api-Key", - "value": "{{ _.EDC_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1679911033149.25, - "isPrivate": false, - "pathParameters": [], - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "env_a3894a0a395c481d84f1126ba07bb47c", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1680782486844, - "created": 1680782486844, - "name": "Base Environment", - "data": {}, - "dataPropertyOrder": null, - "color": null, - "isPrivate": false, - "metaSortKey": 1680782486844, - "_type": "environment" - }, - { - "_id": "jar_13d0657e04f54f6ab1e9903f108f0841", - "parentId": "wrk_d83bab75184e43adadd63001907af70d", - "modified": 1709815397125, - "created": 1680782486851, - "name": "Default Jar", - "cookies": [ - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp.int.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2023-04-06T13:30:18.499Z", - "lastAccessed": "2024-03-07T12:43:17.124Z", - "id": "4402460762686" - }, - { - "key": "KC_RESTART", - "expires": "1970-01-01T00:00:10.000Z", - "maxAge": 0, - "domain": "centralidp-pen.dev.demo.catena-x.net", - "path": "/auth/realms/CX-Central/", - "httpOnly": true, - "extensions": [ - "Version=1" - ], - "hostOnly": true, - "creation": "2024-02-13T11:37:30.975Z", - "lastAccessed": "2024-02-13T11:54:54.713Z", - "id": "7574385565222739" - } - ], - "_type": "cookie_jar" - } - ] + "_type": "export", + "__export_format": 4, + "__export_date": "2024-03-10T13:23:40.100Z", + "__export_source": "insomnia.desktop.app:v2023.5.8", + "resources": [ + { + "_id": "req_87f0d66bd32b4f2d8551791af7f2e2ed", + "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "modified": 1705006817408, + "created": 1705005887617, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Get all policies", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1705005887617, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1687243055015, + "created": 1687243055015, + "name": "Policy Store", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1687243055015, + "_type": "request_group" + }, + { + "_id": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "modified": 1691572726194, + "created": 1680682418636, + "name": "IRS DEMO Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418636, + "_type": "request_group" + }, + { + "_id": "wrk_565df8abe30f4da29d8bffcde97927d7", + "parentId": null, + "modified": 1680682438221, + "created": 1680682419747, + "name": "IRS", + "description": "", + "scope": "collection", + "_type": "workspace" + }, + { + "_id": "req_5696fa47e33c407cbb7a2deac8ddbcd2", + "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "modified": 1702990529632, + "created": 1687243204155, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", + "name": "Delete policy", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1685602897140.75, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_34b6d543720247a7bcad402cab2d2f7f", + "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "modified": 1702990565006, + "created": 1693576003390, + "url": "{{IRS_HOST}}/irs/policies/{% prompt 'id', '', 'traceability-test', '', false, true %}", + "name": "Update policy", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684874704117.875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_82102b5d71704eae97e5b50dad29a262", + "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "modified": 1707126688041, + "created": 1687243182397, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Register policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"payload\": {\n\t\t\"@context\": {\n\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t},\n\t\t\"@id\": \"policy-id12\",\n\t\t\"policy\": {\n\t\t\t\"odrl:permission\": [\n\t\t\t\t{\n\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1683962737633.5, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_01d928eddda6422eae8f9e6722997640", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003275081, + "created": 1680682418619, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", + "name": "Get Shell by aasIdentifier", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418619, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1691504187689, + "created": 1680682418630, + "name": "Digital Twin Registry", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418630, + "_type": "request_group" + }, + { + "_id": "req_c6d045b660f949499151f63e60f51225", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706002920212, + "created": 1690529035794, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", + "name": "Get Shells", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418614, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c183c331cf2c418e8e89ce95dee5ddbd", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003278149, + "created": 1680682418609, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By BPN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AYRE\"}],", + "disabled": true, + "id": "pair_c8a20aa6fd7647a98da9b91abfe0cfa8" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AVTH\"}],", + "disabled": true, + "id": "pair_cc48c08e3b834497a2d88bd4201c3867" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AZQP\"}]", + "disabled": false, + "id": "pair_4187c8b0b8894410a17eb0ff2cf1523a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B2OM\"}],", + "disabled": true, + "id": "pair_706e6930cc874343941b744a054ef388" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B3NX\"}],", + "disabled": true, + "id": "pair_45c6bcf3266a475891ebbbba6cde0798" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B5MJ\"}],", + "disabled": true, + "id": "pair_89445c9795e54bbfa1e26dae0fe4756a" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003B0Q0\"}],", + "disabled": true, + "id": "pair_d72f55c7bf714c7c9aae58456c778443" + }, + { + "name": "assetIds", + "value": "[{\"name\": \"manufacturerId\",\"value\":\"BPNL00000003AXS3\"}],", + "disabled": true, + "id": "pair_406c9da4dc014fb297f70bb3da7128c1" + } + ], + "headers": [ + { + "id": "pair_72e0b43ab2ba4417bbc72bf08182edd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418609, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_24a9b4f03e7a498dbc51aecea0ca3492", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003280850, + "created": 1680682418595, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By VAN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"van\",\"value\": \"OMBSWNHVABEWMQTAV\"}]", + "disabled": false, + "id": "pair_50d86e928e9f448d97da8ada0390e12f" + } + ], + "headers": [ + { + "id": "pair_ed11c2a6df9248e292914df944e8ba93", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418595, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5fb54d629b714382ae77c4918a848844", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003354109, + "created": 1680682418581, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "assetIds", + "value": "[{\"name\":\"globalAssetId\",\"value\":\"{% prompt 'id', '', '', '', false, true %}\"}]", + "disabled": false, + "id": "pair_f5f3d12fb2224c1d9e577c42128aa3d9" + } + ], + "headers": [ + { + "id": "pair_71ae5e562e9c414a82e84220f3c00343", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418581, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0231f2221b0b4c52b6f8f82654b40b97", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003284715, + "created": 1680682418570, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By VAN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"query\": {\n \"assetIds\": [\n {\n \"value\" : \"OMCOFCRMXMBASAFZY\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCNAXRMATEMEDENV\",\n \"name\" : \"van\"\n }\n ,\n {\n \"value\" : \"OMCODXGPGLPLKEAIQ\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBGHXHATHICIEYOU\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMAGCJCBDQGPYRQCS\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMBIBCLBMGCJNUKUW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCRHSMILXFLDSPTT\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCLNVPYKUQCNIBOW\",\n \"name\" : \"van\"\n },\n {\n \"value\" : \"OMCXYXGFMJIBYQLBL\",\n \"name\" : \"van\"\n }\n ]\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_2f4c445074514f92a4dee92554053d0a" + }, + { + "id": "pair_35fe7a71647f4aea91ba03bfc87f0cd0", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418570, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0e9e498304f1450db30ccd7633c1d044", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003286642, + "created": 1691408320970, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", + "name": "Query Registry By globalAssetId", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n\t\"query\": {\n\t\t\"assetIds\": [\n\t\t\t{\n\t\t\t\t\"value\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\t\t\"name\": \"globalAssetId\"\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_c1f8de03ff8f4f92aeeeef63510f755e" + }, + { + "id": "pair_5dc1d703196747318faff9a8dd96be0c", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "" + } + ], + "authentication": {}, + "metaSortKey": -1680682418560.5, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c45556a411394ae7acaf7b0d7a52c64c", + "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "modified": 1706003289343, + "created": 1689167429413, + "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Shell by aasIdentifier", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [ + { + "id": "pair_6266690c04fd466fa1617082f5b8ec76", + "name": "pageSize", + "value": "50", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "id": "pair_7877c58fd3ae46758cabf9f6cb397818", + "name": "Edc-Bpn", + "value": "BPNL00000001CRHK", + "description": "", + "disabled": false + } + ], + "authentication": {}, + "metaSortKey": -1680682418470, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4598fa44ca1e445f84dcc88b69e68b2d", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991054859, + "created": 1680682418551, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.0.0 [Register Job]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418551, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_99916d6788d445df86cffea2202c7faf", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418562, + "created": 1680682418562, + "name": "IRS Test Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418562, + "_type": "request_group" + }, + { + "_id": "req_1789ac98712b4774a9478e25eb589bf0", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991058493, + "created": 1680682418539, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.0 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418539, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3a2d07190c9546378a10b66b6ff4f462", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991063641, + "created": 1680682418524, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.1.1 [Register Job globalAssetId ]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:6c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b918ea936c311d29-5753-46d4-b32c-19b\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418524, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8a3d036a282e403481b73587111f6aa7", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991067797, + "created": 1680682418514, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.0 [Register Job with depth and bomLifecycle asBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"depth\": 2,\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418514, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3dfcf0469334429f8ed26e7cb3b1e7b4", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991071709, + "created": 1680682418504, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.1 [Register Job with depth and bomLifecycle asPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418504, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8bf909bae9f54371a9056e6c4b9eefca", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991076696, + "created": 1695042901876, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.2.2 [Register Job with depth and bomLifecycle asSpecified]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asSpecified\",\n\t\"depth\": 2\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418496, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_dc785af1908140b4b28e72a7b89c10e2", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076144872, + "created": 1680682418488, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.0 [Register Job with aspect SerialPart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418488, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1d2d60468a46479aa620856c3af9edad", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076455844, + "created": 1680682418479, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.1 [Register Job with aspect SerialPart and SingleLevelBomAsBuilt]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418479, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e4781ee7f21c4269877a90c7b3763747", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076515556, + "created": 1680682418469, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.2 [Register Job with aspect MaterialForRecycling and BatteryPass]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418469, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4454faa5384d4e1a9eed077d9bb439d3", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076741632, + "created": 1680682418442, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.3 [Register Job with aspect PartAsPlanned]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"bomLifecycle\": \"asPlanned\",\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418442, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_14d8a81103934ca8bde6a913419b6965", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076751758, + "created": 1680682418432, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.4 [Register Job with upward direction]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:3402b29d-07a6-42ad-80ff-272b50fbe24a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t},\n\t\"direction\": \"upward\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418432, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4d162553ba09443686bb9e8e90e01f97", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076760570, + "created": 1695192937155, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.5 [Register Job with aspect JustInSequencePart]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418428, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2bdd38ac17234d7286dc03f0c2741d25", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076769119, + "created": 1695192971825, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.3.6 [Register Job with aspect TractionBatteryCode]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418426, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_56ce00c13b6e42329fb3ed6d18a134eb", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076214310, + "created": 1680682418424, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.0 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.part_serial_typization:1.0.1#PartSerialTypization\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418424, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c4e086d67cb64786b235745f4e56f24c", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991130711, + "created": 1680682418414, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.4.1 [Register Job with invalid or not exisiting aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418414, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2571426d88934df39d76364ce94533a9", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076937249, + "created": 1680682418401, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.5.0 [Register Job with all aspect type]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\",\n\t\t\"urn:bamm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:bamm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:bamm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418401, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f0b3da6d108f475cb429c99bd9c57dc5", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076677384, + "created": 1680682418392, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.6.0 [Register Job with BPN lookup]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418392, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f8f3e3d937e341e388abd88454f31cc2", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076237949, + "created": 1683184048412, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.7.0 [Register Job with invalid policy]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:da53d429-5770-410e-a13e-424e77952d8a\",\n\t\t\"bpn\": \"{% prompt 'bpn', '', _.BPN, '', false, true %}\"\n\t},\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418386.5, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6d86d4ad672a454f85f03672926d6f3c", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076397373, + "created": 1693493383337, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.0 [Register Job with data integrity success]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:a1fa0f85-697d-4c9d-982f-2501af8e8636\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418382.375, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9f6f900788a94461a3856dff0fd3102b", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076245754, + "created": 1693493584873, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.1 [Register Job with data integrity wrong hash]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:05abf6ff-8c78-4b72-948b-40e08e9b83f3\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.6875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b4dabeb86fed4de5b54c32a250f94196", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076391502, + "created": 1693493594373, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.2 [Register Job with data integrity wrong signature]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:17e11d67-0315-4504-82cd-8e70a8c33a6a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.3438, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_35ef2aef21804c3cb86a9aabc7eba0ab", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1710076385497, + "created": 1693493604521, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "1.8.3 [Register Job with data integrity integrity aspect missing]", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n \"integrityCheck\": true,\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:5672e8ff-8a73-425e-b2a5-5561b5b21d7a\",\n\t\t\"bpn\": \"BPNL00000003AZQP\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381.1719, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d27e4316d77c4a48adbe27e65390cda8", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991173689, + "created": 1680682418381, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.0 [Search for completed Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "COMPLETED", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418381, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d8fdde14cf9144ff805a51ff292b9382", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991177973, + "created": 1680682418372, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.1 [Search for Jobs in error state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418372, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_19d3cc30b4644dd8957cf980f3ee10ff", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991182139, + "created": 1680682418358, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.2 [Search for Jobs in initial state]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "INITIAL", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418358, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7801aee13dd5435a8db10338a2d4f95b", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991186114, + "created": 1680682418348, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.3 [Search for all Jobs in JobStore]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418348, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1687b685ea5949c89c8c61e483dc60f0", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991190326, + "created": 1680682418339, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.1.0 [Search for running Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "RUNNING", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418339, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d4d21a45adbc4398a37eb64325f96277", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991196283, + "created": 1680682418325, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.0.0 [Search for given jobId with uncomplete]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418325, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9baf580bb6384fcea6cd181bc4019c97", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991200399, + "created": 1680682418316, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "3.1.0 [Search for given jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418316, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ea9dc2c81dae4b4e945c52ed81a233b9", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991205447, + "created": 1680682418307, + "url": "{{IRS_HOST}}/irs/jobs/test", + "name": "3.1.1 [Search for invalid jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418307, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0808b16bfb534c7e859834972a64ffd0", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991214202, + "created": 1680682418297, + "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", + "name": "3.1.2 [Search for unknown jobId]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418297, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c28839aad9394b2bbda87017500ed616", + "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "modified": 1702991218362, + "created": 1680682418280, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "6.0.0 [Cancel Job for given jobId]", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418280, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d8919afd30d44d1a846084157de8c69d", + "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "modified": 1705942015684, + "created": 1682672699249, + "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", + "name": "Find BPN endpoints for manufacturer numbers", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"searchFilter\": [\n {\n \"type\": \"oen\",\n \"keys\": [\n \"oen-1243\",\n \"oen-11\"\n ]\n },\n {\n \"type\": \"bpid\",\n \"keys\": [\n \"bpid-1243\",\n \"bpid-11\"\n ]\n }\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630902023, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1683630931664, + "created": 1683630887514, + "name": "Discovery", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418417.5, + "_type": "request_group" + }, + { + "_id": "req_01422217227b452a98e7db4cb60ca5bd", + "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "modified": 1705942027574, + "created": 1683031718699, + "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", + "name": "Find BPN Discovery Endpoints of type BPN", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"types\": [\n \"bpn\"\n ]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901923, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1357c99d62684a7b93cde637b6490d11", + "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "modified": 1705942036978, + "created": 1683560906453, + "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", + "name": "Find EDC endpoints for BPNs", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "[\n\t\"BPNL00000001CRHK\"\n]" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.DISCOVERY_CLIENT_ID }}", + "clientSecret": "{{ _.DISCOVERY_CLIENT_SECRET }}", + "disabled": false + }, + "metaSortKey": -1683630901873, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3261038fea10412c9f1daf62c3129529", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1710076352238, + "created": 1680682418265, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Register Job", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:bamm:io.catenax.serial_part:1.0.1#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:2.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"depth\": 10,\n\t\"key\": {\n\t\t\"globalAssetId\": \"{% prompt 'Global Asset ID', 'Please provide \\'Global-Asset-ID\\' or use default', _.GLOBAL_ASSET_ID, '', false, true %}\",\n\t\t\"bpn\": \"{% prompt 'Business Partner Number', '', _.BPN, '', false, true %}\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418265, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b5db89748d844f92a8e2f577faa58f25", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418273, + "created": 1680682418273, + "name": "IRS Basic API Calls", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418273, + "_type": "request_group" + }, + { + "_id": "req_b5192703cc404e838b2e9f127674b6a9", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1705942154792, + "created": 1680682418238, + "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", + "name": "Get registered Job", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418261, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5a857366bb044122b7bebd64aa58c4f9", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1702991288793, + "created": 1680682418257, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for all Jobs in JobStore", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418257, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_08470d1692b24a5eb0be4f34cdac0088", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1702991284435, + "created": 1680682418247, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for Jobs for given state", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "jobStates", + "value": "ERROR", + "disabled": true, + "id": "pair_c694b66f41e649db837f801b5699859e" + }, + { + "name": "jobStates", + "value": "CANCELED,COMPLETED", + "disabled": false, + "id": "pair_ab346623e5394504b7232cc40ae75bed" + }, + { + "id": "pair_ddbccd5219944e8cac3d99249ba881e5", + "name": "jobStates", + "value": "RUNNING", + "description": "", + "disabled": true + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418247, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3dc3438d10ec4540ac5273a3e5a9b83e", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1703236659047, + "created": 1690384427379, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Get Job for jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "returnUncompletedJob", + "value": "true", + "disabled": false + } + ], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418238, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_992a742bd2274479bddc627789274c45", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1702991276045, + "created": 1680682418229, + "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Cancel Job for jobId", + "description": "", + "method": "PUT", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418229, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e3487fdf1f844cc58ff1d5f13cefe638", + "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "modified": 1702991272198, + "created": 1682498338739, + "url": "{{IRS_HOST}}/irs/aspectmodels", + "name": "Get all available Aspect Models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418179, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_98b454b45f5c4cad933df80c0ca8ff5c", + "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "modified": 1705942066941, + "created": 1680682418213, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", + "name": "Get all models", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "pageSize", + "value": "100", + "disabled": false, + "id": "pair_96567b64925d4487bae4c74bfa9e021e" + }, + { + "id": "pair_2dae68db8a564296a5835e66d951331f", + "name": "status", + "value": "RELEASED", + "description": "" + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418213, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418222, + "created": 1680682418222, + "name": "Semantics Hub", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418222, + "_type": "request_group" + }, + { + "_id": "req_7c6af0f0d72e4c29a504e44aa4acf2dc", + "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "modified": 1705942077015, + "created": 1680682418204, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", + "name": "Get SerialPartTypization", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418204, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f205a27f8073450cbde5e0398b48bde6", + "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "modified": 1705942085733, + "created": 1680682418192, + "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", + "name": "Get SerialPartTypization Json Schema", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.SEMANTIC_HUB_CLIENT_ID }}", + "clientSecret": "{{ _.SEMANTIC_HUB_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418192, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_93454fd3c1084d399b3c2905cee98912", + "parentId": "fld_99d07b61e21942fab3999ca3411b6309", + "modified": 1705942100313, + "created": 1680682418174, + "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", + "name": "Get business partner by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "idType", + "value": "BPN", + "disabled": false + } + ], + "headers": [], + "authentication": { + "type": "oauth2", + "grantType": "client_credentials", + "accessTokenUrl": "{{ _.OAUTH2_TOKEN_URL }}", + "clientId": "{{ _.BPDM_CLIENT_ID }}", + "clientSecret": "{{ _.BPDM_CLIENT_SECRET }}" + }, + "metaSortKey": -1680682418174, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_99d07b61e21942fab3999ca3411b6309", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418184, + "created": 1680682418184, + "name": "Business partner data management", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418184, + "_type": "request_group" + }, + { + "_id": "req_88256dff324a428fa91d114a88fcd3b4", + "parentId": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", + "modified": 1702991347797, + "created": 1680682418157, + "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", + "name": "Get Esr Statistics", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418158, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418167, + "created": 1680682418167, + "name": "ESR Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418167, + "_type": "request_group" + }, + { + "_id": "req_7872f416ad5349db9fbc8198a93438f0", + "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "modified": 1702991361578, + "created": 1680682418143, + "url": "{{IRS_HOST}}/ess/bpn/investigations", + "name": "Register Job Investigation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"key\": {\n\t\t\"globalAssetId\": \"urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7\",\n\t\t\"bpn\": \"BPNL00000003CRHK\"\n\t},\n\t\"incidentBPNSs\": [\n\t\t\"BPNL00000003B6LU\"\n\t],\n\t\"bomLifecycle\": \"asPlanned\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418143, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_a374a4f655934a47a494ab91e5ed46e3", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418151, + "created": 1680682418151, + "name": "ESS Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418151, + "_type": "request_group" + }, + { + "_id": "req_88afb1555cd1418a9fed7524d2cfe286", + "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "modified": 1705942138125, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", + "name": "Get registered investigation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418138.5, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d2307da1ffaa4cee95303f073e8e8025", + "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "modified": 1702991370481, + "created": 1680682418134, + "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", + "name": "Search for investigation by jobId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418134, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_8890c0b2034c48769d06fdefdd8ad27d", + "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "modified": 1710076303275, + "created": 1680682418118, + "url": "{{IRS_HOST}}/irs/orders", + "name": "Register Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"aspects\": [\n\t\t\"urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt\"\n\t],\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": true,\n\t\"direction\": \"downward\",\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418118, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1680682418128, + "created": 1680682418128, + "name": "Batch Processing", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418128, + "_type": "request_group" + }, + { + "_id": "req_899fdffe97094ec1b8360b09ff7f19e4", + "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "modified": 1702991390349, + "created": 1696342619602, + "url": "{{IRS_HOST}}/irs/ess/orders", + "name": "Register ESS Batch Order", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"batchSize\": 10,\n\t\"batchStrategy\": \"PRESERVE_BATCH_JOB_ORDER\",\n\t\"incidentBPNSs\": [\"BPNL00000003B6LU\"],\n\t\"keys\": [\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:ed333e9a-5afa-40b2-99da-bae2fd211122\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t},\n\t\t{\n\t\t\t\"globalAssetId\": \"urn:uuid:771d2ccc-a081-4d3a-bcb2-46c6a0a32211\",\n\t\t\t\"bpn\": \"BPNL00000003AAXX\"\n\t\t}\n\t]\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418113.5, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_500399b00f1c4beba49bb0d416693873", + "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "modified": 1705006936944, + "created": 1705006139836, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Cancel order job for given orderId", + "description": "", + "method": "PUT", + "body": { + "mimeType": "application/json", + "text": "{}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "id": "pair_88db8badf4ea4a0d9968c769167407c8" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418111.25, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e5c9453b6ca4432dbc41f0719ebc10ee", + "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "modified": 1702991398473, + "created": 1680682418109, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", + "name": "Search for given orderId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418109, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_17ef91cf95974a88ab1ea3caac512f2e", + "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "modified": 1702991409664, + "created": 1680682418099, + "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", + "name": "Search for given orderId and batchId", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.REGULAR_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1680682418099, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4c99e0188bee4399b5b835473f5faf0c", + "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "modified": 1690472186478, + "created": 1678358655308, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\"\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722939.1875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b3e64009f73b4de58102f62dfddee9da", + "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "modified": 1690362660167, + "created": 1690362660167, + "name": "Catalog", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1690362660167, + "_type": "request_group" + }, + { + "_id": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "modified": 1690363778601, + "created": 1675675609576, + "name": "EDC-Requests", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418078, + "_type": "request_group" + }, + { + "_id": "req_3c34357d0ea04bccb4b6213f492673cc", + "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "modified": 1691500654267, + "created": 1685521485278, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with registry filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/type\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"data.core.digitalTwinRegistry\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722889.1875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_36dd4e98c75b43dcac15252ad1b05469", + "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "modified": 1705940987109, + "created": 1691654388376, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", + "name": "Get catalog with asset filter", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t},\n\t\"edc:providerUrl\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:querySpec\": {\n\t\t\"edc:filterExpression\": {\n\t\t\t\"edc:operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n\t\t\t\"edc:operator\": \"=\",\n\t\t\t\"edc:operandRight\": \"{% prompt 'assetId', '', '', '', false, true %}\"\n\t\t}\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1686195722789.1875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b1080c0e01e640afad06e99a8e9c6256", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1691578280640, + "created": 1675675609557, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", + "name": "Start contract negotiation", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"edc:offer\": {\n\t\t\"@type\": \"edc:ContractOfferDescription\",\n\t\t\"edc:offerId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:OGQ0ZTNkODYtOTIxOC00MjljLWI1N2EtNWZlZTZkODIzMmEx\",\n\t\t\"edc:assetId\": \"digital-twin-registry\",\n\t\t\"edc:policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"digital-twin-registry\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"digital-twin-registry\"\n\t\t}\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:callbackAddresses\": [],\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511095, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "modified": 1684146626847, + "created": 1684146519491, + "name": "Negotiation", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1679911060327.75, + "_type": "request_group" + }, + { + "_id": "req_56247bd1dd154ba5b925d7c2347adbb8", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1690362123962, + "created": 1675675609549, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", + "name": "Get contract negotiation", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511045, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_61c7b18918854333bf64b6b2a7d30a0e", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1690362117725, + "created": 1685444139708, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", + "name": "Cancel contract negotation", + "description": "", + "method": "POST", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146511020, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bb6f0b86fcdc45e190c8295415554a19", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1690361721223, + "created": 1681911985730, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", + "name": "Get contract negotiations", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510995, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_64bfc1e19445477497857f7e4573cf65", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1691578311420, + "created": 1675675609541, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", + "name": "Start transferprocess", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"edc:assetId\": \"digital-twin-registry\",\n\t\"edc:connectorAddress\": \"{{ _.PROVIDER_CONTROLPLANE_1 }}/api/v1/dsp\",\n\t\"edc:contractId\": \"ZGR0ci1jeG1lbWJlcnMtY29udHJhY3Q=:ZGlnaXRhbC10d2luLXJlZ2lzdHJ5:NGNlMDk0ODgtOTMzYy00ZDk3LThiNTAtNDMyZWRjMzIwM2Fm\",\n\t\"edc:dataDestination\": {\n\t\t\"edc:type\": \"HttpProxy\"\n\t},\n\t\"edc:protocol\": \"dataspace-protocol-http\",\n\t\"edc:managedResources\": false,\n\t\"edc:connectorId\": \"BPNL00000001CRHK\",\n\t\"@context\": {\n\t\t\"dct\": \"https://purl.org/dc/terms/\",\n\t\t\"tx\": \"https://w3id.org/tractusx/v0.0.1/ns/\",\n\t\t\"edc\": \"https://w3id.org/edc/v0.0.1/ns/\",\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\",\n\t\t\"dcat\": \"https://www.w3.org/ns/dcat/\",\n\t\t\"dspace\": \"https://w3id.org/dspace/v0.8/\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510945, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fa5e5cf564a74c8c9a804b7b2b8963e2", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1691503370103, + "created": 1679993996270, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", + "name": "Get transferprocess by id", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510895, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b8f90634a5944b348ea9494c7f17b6a8", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1690361795179, + "created": 1675675609525, + "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", + "name": "Get transferprocesses", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510845, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_edcebfca1e5a40d6b7f2d99e74db43c3", + "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "modified": 1690361763512, + "created": 1681910653593, + "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", + "name": "Get contract agreements", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1684146510795, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_317357c37d724aa2a25d2243ec444e31", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362947546, + "created": 1681907482278, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", + "name": "Create Asset", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {},\n\t\"asset\": {\n\t\t\"@id\": \"asset-id\",\n\t\t\"properties\": {\n\t\t\t\"description\": \"IRS EDC Demo Asset\"\n\t\t}\n\t},\n\t\"dataAddress\": {\n\t\t\"@type\": \"DataAddress\",\n\t\t\"type\": \"HttpData\",\n\t\t\"baseUrl\": \"http://backend-url/data/asset-id\",\n\t\t\"contentType\": \"application-json\",\n\t\t\"proxyPath\": \"false\",\n\t\t\"proxyBody\": \"false\",\n\t\t\"proxyMethod\": \"false\",\n\t\t\"proxyQueryParams\": \"false\"\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033461.75, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "modified": 1705940929752, + "created": 1684146457388, + "name": "Provider", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1678852197613.5625, + "_type": "request_group" + }, + { + "_id": "req_570c4a14d7db43a18d296cb11f1a1cee", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362407763, + "created": 1685444139630, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Asset by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033452.375, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c4df9110e0a345cc95afe85a30eac32b", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362438115, + "created": 1685444139625, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", + "name": "Get all Assets", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033447.6875, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0bc18af3230d4046b3e805ad47d7a86d", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362400081, + "created": 1685444139636, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", + "name": "Delete Asset", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033433.625, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bf080627d91545438cb460ad078fc01a", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362581978, + "created": 1685444139641, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", + "name": "Create Policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@id\": \"policy-id\",\n\t\"policy\": {\n\t\t\"odrl:permission\": [\n\t\t\t{\n\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033403.9375, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_06b8fed2305945deafe7dd173618e440", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362549290, + "created": 1685444139647, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Policy by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033364.0937, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ab6433968d444c4fb3980000d98c177e", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362591799, + "created": 1685444139653, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", + "name": "Get all Policies", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033344.1719, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2d58d303468d4b42bc2943873356836c", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362559324, + "created": 1685444139659, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Policy by ID", + "description": "", + "method": "DELETE", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033299.25, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_c7751e7ea2a343a1bfdf5a7391d8b1e8", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690363080444, + "created": 1685444139665, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", + "name": "Create Contract Definitinion", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n \"@context\": {\n \"edc\": \"https://w3id.org/edc/v0.0.1/ns/\"\n },\n \"@type\": \"ContractDefinition\",\n \"accessPolicyId\": \"policy-id\",\n \"contractPolicyId\": \"policy-id\",\n \"assetsSelector\": {\n \"operandLeft\": \"https://w3id.org/edc/v0.0.1/ns/id\",\n \"operator\": \"=\",\n \"operandRight\": \"asset-id\"\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033261.75, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4dbe36f239974916b8328f92025f7079", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690362691392, + "created": 1685444139672, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Get Contract Definition by ID", + "description": "", + "method": "GET", + "body": {}, + "parameters": [], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033199.25, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b6e1779d1fd74edfa3e9861e5a2f85b4", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690363126919, + "created": 1685444139678, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", + "name": "Get all Contract Definitinions", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033174.25, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0841b47dec974e11a2ec9db073fb6af0", + "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "modified": 1690363136216, + "created": 1685444139684, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", + "name": "Delte Contract Definition", + "description": "", + "method": "DELETE", + "body": { + "mimeType": "application/json", + "text": "" + }, + "parameters": [], + "headers": [ + { + "name": "Content-Type", + "value": "application/json" + } + ], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-Api-Key", + "value": "{{ _.EDC_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1679911033149.25, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "env_d2b7eb1621841465ea24b73343568b286aa8ac9a", + "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "modified": 1680782486844, + "created": 1680782486844, + "name": "Base Environment", + "data": {}, + "dataPropertyOrder": null, + "color": null, + "isPrivate": false, + "metaSortKey": 1680782486844, + "_type": "environment" + }, + { + "_id": "jar_d2b7eb1621841465ea24b73343568b286aa8ac9a", + "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "modified": 1709815397125, + "created": 1680782486851, + "name": "Default Jar", + "cookies": [ + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp.int.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2023-04-06T13:30:18.499Z", + "lastAccessed": "2024-03-07T12:43:17.124Z", + "id": "4402460762686" + }, + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp-pen.dev.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2024-02-13T11:37:30.975Z", + "lastAccessed": "2024-02-13T11:54:54.713Z", + "id": "7574385565222739" + } + ], + "_type": "cookie_jar" + }, + { + "_id": "spc_22dfe33611af4731965cc2b08febcfdb", + "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "modified": 1680782484284, + "created": 1680782484284, + "fileName": "IRS", + "contents": "", + "contentType": "yaml", + "_type": "api_spec" + }, + { + "_id": "spc_3a573993100a40b3bc2b0a5bd8e5cc48", + "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "modified": 1681726479575, + "created": 1681726479575, + "fileName": "IRS", + "contents": "", + "contentType": "yaml", + "_type": "api_spec" + } + ] } \ No newline at end of file From e0ab6b3587bcccec14221812aef45841e4a00af5 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 22 Mar 2024 13:28:34 +0100 Subject: [PATCH 21/32] feat(irs):[#199] changed spaces to tabs in irs request collection --- .../IRS_Request_Collection.json | 564 ++++++++++-------- 1 file changed, 317 insertions(+), 247 deletions(-) diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index 0722d60f79..f1c6743d34 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1,15 +1,15 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2024-03-10T13:23:40.100Z", - "__export_source": "insomnia.desktop.app:v2023.5.8", + "__export_date": "2024-03-22T09:31:33.166Z", + "__export_source": "insomnia.desktop.app:v8.6.1", "resources": [ { - "_id": "req_87f0d66bd32b4f2d8551791af7f2e2ed", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1705006817408, + "_id": "req_2d5a4fb5ec0845059533cb9904910156", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099785377, "created": 1705005887617, - "url": "{{IRS_HOST}}/irs/policies", + "url": "{{IRS_HOST}}/irs/policies?bpnls=BPNL00000001CRHK", "name": "Get all policies", "description": "", "method": "GET", @@ -25,6 +25,7 @@ }, "metaSortKey": -1705005887617, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -34,8 +35,8 @@ "_type": "request" }, { - "_id": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_c751e5e73d5248a3ae22a44bafae7906", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1687243055015, "created": 1687243055015, "name": "Policy Store", @@ -46,8 +47,8 @@ "_type": "request_group" }, { - "_id": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "_id": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", "modified": 1691572726194, "created": 1680682418636, "name": "IRS DEMO Collection", @@ -58,18 +59,18 @@ "_type": "request_group" }, { - "_id": "wrk_565df8abe30f4da29d8bffcde97927d7", + "_id": "wrk_d83bab75184e43adadd63001907af70d", "parentId": null, - "modified": 1680682438221, - "created": 1680682419747, + "modified": 1711099756361, + "created": 1711099756361, "name": "IRS", "description": "", "scope": "collection", "_type": "workspace" }, { - "_id": "req_5696fa47e33c407cbb7a2deac8ddbcd2", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", + "_id": "req_ab9376672bd94bd783aa97f36646981b", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", "modified": 1702990529632, "created": 1687243204155, "url": "{{IRS_HOST}}/irs/policies/{% prompt 'policyId', '', 'traceability-test', '', false, true %}", @@ -88,6 +89,7 @@ }, "metaSortKey": -1685602897140.75, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -97,17 +99,17 @@ "_type": "request" }, { - "_id": "req_34b6d543720247a7bcad402cab2d2f7f", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1702990565006, + "_id": "req_a68c5fa596ee4b738eefd6b7b4e2bd7a", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099840007, "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies/{% prompt 'id', '', 'traceability-test', '', false, true %}", + "url": "{{IRS_HOST}}/irs/policies", "name": "Update policy", "description": "", "method": "PUT", "body": { "mimeType": "application/json", - "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\"\n}" + "text": "{\n \"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"policiesIds\": [\n\t\t\"policyId\"\n\t]\n}" }, "parameters": [], "headers": [ @@ -125,6 +127,7 @@ }, "metaSortKey": -1684874704117.875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -134,9 +137,9 @@ "_type": "request" }, { - "_id": "req_82102b5d71704eae97e5b50dad29a262", - "parentId": "fld_6d020c1b8cd44f51b9a2edfff562caf1", - "modified": 1707126688041, + "_id": "req_95aa08cefddc4743afc85fcabf40e4ee", + "parentId": "fld_c751e5e73d5248a3ae22a44bafae7906", + "modified": 1711099862861, "created": 1687243182397, "url": "{{IRS_HOST}}/irs/policies", "name": "Register policy", @@ -144,7 +147,7 @@ "method": "POST", "body": { "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"payload\": {\n\t\t\"@context\": {\n\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t},\n\t\t\"@id\": \"policy-id12\",\n\t\t\"policy\": {\n\t\t\t\"odrl:permission\": [\n\t\t\t\t{\n\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}" + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumbers\": [\n\t\t\"BPNL00000001CRHK\"\n\t],\n\t\"payload\": [\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-1\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"@context\": {\n\t\t\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t\t\t},\n\t\t\t\"@id\": \"test-12\",\n\t\t\t\"policy\": {\n\t\t\t\t\"odrl:permission\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"odrl:action\": \"USE\",\n\t\t\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\t\t\"odrl:and\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"Membership\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"active\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"odrl:leftOperand\": \"PURPOSE\",\n\t\t\t\t\t\t\t\t\t\"odrl:operator\": {\n\t\t\t\t\t\t\t\t\t\t\"@id\": \"odrl:eq\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"odrl:rightOperand\": \"ID 3.1 Trace\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t]\n}" }, "parameters": [], "headers": [ @@ -162,6 +165,7 @@ }, "metaSortKey": -1683962737633.5, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -171,8 +175,8 @@ "_type": "request" }, { - "_id": "req_01d928eddda6422eae8f9e6722997640", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_b22ea4121d2249e0830489b188ec21e4", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003275081, "created": 1680682418619, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'aasIdentifier', '', _.GLOBAL_ASSET_ID, '', false, true %}", @@ -193,6 +197,7 @@ "authentication": {}, "metaSortKey": -1680682418619, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -202,8 +207,8 @@ "_type": "request" }, { - "_id": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_5930ffca903d46feb1793ebd290dde47", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1691504187689, "created": 1680682418630, "name": "Digital Twin Registry", @@ -214,8 +219,8 @@ "_type": "request_group" }, { - "_id": "req_c6d045b660f949499151f63e60f51225", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_ca1125488c45483c9ddda17955067893", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706002920212, "created": 1690529035794, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors", @@ -236,6 +241,7 @@ "authentication": {}, "metaSortKey": -1680682418614, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -245,8 +251,8 @@ "_type": "request" }, { - "_id": "req_c183c331cf2c418e8e89ce95dee5ddbd", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_6735560470e644d2b0378e7bddf1b99e", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003278149, "created": 1680682418609, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", @@ -315,6 +321,7 @@ "authentication": {}, "metaSortKey": -1680682418609, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -324,8 +331,8 @@ "_type": "request" }, { - "_id": "req_24a9b4f03e7a498dbc51aecea0ca3492", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_837d51ff21e140ab96da276abdaaef54", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003280850, "created": 1680682418595, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", @@ -352,6 +359,7 @@ "authentication": {}, "metaSortKey": -1680682418595, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -361,8 +369,8 @@ "_type": "request" }, { - "_id": "req_5fb54d629b714382ae77c4918a848844", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_9332ba908a3648328059a85fc5583ac9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003354109, "created": 1680682418581, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells", @@ -389,6 +397,7 @@ "authentication": {}, "metaSortKey": -1680682418581, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -398,8 +407,8 @@ "_type": "request" }, { - "_id": "req_0231f2221b0b4c52b6f8f82654b40b97", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_0b28f257a75249d084c0cedad0e3c655", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003284715, "created": 1680682418570, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", @@ -427,6 +436,7 @@ "authentication": {}, "metaSortKey": -1680682418570, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -436,8 +446,8 @@ "_type": "request" }, { - "_id": "req_0e9e498304f1450db30ccd7633c1d044", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_f593512f0af543a6b70242da819df2db", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003286642, "created": 1691408320970, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/lookup/shells/query", @@ -465,6 +475,7 @@ "authentication": {}, "metaSortKey": -1680682418560.5, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -474,8 +485,8 @@ "_type": "request" }, { - "_id": "req_c45556a411394ae7acaf7b0d7a52c64c", - "parentId": "fld_bd90851d07ce4f4bad16dc5665dcf3c1", + "_id": "req_bbb801fd3b2b444bb3318a8de92918a9", + "parentId": "fld_5930ffca903d46feb1793ebd290dde47", "modified": 1706003289343, "created": 1689167429413, "url": "{{DIGITAL_TWIN_REGISTRY}}/api/v3.0/shell-descriptors/{% prompt 'id', '', '', '', false, true %}", @@ -504,6 +515,7 @@ "authentication": {}, "metaSortKey": -1680682418470, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -513,8 +525,8 @@ "_type": "request" }, { - "_id": "req_4598fa44ca1e445f84dcc88b69e68b2d", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_7ea6d52eea2442ba82a8255041f3cb39", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991054859, "created": 1680682418551, "url": "{{IRS_HOST}}/irs/jobs", @@ -541,6 +553,7 @@ }, "metaSortKey": -1680682418551, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -550,8 +563,8 @@ "_type": "request" }, { - "_id": "fld_99916d6788d445df86cffea2202c7faf", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_80d0dfda7d9849f8923030bcb64169a7", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418562, "created": 1680682418562, "name": "IRS Test Collection", @@ -562,8 +575,8 @@ "_type": "request_group" }, { - "_id": "req_1789ac98712b4774a9478e25eb589bf0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_b5a068e9bd7044c699f03ee26a1c7499", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991058493, "created": 1680682418539, "url": "{{IRS_HOST}}/irs/jobs", @@ -590,6 +603,7 @@ }, "metaSortKey": -1680682418539, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -599,8 +613,8 @@ "_type": "request" }, { - "_id": "req_3a2d07190c9546378a10b66b6ff4f462", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_f32ea4db7e4e4c0fa9a4058f20ab3a58", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991063641, "created": 1680682418524, "url": "{{IRS_HOST}}/irs/jobs", @@ -627,6 +641,7 @@ }, "metaSortKey": -1680682418524, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -636,8 +651,8 @@ "_type": "request" }, { - "_id": "req_8a3d036a282e403481b73587111f6aa7", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_fa7ee06927f942a88dcf9d047a59dd22", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991067797, "created": 1680682418514, "url": "{{IRS_HOST}}/irs/jobs", @@ -664,6 +679,7 @@ }, "metaSortKey": -1680682418514, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -673,8 +689,8 @@ "_type": "request" }, { - "_id": "req_3dfcf0469334429f8ed26e7cb3b1e7b4", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_0a75e90c3b8c4f4cb2088d456b0d1d98", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991071709, "created": 1680682418504, "url": "{{IRS_HOST}}/irs/jobs", @@ -701,6 +717,7 @@ }, "metaSortKey": -1680682418504, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -710,8 +727,8 @@ "_type": "request" }, { - "_id": "req_8bf909bae9f54371a9056e6c4b9eefca", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_4424152376ce49e1b00d404b4346b9e4", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991076696, "created": 1695042901876, "url": "{{IRS_HOST}}/irs/jobs", @@ -738,6 +755,7 @@ }, "metaSortKey": -1680682418496, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -747,8 +765,8 @@ "_type": "request" }, { - "_id": "req_dc785af1908140b4b28e72a7b89c10e2", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_b8bcd1059fa0428fa74db6e0df9a549c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076144872, "created": 1680682418488, "url": "{{IRS_HOST}}/irs/jobs", @@ -775,6 +793,7 @@ }, "metaSortKey": -1680682418488, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -784,8 +803,8 @@ "_type": "request" }, { - "_id": "req_1d2d60468a46479aa620856c3af9edad", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_1f8b0bee14394eebbd17f2a845491f5b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076455844, "created": 1680682418479, "url": "{{IRS_HOST}}/irs/jobs", @@ -812,6 +831,7 @@ }, "metaSortKey": -1680682418479, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -821,8 +841,8 @@ "_type": "request" }, { - "_id": "req_e4781ee7f21c4269877a90c7b3763747", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_3d4c81094d24462c9f6eb69069dabfcf", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076515556, "created": 1680682418469, "url": "{{IRS_HOST}}/irs/jobs", @@ -849,6 +869,7 @@ }, "metaSortKey": -1680682418469, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -858,8 +879,8 @@ "_type": "request" }, { - "_id": "req_4454faa5384d4e1a9eed077d9bb439d3", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_d11875dae2e142cd99de8db2594b5749", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076741632, "created": 1680682418442, "url": "{{IRS_HOST}}/irs/jobs", @@ -886,6 +907,7 @@ }, "metaSortKey": -1680682418442, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -895,8 +917,8 @@ "_type": "request" }, { - "_id": "req_14d8a81103934ca8bde6a913419b6965", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_3664de01c8554ff89c651dff9e0821ab", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076751758, "created": 1680682418432, "url": "{{IRS_HOST}}/irs/jobs", @@ -923,6 +945,7 @@ }, "metaSortKey": -1680682418432, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -932,8 +955,8 @@ "_type": "request" }, { - "_id": "req_4d162553ba09443686bb9e8e90e01f97", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_60839c35d2124c9fbb593969fcc552df", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076760570, "created": 1695192937155, "url": "{{IRS_HOST}}/irs/jobs", @@ -960,6 +983,7 @@ }, "metaSortKey": -1680682418428, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -969,8 +993,8 @@ "_type": "request" }, { - "_id": "req_2bdd38ac17234d7286dc03f0c2741d25", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_5215512817494d63918383988c06144c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076769119, "created": 1695192971825, "url": "{{IRS_HOST}}/irs/jobs", @@ -997,6 +1021,7 @@ }, "metaSortKey": -1680682418426, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1006,8 +1031,8 @@ "_type": "request" }, { - "_id": "req_56ce00c13b6e42329fb3ed6d18a134eb", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_050aba71af544728bf13966232a68c94", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076214310, "created": 1680682418424, "url": "{{IRS_HOST}}/irs/jobs", @@ -1034,6 +1059,7 @@ }, "metaSortKey": -1680682418424, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1043,8 +1069,8 @@ "_type": "request" }, { - "_id": "req_c4e086d67cb64786b235745f4e56f24c", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_245ceb95afa8407ba017e6143e942557", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991130711, "created": 1680682418414, "url": "{{IRS_HOST}}/irs/jobs", @@ -1071,6 +1097,7 @@ }, "metaSortKey": -1680682418414, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1080,8 +1107,8 @@ "_type": "request" }, { - "_id": "req_2571426d88934df39d76364ce94533a9", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_5c0c50a042914805a4f00cc38e6ec327", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076937249, "created": 1680682418401, "url": "{{IRS_HOST}}/irs/jobs", @@ -1108,6 +1135,7 @@ }, "metaSortKey": -1680682418401, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1117,8 +1145,8 @@ "_type": "request" }, { - "_id": "req_f0b3da6d108f475cb429c99bd9c57dc5", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_fd882f9ee36c4efaaaaad5ee15110e95", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076677384, "created": 1680682418392, "url": "{{IRS_HOST}}/irs/jobs", @@ -1145,6 +1173,7 @@ }, "metaSortKey": -1680682418392, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1154,8 +1183,8 @@ "_type": "request" }, { - "_id": "req_f8f3e3d937e341e388abd88454f31cc2", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_7c176ef2953f4ef3a9bafdf1fdc4f59c", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076237949, "created": 1683184048412, "url": "{{IRS_HOST}}/irs/jobs", @@ -1182,6 +1211,7 @@ }, "metaSortKey": -1680682418386.5, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1191,8 +1221,8 @@ "_type": "request" }, { - "_id": "req_6d86d4ad672a454f85f03672926d6f3c", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_e72bfa320e9d44c7b5df861133034f65", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076397373, "created": 1693493383337, "url": "{{IRS_HOST}}/irs/jobs", @@ -1219,6 +1249,7 @@ }, "metaSortKey": -1680682418382.375, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1228,8 +1259,8 @@ "_type": "request" }, { - "_id": "req_9f6f900788a94461a3856dff0fd3102b", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_d0b0ebd7ab684c038163cbda0d8e38b2", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076245754, "created": 1693493584873, "url": "{{IRS_HOST}}/irs/jobs", @@ -1256,6 +1287,7 @@ }, "metaSortKey": -1680682418381.6875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1265,8 +1297,8 @@ "_type": "request" }, { - "_id": "req_b4dabeb86fed4de5b54c32a250f94196", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_daed8469e6804426b06e685c13c5a2ee", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076391502, "created": 1693493594373, "url": "{{IRS_HOST}}/irs/jobs", @@ -1293,6 +1325,7 @@ }, "metaSortKey": -1680682418381.3438, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1302,8 +1335,8 @@ "_type": "request" }, { - "_id": "req_35ef2aef21804c3cb86a9aabc7eba0ab", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_3ee66542ae4d4bd086097cc127901a0d", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1710076385497, "created": 1693493604521, "url": "{{IRS_HOST}}/irs/jobs", @@ -1330,6 +1363,7 @@ }, "metaSortKey": -1680682418381.1719, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1339,8 +1373,8 @@ "_type": "request" }, { - "_id": "req_d27e4316d77c4a48adbe27e65390cda8", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_db0100a82fdc4bd7ac88f5fcbfc951f7", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991173689, "created": 1680682418381, "url": "{{IRS_HOST}}/irs/jobs", @@ -1370,6 +1404,7 @@ }, "metaSortKey": -1680682418381, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1379,8 +1414,8 @@ "_type": "request" }, { - "_id": "req_d8fdde14cf9144ff805a51ff292b9382", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_bf1ded5777714303b33ecc6d802d65ac", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991177973, "created": 1680682418372, "url": "{{IRS_HOST}}/irs/jobs", @@ -1410,6 +1445,7 @@ }, "metaSortKey": -1680682418372, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1419,8 +1455,8 @@ "_type": "request" }, { - "_id": "req_19d3cc30b4644dd8957cf980f3ee10ff", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_6dbc72ee2c494a1784766b54862ed682", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991182139, "created": 1680682418358, "url": "{{IRS_HOST}}/irs/jobs", @@ -1450,6 +1486,7 @@ }, "metaSortKey": -1680682418358, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1459,8 +1496,8 @@ "_type": "request" }, { - "_id": "req_7801aee13dd5435a8db10338a2d4f95b", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_ac1c2b21900440d4901111176675e2ff", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991186114, "created": 1680682418348, "url": "{{IRS_HOST}}/irs/jobs", @@ -1484,6 +1521,7 @@ }, "metaSortKey": -1680682418348, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1493,8 +1531,8 @@ "_type": "request" }, { - "_id": "req_1687b685ea5949c89c8c61e483dc60f0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_53fd3aefa06945f8aea85d3b3c322699", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991190326, "created": 1680682418339, "url": "{{IRS_HOST}}/irs/jobs", @@ -1524,6 +1562,7 @@ }, "metaSortKey": -1680682418339, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1533,8 +1572,8 @@ "_type": "request" }, { - "_id": "req_d4d21a45adbc4398a37eb64325f96277", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_0f0101575ead4084b46710bfb0091f3f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991196283, "created": 1680682418325, "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", @@ -1564,6 +1603,7 @@ }, "metaSortKey": -1680682418325, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1573,8 +1613,8 @@ "_type": "request" }, { - "_id": "req_9baf580bb6384fcea6cd181bc4019c97", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_c50ba332341e4018b4313e7e72695954", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991200399, "created": 1680682418316, "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", @@ -1598,6 +1638,7 @@ }, "metaSortKey": -1680682418316, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1607,8 +1648,8 @@ "_type": "request" }, { - "_id": "req_ea9dc2c81dae4b4e945c52ed81a233b9", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_bfcb98fc286a4be79030c9513ed9735f", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991205447, "created": 1680682418307, "url": "{{IRS_HOST}}/irs/jobs/test", @@ -1632,6 +1673,7 @@ }, "metaSortKey": -1680682418307, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1641,8 +1683,8 @@ "_type": "request" }, { - "_id": "req_0808b16bfb534c7e859834972a64ffd0", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_35c58b65dd9d4582ab9472ad1c9d3e3b", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991214202, "created": 1680682418297, "url": "{{IRS_HOST}}/irs/jobs/00000000-0000-0000-0000-000000000000", @@ -1666,6 +1708,7 @@ }, "metaSortKey": -1680682418297, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1675,8 +1718,8 @@ "_type": "request" }, { - "_id": "req_c28839aad9394b2bbda87017500ed616", - "parentId": "fld_99916d6788d445df86cffea2202c7faf", + "_id": "req_896fa0136d6e49d69a938f4de5811bad", + "parentId": "fld_80d0dfda7d9849f8923030bcb64169a7", "modified": 1702991218362, "created": 1680682418280, "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", @@ -1700,6 +1743,7 @@ }, "metaSortKey": -1680682418280, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1709,8 +1753,8 @@ "_type": "request" }, { - "_id": "req_d8919afd30d44d1a846084157de8c69d", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "_id": "req_69f863ad2c674907ad29581828ba5c43", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", "modified": 1705942015684, "created": 1682672699249, "url": "{{ _.BPN_DISCOVERY }}/api/administration/connectors/bpnDiscovery/search", @@ -1738,6 +1782,7 @@ }, "metaSortKey": -1683630902023, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1747,8 +1792,8 @@ "_type": "request" }, { - "_id": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_7a3a1e3a4fe8428098021e110a52ba0d", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1683630931664, "created": 1683630887514, "name": "Discovery", @@ -1759,8 +1804,8 @@ "_type": "request_group" }, { - "_id": "req_01422217227b452a98e7db4cb60ca5bd", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "_id": "req_7ba23e27b73845c9a9b566c72f4f0c29", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", "modified": 1705942027574, "created": 1683031718699, "url": "{{ _.DISCOVERY_FINDER }}/api/administration/connectors/discovery/search", @@ -1788,6 +1833,7 @@ }, "metaSortKey": -1683630901923, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1797,8 +1843,8 @@ "_type": "request" }, { - "_id": "req_1357c99d62684a7b93cde637b6490d11", - "parentId": "fld_9bf5f1410d1b4472b588bfe79bae6d2d", + "_id": "req_4325898bf3df40648ad9cf8b304a58ee", + "parentId": "fld_7a3a1e3a4fe8428098021e110a52ba0d", "modified": 1705942036978, "created": 1683560906453, "url": "{{ _.EDC_DISCOVERY }}/api/administration/connectors/discovery", @@ -1826,6 +1872,7 @@ }, "metaSortKey": -1683630901873, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1835,8 +1882,8 @@ "_type": "request" }, { - "_id": "req_3261038fea10412c9f1daf62c3129529", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_349d613f763d4102bee054dcfd5da1bc", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1710076352238, "created": 1680682418265, "url": "{{IRS_HOST}}/irs/jobs", @@ -1863,6 +1910,7 @@ }, "metaSortKey": -1680682418265, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1872,8 +1920,8 @@ "_type": "request" }, { - "_id": "fld_b5db89748d844f92a8e2f577faa58f25", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418273, "created": 1680682418273, "name": "IRS Basic API Calls", @@ -1884,8 +1932,8 @@ "_type": "request_group" }, { - "_id": "req_b5192703cc404e838b2e9f127674b6a9", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_9b5111fd12ea47639c6621d23ddc528c", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1705942154792, "created": 1680682418238, "url": "{{IRS_HOST}}/irs/jobs/{% response 'body', 'req_b02ac0bfc4704c83a5c5f8b24175d61a', 'b64::JC5pZA==::46b', 'never', 60 %} ", @@ -1915,6 +1963,7 @@ }, "metaSortKey": -1680682418261, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1924,8 +1973,8 @@ "_type": "request" }, { - "_id": "req_5a857366bb044122b7bebd64aa58c4f9", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_0a7c66ccddb04f9caca830e197aecf64", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1702991288793, "created": 1680682418257, "url": "{{IRS_HOST}}/irs/jobs", @@ -1949,6 +1998,7 @@ }, "metaSortKey": -1680682418257, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -1958,8 +2008,8 @@ "_type": "request" }, { - "_id": "req_08470d1692b24a5eb0be4f34cdac0088", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_3d05fdc2d1e24d60960031834adf6753", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1702991284435, "created": 1680682418247, "url": "{{IRS_HOST}}/irs/jobs", @@ -2003,6 +2053,7 @@ }, "metaSortKey": -1680682418247, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2012,8 +2063,8 @@ "_type": "request" }, { - "_id": "req_3dc3438d10ec4540ac5273a3e5a9b83e", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_22194c017aac4261bb344662839de6f5", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1703236659047, "created": 1690384427379, "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", @@ -2043,6 +2094,7 @@ }, "metaSortKey": -1680682418238, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2052,8 +2104,8 @@ "_type": "request" }, { - "_id": "req_992a742bd2274479bddc627789274c45", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_95ccc8f10f584a4aaf4d2a0b9c44441b", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1702991276045, "created": 1680682418229, "url": "{{IRS_HOST}}/irs/jobs/{% prompt 'Job ID', '', '', '', false, true %}", @@ -2077,6 +2129,7 @@ }, "metaSortKey": -1680682418229, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2086,8 +2139,8 @@ "_type": "request" }, { - "_id": "req_e3487fdf1f844cc58ff1d5f13cefe638", - "parentId": "fld_b5db89748d844f92a8e2f577faa58f25", + "_id": "req_d677e6e5a736406ba05aea1a9a98595a", + "parentId": "fld_1ef343e864c14d44b2f8aa660aa7e5ac", "modified": 1702991272198, "created": 1682498338739, "url": "{{IRS_HOST}}/irs/aspectmodels", @@ -2111,6 +2164,7 @@ }, "metaSortKey": -1680682418179, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2120,8 +2174,8 @@ "_type": "request" }, { - "_id": "req_98b454b45f5c4cad933df80c0ca8ff5c", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "_id": "req_b1a92060c1bd47078fbee001952da6d8", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", "modified": 1705942066941, "created": 1680682418213, "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models", @@ -2153,6 +2207,7 @@ }, "metaSortKey": -1680682418213, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2162,8 +2217,8 @@ "_type": "request" }, { - "_id": "fld_9dceb37ce1154d0095a71bdb36fe4a79", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_187756e90d514741a65cb9617a3ea41a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418222, "created": 1680682418222, "name": "Semantics Hub", @@ -2174,8 +2229,8 @@ "_type": "request_group" }, { - "_id": "req_7c6af0f0d72e4c29a504e44aa4acf2dc", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "_id": "req_bf8fdccfac4141ea871c41d4f7403f5c", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", "modified": 1705942077015, "created": 1680682418204, "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization", @@ -2194,6 +2249,7 @@ }, "metaSortKey": -1680682418204, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2203,8 +2259,8 @@ "_type": "request" }, { - "_id": "req_f205a27f8073450cbde5e0398b48bde6", - "parentId": "fld_9dceb37ce1154d0095a71bdb36fe4a79", + "_id": "req_fb25cdceae984425b3aa867c3d5ea866", + "parentId": "fld_187756e90d514741a65cb9617a3ea41a", "modified": 1705942085733, "created": 1680682418192, "url": "{{ _.SEMANTIC_HUB_URL }}/hub/api/v1/models/urn%3Abamm%3Aio.catenax.serial_part_typization%3A1.0.0%23SerialPartTypization/json-schema", @@ -2223,6 +2279,7 @@ }, "metaSortKey": -1680682418192, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2232,8 +2289,8 @@ "_type": "request" }, { - "_id": "req_93454fd3c1084d399b3c2905cee98912", - "parentId": "fld_99d07b61e21942fab3999ca3411b6309", + "_id": "req_fad2ca6d902f401da947308e36bb22ff", + "parentId": "fld_26b4903278b54dc5a940fe28e4dd200a", "modified": 1705942100313, "created": 1680682418174, "url": "{{ _.BPDM_URL }}/v1/api/catena/business-partner/{% prompt 'BPN', '', '', '', false, true %}", @@ -2258,6 +2315,7 @@ }, "metaSortKey": -1680682418174, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2267,8 +2325,8 @@ "_type": "request" }, { - "_id": "fld_99d07b61e21942fab3999ca3411b6309", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_26b4903278b54dc5a940fe28e4dd200a", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418184, "created": 1680682418184, "name": "Business partner data management", @@ -2279,8 +2337,8 @@ "_type": "request_group" }, { - "_id": "req_88256dff324a428fa91d114a88fcd3b4", - "parentId": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", + "_id": "req_1b203a87420e42d5ba75c662ac8f49ee", + "parentId": "fld_048a4c04d1c4419683cb645279444127", "modified": 1702991347797, "created": 1680682418157, "url": "{{IRS_HOST}}/esr/esr-statistics/{% prompt 'globalAssetId', 'Provide global asset ID or use default', _.GLOBAL_ASSET_ID, '', false, true %}/{% prompt 'BOM Lifecycle', '', '', '', false, true %}/{% prompt 'Certificate', '', '', '', false, true %}/submodel", @@ -2304,6 +2362,7 @@ }, "metaSortKey": -1680682418158, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2313,8 +2372,8 @@ "_type": "request" }, { - "_id": "fld_97350fd0ea8c496caae4a2ed9eb74c5c", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_048a4c04d1c4419683cb645279444127", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418167, "created": 1680682418167, "name": "ESR Spike", @@ -2325,8 +2384,8 @@ "_type": "request_group" }, { - "_id": "req_7872f416ad5349db9fbc8198a93438f0", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "_id": "req_32cc185810924d6cba6bb783422e919e", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", "modified": 1702991361578, "created": 1680682418143, "url": "{{IRS_HOST}}/ess/bpn/investigations", @@ -2353,6 +2412,7 @@ }, "metaSortKey": -1680682418143, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2362,8 +2422,8 @@ "_type": "request" }, { - "_id": "fld_a374a4f655934a47a494ab91e5ed46e3", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_c645034b945b4aa5a34f15c60be2b27c", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418151, "created": 1680682418151, "name": "ESS Spike", @@ -2374,8 +2434,8 @@ "_type": "request_group" }, { - "_id": "req_88afb1555cd1418a9fed7524d2cfe286", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "_id": "req_818115f180424cc287bc730453851346", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", "modified": 1705942138125, "created": 1680682418134, "url": "{{IRS_HOST}}/ess/bpn/investigations/{% response 'body', 'req_ec674952c1114bce8fb71ea1ed6d9ef7', 'b64::JC5pZA==::46b', 'never', 60 %}", @@ -2399,6 +2459,7 @@ }, "metaSortKey": -1680682418138.5, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2408,8 +2469,8 @@ "_type": "request" }, { - "_id": "req_d2307da1ffaa4cee95303f073e8e8025", - "parentId": "fld_a374a4f655934a47a494ab91e5ed46e3", + "_id": "req_2a5fb997e87c439c8d2d75b1278bae3f", + "parentId": "fld_c645034b945b4aa5a34f15c60be2b27c", "modified": 1702991370481, "created": 1680682418134, "url": "{{IRS_HOST}}/ess/bpn/investigations/{% prompt 'Job ID', '', '', '', false, true %}", @@ -2433,6 +2494,7 @@ }, "metaSortKey": -1680682418134, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2442,8 +2504,8 @@ "_type": "request" }, { - "_id": "req_8890c0b2034c48769d06fdefdd8ad27d", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "_id": "req_09e428687b484535af82e17dbf9a68bf", + "parentId": "fld_9b6334cef97a427195690af454455820", "modified": 1710076303275, "created": 1680682418118, "url": "{{IRS_HOST}}/irs/orders", @@ -2470,6 +2532,7 @@ }, "metaSortKey": -1680682418118, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2479,8 +2542,8 @@ "_type": "request" }, { - "_id": "fld_960ae2d3cdb6470a84ae4836eb497c41", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_9b6334cef97a427195690af454455820", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1680682418128, "created": 1680682418128, "name": "Batch Processing", @@ -2491,8 +2554,8 @@ "_type": "request_group" }, { - "_id": "req_899fdffe97094ec1b8360b09ff7f19e4", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "_id": "req_cfe969099893477d95f7f654a588750a", + "parentId": "fld_9b6334cef97a427195690af454455820", "modified": 1702991390349, "created": 1696342619602, "url": "{{IRS_HOST}}/irs/ess/orders", @@ -2519,6 +2582,7 @@ }, "metaSortKey": -1680682418113.5, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2528,8 +2592,8 @@ "_type": "request" }, { - "_id": "req_500399b00f1c4beba49bb0d416693873", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "_id": "req_9aca2c0b52564e64b266ecf2ef22d5e0", + "parentId": "fld_9b6334cef97a427195690af454455820", "modified": 1705006936944, "created": 1705006139836, "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", @@ -2557,6 +2621,7 @@ }, "metaSortKey": -1680682418111.25, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2566,8 +2631,8 @@ "_type": "request" }, { - "_id": "req_e5c9453b6ca4432dbc41f0719ebc10ee", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "_id": "req_55a45adbf0c9488ab2c912b92a49a103", + "parentId": "fld_9b6334cef97a427195690af454455820", "modified": 1702991398473, "created": 1680682418109, "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}", @@ -2591,6 +2656,7 @@ }, "metaSortKey": -1680682418109, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2600,8 +2666,8 @@ "_type": "request" }, { - "_id": "req_17ef91cf95974a88ab1ea3caac512f2e", - "parentId": "fld_960ae2d3cdb6470a84ae4836eb497c41", + "_id": "req_c2b63b7133fb460db0f6289b75733bc6", + "parentId": "fld_9b6334cef97a427195690af454455820", "modified": 1702991409664, "created": 1680682418099, "url": "{{IRS_HOST}}/irs/orders/{% prompt 'Order ID', '', '', '', false, true %}/batches/{% prompt 'Batch ID', '', '', '', false, true %}", @@ -2625,6 +2691,7 @@ }, "metaSortKey": -1680682418099, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2634,8 +2701,8 @@ "_type": "request" }, { - "_id": "req_4c99e0188bee4399b5b835473f5faf0c", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "_id": "req_b74cc6344b7c4388b96656993b172d46", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", "modified": 1690472186478, "created": 1678358655308, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", @@ -2662,6 +2729,7 @@ }, "metaSortKey": -1686195722939.1875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2671,8 +2739,8 @@ "_type": "request" }, { - "_id": "fld_b3e64009f73b4de58102f62dfddee9da", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "_id": "fld_46a973a72ee54858be7b730077f4a0c6", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", "modified": 1690362660167, "created": 1690362660167, "name": "Catalog", @@ -2683,8 +2751,8 @@ "_type": "request_group" }, { - "_id": "fld_64cab3b2c6fd483e87208b3ff434a03e", - "parentId": "fld_ddabc30cc3ff4b70a7401bcc81101f8f", + "_id": "fld_0b9d0531ef3e49efa333cd21a78f8c94", + "parentId": "fld_7b1b2f5f85934d3d8c82d7c7ce458380", "modified": 1690363778601, "created": 1675675609576, "name": "EDC-Requests", @@ -2695,8 +2763,8 @@ "_type": "request_group" }, { - "_id": "req_3c34357d0ea04bccb4b6213f492673cc", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "_id": "req_73691ed276bd4771a5f9504075648a79", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", "modified": 1691500654267, "created": 1685521485278, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", @@ -2723,6 +2791,7 @@ }, "metaSortKey": -1686195722889.1875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2732,8 +2801,8 @@ "_type": "request" }, { - "_id": "req_36dd4e98c75b43dcac15252ad1b05469", - "parentId": "fld_b3e64009f73b4de58102f62dfddee9da", + "_id": "req_f063f58ce17c4c04bcd9e8feea08027c", + "parentId": "fld_46a973a72ee54858be7b730077f4a0c6", "modified": 1705940987109, "created": 1691654388376, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/catalog/request", @@ -2760,6 +2829,7 @@ }, "metaSortKey": -1686195722789.1875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2769,8 +2839,8 @@ "_type": "request" }, { - "_id": "req_b1080c0e01e640afad06e99a8e9c6256", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_5eb26ad544f147b9a6f145a931e9f500", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1691578280640, "created": 1675675609557, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations", @@ -2797,6 +2867,7 @@ }, "metaSortKey": -1684146511095, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2806,8 +2877,8 @@ "_type": "request" }, { - "_id": "fld_04c0afc0cea94d8e94c1539812d7f8f9", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "_id": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", "modified": 1684146626847, "created": 1684146519491, "name": "Negotiation", @@ -2818,8 +2889,8 @@ "_type": "request_group" }, { - "_id": "req_56247bd1dd154ba5b925d7c2347adbb8", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_4fced7f1dd1c40b3b7ff236a89f1922e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1690362123962, "created": 1675675609549, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}", @@ -2843,6 +2914,7 @@ }, "metaSortKey": -1684146511045, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2852,8 +2924,8 @@ "_type": "request" }, { - "_id": "req_61c7b18918854333bf64b6b2a7d30a0e", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_e62636f85f0d48d6bfb21a16602eacda", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1690362117725, "created": 1685444139708, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/{% prompt 'id', '', '', '', false, true %}/cancel", @@ -2872,6 +2944,7 @@ }, "metaSortKey": -1684146511020, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2881,8 +2954,8 @@ "_type": "request" }, { - "_id": "req_bb6f0b86fcdc45e190c8295415554a19", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_d0b90529e95545af8d9f6ef234d64670", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1690361721223, "created": 1681911985730, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/contractnegotiations/request", @@ -2909,6 +2982,7 @@ }, "metaSortKey": -1684146510995, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2918,8 +2992,8 @@ "_type": "request" }, { - "_id": "req_64bfc1e19445477497857f7e4573cf65", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_7ef28b43bb8444728eb0bedaf8af2111", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1691578311420, "created": 1675675609541, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses", @@ -2946,6 +3020,7 @@ }, "metaSortKey": -1684146510945, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2955,8 +3030,8 @@ "_type": "request" }, { - "_id": "req_fa5e5cf564a74c8c9a804b7b2b8963e2", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_04d6350cd308435589ff2d8fb6bb01dc", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1691503370103, "created": 1679993996270, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/{% prompt 'id', '', '', '', false, true %}", @@ -2980,6 +3055,7 @@ }, "metaSortKey": -1684146510895, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -2989,8 +3065,8 @@ "_type": "request" }, { - "_id": "req_b8f90634a5944b348ea9494c7f17b6a8", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_4ec26c1537ed4c66ac8d6da53a506c71", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1690361795179, "created": 1675675609525, "url": "{{ _.CONSUMER_CONTROLPLANE }}/management/v2/transferprocesses/request", @@ -3017,6 +3093,7 @@ }, "metaSortKey": -1684146510845, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3026,8 +3103,8 @@ "_type": "request" }, { - "_id": "req_edcebfca1e5a40d6b7f2d99e74db43c3", - "parentId": "fld_04c0afc0cea94d8e94c1539812d7f8f9", + "_id": "req_0d7af3abbb194ed191e482b9b857070e", + "parentId": "fld_f1b0ee70bb2d45b7a32a643ab9a3d1d4", "modified": 1690361763512, "created": 1681910653593, "url": "{{CONSUMER_CONTROLPLANE}}/management/v2/contractagreements/request", @@ -3054,6 +3131,7 @@ }, "metaSortKey": -1684146510795, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3063,8 +3141,8 @@ "_type": "request" }, { - "_id": "req_317357c37d724aa2a25d2243ec444e31", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_633a776c22914478a6899c6f2f757d8e", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362947546, "created": 1681907482278, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets", @@ -3091,6 +3169,7 @@ }, "metaSortKey": -1679911033461.75, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3100,8 +3179,8 @@ "_type": "request" }, { - "_id": "fld_8990e7651c904d5aa52f4c1c0981a60a", - "parentId": "fld_64cab3b2c6fd483e87208b3ff434a03e", + "_id": "fld_ca5fb2ce9c5a4640b827916773279500", + "parentId": "fld_0b9d0531ef3e49efa333cd21a78f8c94", "modified": 1705940929752, "created": 1684146457388, "name": "Provider", @@ -3112,8 +3191,8 @@ "_type": "request_group" }, { - "_id": "req_570c4a14d7db43a18d296cb11f1a1cee", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_52d9308387b04d60a06b43ee1c492478", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362407763, "created": 1685444139630, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", @@ -3132,6 +3211,7 @@ }, "metaSortKey": -1679911033452.375, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3141,8 +3221,8 @@ "_type": "request" }, { - "_id": "req_c4df9110e0a345cc95afe85a30eac32b", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_1ae8b300301b406eb545df43a353fda9", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362438115, "created": 1685444139625, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/request", @@ -3169,6 +3249,7 @@ }, "metaSortKey": -1679911033447.6875, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3178,8 +3259,8 @@ "_type": "request" }, { - "_id": "req_0bc18af3230d4046b3e805ad47d7a86d", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_9eff358d42094196924ab55c23d7510d", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362400081, "created": 1685444139636, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/assets/{% prompt 'id', '', '', '', false, true %}", @@ -3198,6 +3279,7 @@ }, "metaSortKey": -1679911033433.625, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3207,8 +3289,8 @@ "_type": "request" }, { - "_id": "req_bf080627d91545438cb460ad078fc01a", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_5fd712c0594d4b46a349bb56dae21809", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362581978, "created": 1685444139641, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", @@ -3235,6 +3317,7 @@ }, "metaSortKey": -1679911033403.9375, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3244,8 +3327,8 @@ "_type": "request" }, { - "_id": "req_06b8fed2305945deafe7dd173618e440", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_8b5ce92a1e96425e8353aba23643cd6b", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362549290, "created": 1685444139647, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", @@ -3262,8 +3345,9 @@ "value": "{{ _.EDC_API_KEY }}", "addTo": "header" }, - "metaSortKey": -1679911033364.0937, + "metaSortKey": -1679911033364.0938, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3273,8 +3357,8 @@ "_type": "request" }, { - "_id": "req_ab6433968d444c4fb3980000d98c177e", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_274c9ac5236046919dd4bb71af15dd62", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362591799, "created": 1685444139653, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/request", @@ -3301,6 +3385,7 @@ }, "metaSortKey": -1679911033344.1719, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3310,8 +3395,8 @@ "_type": "request" }, { - "_id": "req_2d58d303468d4b42bc2943873356836c", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_e5e4eaf35c7545d7aaacf2388e2a42fc", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362559324, "created": 1685444139659, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions/{% prompt 'id', '', '', '', false, true %}", @@ -3330,6 +3415,7 @@ }, "metaSortKey": -1679911033299.25, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3339,8 +3425,8 @@ "_type": "request" }, { - "_id": "req_c7751e7ea2a343a1bfdf5a7391d8b1e8", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_92959d74ff4f475b8e357e4958b1c457", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690363080444, "created": 1685444139665, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions", @@ -3367,6 +3453,7 @@ }, "metaSortKey": -1679911033261.75, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3376,8 +3463,8 @@ "_type": "request" }, { - "_id": "req_4dbe36f239974916b8328f92025f7079", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_3de985b534fd4b23ad77e45e40126706", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690362691392, "created": 1685444139672, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", @@ -3396,6 +3483,7 @@ }, "metaSortKey": -1679911033199.25, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3405,8 +3493,8 @@ "_type": "request" }, { - "_id": "req_b6e1779d1fd74edfa3e9861e5a2f85b4", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_730967ca2ad2470bab0d047f7491c460", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690363126919, "created": 1685444139678, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/request", @@ -3433,6 +3521,7 @@ }, "metaSortKey": -1679911033174.25, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3442,8 +3531,8 @@ "_type": "request" }, { - "_id": "req_0841b47dec974e11a2ec9db073fb6af0", - "parentId": "fld_8990e7651c904d5aa52f4c1c0981a60a", + "_id": "req_b200c2519b814e159bdde39fd86690a2", + "parentId": "fld_ca5fb2ce9c5a4640b827916773279500", "modified": 1690363136216, "created": 1685444139684, "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/contractdefinitions/{% prompt 'id', '', '', '', false, true %}", @@ -3470,6 +3559,7 @@ }, "metaSortKey": -1679911033149.25, "isPrivate": false, + "pathParameters": [], "settingStoreCookies": true, "settingSendCookies": true, "settingDisableRenderRequestBody": false, @@ -3479,8 +3569,8 @@ "_type": "request" }, { - "_id": "env_d2b7eb1621841465ea24b73343568b286aa8ac9a", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "_id": "env_a3894a0a395c481d84f1126ba07bb47c", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", "modified": 1680782486844, "created": 1680782486844, "name": "Base Environment", @@ -3492,8 +3582,8 @@ "_type": "environment" }, { - "_id": "jar_d2b7eb1621841465ea24b73343568b286aa8ac9a", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", + "_id": "jar_13d0657e04f54f6ab1e9903f108f0841", + "parentId": "wrk_d83bab75184e43adadd63001907af70d", "modified": 1709815397125, "created": 1680782486851, "name": "Default Jar", @@ -3530,26 +3620,6 @@ } ], "_type": "cookie_jar" - }, - { - "_id": "spc_22dfe33611af4731965cc2b08febcfdb", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1680782484284, - "created": 1680782484284, - "fileName": "IRS", - "contents": "", - "contentType": "yaml", - "_type": "api_spec" - }, - { - "_id": "spc_3a573993100a40b3bc2b0a5bd8e5cc48", - "parentId": "wrk_565df8abe30f4da29d8bffcde97927d7", - "modified": 1681726479575, - "created": 1681726479575, - "fileName": "IRS", - "contents": "", - "contentType": "yaml", - "_type": "api_spec" } ] } \ No newline at end of file From ff53d662d5022ea5f3125eb783dbfe06d06a0dd4 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:10:58 +0100 Subject: [PATCH 22/32] feat(impl):[#359] update registry impl for lookup --- .../DecentralDigitalTwinRegistryClient.java | 41 +++++++++++++++---- .../DecentralDigitalTwinRegistryService.java | 4 +- ...ecentralDigitalTwinRegistryClientTest.java | 3 +- ...centralDigitalTwinRegistryServiceTest.java | 8 ++-- 4 files changed, 42 insertions(+), 14 deletions(-) diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index 1c7a7ed5b3..3fdd35a78b 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -23,16 +23,21 @@ ********************************************************************************/ package org.eclipse.tractusx.irs.registryclient.decentral; +import java.io.ByteArrayOutputStream; +import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.List; import java.util.Map; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.ObjectWriter; +import com.fasterxml.jackson.databind.SerializationFeature; import io.github.resilience4j.retry.annotation.Retry; import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference; import org.eclipse.tractusx.irs.component.assetadministrationshell.AssetAdministrationShellDescriptor; import org.eclipse.tractusx.irs.component.assetadministrationshell.IdentifierKeyValuePair; -import org.eclipse.tractusx.irs.data.StringMapper; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; @@ -49,6 +54,14 @@ public class DecentralDigitalTwinRegistryClient { private static final String PLACEHOLDER_AAS_IDENTIFIER = "aasIdentifier"; private static final String PLACEHOLDER_ASSET_IDS = "assetIds"; + private static final ObjectWriter WRITER; + static { + final ObjectMapper MAPPER = new ObjectMapper(); + MAPPER.enable(SerializationFeature.INDENT_OUTPUT); + MAPPER.setSerializationInclusion(JsonInclude.Include.NON_NULL); + WRITER = MAPPER.writer(); + } + private final RestTemplate edcRestTemplate; private final String shellDescriptorTemplate; private final String lookupShellsTemplate; @@ -61,10 +74,6 @@ public DecentralDigitalTwinRegistryClient(final RestTemplate edcRestTemplate, this.lookupShellsTemplate = lookupShellsTemplate; } - private static String encodeWithBase64(final String aasIdentifier) { - return Base64.getEncoder().encodeToString(aasIdentifier.getBytes(StandardCharsets.UTF_8)); - } - @Retry(name = "registry") public AssetAdministrationShellDescriptor getAssetAdministrationShellDescriptor( final EndpointDataReference endpointDataReference, final String aasIdentifier) { @@ -78,14 +87,32 @@ public AssetAdministrationShellDescriptor getAssetAdministrationShellDescriptor( @Retry(name = "registry") public LookupShellsResponse getAllAssetAdministrationShellIdsByAssetLink( - final EndpointDataReference endpointDataReference, final List assetIds) { + final EndpointDataReference endpointDataReference, final IdentifierKeyValuePair assetIds) { final String shellLookupEndpoint = endpointDataReference.getEndpoint() + lookupShellsTemplate; final UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromUriString(shellLookupEndpoint); - uriBuilder.uriVariables(Map.of(PLACEHOLDER_ASSET_IDS, StringMapper.mapToString(assetIds))); + uriBuilder.uriVariables(Map.of(PLACEHOLDER_ASSET_IDS, encodeWithBase64(assetIds))); return edcRestTemplate.exchange(uriBuilder.build().toUri(), HttpMethod.GET, new HttpEntity<>(null, headers(endpointDataReference)), LookupShellsResponse.class).getBody(); } + private static String encodeWithBase64(final String aasIdentifier) { + return Base64.getEncoder().encodeToString(aasIdentifier.getBytes(StandardCharsets.UTF_8)); + } + + private static String encodeWithBase64(final IdentifierKeyValuePair assetIds) { + return Base64.getEncoder().encodeToString(serialize(assetIds)); + } + + private static byte[] serialize(final IdentifierKeyValuePair assetIds) { + final ByteArrayOutputStream os = new ByteArrayOutputStream(); + try { + WRITER.writeValue(os, assetIds); + return os.toByteArray(); + } catch (final IOException e) { + return new byte[0]; + } + } + private HttpHeaders headers(final EndpointDataReference dataReference) { final HttpHeaders headers = new HttpHeaders(); headers.setAccept(List.of(MediaType.APPLICATION_JSON)); diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java index ab5b05e50c..a627ce034a 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryService.java @@ -250,7 +250,7 @@ private String mapToShellId(final EndpointDataReference endpointDataReference, f // Try to map the provided ID to the corresponding asset administration shell ID final var mappingResultStream = decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink( - endpointDataReference, List.of(identifierKeyValuePair)).getResult().stream(); + endpointDataReference, identifierKeyValuePair).getResult().stream(); // Special scenario: Multiple DTs with the same globalAssetId in one DTR, see: // docs/arc42/cross-cutting/discovery-DTR--multiple-DTs-with-the-same-globalAssedId-in-one-DTR.puml @@ -340,7 +340,7 @@ private Collection lookupShellIds(final String bpn, final EndpointDataRe try { return decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink( endpointDataReference, - List.of(IdentifierKeyValuePair.builder().name("manufacturerId").value(bpn).build())).getResult(); + IdentifierKeyValuePair.builder().name("manufacturerId").value(bpn).build()).getResult(); } finally { watch.stop(); log.info(TOOK_MS, watch.getLastTaskName(), watch.getLastTaskTimeMillis()); diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClientTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClientTest.java index 823fa5a175..b9599b181f 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClientTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClientTest.java @@ -13,6 +13,7 @@ import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference; import org.eclipse.tractusx.irs.component.assetadministrationshell.AssetAdministrationShellDescriptor; +import org.eclipse.tractusx.irs.component.assetadministrationshell.IdentifierKeyValuePair; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.http.HttpMethod; @@ -59,7 +60,7 @@ void shouldCallForAllAssetAdministrationShellIdsByAssetLink() { ResponseEntity.of(Optional.of(LookupShellsResponse.builder().result(Collections.emptyList()).build()))); // when - client.getAllAssetAdministrationShellIdsByAssetLink(endpointDataReference, new ArrayList<>()); + client.getAllAssetAdministrationShellIdsByAssetLink(endpointDataReference, IdentifierKeyValuePair.builder().build()); // then verify(restTemplate).exchange(any(), eq(HttpMethod.GET), any(), eq(LookupShellsResponse.class)); diff --git a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java index a2c2dace14..7e48e9a91f 100644 --- a/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java +++ b/irs-registry-client/src/test/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryServiceTest.java @@ -103,7 +103,7 @@ void shouldReturnExpectedShell() throws RegistryServiceException { endpointDataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), - anyList())).thenReturn(lookupShellsResponse); + any(IdentifierKeyValuePair.class))).thenReturn(lookupShellsResponse); when(decentralDigitalTwinRegistryClient.getAssetAdministrationShellDescriptor(any(), any())).thenReturn( expectedShell); @@ -132,7 +132,7 @@ void whenInterruptedExceptionOccurs() throws ExecutionException, InterruptedExce connectorEndpoints)).thenReturn(dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), - anyList())).thenReturn(lookupShellsResponse); + any(IdentifierKeyValuePair.class))).thenReturn(lookupShellsResponse); when(decentralDigitalTwinRegistryClient.getAssetAdministrationShellDescriptor(any(), any())).thenReturn( shellDescriptor(emptyList())); @@ -166,7 +166,7 @@ void whenExecutionExceptionOccurs() { connectorEndpoints)).thenReturn(dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), - anyList())).thenReturn(lookupShellsResponse); + any(IdentifierKeyValuePair.class))).thenReturn(lookupShellsResponse); when(decentralDigitalTwinRegistryClient.getAssetAdministrationShellDescriptor(any(), any())).thenReturn( shellDescriptor(emptyList())); @@ -230,7 +230,7 @@ void shouldReturnTheExpectedGlobalAssetId() throws RegistryServiceException { when(endpointDataForConnectorsService.createFindEndpointDataForConnectorsFutures(anyList())).thenReturn( dataRefFutures); when(decentralDigitalTwinRegistryClient.getAllAssetAdministrationShellIdsByAssetLink(any(), - anyList())).thenReturn(lookupShellsResponse); + any(IdentifierKeyValuePair.class))).thenReturn(lookupShellsResponse); when(decentralDigitalTwinRegistryClient.getAssetAdministrationShellDescriptor(any(), any())).thenReturn( expectedShell); From 4a71ae88f7cc9db4b981e039409ab4304e82b50d Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:16:13 +0100 Subject: [PATCH 23/32] feat(impl):[XXX] update sb to fix security CVE's --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c7194ecc39..74d3eefb49 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ 1.7.0-SNAPSHOT - 3.1.9 + 3.1.10 2.2.0 1.11.4 1.9.0 From 5c605dfc33a3200b792b16182748e75034ea5d8d Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:23:59 +0100 Subject: [PATCH 24/32] feat(impl):[XXX] update sb to fix secur --- DEPENDENCIES | 92 ++++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index d9c7829148..422feee65b 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -125,9 +125,9 @@ maven/mavencentral/io.github.resilience4j/resilience4j-retry/2.1.0, Apache-2.0, maven/mavencentral/io.github.resilience4j/resilience4j-spring-boot3/2.1.0, Apache-2.0, approved, #10913 maven/mavencentral/io.github.resilience4j/resilience4j-spring6/2.1.0, Apache-2.0, approved, #10915 maven/mavencentral/io.github.resilience4j/resilience4j-timelimiter/2.1.0, Apache-2.0, approved, #10166 -maven/mavencentral/io.micrometer/micrometer-commons/1.11.9, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9243 -maven/mavencentral/io.micrometer/micrometer-core/1.11.9, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9238 -maven/mavencentral/io.micrometer/micrometer-observation/1.11.9, Apache-2.0, approved, #9242 +maven/mavencentral/io.micrometer/micrometer-commons/1.11.10, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9243 +maven/mavencentral/io.micrometer/micrometer-core/1.11.10, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9238 +maven/mavencentral/io.micrometer/micrometer-observation/1.11.10, Apache-2.0, approved, #9242 maven/mavencentral/io.micrometer/micrometer-registry-prometheus/1.11.4, Apache-2.0, approved, #9805 maven/mavencentral/io.minio/minio/8.5.6, Apache-2.0, approved, #9097 maven/mavencentral/io.netty.incubator/netty-incubator-transport-classes-io_uring/0.0.21.Final, Apache-2.0, approved, #9622 @@ -174,7 +174,7 @@ maven/mavencentral/io.swagger.core.v3/swagger-annotations-jakarta/2.2.15, Apache maven/mavencentral/io.swagger.core.v3/swagger-annotations/2.2.16, Apache-2.0, approved, #11362 maven/mavencentral/io.swagger.core.v3/swagger-core-jakarta/2.2.15, Apache-2.0, approved, #5929 maven/mavencentral/io.swagger.core.v3/swagger-models-jakarta/2.2.15, Apache-2.0, approved, #5919 -maven/mavencentral/jakarta.activation/jakarta.activation-api/2.1.2, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf +maven/mavencentral/jakarta.activation/jakarta.activation-api/2.1.3, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf maven/mavencentral/jakarta.annotation/jakarta.annotation-api/2.1.1, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.ca maven/mavencentral/jakarta.inject/jakarta.inject-api/2.0.1, Apache-2.0, approved, ee4j.cdi maven/mavencentral/jakarta.json/jakarta.json-api/2.1.1, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jsonp @@ -183,7 +183,7 @@ maven/mavencentral/jakarta.transaction/jakarta.transaction-api/2.0.0, EPL-2.0 OR maven/mavencentral/jakarta.transaction/jakarta.transaction-api/2.0.1, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jta maven/mavencentral/jakarta.validation/jakarta.validation-api/3.0.2, Apache-2.0, approved, ee4j.validation maven/mavencentral/jakarta.ws.rs/jakarta.ws.rs-api/3.1.0, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.rest -maven/mavencentral/jakarta.xml.bind/jakarta.xml.bind-api/4.0.1, BSD-3-Clause, approved, ee4j.jaxb +maven/mavencentral/jakarta.xml.bind/jakarta.xml.bind-api/4.0.2, BSD-3-Clause, approved, ee4j.jaxb maven/mavencentral/javax.jms/javax.jms-api/2.0.1, CDDL-1.1 OR GPL-2.0 WITH Classpath-exception-2.0, approved, #1516 maven/mavencentral/joda-time/joda-time/2.10.2, Apache-2.0, approved, clearlydefined maven/mavencentral/junit/junit/4.13.2, EPL-2.0, approved, CQ23636 @@ -209,9 +209,9 @@ maven/mavencentral/net.sf.saxon/Saxon-HE/10.6, MPL-2.0 AND W3C, approved, #7945 maven/mavencentral/org.apache.commons/commons-compress/1.24.0, Apache-2.0 AND BSD-3-Clause AND bzip2-1.0.6 AND LicenseRef-Public-Domain, approved, #10368 maven/mavencentral/org.apache.commons/commons-lang3/3.12.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.apache.commons/commons-pool2/2.11.1, Apache-2.0, approved, CQ23795 -maven/mavencentral/org.apache.groovy/groovy-json/4.0.18, Apache-2.0, approved, #7411 -maven/mavencentral/org.apache.groovy/groovy-xml/4.0.18, Apache-2.0, approved, #10179 -maven/mavencentral/org.apache.groovy/groovy/4.0.18, Apache-2.0 AND BSD-3-Clause AND MIT, approved, #1742 +maven/mavencentral/org.apache.groovy/groovy-json/4.0.20, Apache-2.0, approved, #7411 +maven/mavencentral/org.apache.groovy/groovy-xml/4.0.20, Apache-2.0, approved, #10179 +maven/mavencentral/org.apache.groovy/groovy/4.0.20, Apache-2.0 AND BSD-3-Clause AND MIT, approved, #1742 maven/mavencentral/org.apache.httpcomponents/httpclient/4.5.13, Apache-2.0 AND LicenseRef-Public-Domain, approved, CQ23527 maven/mavencentral/org.apache.httpcomponents/httpcore/4.4.16, Apache-2.0, approved, CQ23528 maven/mavencentral/org.apache.httpcomponents/httpmime/4.5.13, Apache-2.0, approved, CQ11718 @@ -426,44 +426,44 @@ maven/mavencentral/org.slf4j/slf4j-api/2.0.12, MIT, approved, #5915 maven/mavencentral/org.springdoc/springdoc-openapi-starter-common/2.2.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.springdoc/springdoc-openapi-starter-webmvc-api/2.2.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.springdoc/springdoc-openapi-starter-webmvc-ui/2.2.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/org.springframework.boot/spring-boot-actuator-autoconfigure/3.1.9, Apache-2.0, approved, #9348 -maven/mavencentral/org.springframework.boot/spring-boot-actuator/3.1.9, Apache-2.0, approved, #9342 -maven/mavencentral/org.springframework.boot/spring-boot-autoconfigure/3.1.9, Apache-2.0, approved, #9341 -maven/mavencentral/org.springframework.boot/spring-boot-configuration-metadata/3.1.9, Apache-2.0, approved, #11032 -maven/mavencentral/org.springframework.boot/spring-boot-properties-migrator/3.1.9, Apache-2.0, approved, #10675 -maven/mavencentral/org.springframework.boot/spring-boot-starter-actuator/3.1.9, Apache-2.0, approved, #9344 -maven/mavencentral/org.springframework.boot/spring-boot-starter-aop/3.1.9, Apache-2.0, approved, #9338 -maven/mavencentral/org.springframework.boot/spring-boot-starter-json/3.1.9, Apache-2.0, approved, #9336 -maven/mavencentral/org.springframework.boot/spring-boot-starter-log4j2/3.1.9, Apache-2.0, approved, #8800 -maven/mavencentral/org.springframework.boot/spring-boot-starter-logging/3.1.9, Apache-2.0, approved, #9343 -maven/mavencentral/org.springframework.boot/spring-boot-starter-oauth2-client/3.1.9, Apache-2.0, approved, #8806 -maven/mavencentral/org.springframework.boot/spring-boot-starter-security/3.1.9, Apache-2.0, approved, #9337 -maven/mavencentral/org.springframework.boot/spring-boot-starter-test/3.1.9, Apache-2.0, approved, #9353 -maven/mavencentral/org.springframework.boot/spring-boot-starter-tomcat/3.1.9, Apache-2.0, approved, #9351 -maven/mavencentral/org.springframework.boot/spring-boot-starter-validation/3.1.9, Apache-2.0, approved, #9335 -maven/mavencentral/org.springframework.boot/spring-boot-starter-web/3.1.9, Apache-2.0, approved, #9347 -maven/mavencentral/org.springframework.boot/spring-boot-starter/3.1.9, Apache-2.0, approved, #9349 -maven/mavencentral/org.springframework.boot/spring-boot-test-autoconfigure/3.1.9, Apache-2.0, approved, #9339 -maven/mavencentral/org.springframework.boot/spring-boot-test/3.1.9, Apache-2.0, approved, #9346 -maven/mavencentral/org.springframework.boot/spring-boot/3.1.9, Apache-2.0, approved, #9352 -maven/mavencentral/org.springframework.data/spring-data-commons/3.1.9, Apache-2.0, approved, #8805 -maven/mavencentral/org.springframework.security/spring-security-config/6.1.7, Apache-2.0, approved, #9736 -maven/mavencentral/org.springframework.security/spring-security-core/6.1.7, Apache-2.0, approved, #9801 -maven/mavencentral/org.springframework.security/spring-security-crypto/6.1.7, Apache-2.0 AND ISC, approved, #9735 -maven/mavencentral/org.springframework.security/spring-security-oauth2-client/6.1.7, Apache-2.0, approved, #9740 -maven/mavencentral/org.springframework.security/spring-security-oauth2-core/6.1.7, Apache-2.0, approved, #9741 -maven/mavencentral/org.springframework.security/spring-security-oauth2-jose/6.1.7, Apache-2.0, approved, #9345 -maven/mavencentral/org.springframework.security/spring-security-test/6.1.7, Apache-2.0, approved, #10674 -maven/mavencentral/org.springframework.security/spring-security-web/6.1.7, Apache-2.0, approved, #9800 -maven/mavencentral/org.springframework/spring-aop/6.0.17, Apache-2.0, approved, #5940 -maven/mavencentral/org.springframework/spring-beans/6.0.17, Apache-2.0, approved, #5937 -maven/mavencentral/org.springframework/spring-context/6.0.17, Apache-2.0, approved, #5936 -maven/mavencentral/org.springframework/spring-core/6.0.17, Apache-2.0 AND BSD-3-Clause, approved, #5948 -maven/mavencentral/org.springframework/spring-expression/6.0.17, Apache-2.0, approved, #3284 -maven/mavencentral/org.springframework/spring-jcl/6.0.17, Apache-2.0, approved, #3283 -maven/mavencentral/org.springframework/spring-test/6.0.17, Apache-2.0, approved, #7003 -maven/mavencentral/org.springframework/spring-web/6.0.17, Apache-2.0, approved, #5942 -maven/mavencentral/org.springframework/spring-webmvc/6.0.17, Apache-2.0, approved, #5944 +maven/mavencentral/org.springframework.boot/spring-boot-actuator-autoconfigure/3.1.10, Apache-2.0, approved, #9348 +maven/mavencentral/org.springframework.boot/spring-boot-actuator/3.1.10, Apache-2.0, approved, #9342 +maven/mavencentral/org.springframework.boot/spring-boot-autoconfigure/3.1.10, Apache-2.0, approved, #9341 +maven/mavencentral/org.springframework.boot/spring-boot-configuration-metadata/3.1.10, Apache-2.0, approved, #11032 +maven/mavencentral/org.springframework.boot/spring-boot-properties-migrator/3.1.10, Apache-2.0, approved, #10675 +maven/mavencentral/org.springframework.boot/spring-boot-starter-actuator/3.1.10, Apache-2.0, approved, #9344 +maven/mavencentral/org.springframework.boot/spring-boot-starter-aop/3.1.10, Apache-2.0, approved, #9338 +maven/mavencentral/org.springframework.boot/spring-boot-starter-json/3.1.10, Apache-2.0, approved, #9336 +maven/mavencentral/org.springframework.boot/spring-boot-starter-log4j2/3.1.10, Apache-2.0, approved, #8800 +maven/mavencentral/org.springframework.boot/spring-boot-starter-logging/3.1.10, Apache-2.0, approved, #9343 +maven/mavencentral/org.springframework.boot/spring-boot-starter-oauth2-client/3.1.10, Apache-2.0, approved, #8806 +maven/mavencentral/org.springframework.boot/spring-boot-starter-security/3.1.10, Apache-2.0, approved, #9337 +maven/mavencentral/org.springframework.boot/spring-boot-starter-test/3.1.10, Apache-2.0, approved, #9353 +maven/mavencentral/org.springframework.boot/spring-boot-starter-tomcat/3.1.10, Apache-2.0, approved, #9351 +maven/mavencentral/org.springframework.boot/spring-boot-starter-validation/3.1.10, Apache-2.0, approved, #9335 +maven/mavencentral/org.springframework.boot/spring-boot-starter-web/3.1.10, Apache-2.0, approved, #9347 +maven/mavencentral/org.springframework.boot/spring-boot-starter/3.1.10, Apache-2.0, approved, #9349 +maven/mavencentral/org.springframework.boot/spring-boot-test-autoconfigure/3.1.10, Apache-2.0, approved, #9339 +maven/mavencentral/org.springframework.boot/spring-boot-test/3.1.10, Apache-2.0, approved, #9346 +maven/mavencentral/org.springframework.boot/spring-boot/3.1.10, Apache-2.0, approved, #9352 +maven/mavencentral/org.springframework.data/spring-data-commons/3.1.10, Apache-2.0, approved, #8805 +maven/mavencentral/org.springframework.security/spring-security-config/6.1.8, Apache-2.0, approved, #9736 +maven/mavencentral/org.springframework.security/spring-security-core/6.1.8, Apache-2.0, approved, #9801 +maven/mavencentral/org.springframework.security/spring-security-crypto/6.1.8, Apache-2.0 AND ISC, approved, #9735 +maven/mavencentral/org.springframework.security/spring-security-oauth2-client/6.1.8, Apache-2.0, approved, #9740 +maven/mavencentral/org.springframework.security/spring-security-oauth2-core/6.1.8, Apache-2.0, approved, #9741 +maven/mavencentral/org.springframework.security/spring-security-oauth2-jose/6.1.8, Apache-2.0, approved, #9345 +maven/mavencentral/org.springframework.security/spring-security-test/6.1.8, Apache-2.0, approved, #10674 +maven/mavencentral/org.springframework.security/spring-security-web/6.1.8, Apache-2.0, approved, #9800 +maven/mavencentral/org.springframework/spring-aop/6.0.18, Apache-2.0, approved, #5940 +maven/mavencentral/org.springframework/spring-beans/6.0.18, Apache-2.0, approved, #5937 +maven/mavencentral/org.springframework/spring-context/6.0.18, Apache-2.0, approved, #5936 +maven/mavencentral/org.springframework/spring-core/6.0.18, Apache-2.0 AND BSD-3-Clause, approved, #5948 +maven/mavencentral/org.springframework/spring-expression/6.0.18, Apache-2.0, approved, #3284 +maven/mavencentral/org.springframework/spring-jcl/6.0.18, Apache-2.0, approved, #3283 +maven/mavencentral/org.springframework/spring-test/6.0.18, Apache-2.0, approved, #7003 +maven/mavencentral/org.springframework/spring-web/6.0.18, Apache-2.0, approved, #5942 +maven/mavencentral/org.springframework/spring-webmvc/6.0.18, Apache-2.0, approved, #5944 maven/mavencentral/org.testcontainers/junit-jupiter/1.18.3, MIT, approved, #7941 maven/mavencentral/org.testcontainers/junit-jupiter/1.19.1, MIT, approved, #10344 maven/mavencentral/org.testcontainers/testcontainers/1.18.3, MIT, approved, #7938 From f67923ce0cce5f29886e137ae3cba9fb3f5eb26e Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:25:25 +0100 Subject: [PATCH 25/32] feat(impl):[#359] fix pmd --- .../decentral/DecentralDigitalTwinRegistryClient.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index 3fdd35a78b..eb01f48b46 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -56,10 +56,10 @@ public class DecentralDigitalTwinRegistryClient { private static final ObjectWriter WRITER; static { - final ObjectMapper MAPPER = new ObjectMapper(); - MAPPER.enable(SerializationFeature.INDENT_OUTPUT); - MAPPER.setSerializationInclusion(JsonInclude.Include.NON_NULL); - WRITER = MAPPER.writer(); + final ObjectMapper mapper = new ObjectMapper(); + mapper.enable(SerializationFeature.INDENT_OUTPUT); + mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); + WRITER = mapper.writer(); } private final RestTemplate edcRestTemplate; From 5017c8c6451a1e703db07e71911b3cdf9a2d148c Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 22 Mar 2024 14:29:04 +0100 Subject: [PATCH 26/32] feat(impl):[#359] fix pmd --- .../decentral/DecentralDigitalTwinRegistryClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index eb01f48b46..6247c5e2be 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -104,10 +104,10 @@ private static String encodeWithBase64(final IdentifierKeyValuePair assetIds) { } private static byte[] serialize(final IdentifierKeyValuePair assetIds) { - final ByteArrayOutputStream os = new ByteArrayOutputStream(); + final ByteArrayOutputStream stream = new ByteArrayOutputStream(); try { - WRITER.writeValue(os, assetIds); - return os.toByteArray(); + WRITER.writeValue(stream, assetIds); + return stream.toByteArray(); } catch (final IOException e) { return new byte[0]; } From 56f8ebd71d7a090e05680f99c0e932fa06675ea0 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Mon, 25 Mar 2024 10:46:41 +0100 Subject: [PATCH 27/32] feat(impl):[#359] support new encoded endpoint --- CHANGELOG.md | 5 ++-- .../irs/IrsWireMockIntegrationTest.java | 6 +++-- .../eclipse/tractusx/irs/WiremockSupport.java | 27 +++++++++++++++++++ 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6512090241..3fd8c5411e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 _**For better traceability add the corresponding GitHub issue number in each changelog entry, please.**_ ## [Unreleased] +### Changed +- IRS now supports Asset Administration Shell v3.1 - adjusted lookup shells endpoint changes (assetIds query param is encoded) ## [4.8.0] - 2024-03-18 ### Changed - Improved maintainability in EdcSubmodelClientImpl by reduced method visibility and better naming (in context of #448). -- EdcPolicyDefinitionService, EdcContractDefinitionService and EdcAssetService return throw AlreadyExist exceptions when Conflict is returned from - EDC +- EdcPolicyDefinitionService, EdcContractDefinitionService and EdcAssetService return throw AlreadyExist exceptions when Conflict is returned from EDC - Added AssetAdministrationShellDescriptor specificAssetIds support for externalSubjectId required for data provisioning - Registering a job - aspects array is now accepting full urn of aspect model instead of name only, eg. 'urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt' instead 'SingleLevelBomAsBuilt'. #439 - Changed the version of irs-registry-client from 1.6.0-SNAPSHOT to 1.6.0 diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsWireMockIntegrationTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsWireMockIntegrationTest.java index 185d74a8b4..4ff1a14453 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsWireMockIntegrationTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsWireMockIntegrationTest.java @@ -20,12 +20,14 @@ package org.eclipse.tractusx.irs; import static com.github.tomakehurst.wiremock.client.WireMock.containing; +import static com.github.tomakehurst.wiremock.client.WireMock.equalTo; import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor; import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo; import static com.github.tomakehurst.wiremock.client.WireMock.verify; import static org.assertj.core.api.Assertions.assertThat; import static org.eclipse.tractusx.irs.WiremockSupport.createEndpointDataReference; +import static org.eclipse.tractusx.irs.WiremockSupport.encodedAssetIds; import static org.eclipse.tractusx.irs.WiremockSupport.randomUUID; import static org.eclipse.tractusx.irs.testing.wiremock.DiscoveryServiceWiremockSupport.DISCOVERY_FINDER_PATH; import static org.eclipse.tractusx.irs.testing.wiremock.DiscoveryServiceWiremockSupport.DISCOVERY_FINDER_URL; @@ -158,7 +160,7 @@ void shouldStartApplicationAndCollectSemanticModels() throws SchemaNotFoundExcep void shouldStopJobAfterDepthIsReached() { // Arrange final String globalAssetIdLevel1 = "globalAssetId"; - final String globalAssetIdLevel2 = "urn:uuid:6d505432-8b31-4966-9514-4b753372683f"; + final String globalAssetIdLevel2 = "urn:uuid:7e4541ea-bb0f-464c-8cb3-021abccbfaf5"; WiremockSupport.successfulSemanticModelRequest(); WiremockSupport.successfulSemanticHubRequests(); @@ -297,7 +299,7 @@ private void successfulRegistryAndDataRequest(final String globalAssetId, final final String registryEdcAssetId = "registry-asset"; successfulNegotiation(registryEdcAssetId); stubFor(getLookupShells200(PUBLIC_LOOKUP_SHELLS_PATH, List.of(shellId)).withQueryParam("assetIds", - containing(globalAssetId))); + equalTo(encodedAssetIds(globalAssetId)))); stubFor(getShellDescriptor200(PUBLIC_SHELL_DESCRIPTORS_PATH + WiremockSupport.encodedId(shellId), bpn, submodelDescriptors, globalAssetId, shellId, idShort)); successfulNegotiation(edcAssetId); diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java index 5146e44de5..cd65821189 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java @@ -34,15 +34,21 @@ import static org.eclipse.tractusx.irs.util.TestMother.batchAspectName; import static org.eclipse.tractusx.irs.util.TestMother.singleLevelBomAsBuiltAspectName; +import java.io.ByteArrayOutputStream; +import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.List; import java.util.Map; import java.util.UUID; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference; import org.eclipse.tractusx.irs.component.PartChainIdentificationKey; import org.eclipse.tractusx.irs.component.RegisterJob; +import org.eclipse.tractusx.irs.component.assetadministrationshell.IdentifierKeyValuePair; import org.eclipse.tractusx.irs.component.enums.Direction; import org.eclipse.tractusx.irs.data.StringMapper; import org.eclipse.tractusx.irs.edc.client.configuration.JsonLdConfiguration; @@ -97,6 +103,27 @@ static String encodedId(final String shellId) { return encodeBase64String(shellId.getBytes(StandardCharsets.UTF_8)); } + static String encodedAssetIds(final String assetIds) { + final IdentifierKeyValuePair globalAssetId = IdentifierKeyValuePair.builder() + .name("globalAssetId") + .value(assetIds) + .build(); + return Base64.getEncoder().encodeToString(serialize(globalAssetId)); + } + + private static byte[] serialize(final IdentifierKeyValuePair assetIds) { + final ByteArrayOutputStream stream = new ByteArrayOutputStream(); + try { + final ObjectMapper mapper = new ObjectMapper(); + mapper.enable(SerializationFeature.INDENT_OUTPUT); + mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); + mapper.writeValue(stream, assetIds); + return stream.toByteArray(); + } catch (final IOException e) { + return new byte[0]; + } + } + static void verifyDiscoveryCalls(final int times) { verify(times, postRequestedFor(urlPathEqualTo(DiscoveryServiceWiremockSupport.DISCOVERY_FINDER_PATH))); verify(times, postRequestedFor(urlPathEqualTo(DiscoveryServiceWiremockSupport.EDC_DISCOVERY_PATH))); From 058fa3afe78057286122a40a20c8be48acb3ea36 Mon Sep 17 00:00:00 2001 From: mk Date: Mon, 25 Mar 2024 10:50:35 +0100 Subject: [PATCH 28/32] doc(doc):[#000] add bpn l s and a --- docs/src/docs/arc42/glossary.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/docs/arc42/glossary.adoc b/docs/src/docs/arc42/glossary.adoc index 73e314454f..a1753da1e1 100644 --- a/docs/src/docs/arc42/glossary.adoc +++ b/docs/src/docs/arc42/glossary.adoc @@ -8,6 +8,9 @@ |Aspect Servers (Submodel Endpoints) | | Companies participating in the interorganizational data exchange provides their data over aspect servers. The so called "submodel-descriptors" in the AAS shells are pointing to these AspectServers which provide the data-assets of the participating these companies in Catena-X. |Bill of Materials | BoM | A Bill of Materials is a comprehensive list of materials, components, sub-assemblies, and the quantities of each needed to manufacture or build a product. It serves as a structured document that provides information about the raw materials, parts, and components required for the production process. |Business Partner Number | BPN | A BPN is the unique identifier of a partner within Catena-X +|Business Partner Number Legal Enitity | BPNL | A legal entity is a juridical person or group which has legal rights and duties related to contracts, agreements, obligations etc. The term applies to any kind of organization which was founded under the particular set of law governing the country. +|Business Partner Number Site | BPNS | A site is a delimited geographical area where a legal entity does business (geographical address with geo coordinates). Providing a primary physical address for a site is mandatory. It is possible to specify further physical addresses for this location. P.O. box details are only possible in addition to the physical address. A site has a 1:n relation to addresses, means at least 1 address is necessary and multiple addresses are possible. +|Business Partner Number Address | BPNA | An address is a collection of information to describe a position, e.g. using street names or P.O. boxes as references. In addition an address consists of several postal attributes, e.g. Country, Region (State), District, Postal Code, City. |CatalogItem| | A "CatalogItem" from EDC is a synonym for "Contract Offer". |Contract Offer| | A "Contract Offer" is a synonym for "CatalogItem" from EDC. |Data Space | | Data Spaces are the key concept for a large-scale, cross-border data economy. This is also the vision of the Gaia-X initiative for a data infrastructure in Europe. The International Data Space Association (IDSA) contributes significantly to this with the architectural model, interfaces, and standards. From cdb9197d2df79d1277637ea734fe043061a6cb05 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Mon, 25 Mar 2024 13:47:46 +0100 Subject: [PATCH 29/32] chore(collection):[#TRI-996] Correct param "jobStates" in collection and documentation (the parameter was renamed in https://jira.catena-x.net/browse/TRI-996 from "jobStates" to "states") --- CHANGELOG.md | 2 +- .../esr-certificate-sequence-irs.puml | 2 +- .../request-collection/IRS_Request_Collection.json | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6512090241..1894a7ca52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -191,7 +191,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha - Added role "admin_irs" again ### Changed -- Deprecated query parameter 'jobStates' was removed from GET {{IRS_HOST}}/irs/jobs endpoint +- Deprecated query parameter 'jobStates' was removed from GET {{IRS_HOST}}/irs/jobs endpoint. TRI-996 - Moved OAuth2 JWT token claim to configuration. The fields can be configured with `oauth.resourceClaim`, `oauth.irsNamespace`, `oauth.roles`. - ESS - Added Tombstone to ESS investigation in case required aspect models "PartAsPlanned" or "PartSiteInformationAsPlanned" are missing diff --git a/docs/src/uml-diagrams/irs-recursive/use-case-esr-certificate/esr-certificate-sequence-irs.puml b/docs/src/uml-diagrams/irs-recursive/use-case-esr-certificate/esr-certificate-sequence-irs.puml index b5c42b226c..22ec9c174d 100644 --- a/docs/src/uml-diagrams/irs-recursive/use-case-esr-certificate/esr-certificate-sequence-irs.puml +++ b/docs/src/uml-diagrams/irs-recursive/use-case-esr-certificate/esr-certificate-sequence-irs.puml @@ -29,7 +29,7 @@ ref over IRS, DTRegistry, DAPS, "SubmodelServer AssemblyPartRelationship)" end ref loop 100 times - ESRSubServer --> IRS: GET /irs/jobs?jobStates=COMPLETED + ESRSubServer --> IRS: GET /irs/jobs?states=COMPLETED ESRSubServer <-- IRS: jobList alt jobId is in jobList ESRSubServer --> IRS: GET /irs/jobs{jobId} diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index f1c6743d34..0f0b8d6f68 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1384,7 +1384,7 @@ "body": {}, "parameters": [ { - "name": "jobStates", + "name": "states", "value": "COMPLETED", "disabled": false } @@ -1425,7 +1425,7 @@ "body": {}, "parameters": [ { - "name": "jobStates", + "name": "states", "value": "ERROR", "disabled": false } @@ -1466,7 +1466,7 @@ "body": {}, "parameters": [ { - "name": "jobStates", + "name": "states", "value": "INITIAL", "disabled": false } @@ -1542,7 +1542,7 @@ "body": {}, "parameters": [ { - "name": "jobStates", + "name": "states", "value": "RUNNING", "disabled": false } @@ -2019,20 +2019,20 @@ "body": {}, "parameters": [ { - "name": "jobStates", + "name": "states", "value": "ERROR", "disabled": true, "id": "pair_c694b66f41e649db837f801b5699859e" }, { - "name": "jobStates", + "name": "states", "value": "CANCELED,COMPLETED", "disabled": false, "id": "pair_ab346623e5394504b7232cc40ae75bed" }, { "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "jobStates", + "name": "states", "value": "RUNNING", "description": "", "disabled": true From 81cd1ffdda33a4fd0bd2c4c9665e49ce02b406b1 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Wed, 27 Mar 2024 11:39:14 +0100 Subject: [PATCH 30/32] feat(impl):[#359] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fd8c5411e..2b5c235751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha ## [Unreleased] ### Changed -- IRS now supports Asset Administration Shell v3.1 - adjusted lookup shells endpoint changes (assetIds query param is encoded) +- IRS now supports Asset Administration Shell v3.1 - adjusted lookup shells endpoint changes (assetIds query param is encoded). #359 ## [4.8.0] - 2024-03-18 ### Changed From ca34021981bc298b2fc8436800d899a2a37de0d0 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 27 Mar 2024 11:52:02 +0100 Subject: [PATCH 31/32] chore(changelog): [#359] Fixed sentence in CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09d085ef40..6b4e047183 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ _**For better traceability add the corresponding GitHub issue number in each cha ## [4.8.0] - 2024-03-18 ### Changed - Improved maintainability in EdcSubmodelClientImpl by reduced method visibility and better naming (in context of #448). -- EdcPolicyDefinitionService, EdcContractDefinitionService and EdcAssetService return throw AlreadyExist exceptions when Conflict is returned from EDC +- EdcPolicyDefinitionService, EdcContractDefinitionService and EdcAssetService throw AlreadyExist exceptions when + conflict is returned from EDC - Added AssetAdministrationShellDescriptor specificAssetIds support for externalSubjectId required for data provisioning - Registering a job - aspects array is now accepting full urn of aspect model instead of name only, eg. 'urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt' instead 'SingleLevelBomAsBuilt'. #439 - Changed the version of irs-registry-client from 1.6.0-SNAPSHOT to 1.6.0 From 7a990b25ca696bf0f76e5a8ee3f3308bb3c53d6d Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Wed, 27 Mar 2024 13:12:02 +0100 Subject: [PATCH 32/32] feat(impl):[#359] add new helper class --- .../eclipse/tractusx/irs/WiremockSupport.java | 21 +------- .../DecentralDigitalTwinRegistryClient.java | 33 +++--------- .../util/SerializationHelper.java | 52 +++++++++++++++++++ 3 files changed, 60 insertions(+), 46 deletions(-) create mode 100644 irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/util/SerializationHelper.java diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java index cd65821189..33fe3a36c4 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/WiremockSupport.java @@ -34,17 +34,12 @@ import static org.eclipse.tractusx.irs.util.TestMother.batchAspectName; import static org.eclipse.tractusx.irs.util.TestMother.singleLevelBomAsBuiltAspectName; -import java.io.ByteArrayOutputStream; -import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.List; import java.util.Map; import java.util.UUID; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.SerializationFeature; import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference; import org.eclipse.tractusx.irs.component.PartChainIdentificationKey; import org.eclipse.tractusx.irs.component.RegisterJob; @@ -53,6 +48,7 @@ import org.eclipse.tractusx.irs.data.StringMapper; import org.eclipse.tractusx.irs.edc.client.configuration.JsonLdConfiguration; import org.eclipse.tractusx.irs.edc.client.model.EDRAuthCode; +import org.eclipse.tractusx.irs.registryclient.util.SerializationHelper; import org.eclipse.tractusx.irs.semanticshub.SemanticHubWireMockSupport; import org.eclipse.tractusx.irs.testing.wiremock.DiscoveryServiceWiremockSupport; import org.eclipse.tractusx.irs.testing.wiremock.DtrWiremockSupport; @@ -108,20 +104,7 @@ static String encodedAssetIds(final String assetIds) { .name("globalAssetId") .value(assetIds) .build(); - return Base64.getEncoder().encodeToString(serialize(globalAssetId)); - } - - private static byte[] serialize(final IdentifierKeyValuePair assetIds) { - final ByteArrayOutputStream stream = new ByteArrayOutputStream(); - try { - final ObjectMapper mapper = new ObjectMapper(); - mapper.enable(SerializationFeature.INDENT_OUTPUT); - mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); - mapper.writeValue(stream, assetIds); - return stream.toByteArray(); - } catch (final IOException e) { - return new byte[0]; - } + return Base64.getEncoder().encodeToString(new SerializationHelper().serialize(globalAssetId)); } static void verifyDiscoveryCalls(final int times) { diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index 6247c5e2be..2ee2e339f9 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -23,21 +23,16 @@ ********************************************************************************/ package org.eclipse.tractusx.irs.registryclient.decentral; -import java.io.ByteArrayOutputStream; -import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.List; import java.util.Map; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.ObjectWriter; -import com.fasterxml.jackson.databind.SerializationFeature; import io.github.resilience4j.retry.annotation.Retry; import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference; import org.eclipse.tractusx.irs.component.assetadministrationshell.AssetAdministrationShellDescriptor; import org.eclipse.tractusx.irs.component.assetadministrationshell.IdentifierKeyValuePair; +import org.eclipse.tractusx.irs.registryclient.util.SerializationHelper; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; @@ -54,18 +49,12 @@ public class DecentralDigitalTwinRegistryClient { private static final String PLACEHOLDER_AAS_IDENTIFIER = "aasIdentifier"; private static final String PLACEHOLDER_ASSET_IDS = "assetIds"; - private static final ObjectWriter WRITER; - static { - final ObjectMapper mapper = new ObjectMapper(); - mapper.enable(SerializationFeature.INDENT_OUTPUT); - mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); - WRITER = mapper.writer(); - } - private final RestTemplate edcRestTemplate; private final String shellDescriptorTemplate; private final String lookupShellsTemplate; + private final SerializationHelper serializationHelper = new SerializationHelper(); + public DecentralDigitalTwinRegistryClient(final RestTemplate edcRestTemplate, @Value("${digitalTwinRegistry.shellDescriptorTemplate:}") final String shellDescriptorTemplate, @Value("${digitalTwinRegistry.lookupShellsTemplate:}") final String lookupShellsTemplate) { @@ -95,22 +84,12 @@ public LookupShellsResponse getAllAssetAdministrationShellIdsByAssetLink( new HttpEntity<>(null, headers(endpointDataReference)), LookupShellsResponse.class).getBody(); } - private static String encodeWithBase64(final String aasIdentifier) { + private String encodeWithBase64(final String aasIdentifier) { return Base64.getEncoder().encodeToString(aasIdentifier.getBytes(StandardCharsets.UTF_8)); } - private static String encodeWithBase64(final IdentifierKeyValuePair assetIds) { - return Base64.getEncoder().encodeToString(serialize(assetIds)); - } - - private static byte[] serialize(final IdentifierKeyValuePair assetIds) { - final ByteArrayOutputStream stream = new ByteArrayOutputStream(); - try { - WRITER.writeValue(stream, assetIds); - return stream.toByteArray(); - } catch (final IOException e) { - return new byte[0]; - } + private String encodeWithBase64(final IdentifierKeyValuePair assetIds) { + return Base64.getEncoder().encodeToString(serializationHelper.serialize(assetIds)); } private HttpHeaders headers(final EndpointDataReference dataReference) { diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/util/SerializationHelper.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/util/SerializationHelper.java new file mode 100644 index 0000000000..ee05e8593b --- /dev/null +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/util/SerializationHelper.java @@ -0,0 +1,52 @@ +/******************************************************************************** + * Copyright (c) 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ +package org.eclipse.tractusx.irs.registryclient.util; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.ObjectWriter; +import com.fasterxml.jackson.databind.SerializationFeature; + +/** + * Serializer helper + */ +public class SerializationHelper { + + private static final ObjectWriter WRITER; + static { + final ObjectMapper mapper = new ObjectMapper(); + mapper.enable(SerializationFeature.INDENT_OUTPUT); + mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); + WRITER = mapper.writer(); + } + + public byte[] serialize(final Object object) { + final ByteArrayOutputStream stream = new ByteArrayOutputStream(); + try { + WRITER.writeValue(stream, object); + return stream.toByteArray(); + } catch (final IOException e) { + return new byte[0]; + } + } +}