From 74495fe3a344b5929be3766a5fd533701203b1ce Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Wed, 1 May 2024 09:55:24 +0200 Subject: [PATCH 1/3] feat(impl):[#568] remove bpdm lookup --- .../configmap-spring-app-config.yaml | 9 - .../templates/deployment.yaml | 10 - .../templates/secrets.yaml | 2 - charts/item-relationship-service/values.yaml | 10 - docs/src/api/irs-api.yaml | 4 +- .../docs/administration/configuration.adoc | 9 - .../building-block-view/whitebox-overall.adoc | 20 +- .../arc42/cross-cutting/under-the-hood.adoc | 4 - docs/src/docs/security/security-assessment.md | 2 - .../whitebox_overall_decentral.puml | 21 +- .../irs/aaswrapper/job/RequestMetric.java | 1 - .../aaswrapper/job/delegate/BpdmDelegate.java | 117 ----------- .../BpdmDelegateProcessingException.java | 39 ---- .../eclipse/tractusx/irs/bpdm/BpdmClient.java | 120 ----------- .../eclipse/tractusx/irs/bpdm/BpdmFacade.java | 72 ------- .../irs/bpdm/BusinessPartnerResponse.java | 43 ---- .../tractusx/irs/bpdm/NameResponse.java | 40 ---- .../irs/configuration/JobConfiguration.java | 11 +- .../irs/configuration/RestTemplateConfig.java | 9 - .../services/IrsItemGraphQueryService.java | 47 +---- irs-api/src/main/resources/application.yml | 13 -- .../tractusx/irs/IrsFunctionalTest.java | 61 +----- .../irs/IrsWireMockIntegrationTest.java | 8 - .../tractusx/irs/WireMockTestConfig.java | 8 - .../job/delegate/BpdmDelegateTest.java | 195 ------------------ .../tractusx/irs/bpdm/BpdmClientImplTest.java | 55 ----- .../tractusx/irs/bpdm/BpdmFacadeTest.java | 46 ----- .../irs/bpdm/BpdmWireMockSupport.java | 110 ---------- .../tractusx/irs/bpdm/BpdmWiremockTest.java | 75 ------- .../IrsItemGraphQueryServiceTest.java | 8 - .../eclipse/tractusx/irs/util/TestMother.java | 5 - .../test/resources/__files/jobResponse.json | 10 - .../irs/component/RegisterBatchOrder.java | 2 +- .../tractusx/irs/component/RegisterJob.java | 2 +- .../irs/component/enums/ProcessStep.java | 2 - .../DigitalTwinRegistryClientImpl.java | 10 +- local/deployment/irs-local/README.md | 2 +- local/deployment/irs-local/values.yaml | 2 - .../api-tests/irs-api-tests.tavern.yaml | 16 +- local/testing/api-tests/tavern_helpers.py | 4 +- 40 files changed, 50 insertions(+), 1174 deletions(-) delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegate.java delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateProcessingException.java delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmClient.java delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmFacade.java delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BusinessPartnerResponse.java delete mode 100644 irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/NameResponse.java delete mode 100644 irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateTest.java delete mode 100644 irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmClientImplTest.java delete mode 100644 irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmFacadeTest.java delete mode 100644 irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWireMockSupport.java delete mode 100644 irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWiremockTest.java diff --git a/charts/item-relationship-service/templates/configmap-spring-app-config.yaml b/charts/item-relationship-service/templates/configmap-spring-app-config.yaml index 32bd73b6ec..3b20ef49e3 100644 --- a/charts/item-relationship-service/templates/configmap-spring-app-config.yaml +++ b/charts/item-relationship-service/templates/configmap-spring-app-config.yaml @@ -62,16 +62,11 @@ data: discovery: client-id: ${DISCOVERY_OAUTH2_CLIENT_ID} # taken from secret ENV client-secret: ${DISCOVERY_OAUTH2_CLIENT_SECRET} # taken from secret ENV - bpdm: - client-id: ${BPDM_OAUTH2_CLIENT_ID} # taken from secret ENV - client-secret: ${BPDM_OAUTH2_CLIENT_SECRET} # taken from secret ENV provider: semantics: token-uri: {{ tpl (.Values.oauth2.clientTokenUri | default "http://localhost") . | quote }} discovery: token-uri: {{ tpl (.Values.oauth2.clientTokenUri | default "http://localhost") . | quote }} - bpdm: - token-uri: {{ tpl (.Values.oauth2.clientTokenUri | default "http://localhost") . | quote }} digitalTwinRegistry: descriptorEndpoint: {{ tpl (.Values.digitalTwinRegistry.descriptorEndpoint | default "") . | quote }} @@ -94,10 +89,6 @@ data: localModelDirectory: /app/semantic-models {{- end }} - bpdm: - oAuthClientId: {{ .Values.bpdm.oAuthClientId | default "bpdm" }} - bpnEndpoint: {{ tpl (.Values.bpdm.bpnEndpoint | default "") . | quote }} - irs-edc-client: callback: mapping: {{ .Values.edc.callbackMapping | default "/internal/endpoint-data-reference" | quote }} diff --git a/charts/item-relationship-service/templates/deployment.yaml b/charts/item-relationship-service/templates/deployment.yaml index e30f10c7e8..f766400710 100644 --- a/charts/item-relationship-service/templates/deployment.yaml +++ b/charts/item-relationship-service/templates/deployment.yaml @@ -101,16 +101,6 @@ spec: secretKeyRef: name: {{ template "irs.secretName" . }} key: discoveryClientSecret - - name: BPDM_OAUTH2_CLIENT_ID - valueFrom: - secretKeyRef: - name: {{ template "irs.secretName" . }} - key: bpdmClientId - - name: BPDM_OAUTH2_CLIENT_SECRET - valueFrom: - secretKeyRef: - name: {{ template "irs.secretName" . }} - key: bpdmClientSecret - name: EDC_API_KEY_SECRET valueFrom: secretKeyRef: diff --git a/charts/item-relationship-service/templates/secrets.yaml b/charts/item-relationship-service/templates/secrets.yaml index d9488ae665..4434287573 100644 --- a/charts/item-relationship-service/templates/secrets.yaml +++ b/charts/item-relationship-service/templates/secrets.yaml @@ -39,8 +39,6 @@ data: semanticsSecret: {{ .Values.oauth2.semantics.clientSecret | default "semanticsSecret" | b64enc | quote }} discoveryClientId: {{ .Values.oauth2.discovery.clientId | default "discoveryClientId" | b64enc | quote }} discoveryClientSecret: {{ .Values.oauth2.discovery.clientSecret | default "discoveryClientSecret" | b64enc | quote }} - bpdmClientId: {{ .Values.oauth2.bpdm.clientId | default "bpdmClientId" | b64enc | quote }} - bpdmClientSecret: {{ .Values.oauth2.bpdm.clientSecret | default "bpdmClientSecret" | b64enc | quote }} edcApiSecret: {{ .Values.edc.controlplane.apikey.secret | toString | default "" | b64enc | quote }} {{- if .Values.grafana.enabled }} grafanaUser: {{ .Values.grafana.user | default "grafana" | b64enc | quote }} diff --git a/charts/item-relationship-service/values.yaml b/charts/item-relationship-service/values.yaml index 2f60e73eb3..6a8ad59602 100644 --- a/charts/item-relationship-service/values.yaml +++ b/charts/item-relationship-service/values.yaml @@ -148,13 +148,6 @@ semanticshub: # Map of Base64 encoded strings of semantic models. The key must be the Base64 encoded full URN of the model. # Example for urn:bamm:io.catenax.serial_part:1.0.0#SerialPart: # dXJuOmJhbW06aW8uY2F0ZW5heC5zZXJpYWxfcGFydDoxLjAuMCNTZXJpYWxQYXJ0: ewoJIiRzY2hlbWEiOiAiaHR0cDovL2pzb24tc2NoZW1hLm9yZy9kcmFmdC0wNC9zY2hlbWEiLAoJImRlc2NyaXB0aW9uIjogIkEgc2VyaWFsaXplZCBwYXJ0IGlzIGFuIGluc3RhbnRpYXRpb24gb2YgYSAoZGVzaWduLSkgcGFydCwgd2hlcmUgdGhlIHBhcnRpY3VsYXIgaW5zdGFudGlhdGlvbiBjYW4gYmUgdW5pcXVlbHkgaWRlbnRpZmllZCBieSBtZWFucyBvZiBhIHNlcmlhbCBudW1iZXIgb3IgYSBzaW1pbGFyIGlkZW50aWZpZXIgKGUuZy4gVkFOKSBvciBhIGNvbWJpbmF0aW9uIG9mIG11bHRpcGxlIGlkZW50aWZpZXJzIChlLmcuIGNvbWJpbmF0aW9uIG9mIG1hbnVmYWN0dXJlciwgZGF0ZSBhbmQgbnVtYmVyKSIsCgkidHlwZSI6ICJvYmplY3QiLAoJImNvbXBvbmVudHMiOiB7CgkJInNjaGVtYXMiOiB7CgkJCSJ1cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX0NhdGVuYVhJZFRyYWl0IjogewoJCQkJInR5cGUiOiAic3RyaW5nIiwKCQkJCSJkZXNjcmlwdGlvbiI6ICJUaGUgcHJvdmlkZWQgcmVndWxhciBleHByZXNzaW9uIGVuc3VyZXMgdGhhdCB0aGUgVVVJRCBpcyBjb21wb3NlZCBvZiBmaXZlIGdyb3VwcyBvZiBjaGFyYWN0ZXJzIHNlcGFyYXRlZCBieSBoeXBoZW5zLCBpbiB0aGUgZm9ybSA4LTQtNC00LTEyIGZvciBhIHRvdGFsIG9mIDM2IGNoYXJhY3RlcnMgKDMyIGhleGFkZWNpbWFsIGNoYXJhY3RlcnMgYW5kIDQgaHlwaGVucyksIG9wdGlvbmFsbHkgcHJlZml4ZWQgYnkgXCJ1cm46dXVpZDpcIiB0byBtYWtlIGl0IGFuIElSSS4iLAoJCQkJInBhdHRlcm4iOiAiKF51cm46dXVpZDpbMC05YS1mQS1GXXs4fS1bMC05YS1mQS1GXXs0fS1bMC05YS1mQS1GXXs0fS1bMC05YS1mQS1GXXs0fS1bMC05YS1mQS1GXXsxMn0kKSIKCQkJfSwKCQkJInVybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfS2V5Q2hhcmFjdGVyaXN0aWMiOiB7CgkJCQkidHlwZSI6ICJzdHJpbmciLAoJCQkJImRlc2NyaXB0aW9uIjogIlRoZSBrZXkgY2hhcmFjdGVyaXN0aWMgb2YgYSBsb2NhbCBpZGVudGlmaWVyLiBBIHNwZWNpZmljIHN1YnNldCBvZiBrZXlzIGlzIHByZWRlZmluZWQsIGJ1dCBhZGRpdGlvbmFsbHkgYW55IG90aGVyIGN1c3RvbSBrZXkgaXMgYWxsb3dlZC4gUHJlZGVmaW5lZCBrZXlzICh0byBiZSB1c2VkIHdoZW4gYXBwbGljYWJsZSk6XG4tIFwibWFudWZhY3R1cmVySWRcIiAtIFRoZSBCdXNpbmVzcyBQYXJ0bmVyIE51bWJlciAoQlBOKSBvZiB0aGUgbWFudWZhY3R1cmVyLiBWYWx1ZTogQlBOLU51bW1lclxuLSBcInBhcnRJbnN0YW5jZUlkXCIgLSBUaGUgaWRlbnRpZmllciBvZiB0aGUgbWFudWZhY3R1cmVyIGZvciB0aGUgc2VyaWFsaXplZCBpbnN0YW5jZSBvZiB0aGUgcGFydCwgZS5nLiB0aGUgc2VyaWFsIG51bWJlclxuLSBcImJhdGNoSWRcIiAtIFRoZSBpZGVudGlmaWVyIG9mIHRoZSBiYXRjaCwgdG8gd2hpY2ggdGhlIHNlcmlhbHplZCBwYXJ0IGJlbG9uZ3Ncbi0gXCJ2YW5cIiAtIFRoZSBhbm9ueW1pemVkIHZlaGljbGUgaWRlbnRpZmljYXRpb24gbnVtYmVyIChWSU4pLiBWYWx1ZTogYW5vbnltaXplZCBWSU4gYWNjb3JkaW5nIHRvIE9FTSBhbm9ueW1pemF0aW9uIHJ1bGVzLiBOb3RlOiBJZiB0aGUga2V5IFwidmFuXCIgaXMgYXZhaWxhYmxlLCBcInBhcnRJbnN0YW5jZUlkXCIgbXVzdCBhbHNvIGJlIGF2YWlsYWJsZSBhbmQgaG9sZCB0aGUgaWRlbnRpY2FsIHZhbHVlLiIKCQkJfSwKCQkJInVybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfVmFsdWVDaGFyYWN0ZXJpc3RpYyI6IHsKCQkJCSJ0eXBlIjogInN0cmluZyIsCgkJCQkiZGVzY3JpcHRpb24iOiAiVGhlIHZhbHVlIG9mIGFuIGlkZW50aWZpZXIuIgoJCQl9LAoJCQkidXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9LZXlWYWx1ZUxpc3QiOiB7CgkJCQkiZGVzY3JpcHRpb24iOiAiQSBsaXN0IG9mIGtleSB2YWx1ZSBwYWlycyBmb3IgbG9jYWwgaWRlbnRpZmllcnMsIHdoaWNoIGFyZSBjb21wb3NlZCBvZiBhIGtleSBhbmQgYSBjb3JyZXNwb25kaW5nIHZhbHVlLiIsCgkJCQkidHlwZSI6ICJvYmplY3QiLAoJCQkJInByb3BlcnRpZXMiOiB7CgkJCQkJImtleSI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIlRoZSBrZXkgb2YgYSBsb2NhbCBpZGVudGlmaWVyLiAiLAoJCQkJCQkiJHJlZiI6ICIjL2NvbXBvbmVudHMvc2NoZW1hcy91cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX0tleUNoYXJhY3RlcmlzdGljIgoJCQkJCX0sCgkJCQkJInZhbHVlIjogewoJCQkJCQkiZGVzY3JpcHRpb24iOiAiVGhlIHZhbHVlIG9mIGFuIGlkZW50aWZpZXIuIiwKCQkJCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9WYWx1ZUNoYXJhY3RlcmlzdGljIgoJCQkJCX0KCQkJCX0sCgkJCQkicmVxdWlyZWQiOiBbCgkJCQkJImtleSIsCgkJCQkJInZhbHVlIgoJCQkJXQoJCQl9LAoJCQkidXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9Mb2NhbElkZW50aWZpZXJDaGFyYWN0ZXJpc3RpYyI6IHsKCQkJCSJkZXNjcmlwdGlvbiI6ICJBIHNpbmdsZSBzZXJpYWxpemVkIHBhcnQgbWF5IGhhdmUgbXVsdGlwbGUgYXR0cmlidXRlcywgdGhhdCB1bmlxdWVseSBpZGVudGlmeSBhIHRoYXQgcGFydCBpbiBhIHNwZWNpZmljIGRhdGFzcGFjZSAoZS5nLiB0aGUgbWFudWZhY3R1cmVyYHMgZGF0YXNwYWNlKSIsCgkJCQkidHlwZSI6ICJhcnJheSIsCgkJCQkiaXRlbXMiOiB7CgkJCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9LZXlWYWx1ZUxpc3QiCgkJCQl9LAoJCQkJInVuaXF1ZUl0ZW1zIjogdHJ1ZQoJCQl9LAoJCQkidXJuX2JhbW1faW8ub3Blbm1hbnVmYWN0dXJpbmdfY2hhcmFjdGVyaXN0aWNfMi4wLjBfVGltZXN0YW1wIjogewoJCQkJInR5cGUiOiAic3RyaW5nIiwKCQkJCSJwYXR0ZXJuIjogIi0/KFsxLTldWzAtOV17Myx9fDBbMC05XXszfSktKDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKVQoKFswMV1bMC05XXwyWzAtM10pOlswLTVdWzAtOV06WzAtNV1bMC05XShcXC5bMC05XSspP3woMjQ6MDA6MDAoXFwuMCspPykpKFp8KFxcK3wtKSgoMFswLTldfDFbMC0zXSk6WzAtNV1bMC05XXwxNDowMCkpPyIsCgkJCQkiZGVzY3JpcHRpb24iOiAiRGVzY3JpYmVzIGEgUHJvcGVydHkgd2hpY2ggY29udGFpbnMgdGhlIGRhdGUgYW5kIHRpbWUgd2l0aCBhbiBvcHRpb25hbCB0aW1lem9uZS4iCgkJCX0sCgkJCSJ1cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX1Byb2R1Y3Rpb25Db3VudHJ5Q29kZVRyYWl0IjogewoJCQkJInR5cGUiOiAic3RyaW5nIiwKCQkJCSJkZXNjcmlwdGlvbiI6ICJSZWd1bGFyIEV4cHJlc3Npb24gdGhhdCBlbnN1cmVzIGEgdGhyZWUtbGV0dGVyIGNvZGUgIiwKCQkJCSJwYXR0ZXJuIjogIl5bQS1aXVtBLVpdW0EtWl0kIgoJCQl9LAoJCQkidXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9NYW51ZmFjdHVyaW5nQ2hhcmFjdGVyaXN0aWMiOiB7CgkJCQkiZGVzY3JpcHRpb24iOiAiQ2hhcmFjdGVyaXN0aWMgdG8gZGVzY3JpYmUgbWFudWZhY3R1cmluZyByZWxhdGVkIGRhdGEiLAoJCQkJInR5cGUiOiAib2JqZWN0IiwKCQkJCSJwcm9wZXJ0aWVzIjogewoJCQkJCSJkYXRlIjogewoJCQkJCQkiZGVzY3JpcHRpb24iOiAiVGltZXN0YW1wIG9mIHRoZSBtYW51ZmFjdHVyaW5nIGRhdGUgYXMgdGhlIGZpbmFsIHN0ZXAgaW4gcHJvZHVjdGlvbiBwcm9jZXNzIChlLmcuIGZpbmFsIHF1YWxpdHkgY2hlY2ssIHJlYWR5LWZvci1zaGlwbWVudCBldmVudCkiLAoJCQkJCQkiJHJlZiI6ICIjL2NvbXBvbmVudHMvc2NoZW1hcy91cm5fYmFtbV9pby5vcGVubWFudWZhY3R1cmluZ19jaGFyYWN0ZXJpc3RpY18yLjAuMF9UaW1lc3RhbXAiCgkJCQkJfSwKCQkJCQkiY291bnRyeSI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIkNvdW50cnkgY29kZSB3aGVyZSB0aGUgcGFydCB3YXMgbWFudWZhY3R1cmVkIiwKCQkJCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9Qcm9kdWN0aW9uQ291bnRyeUNvZGVUcmFpdCIKCQkJCQl9CgkJCQl9LAoJCQkJInJlcXVpcmVkIjogWwoJCQkJCSJkYXRlIgoJCQkJXQoJCQl9LAoJCQkidXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9QYXJ0SWRDaGFyYWN0ZXJpc3RpYyI6IHsKCQkJCSJ0eXBlIjogInN0cmluZyIsCgkJCQkiZGVzY3JpcHRpb24iOiAiVGhlIHBhcnQgSUQgaXMgYSBtdWx0aS1jaGFyYWN0ZXIgc3RyaW5nLCB1c3VzYWxseSBhc3NpZ25lZCBieSBhbiBFUlAgc3lzdGVtIgoJCQl9LAoJCQkidXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9QYXJ0TmFtZUNoYXJhY3RlcmlzdGljIjogewoJCQkJInR5cGUiOiAic3RyaW5nIiwKCQkJCSJkZXNjcmlwdGlvbiI6ICJQYXJ0IE5hbWUgaW4gc3RyaW5nIGZvcm1hdCBmcm9tIHRoZSByZXNwZWN0aXZlIHN5c3RlbSBpbiB0aGUgdmFsdWUgY2hhaW4iCgkJCX0sCgkJCSJ1cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX0NsYXNzaWZpY2F0aW9uQ2hhcmFjdGVyaXN0aWMiOiB7CgkJCQkidHlwZSI6ICJzdHJpbmciLAoJCQkJImRlc2NyaXB0aW9uIjogIkEgcGFydCB0eXBlIG11c3QgYmUgcGxhY2VkIGludG8gb25lIG9mIHRoZSBmb2xsb3dpbmcgY2xhc3NlczogJ2NvbXBvbmVudCcsICdwcm9kdWN0JywgJ3NvZnR3YXJlJywgJ2Fzc2VtYmx5JywgJ3Rvb2wnLCBvciAncmF3IG1hdGVyaWFsJy4iLAoJCQkJImVudW0iOiBbCgkJCQkJInByb2R1Y3QiLAoJCQkJCSJyYXcgbWF0ZXJpYWwiLAoJCQkJCSJzb2Z0d2FyZSIsCgkJCQkJImFzc2VtYmx5IiwKCQkJCQkidG9vbCIsCgkJCQkJImNvbXBvbmVudCIKCQkJCV0KCQkJfSwKCQkJInVybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfUGFydFR5cGVJbmZvcm1hdGlvbkNoYXJhY3RlcmlzdGljIjogewoJCQkJImRlc2NyaXB0aW9uIjogIlRoZSBjaGFyYWN0ZXJpc3RpY3Mgb2YgdGhlIHBhcnQgdHlwZSIsCgkJCQkidHlwZSI6ICJvYmplY3QiLAoJCQkJInByb3BlcnRpZXMiOiB7CgkJCQkJIm1hbnVmYWN0dXJlclBhcnRJZCI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIlBhcnQgSUQgYXMgYXNzaWduZWQgYnkgdGhlIG1hbnVmYWN0dXJlciBvZiB0aGUgcGFydC4gVGhlIFBhcnQgSUQgaWRlbnRpZmllcyB0aGUgcGFydCAoYXMgZGVzaWduZWQpIGluIHRoZSBtYW51ZmFjdHVyZXJgcyBkYXRhc3BhY2UuIFRoZSBQYXJ0IElEIGRvZXMgbm90IHJlZmVyZW5jZSBhIHNwZWNpZmljIGluc3RhbmNlIG9mIGEgcGFydCBhbmQgdGh1cyBzaG91bGQgbm90IGJlIGNvbmZ1c2VkIHdpdGggdGhlIHNlcmlhbCBudW1iZXIuIiwKCQkJCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9QYXJ0SWRDaGFyYWN0ZXJpc3RpYyIKCQkJCQl9LAoJCQkJCSJjdXN0b21lclBhcnRJZCI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIlBhcnQgSUQgYXMgYXNzaWduZWQgYnkgdGhlIG1hbnVmYWN0dXJlciBvZiB0aGUgcGFydC4gVGhlIFBhcnQgSUQgaWRlbnRpZmllcyB0aGUgcGFydCAoYXMgZGVzaWduZWQpIGluIHRoZSBjdXN0b21lcmBzIGRhdGFzcGFjZS4gVGhlIFBhcnQgSUQgZG9lcyBub3QgcmVmZXJlbmNlIGEgc3BlY2lmaWMgaW5zdGFuY2Ugb2YgYSBwYXJ0IGFuZCB0aHVzIHNob3VsZCBub3QgYmUgY29uZnVzZWQgd2l0aCB0aGUgc2VyaWFsIG51bWJlci4iLAoJCQkJCQkiJHJlZiI6ICIjL2NvbXBvbmVudHMvc2NoZW1hcy91cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX1BhcnRJZENoYXJhY3RlcmlzdGljIgoJCQkJCX0sCgkJCQkJIm5hbWVBdE1hbnVmYWN0dXJlciI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIk5hbWUgb2YgdGhlIHBhcnQgYXMgYXNzaWduZWQgYnkgdGhlIG1hbnVmYWN0dXJlciIsCgkJCQkJCSIkcmVmIjogIiMvY29tcG9uZW50cy9zY2hlbWFzL3Vybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfUGFydE5hbWVDaGFyYWN0ZXJpc3RpYyIKCQkJCQl9LAoJCQkJCSJuYW1lQXRDdXN0b21lciI6IHsKCQkJCQkJImRlc2NyaXB0aW9uIjogIk5hbWUgb2YgdGhlIHBhcnQgYXMgYXNzaWduZWQgYnkgdGhlIGN1c3RvbWVyIiwKCQkJCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9QYXJ0TmFtZUNoYXJhY3RlcmlzdGljIgoJCQkJCX0sCgkJCQkJImNsYXNzaWZpY2F0aW9uIjogewoJCQkJCQkiZGVzY3JpcHRpb24iOiAiVGhlIGNsYXNzaWZpY2F0aW9uIG9mIHRoZSBwYXJ0IHR5cGUgYWNjb3JkaW5nIHRvIFNURVAgc3RhbmRhcmQgZGVmaW5pdGlvbiIsCgkJCQkJCSIkcmVmIjogIiMvY29tcG9uZW50cy9zY2hlbWFzL3Vybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfQ2xhc3NpZmljYXRpb25DaGFyYWN0ZXJpc3RpYyIKCQkJCQl9CgkJCQl9LAoJCQkJInJlcXVpcmVkIjogWwoJCQkJCSJtYW51ZmFjdHVyZXJQYXJ0SWQiLAoJCQkJCSJuYW1lQXRNYW51ZmFjdHVyZXIiLAoJCQkJCSJjbGFzc2lmaWNhdGlvbiIKCQkJCV0KCQkJfQoJCX0KCX0sCgkicHJvcGVydGllcyI6IHsKCQkiY2F0ZW5hWElkIjogewoJCQkiZGVzY3JpcHRpb24iOiAiVGhlIGZ1bGx5IGFub255bW91cyBDYXRlbmEtWCBJRCBvZiB0aGUgc2VyaWFsaXplZCBwYXJ0LCB2YWxpZCBmb3IgdGhlIENhdGVuYS1YIGRhdGFzcGFjZS4iLAoJCQkiJHJlZiI6ICIjL2NvbXBvbmVudHMvc2NoZW1hcy91cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX0NhdGVuYVhJZFRyYWl0IgoJCX0sCgkJImxvY2FsSWRlbnRpZmllcnMiOiB7CgkJCSJkZXNjcmlwdGlvbiI6ICJBIGxvY2FsIGlkZW50aWZpZXIgZW5hYmxlcyBpZGVudGlmaWNhdGlvbiBvZiBhIHBhcnQgaW4gYSBzcGVjaWZpYyBkYXRhc3BhY2UsIGJ1dCBpcyBub3QgdW5pcXVlIGluIENhdGVuYS1YIGRhdGFzcGFjZS4gTXVsdGlwbGUgbG9jYWwgaWRlbnRpZmllcnMgbWF5IGV4aXN0LiIsCgkJCSIkcmVmIjogIiMvY29tcG9uZW50cy9zY2hlbWFzL3Vybl9iYW1tX2lvLmNhdGVuYXguc2VyaWFsX3BhcnRfMS4wLjBfTG9jYWxJZGVudGlmaWVyQ2hhcmFjdGVyaXN0aWMiCgkJfSwKCQkibWFudWZhY3R1cmluZ0luZm9ybWF0aW9uIjogewoJCQkiZGVzY3JpcHRpb24iOiAiSW5mb3JtYXRpb24gZnJvbSBtYW51ZmFjdHVyaW5nIHByb2Nlc3MsIHN1Y2ggYXMgbWFudWZhY3R1cmluZyBkYXRlIGFuZCBtYW51ZmFjdHVyaW5nIGNvdW50cnkiLAoJCQkiJHJlZiI6ICIjL2NvbXBvbmVudHMvc2NoZW1hcy91cm5fYmFtbV9pby5jYXRlbmF4LnNlcmlhbF9wYXJ0XzEuMC4wX01hbnVmYWN0dXJpbmdDaGFyYWN0ZXJpc3RpYyIKCQl9LAoJCSJwYXJ0VHlwZUluZm9ybWF0aW9uIjogewoJCQkiZGVzY3JpcHRpb24iOiAiVGhlIHBhcnQgdHlwZSBmcm9tIHdoaWNoIHRoZSBzZXJpYWxpemVkIHBhcnQgaGFzIGJlZW4gaW5zdGFudGlhdGVkIiwKCQkJIiRyZWYiOiAiIy9jb21wb25lbnRzL3NjaGVtYXMvdXJuX2JhbW1faW8uY2F0ZW5heC5zZXJpYWxfcGFydF8xLjAuMF9QYXJ0VHlwZUluZm9ybWF0aW9uQ2hhcmFjdGVyaXN0aWMiCgkJfQoJfSwKCSJyZXF1aXJlZCI6IFsKCQkiY2F0ZW5hWElkIiwKCQkibG9jYWxJZGVudGlmaWVycyIsCgkJIm1hbnVmYWN0dXJpbmdJbmZvcm1hdGlvbiIsCgkJInBhcnRUeXBlSW5mb3JtYXRpb24iCgldCn0= -bpdm: - url: # https:// - oAuthClientId: bpdm - bpnEndpoint: >- - {{- if .Values.bpdm.url }} - {{- tpl (.Values.bpdm.url | default "") . }}/api/catena/legal-entities/{partnerId}?idType={idType} - {{- end }} minioUser: "minio" # minioPassword: # minioUrl: "http://{{ .Release.Name }}-minio:9000" @@ -166,9 +159,6 @@ oauth2: discovery: clientId: # clientSecret: # - bpdm: - clientId: # - clientSecret: # edc: controlplane: endpoint: diff --git a/docs/src/api/irs-api.yaml b/docs/src/api/irs-api.yaml index 52094f769b..99d729841f 100644 --- a/docs/src/api/irs-api.yaml +++ b/docs/src/api/irs-api.yaml @@ -2344,8 +2344,6 @@ components: - DigitalTwinRequest - SchemaValidation - SchemaRequest - - BpdmRequest - - BpdmValidation - UsagePolicyValidation - EssValidation retryCounter: @@ -2481,6 +2479,7 @@ components: maxItems: 2147483647 lookupBPNs: type: boolean + deprecated: true description: Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false. timeout: @@ -2646,6 +2645,7 @@ components: $ref: '#/components/schemas/PartChainIdentificationKey' lookupBPNs: type: boolean + deprecated: true description: Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false. required: diff --git a/docs/src/docs/administration/configuration.adoc b/docs/src/docs/administration/configuration.adoc index 6607b75911..5921895f1f 100644 --- a/docs/src/docs/administration/configuration.adoc +++ b/docs/src/docs/administration/configuration.adoc @@ -64,9 +64,6 @@ The URL of the Discovery Finder. The IRS uses this service to discover EDC to a ==== The URL of the SemanticsHub. The IRS uses this service to fetch aspect schemas for payload validation. -==== -The URL of the BPDM service. The IRS uses this service to fetch business partner information based on BPNs. - ==== The URL of the OAuth2 token API. Used by the IRS for token creation to authenticate with other services. @@ -168,12 +165,6 @@ Dataspace Discovery client ID for OAuth2 provider. Request this from your OAuth === Dataspace Discovery client secret for OAuth2 provider. Request this from your OAuth2 operator. -=== -BPDM client ID for OAuth2 provider. Request this from your OAuth2 operator. - -=== -BPDM client secret for OAuth2 provider. Request this from your OAuth2 operator. - === Login username for Minio. To be defined by you. diff --git a/docs/src/docs/arc42/building-block-view/whitebox-overall.adoc b/docs/src/docs/arc42/building-block-view/whitebox-overall.adoc index 847049863b..17058ee455 100644 --- a/docs/src/docs/arc42/building-block-view/whitebox-overall.adoc +++ b/docs/src/docs/arc42/building-block-view/whitebox-overall.adoc @@ -43,9 +43,6 @@ include::../../../uml-diagrams/building-block-view/whitebox_overall_decentral.pu |Semantic Hub |Semantic Hub provides information about semantic models in a specific version. This also includes JSON schemas, which IRS uses to validate the payload received by data providers. - -|BPDM -|The Business Partner Data Management (BPDM) Service is used by the IRS to access shared business partner data for BPNs of Data Providers along the supply chain. |=== @@ -83,30 +80,27 @@ include::../../../uml-diagrams/building-block-view/whitebox_overall_decentral.pu | IRS uses *Semantic Hub* to validate of *SubmodelAspects* payloads agains the schema provided in *Semantic Hub* | 11 -| In case "lookupBPNs" is active IRS provides a lookup of company for given BPN - -| 12 | *EDC* is connected to *Managed Identity Wallet* for access policy check for data offers -| 13 +| 12 | *EDC* communication covering negotiation and data consumption -| 14 +| 13 | *EDC* is connected to *Managed Identity Wallet* for access policy check for data offers -| 15 +| 14 | *IRS* accessing to *SubmodelServer* on Tier Level using the *EDC* -| 16 +| 15 | *IRS* accessing the *decentral DigitalTwinRegistry* on Tier Level using the *EDC* -| 17 +| 16 | In case of the use-case Environmental and Social Standards, *IRS* sends notifications to the *IRS-ESS* instance running at the data provider using the *EDC*. -| 18 +| 17 | *IRS* uses the Policy Store to load the usage policies stored for BPNLs in order to check the usage policies during the consumption of the data assets. -| 19 +| 18 | IrsApiConsumer calls the IRS public /policy *API* |=== diff --git a/docs/src/docs/arc42/cross-cutting/under-the-hood.adoc b/docs/src/docs/arc42/cross-cutting/under-the-hood.adoc index 38419e28cc..ac7328c6bb 100644 --- a/docs/src/docs/arc42/cross-cutting/under-the-hood.adoc +++ b/docs/src/docs/arc42/cross-cutting/under-the-hood.adoc @@ -121,10 +121,6 @@ The IRS caches data provided externally to avoid unnecessary requests and reduce Caching is implemented for the following services: -=== BPDM - -Whenever a BPN is resolved via BPDM, the partner name is cached on IRS side, as this data does not change. - === Semantics Hub Whenever a semantic model schema is requested from the Semantic Hub, it is stored locally until the cache is evicted (configurable). diff --git a/docs/src/docs/security/security-assessment.md b/docs/src/docs/security/security-assessment.md index cd83d1f730..59dbe0fb30 100644 --- a/docs/src/docs/security/security-assessment.md +++ b/docs/src/docs/security/security-assessment.md @@ -14,7 +14,6 @@ System_Ext(EDC-DS, "EDC Discovery Service") System_Ext(DF, "Discovery Finder") System_Ext(DTR, "Digital Twin Registry") System_Ext(OAuth2, "OAuth2") -System_Ext(BPDM, "BPDM") System_Ext(SH, "Semantic Hub") System_Ext(V, "Vault") @@ -47,7 +46,6 @@ Rel(IRS-App, EDC-DS, "Find decentral DTs, https, access token") Rel(IRS-App, DF, "Get EDC Discovery Service URL, https, access token") Rel(IRS-App, DTR, "https, access token") Rel(IRS-App, OAuth2, "https, clientID, clientSecret, Get tokens to access DTR") -Rel(IRS-App, BPDM, "https, access token, Get BPN") Rel(IRS-App, SH, "Get schemas to validate response from EDC, https, access token") Rel(DAPS, EDC, "") diff --git a/docs/src/uml-diagrams/building-block-view/whitebox_overall_decentral.puml b/docs/src/uml-diagrams/building-block-view/whitebox_overall_decentral.puml index 353914a6c2..c3b763ffd9 100644 --- a/docs/src/uml-diagrams/building-block-view/whitebox_overall_decentral.puml +++ b/docs/src/uml-diagrams/building-block-view/whitebox_overall_decentral.puml @@ -33,7 +33,6 @@ package [**CatenaX-Network**] as network { component [**EDC Discovery Service**] <> as edc_discovery component [**Discovery Finder**] <> as discovery_finder component [**Semantic Hub**] <> as semantic_hub - component [**BPDM**] <> as bpdm } package [**N-Tier**] <> as provider { @@ -59,22 +58,20 @@ IRS <..> edc_discovery : **[08]** IRS <..> discovery_finder : **[09]** IRS <..> semantic_hub : **[10]** -IRS <..> bpdm : **[11]** -EDC <..> miw : **[12]** -EDC <..> EDCProvider : **[13]** -EDC <..> EDCProviderOEM : **[13]** +EDC <..> miw : **[11]** +EDC <..> EDCProvider : **[12]** +EDC <..> EDCProviderOEM : **[12]** -miw <..> EDCProvider : **[14]** -EDCProvider <--> SubmodelServer : **[15]** -EDCProvider <--> DT_REG : **[16]** -EDCProvider <-> EssProvider : **[17]** +miw <..> EDCProvider : **[13]** +EDCProvider <--> SubmodelServer : **[14]** +EDCProvider <--> DT_REG : **[15]** +EDCProvider <-> EssProvider : **[16]** -IRS <...> policy_store : **[18]** -IrsApiConsumer -r(0- policy_store : **[19]** +IRS <...> policy_store : **[17]** +IrsApiConsumer -r(0- policy_store : **[18]** miw -[hidden]d- IAM_IRS miw -[hidden]r- discovery_finder discovery_finder -[hidden]d- edc_discovery -bpdm -[hidden]d- semantic_hub @enduml \ No newline at end of file diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/RequestMetric.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/RequestMetric.java index e67439b46a..86750f73b1 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/RequestMetric.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/RequestMetric.java @@ -72,7 +72,6 @@ public void incrementFailed() { * Type of tracked request. Can be used to filter for the different metrics. */ public enum RequestType { - BPDM, DITIGAL_TWIN, RELATIONSHIP, SUBMODEL diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegate.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegate.java deleted file mode 100644 index 2817ad9157..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegate.java +++ /dev/null @@ -1,117 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.aaswrapper.job.delegate; - -import java.util.function.Consumer; -import java.util.regex.Pattern; - -import lombok.extern.slf4j.Slf4j; -import org.eclipse.tractusx.irs.aaswrapper.job.AASTransferProcess; -import org.eclipse.tractusx.irs.aaswrapper.job.ItemContainer; -import org.eclipse.tractusx.irs.aaswrapper.job.RequestMetric; -import org.eclipse.tractusx.irs.bpdm.BpdmFacade; -import org.eclipse.tractusx.irs.component.Bpn; -import org.eclipse.tractusx.irs.component.JobParameter; -import org.eclipse.tractusx.irs.component.PartChainIdentificationKey; -import org.eclipse.tractusx.irs.component.Tombstone; -import org.eclipse.tractusx.irs.component.enums.ProcessStep; -import org.springframework.web.client.RestClientException; - -/** - * Builds bpns array for AAShell from previous steps. - * To build bpns Business Partner service is called. - */ -@Slf4j -public class BpdmDelegate extends AbstractDelegate { - - private static final Pattern BPN_RGX = Pattern.compile("(BPN)[LSA][\\w\\d]{10}[\\w\\d]{2}"); - - private final BpdmFacade bpdmFacade; - - public BpdmDelegate(final AbstractDelegate nextStep, final BpdmFacade bpdmFacade) { - super(nextStep); - this.bpdmFacade = bpdmFacade; - } - - @Override - public ItemContainer process(final ItemContainer.ItemContainerBuilder itemContainerBuilder, - final JobParameter jobData, final AASTransferProcess aasTransferProcess, - final PartChainIdentificationKey itemId) { - - if (jobData.isLookupBPNs()) { - log.debug("BPN Lookup enabled, collecting BPN information"); - - final RequestMetric requestMetric = new RequestMetric(); - requestMetric.setType(RequestMetric.RequestType.BPDM); - itemContainerBuilder.metric(requestMetric); - - try { - itemContainerBuilder.build() - .getBpns() - .forEach(bpn -> lookupBPN(itemContainerBuilder, itemId.getGlobalAssetId(), bpn, - requestMetric)); - } catch (final RestClientException e) { - log.info("Business Partner endpoint could not be retrieved for Item: {}. Creating Tombstone.", itemId); - requestMetric.incrementFailed(); - itemContainerBuilder.tombstone( - Tombstone.from(itemId.getGlobalAssetId(), null, e, retryCount, ProcessStep.BPDM_REQUEST)); - } - } else { - log.debug("BPN lookup disabled, no BPN information will be collected."); - } - - return next(itemContainerBuilder, jobData, aasTransferProcess, itemId); - } - - private void lookupBPN(final ItemContainer.ItemContainerBuilder itemContainerBuilder, final String itemId, - final Bpn bpn, final RequestMetric metric) { - - final Consumer action = name -> { - if (BPN_RGX.matcher(bpn.getManufacturerId() + bpn.getManufacturerName()).find()) { - bpn.updateManufacturerName(name); - metric.incrementCompleted(); - } else { - final String message = String.format("BPN: \"%s\" for CatenaXId: %s is not valid.", - bpn.getManufacturerId() + bpn.getManufacturerName(), itemId); - log.warn(message); - metric.incrementFailed(); - itemContainerBuilder.tombstone( - Tombstone.from(itemId, null, new BpdmDelegateProcessingException(message), 0, - ProcessStep.BPDM_VALIDATION)); - } - }; - - final Runnable fallbackOnEmptyManufacturedId = () -> { - final String message = String.format("BPN not exist for given ManufacturerId: %s and for CatenaXId: %s.", - bpn.getManufacturerId(), itemId); - log.warn(message); - metric.incrementFailed(); - itemContainerBuilder.tombstone(Tombstone.from(itemId, null, new BpdmDelegateProcessingException(message), 0, - ProcessStep.BPDM_REQUEST)); - }; - - bpdmFacade.findManufacturerName(bpn.getManufacturerId()).ifPresentOrElse(action, fallbackOnEmptyManufacturedId); - } - -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateProcessingException.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateProcessingException.java deleted file mode 100644 index 5021dd6759..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateProcessingException.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.aaswrapper.job.delegate; - -/** - * Bpdm Delegate processing exception. - */ -public class BpdmDelegateProcessingException extends RuntimeException { - - /** - * Generate a new instance of a {@link BpdmDelegateProcessingException} - * - * @param message Exception message. - */ - public BpdmDelegateProcessingException(final String message) { - super(message); - } -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmClient.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmClient.java deleted file mode 100644 index 1b7423b604..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmClient.java +++ /dev/null @@ -1,120 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -import static org.eclipse.tractusx.irs.configuration.RestTemplateConfig.BPDM_REST_TEMPLATE; - -import java.util.Collections; -import java.util.Map; - -import org.apache.commons.lang3.StringUtils; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.context.annotation.Profile; -import org.springframework.stereotype.Service; -import org.springframework.web.client.RestTemplate; -import org.springframework.web.util.UriComponentsBuilder; - -/** - * Business Partner Data Management Rest Client - */ -interface BpdmClient { - - /** - * Find a business partner by the specified identifier. - * - * @param idValue identifier value - * @param idType type of identifier - * @return - */ - BusinessPartnerResponse getBusinessPartner(String idValue, String idType); - -} - -/** - * Business Partner Data Management Rest Client Stub used in local environment - */ -@Service -@Profile({ "local", - "test" -}) -class BpdmClientLocalStub implements BpdmClient { - - @Override - public BusinessPartnerResponse getBusinessPartner(final String idValue, final String idType) { - return BusinessPartnerResponse.builder() - .bpn(idValue) - .names(Collections.singletonList(NameResponse.of("OEM A"))) - .build(); - } -} - -/** - * Business Partner Data Management Rest Client Implementation - */ -@Service -@Profile({ "!local && !test" }) -class BpdmClientImpl implements BpdmClient { - - private static final String PLACEHOLDER_BPID = "partnerId"; - private static final String PLACEHOLDER_ID_TYPE = "idType"; - - private final RestTemplate restTemplate; - private final String bpdmUrl; - - /* package */ BpdmClientImpl(@Qualifier(BPDM_REST_TEMPLATE) final RestTemplate restTemplate, - @Value("${bpdm.bpnEndpoint:}") final String bpdmUrl) { - this.restTemplate = restTemplate; - this.bpdmUrl = bpdmUrl; - - if (StringUtils.isNotBlank(bpdmUrl)) { - ensureUrlContainsPlaceholders(bpdmUrl); - } - } - - private void ensureUrlContainsPlaceholders(final String bpdmUrl) { - require(bpdmUrl, PLACEHOLDER_ID_TYPE); - require(bpdmUrl, PLACEHOLDER_BPID); - } - - private static void require(final String bpdmUrl, final String placeholder) { - if (!bpdmUrl.contains(wrap(placeholder))) { - throw new IllegalStateException( - "Configuration value for 'bpdm.bpnEndpoint' must contain the URL placeholder '" + placeholder - + "'!"); - } - } - - private static String wrap(final String placeholderIdType) { - return "{" + placeholderIdType + "}"; - } - - @Override - public BusinessPartnerResponse getBusinessPartner(final String idValue, final String idType) { - final UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromUriString(bpdmUrl); - final Map values = Map.of(PLACEHOLDER_BPID, idValue, PLACEHOLDER_ID_TYPE, idType); - - return restTemplate.getForObject(uriBuilder.build(values), BusinessPartnerResponse.class); - } -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmFacade.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmFacade.java deleted file mode 100644 index 34da82c843..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BpdmFacade.java +++ /dev/null @@ -1,72 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -import java.util.List; -import java.util.Optional; - -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.StringUtils; -import org.springframework.cache.annotation.Cacheable; -import org.springframework.stereotype.Service; -import org.springframework.web.client.RestClientException; - -/** - * Public API Facade for bpdm domain - */ -@Service -@RequiredArgsConstructor -@Slf4j -public class BpdmFacade { - - private static final String BPDM_CACHE_NAME = "bpdm_cache"; - private static final String BPN_TYPE = "BPN"; - - private final BpdmClient bpdmClient; - - @Cacheable(value = BPDM_CACHE_NAME, key = "#manufacturerId") - public Optional findManufacturerName(final String manufacturerId) { - - final List names; - try { - final BusinessPartnerResponse businessPartner = bpdmClient.getBusinessPartner(manufacturerId, BPN_TYPE); - names = businessPartner.getNames(); - } catch (final RestClientException e) { - log.warn(e.getMessage(), e); - return Optional.empty(); - } - - if (names.isEmpty()) { - log.warn("Names not found for {} BPN", manufacturerId); - return Optional.empty(); - } - - return names.stream() - .filter(it -> StringUtils.isNotBlank(it.getValue())) - .findFirst() - .map(NameResponse::getValue); - } - -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BusinessPartnerResponse.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BusinessPartnerResponse.java deleted file mode 100644 index 123ceaa1f4..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/BusinessPartnerResponse.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -import java.util.List; - -import lombok.Builder; -import lombok.Value; -import lombok.extern.jackson.Jacksonized; - -/** - * Bpn Response - */ -@Value -@Builder -@Jacksonized -class BusinessPartnerResponse { - - private String bpn; - private List names; - -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/NameResponse.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/NameResponse.java deleted file mode 100644 index 2e19c8ba23..0000000000 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/bpdm/NameResponse.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; - -/** - * Name response - */ -@Getter -@AllArgsConstructor(staticName = "of") -@NoArgsConstructor -class NameResponse { - - private String value; - -} diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/JobConfiguration.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/JobConfiguration.java index 8857e26c5c..7430f7c7a2 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/JobConfiguration.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/JobConfiguration.java @@ -37,11 +37,9 @@ import org.eclipse.tractusx.irs.aaswrapper.job.ItemDataRequest; import org.eclipse.tractusx.irs.aaswrapper.job.ItemTreesAssembler; import org.eclipse.tractusx.irs.aaswrapper.job.TreeRecursiveLogic; -import org.eclipse.tractusx.irs.aaswrapper.job.delegate.BpdmDelegate; import org.eclipse.tractusx.irs.aaswrapper.job.delegate.DigitalTwinDelegate; import org.eclipse.tractusx.irs.aaswrapper.job.delegate.RelationshipDelegate; import org.eclipse.tractusx.irs.aaswrapper.job.delegate.SubmodelDelegate; -import org.eclipse.tractusx.irs.bpdm.BpdmFacade; import org.eclipse.tractusx.irs.common.OutboundMeterRegistryService; import org.eclipse.tractusx.irs.common.persistence.BlobPersistence; import org.eclipse.tractusx.irs.common.persistence.BlobPersistenceException; @@ -144,15 +142,10 @@ public DigitalTwinDelegate digitalTwinDelegate(final RelationshipDelegate relati } @Bean - public RelationshipDelegate relationshipDelegate(final BpdmDelegate bpdmDelegate, + public RelationshipDelegate relationshipDelegate(final SubmodelDelegate submodelDelegate, final EdcSubmodelFacade submodelFacade, final ConnectorEndpointsService connectorEndpointsService, final JsonUtil jsonUtil) { - return new RelationshipDelegate(bpdmDelegate, submodelFacade, connectorEndpointsService, jsonUtil); - } - - @Bean - public BpdmDelegate bpdmDelegate(final SubmodelDelegate submodelDelegate, final BpdmFacade bpdmFacade) { - return new BpdmDelegate(submodelDelegate, bpdmFacade); + return new RelationshipDelegate(submodelDelegate, submodelFacade, connectorEndpointsService, jsonUtil); } @Bean diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RestTemplateConfig.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RestTemplateConfig.java index d8b50542aa..1d31045efb 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RestTemplateConfig.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/configuration/RestTemplateConfig.java @@ -70,7 +70,6 @@ public class RestTemplateConfig { public static final String DTR_REST_TEMPLATE = "dtrRestTemplate"; - public static final String BPDM_REST_TEMPLATE = "bpdmRestTemplate"; public static final String SEMHUB_REST_TEMPLATE = "semhubRestTemplate"; public static final String NO_ERROR_REST_TEMPLATE = "noErrorRestTemplate"; public static final String DISCOVERY_REST_TEMPLATE = "discoveryRestTemplate"; @@ -121,14 +120,6 @@ private static ClientHttpRequestInterceptor getRegistryInterceptor( return oAuthRestTemplate(restTemplateBuilder, readTimeout, connectTimeout, clientRegistrationId).build(); } - @Bean(BPDM_REST_TEMPLATE) - /* package */ RestTemplate bpdmRestTemplate(final RestTemplateBuilder restTemplateBuilder, - @Value("${bpdm.timeout.read}") final Duration readTimeout, - @Value("${bpdm.timeout.connect}") final Duration connectTimeout, - @Value("${bpdm.oAuthClientId}") final String clientRegistrationId) { - return oAuthRestTemplate(restTemplateBuilder, readTimeout, connectTimeout, clientRegistrationId).build(); - } - @Bean(DISCOVERY_REST_TEMPLATE) /* package */ RestTemplate discoveryRestTemplate(final RestTemplateBuilder restTemplateBuilder, @Value("${digitalTwinRegistry.discovery.timeout.read}") final Duration readTimeout, diff --git a/irs-api/src/main/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryService.java b/irs-api/src/main/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryService.java index 498d3f09eb..6f27f65a40 100644 --- a/irs-api/src/main/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryService.java +++ b/irs-api/src/main/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryService.java @@ -38,7 +38,6 @@ import lombok.NonNull; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.StringUtils; import org.eclipse.tractusx.irs.aaswrapper.job.AASTransferProcess; import org.eclipse.tractusx.irs.aaswrapper.job.ItemContainer; import org.eclipse.tractusx.irs.aaswrapper.job.ItemDataRequest; @@ -76,7 +75,6 @@ import org.eclipse.tractusx.irs.util.JsonUtil; import org.jetbrains.annotations.NotNull; import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.support.MutableSortDefinition; import org.springframework.beans.support.PagedListHolder; import org.springframework.context.ApplicationEventPublisher; @@ -109,20 +107,16 @@ public class IrsItemGraphQueryService implements IIrsItemGraphQueryService { private final ApplicationEventPublisher applicationEventPublisher; - private final String bpdmUrl; - public IrsItemGraphQueryService(final JobOrchestrator orchestrator, final JobStore jobStore, @Qualifier(JOB_BLOB_PERSISTENCE) final BlobPersistence blobStore, final MeterRegistryService meterRegistryService, final SemanticsHubFacade semanticsHubFacade, - final ApplicationEventPublisher applicationEventPublisher, - @Value("${bpdm.bpnEndpoint:}") final String bpdmUrl) { + final ApplicationEventPublisher applicationEventPublisher) { this.orchestrator = orchestrator; this.jobStore = jobStore; this.blobStore = blobStore; this.meterRegistryService = meterRegistryService; this.semanticsHubFacade = semanticsHubFacade; this.applicationEventPublisher = applicationEventPublisher; - this.bpdmUrl = bpdmUrl; } @Override @@ -172,11 +166,8 @@ public JobHandle registerItemJob(final @NonNull RegisterJob request, final UUID final var params = JobParameter.create(request); if (params.getDirection().equals(Direction.UPWARD) && !params.getBomLifecycle().equals(BomLifecycle.AS_BUILT)) { // Currently not supported variant - throw new IllegalArgumentException("Upward direction is supported only for asBuilt bomLifecycle parameter!"); - } - if (params.isLookupBPNs() && StringUtils.isBlank(bpdmUrl)) { - throw new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR, - "Can't start job with BPN lookup - configured bpdm endpoint is empty!"); + throw new IllegalArgumentException( + "Upward direction is supported only for asBuilt bomLifecycle parameter!"); } validateAspectTypeValues(params.getAspects()); @@ -245,7 +236,6 @@ public Jobs getJobForJobId(final MultiTransferJob multiJob, final boolean includ final var tombstones = new ArrayList(); final var shells = new ArrayList(); final var submodels = new ArrayList(); - final var bpns = new ArrayList(); if (multiJob.jobIsCompleted()) { final var container = retrieveJobResultRelationships(multiJob.getJob().getId()); @@ -253,31 +243,29 @@ public Jobs getJobForJobId(final MultiTransferJob multiJob, final boolean includ tombstones.addAll(container.getTombstones()); shells.addAll(container.getShells()); submodels.addAll(container.getSubmodels()); - bpns.addAll(container.getBpns()); } else if (includePartialResults) { final var container = retrievePartialResults(multiJob); relationships.addAll(container.getRelationships()); tombstones.addAll(container.getTombstones()); shells.addAll(container.getShells()); submodels.addAll(container.getSubmodels()); - bpns.addAll(container.getBpns()); } - log.info("Found job with id {} in status {} with {} relationships, {} tombstones and {} submodels", multiJob.getJob().getId(), - multiJob.getJob().getState(), relationships.size(), tombstones.size(), submodels.size()); + log.info("Found job with id {} in status {} with {} relationships, {} tombstones and {} submodels", + multiJob.getJob().getId(), multiJob.getJob().getState(), relationships.size(), tombstones.size(), + submodels.size()); return Jobs.builder() .job(multiJob.getJob() .toBuilder() .summary(buildSummary(multiJob.getCompletedTransfers().size(), - multiJob.getTransferProcessIds().size(), tombstones.size(), - retrievePartialResults(multiJob))) + multiJob.getTransferProcessIds().size(), tombstones.size())) .build()) .relationships(relationships) .tombstones(tombstones) .shells(shells) .submodels(submodels) - .bpns(bpns) + .bpns(List.of()) .build(); } @@ -300,30 +288,17 @@ public void updateJobsInJobStoreMetrics() { } - private Summary buildSummary(final int completedTransfersSize, final int runningSize, final int tombstonesSize, - final ItemContainer itemContainer) { - final Integer bpnLookupCompleted = getBpnLookupMetric(itemContainer, RequestMetric::getCompleted); - final Integer bpnLookupFailed = getBpnLookupMetric(itemContainer, RequestMetric::getFailed); + private Summary buildSummary(final int completedTransfersSize, final int runningSize, final int tombstonesSize) { return Summary.builder() .asyncFetchedItems(AsyncFetchedItems.builder() .completed(completedTransfersSize) .running(runningSize) - .failed(tombstonesSize - bpnLookupFailed) + .failed(tombstonesSize) .build()) - .bpnLookups(FetchedItems.builder().completed(bpnLookupCompleted).failed(bpnLookupFailed).build()) + .bpnLookups(FetchedItems.builder().completed(0).failed(0).build()) .build(); } - private Integer getBpnLookupMetric(final ItemContainer itemContainer, - final Function requestMetricIntegerFunction) { - return itemContainer.getMetrics() - .stream() - .filter(metric -> metric.getType().equals(RequestMetric.RequestType.BPDM)) - .map(requestMetricIntegerFunction) - .reduce(Integer::sum) - .orElse(0); - } - private ItemContainer retrievePartialResults(final MultiTransferJob multiJob) { final List completedTransfers = multiJob.getCompletedTransfers(); final List transferIds = completedTransfers.stream().map(TransferProcess::getId).toList(); diff --git a/irs-api/src/main/resources/application.yml b/irs-api/src/main/resources/application.yml index 2e1268a00c..f315165d93 100644 --- a/irs-api/src/main/resources/application.yml +++ b/irs-api/src/main/resources/application.yml @@ -17,17 +17,11 @@ spring: authorization-grant-type: client_credentials client-id: ${DISCOVERY_OAUTH2_CLIENT_ID} # Dataspace Discovery OAuth2 client ID used to authenticate with the IAM client-secret: ${DISCOVERY_OAUTH2_CLIENT_SECRET} # Dataspace Discovery OAuth2 client secret used to authenticate with the IAM - bpdm: - authorization-grant-type: client_credentials - client-id: ${BPDM_OAUTH2_CLIENT_ID} # BPDM Pool OAuth2 client ID used to authenticate with the IAM - client-secret: ${BPDM_OAUTH2_CLIENT_SECRET} # BPDM Pool OAuth2 client secret used to authenticate with the IAM provider: semantics: token-uri: ${SEMANTICS_OAUTH2_CLIENT_TOKEN_URI:https://default} # OAuth2 endpoint to request tokens using the client credentials discovery: token-uri: ${DISCOVERY_OAUTH2_CLIENT_TOKEN_URI:https://default} # OAuth2 endpoint to request tokens using the client credentials - bpdm: - token-uri: ${BPDM_OAUTH2_CLIENT_TOKEN_URI:https://default} # OAuth2 endpoint to request tokens using the client credentials management: # Spring management API config, see https://spring.io/guides/gs/centralized-configuration/ endpoints: @@ -218,13 +212,6 @@ semanticshub: connect: PT90S # HTTP connect timeout for the semantic hub client pageSize: "${SEMANTICSHUB_PAGE_SIZE:100}" -bpdm: - bpnEndpoint: "${BPDM_URL:}" # Endpoint to resolve BPNs, must contain the placeholders {partnerId} and {idType} - oAuthClientId: bpdm # ID of the OAuth2 client registration to use, see config spring.security.oauth2.client - timeout: - read: PT90S # HTTP read timeout for the bpdm client - connect: PT90S # HTTP connect timeout for the bpdm client - # ESS Module specific properties ess: localBpn: ${ESS_LOCAL_BPN:} # BPN value of product - used during EDC notification communication diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsFunctionalTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsFunctionalTest.java index 04d6bddfc3..a419c65829 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsFunctionalTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/IrsFunctionalTest.java @@ -26,11 +26,8 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; -import static org.springframework.security.oauth2.jwt.JwtClaimNames.SUB; -import java.time.Instant; import java.util.List; -import java.util.Map; import java.util.Optional; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; @@ -59,7 +56,6 @@ import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.SecurityContextHolder; -import org.springframework.security.oauth2.jwt.Jwt; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.support.TestPropertySourceUtils; @@ -68,9 +64,7 @@ @Testcontainers @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, - properties = { "bpdm.bpnEndpoint=http://localbpdm.com", - "digitalTwinRegistry.type=central" - }) + properties = { "digitalTwinRegistry.type=central" }) @ContextConfiguration(initializers = IrsFunctionalTest.MinioConfigInitializer.class) @ActiveProfiles(profiles = { "local" }) class IrsFunctionalTest { @@ -125,59 +119,6 @@ void shouldStartJobAndRetrieveResult() { assertThat(finishedJob.get().getJob().getParameter()).isNotNull(); } - @Test - void shouldFillSummaryWithoutBPNLookup() { - final RegisterJob registerJob = TestMother.registerJobWithoutDepth(); - when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn( - List.of("http://localhost/discovery")); - - thereIsAuthentication(); - - final JobHandle jobHandle = controller.registerJobForGlobalAssetId(registerJob); - final Optional finishedJob = Awaitility.await() - .pollDelay(500, TimeUnit.MILLISECONDS) - .pollInterval(500, TimeUnit.MILLISECONDS) - .atMost(15, TimeUnit.SECONDS) - .until(getJobDetails(jobHandle), - jobs -> jobs.isPresent() && jobs.get() - .getJob() - .getState() - .equals(JobState.COMPLETED)); - - assertThat(finishedJob).isPresent(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getCompleted()).isPositive(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getFailed()).isZero(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getRunning()).isZero(); - assertThat(finishedJob.get().getJob().getSummary().getBpnLookups().getCompleted()).isZero(); - assertThat(finishedJob.get().getJob().getSummary().getBpnLookups().getFailed()).isZero(); - } - - @Test - void shouldFillSummaryWithBPNLookup() { - final RegisterJob registerJob = TestMother.registerJobWithLookupBPNs(); - when(connectorEndpointsService.fetchConnectorEndpoints(any())).thenReturn( - List.of("http://localhost/discovery")); - thereIsAuthentication(); - - final JobHandle jobHandle = controller.registerJobForGlobalAssetId(registerJob); - final Optional finishedJob = Awaitility.await() - .pollDelay(500, TimeUnit.MILLISECONDS) - .pollInterval(500, TimeUnit.MILLISECONDS) - .atMost(15, TimeUnit.SECONDS) - .until(getJobDetails(jobHandle), - jobs -> jobs.isPresent() && jobs.get() - .getJob() - .getState() - .equals(JobState.COMPLETED)); - - assertThat(finishedJob).isPresent(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getCompleted()).isPositive(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getFailed()).isZero(); - assertThat(finishedJob.get().getJob().getSummary().getAsyncFetchedItems().getRunning()).isZero(); - assertThat(finishedJob.get().getJob().getSummary().getBpnLookups().getCompleted()).isPositive(); - assertThat(finishedJob.get().getJob().getSummary().getBpnLookups().getFailed()).isZero(); - } - private void thereIsAuthentication() { final ApiKeyAuthentication jwtAuthenticationToken = new ApiKeyAuthentication(new ApiKeyAuthority("apiKey", List.of(new SimpleGrantedAuthority(IrsRoles.VIEW_IRS)))); 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 efadf045c0..af019fd55b 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 @@ -19,7 +19,6 @@ ********************************************************************************/ 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; @@ -55,7 +54,6 @@ import com.github.tomakehurst.wiremock.junit5.WireMockTest; import org.awaitility.Awaitility; -import org.eclipse.tractusx.irs.bpdm.BpdmWireMockSupport; import org.eclipse.tractusx.irs.component.JobHandle; import org.eclipse.tractusx.irs.component.Jobs; import org.eclipse.tractusx.irs.component.RegisterJob; @@ -68,7 +66,6 @@ import org.eclipse.tractusx.irs.services.SemanticHubService; import org.eclipse.tractusx.irs.services.validation.SchemaNotFoundException; import org.eclipse.tractusx.irs.testing.containers.MinioContainer; -import org.eclipse.tractusx.irs.testing.wiremock.DiscoveryServiceWiremockSupport; import org.eclipse.tractusx.irs.testing.wiremock.SubmodelFacadeWiremockSupport; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; @@ -127,7 +124,6 @@ static void stopContainer() { @DynamicPropertySource static void configureProperties(DynamicPropertyRegistry registry) { - registry.add("bpdm.bpnEndpoint", () -> BpdmWireMockSupport.BPDM_URL_TEMPLATE); registry.add("digitalTwinRegistry.discovery.discoveryFinderUrl", () -> DISCOVERY_FINDER_URL); registry.add("digitalTwinRegistry.shellDescriptorTemplate", () -> SHELL_DESCRIPTORS_TEMPLATE); registry.add("digitalTwinRegistry.lookupShellsTemplate", () -> LOOKUP_SHELLS_TEMPLATE); @@ -172,8 +168,6 @@ void shouldStopJobAfterDepthIsReached() { successfulRegistryAndDataRequest(globalAssetIdLevel2, "Polyamid", TEST_BPN, "integrationtesting/batch-2.json", "integrationtesting/singleLevelBomAsBuilt-2.json"); - BpdmWireMockSupport.bpdmWillReturnCompanyName(DiscoveryServiceWiremockSupport.TEST_BPN, "Company Name"); - final RegisterJob request = WiremockSupport.jobRequest(globalAssetIdLevel1, TEST_BPN, 1); // Act @@ -261,8 +255,6 @@ void shouldStartRecursiveProcesses() { successfulRegistryAndDataRequest(globalAssetIdLevel3, "GenericChemical", TEST_BPN, "integrationtesting/batch-3.json", "integrationtesting/singleLevelBomAsBuilt-3.json"); - BpdmWireMockSupport.bpdmWillReturnCompanyName(DiscoveryServiceWiremockSupport.TEST_BPN, "Company Name"); - final RegisterJob request = WiremockSupport.jobRequest(globalAssetIdLevel1, TEST_BPN, 4); // Act diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/WireMockTestConfig.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/WireMockTestConfig.java index 8c41604857..b3f20374e6 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/WireMockTestConfig.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/WireMockTestConfig.java @@ -19,7 +19,6 @@ ********************************************************************************/ package org.eclipse.tractusx.irs; -import static org.eclipse.tractusx.irs.configuration.RestTemplateConfig.BPDM_REST_TEMPLATE; import static org.eclipse.tractusx.irs.configuration.RestTemplateConfig.DISCOVERY_REST_TEMPLATE; import static org.eclipse.tractusx.irs.configuration.RestTemplateConfig.DTR_REST_TEMPLATE; import static org.eclipse.tractusx.irs.configuration.RestTemplateConfig.EDC_REST_TEMPLATE; @@ -82,13 +81,6 @@ RestTemplate discoveryRestTemplate() { return restTemplateProxy(PROXY_SERVER_HOST, HTTP_PORT); } - @Primary - @Profile("integrationtest") - @Bean(BPDM_REST_TEMPLATE) - RestTemplate bpdmRestTemplate() { - return restTemplateProxy(PROXY_SERVER_HOST, HTTP_PORT); - } - @Primary @Profile("integrationtest") @Bean(SEMHUB_REST_TEMPLATE) diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateTest.java deleted file mode 100644 index b27955ab8e..0000000000 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/BpdmDelegateTest.java +++ /dev/null @@ -1,195 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.aaswrapper.job.delegate; - -import static org.assertj.core.api.Assertions.assertThat; -import static org.eclipse.tractusx.irs.util.TestMother.jobParameter; -import static org.eclipse.tractusx.irs.util.TestMother.jobParameterCollectBpns; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - -import java.util.Optional; - -import org.eclipse.tractusx.irs.aaswrapper.job.AASTransferProcess; -import org.eclipse.tractusx.irs.aaswrapper.job.ItemContainer; -import org.eclipse.tractusx.irs.bpdm.BpdmFacade; -import org.eclipse.tractusx.irs.component.Bpn; -import org.eclipse.tractusx.irs.component.PartChainIdentificationKey; -import org.eclipse.tractusx.irs.component.enums.ProcessStep; -import org.junit.jupiter.api.Test; -import org.springframework.web.client.RestClientException; - -class BpdmDelegateTest { - - final BpdmFacade bpdmFacade = mock(BpdmFacade.class); - final BpdmDelegate bpdmDelegate = new BpdmDelegate(null, bpdmFacade); - - @Test - void shouldFillItemContainerWithBpn() { - // given - given(bpdmFacade.findManufacturerName(any())).willReturn(Optional.of("Tier A")); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getBpns().stream().findFirst().get().getManufacturerName()).isEqualTo("Tier A"); - } - - private static PartChainIdentificationKey createKey() { - return PartChainIdentificationKey.builder().globalAssetId("itemId").build(); - } - - @Test - void shouldCreateTombstoneForNotValidBpn() { - // given - given(bpdmFacade.findManufacturerName(any())).willReturn(Optional.of("Tier A")); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("dsfvzsdfvzsvdszvzdsvdszvdszvds")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getTombstones()).hasSize(1); - assertThat(result.getTombstones().get(0).getCatenaXId()).isEqualTo("itemId"); - assertThat(result.getTombstones().get(0).getProcessingError().getProcessStep()).isEqualTo( - ProcessStep.BPDM_VALIDATION); - } - - @Test - void shouldCatchRestClientExceptionAndPutTombstone() { - // given - when(bpdmFacade.findManufacturerName(any())).thenThrow(RestClientException.class); - final ItemContainer.ItemContainerBuilder itemContainerWithShell = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainerWithShell, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getTombstones()).hasSize(1); - assertThat(result.getTombstones().get(0).getCatenaXId()).isEqualTo("itemId"); - assertThat(result.getTombstones().get(0).getProcessingError().getProcessStep()).isEqualTo( - ProcessStep.BPDM_REQUEST); - } - - @Test - void shouldCreateTombstoneForMissingBpnForGivenManufacturerId() { - // given - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getTombstones()).hasSize(1); - assertThat(result.getTombstones().get(0).getCatenaXId()).isEqualTo("itemId"); - assertThat(result.getTombstones().get(0).getProcessingError().getProcessStep()).isEqualTo( - ProcessStep.BPDM_REQUEST); - } - - @Test - void shouldNotResolveBPNsWithoutFlag() { - // given - given(bpdmFacade.findManufacturerName(any())).willReturn(Optional.of("Tier A")); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameter(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getMetrics()).isEmpty(); - } - - @Test - void shouldResolveBPNsWhenFlagIsTrue() { - // given - given(bpdmFacade.findManufacturerName(any())).willReturn(Optional.of("Tier A")); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getBpns().stream().findFirst().get().getManufacturerName()).isEqualTo("Tier A"); - assertThat(result.getMetrics()).isNotEmpty(); - assertThat(result.getMetrics().stream().findFirst().get().getCompleted()).isOne(); - } - - @Test - void shouldIncrementFailedMetricWhenFacadeResultIsEmpty() { - // given - given(bpdmFacade.findManufacturerName(any())).willReturn(Optional.empty()); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getMetrics()).isNotEmpty(); - assertThat(result.getMetrics().stream().findFirst().get().getFailed()).isOne(); - assertThat(result.getMetrics().stream().findFirst().get().getCompleted()).isZero(); - } - - @Test - void shouldIncrementFailedMetricWhenExceptionIsThrown() { - // given - given(bpdmFacade.findManufacturerName(any())).willThrow(new RestClientException("test")); - final ItemContainer.ItemContainerBuilder itemContainer = ItemContainer.builder().bpn(Bpn.withManufacturerId("BPNL00000003AYRE")); - - // when - final ItemContainer result = bpdmDelegate.process(itemContainer, jobParameterCollectBpns(), - new AASTransferProcess("id", 0), createKey()); - - // then - assertThat(result).isNotNull(); - assertThat(result.getBpns()).isNotEmpty(); - assertThat(result.getMetrics()).isNotEmpty(); - assertThat(result.getMetrics().stream().findFirst().get().getFailed()).isOne(); - assertThat(result.getMetrics().stream().findFirst().get().getCompleted()).isZero(); - } -} diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmClientImplTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmClientImplTest.java deleted file mode 100644 index 012a13799d..0000000000 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmClientImplTest.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -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.doReturn; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; - -import org.junit.jupiter.api.Test; -import org.springframework.web.client.RestTemplate; - -class BpdmClientImplTest { - - private final RestTemplate restTemplate = mock(RestTemplate.class); - private final BpdmClient bpdmClient = new BpdmClientImpl(restTemplate, "url/{idType}/{partnerId}"); - - @Test - void shouldCallExternalServiceOnceAndGetBusinessPartnerResponse() { - final String bpn = "BPNL00000003AYRE"; - final BusinessPartnerResponse mockResponse = BusinessPartnerResponse.builder().bpn(bpn).build(); - doReturn(mockResponse).when(restTemplate).getForObject(any(), eq(BusinessPartnerResponse.class)); - - final BusinessPartnerResponse businessPartner = bpdmClient.getBusinessPartner(bpn, "BPN"); - - assertThat(businessPartner).isNotNull(); - assertThat(businessPartner.getBpn()).isEqualTo(bpn); - verify(this.restTemplate, times(1)).getForObject(any(), eq(BusinessPartnerResponse.class)); - } - -} diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmFacadeTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmFacadeTest.java deleted file mode 100644 index 01b4bfa04b..0000000000 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmFacadeTest.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2022,2024 - * 2022: ZF Friedrichshafen AG - * 2022: ISTOS GmbH - * 2022,2024: Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - * 2022,2023: BOSCH 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.bpdm; - -import static org.assertj.core.api.Assertions.assertThat; - -import java.util.Optional; - -import org.junit.jupiter.api.Test; - -class BpdmFacadeTest { - - private final BpdmFacade bpdmFacade = new BpdmFacade(new BpdmClientLocalStub()); - - @Test - void shouldReturnManufacturerNameWhenManufacturerIdExists() { - final String manufacturerId = "BPNL00000003AYRE"; - - final Optional manufacturerName = bpdmFacade.findManufacturerName(manufacturerId); - - assertThat(manufacturerName).isNotEmpty(); - assertThat(manufacturerName.get()).contains("OEM A"); - } - -} diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWireMockSupport.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWireMockSupport.java deleted file mode 100644 index d7af399fcc..0000000000 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWireMockSupport.java +++ /dev/null @@ -1,110 +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.bpdm; - -import static com.github.tomakehurst.wiremock.client.WireMock.exactly; -import static com.github.tomakehurst.wiremock.client.WireMock.get; -import static com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor; -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.eclipse.tractusx.irs.testing.wiremock.WireMockConfig.responseWithStatus; - -/** - * WireMock configurations and requests used for testing BPDM flow. - */ -public final class BpdmWireMockSupport { - - public static final String BPN_PATH = "/legal-entities/"; - public static final String BPDM_URL_TEMPLATE = "http://bpdm.test" + BPN_PATH + "{partnerId}?idType={idType}"; - - private BpdmWireMockSupport() { - } - - public static void bpdmWillReturnCompanyName(final String bpn, final String companyName) { - stubFor(get(urlPathEqualTo(BPN_PATH + bpn)).willReturn( - responseWithStatus(200).withBody(bpdmResponse(bpn, companyName)))); - } - - public static void bpdmWillNotFindCompanyName(final String bpn) { - stubFor(get(urlPathEqualTo(BPN_PATH + bpn)).willReturn(responseWithStatus(404))); - } - - public static void verifyBpdmWasCalledWithBPN(final String bpn, final int times) { - verify(exactly(times), getRequestedFor(urlPathEqualTo(BPN_PATH + bpn))); - } - - public static String bpdmResponse(final String bpn, final String companyName) { - return """ - { - "bpn": "%s", - "identifiers": [ - { - "value": "%s", - "type": { - "technicalKey": "BPN", - "name": "Business Partner Number", - "url": "" - }, - "issuingBody": { - "technicalKey": "CATENAX", - "name": "Catena-X", - "url": "" - }, - "status": { - "technicalKey": "UNKNOWN", - "name": "Unknown" - } - } - ], - "names": [ - { - "value": "%s", - "shortName": null, - "type": { - "technicalKey": "OTHER", - "name": "Any other alternative name used for a company, such as a specific language variant.", - "url": "" - }, - "language": { - "technicalKey": "undefined", - "name": "Undefined" - } - } - ], - "legalForm": null, - "status": null, - "profileClassifications": [], - "types": [ - { - "technicalKey": "UNKNOWN", - "name": "Unknown", - "url": "" - } - ], - "bankAccounts": [], - "roles": [], - "relations": [], - "currentness": "2022-07-26T08:17:38.737578Z" - } - """.formatted(bpn, bpn, companyName); - } - -} \ No newline at end of file diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWiremockTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWiremockTest.java deleted file mode 100644 index a1e272fca4..0000000000 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/bpdm/BpdmWiremockTest.java +++ /dev/null @@ -1,75 +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.bpdm; - -import static org.assertj.core.api.Assertions.assertThat; -import static org.eclipse.tractusx.irs.bpdm.BpdmWireMockSupport.BPDM_URL_TEMPLATE; -import static org.eclipse.tractusx.irs.bpdm.BpdmWireMockSupport.bpdmWillNotFindCompanyName; -import static org.eclipse.tractusx.irs.bpdm.BpdmWireMockSupport.bpdmWillReturnCompanyName; -import static org.eclipse.tractusx.irs.bpdm.BpdmWireMockSupport.verifyBpdmWasCalledWithBPN; -import static org.eclipse.tractusx.irs.testing.wiremock.WireMockConfig.restTemplateProxy; - -import java.util.Optional; - -import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo; -import com.github.tomakehurst.wiremock.junit5.WireMockTest; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.springframework.web.client.RestTemplate; - -@WireMockTest -class BpdmWiremockTest { - private static final String PROXY_SERVER_HOST = "127.0.0.1"; - private BpdmFacade bpdmFacade; - - @BeforeEach - void setUp(WireMockRuntimeInfo wireMockRuntimeInfo) { - final RestTemplate restTemplate = restTemplateProxy(PROXY_SERVER_HOST, wireMockRuntimeInfo.getHttpPort()); - - bpdmFacade = new BpdmFacade(new BpdmClientImpl(restTemplate, BPDM_URL_TEMPLATE)); - } - - @Test - void shouldResolveManufacturerName() { - // Arrange - final String bpn = "BPNL00000000TEST"; - bpdmWillReturnCompanyName(bpn, "TEST_BPN_DFT_1"); - - // Act - final Optional manufacturerName = bpdmFacade.findManufacturerName(bpn); - - // Assert - assertThat(manufacturerName).isPresent().contains("TEST_BPN_DFT_1"); - verifyBpdmWasCalledWithBPN(bpn, 1); - } - - @Test - void shouldReturnEmptyOnNotFound() { - // Arrange - final String bpn = "BPNL00000000TEST"; - bpdmWillNotFindCompanyName(bpn); - - // Act & Assert - final Optional manufacturerName = bpdmFacade.findManufacturerName(bpn); - verifyBpdmWasCalledWithBPN(bpn, 1); - assertThat(manufacturerName).isEmpty(); - } - -} diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryServiceTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryServiceTest.java index f8eb2b3ab6..ad22381aa7 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryServiceTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/services/IrsItemGraphQueryServiceTest.java @@ -25,7 +25,6 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.eclipse.tractusx.irs.util.TestMother.registerJobWithDepthAndAspect; -import static org.eclipse.tractusx.irs.util.TestMother.registerJobWithLookupBPNs; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -201,11 +200,4 @@ void shouldThrowExceptionForUnknownAspectTypes() throws SchemaNotFoundException assertThrows(IllegalArgumentException.class, executable); } - @Test - void shouldThrowExceptionWhenLookupBpnAndBpdmEndpointUrlIsMissing() { - final Executable executable = () -> testee.registerItemJob(registerJobWithLookupBPNs()); - - assertThrows(ResponseStatusException.class, executable); - } - } \ No newline at end of file diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/util/TestMother.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/util/TestMother.java index 52a3c479ac..d289a8b01c 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/util/TestMother.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/util/TestMother.java @@ -112,11 +112,6 @@ public static RegisterJob registerJobWithDepthAndAspectAndCollectAspects(final I Direction.DOWNWARD); } - public static RegisterJob registerJobWithLookupBPNs() { - return registerJob(EXISTING_GLOBAL_ASSET_ID, null, - List.of(singleLevelBomAsBuiltAspectName), false, true, Direction.DOWNWARD); - } - public static RegisterJob registerJob(final String globalAssetId, final Integer depth, final List aspectTypes, final boolean collectAspects, final boolean lookupBPNs, final Direction direction) { diff --git a/irs-edc-client/src/test/resources/__files/jobResponse.json b/irs-edc-client/src/test/resources/__files/jobResponse.json index 1f0855e04c..3a346dbd47 100644 --- a/irs-edc-client/src/test/resources/__files/jobResponse.json +++ b/irs-edc-client/src/test/resources/__files/jobResponse.json @@ -2749,16 +2749,6 @@ "retryCounter": 3 } }, - { - "catenaXId": "urn:uuid:68c9b1bf-b2c1-456a-883c-2aac5f5cb5f4", - "endpointURL": null, - "processingError": { - "processStep": "BpdmRequest", - "errorDetail": "Cannot find ManufacturerId for CatenaXId: urn:uuid:68c9b1bf-b2c1-456a-883c-2aac5f5cb5f4", - "lastAttempt": "2022-11-08T08:37:18.724609316Z", - "retryCounter": 0 - } - }, { "catenaXId": "urn:uuid:68766b51-f794-4033-bcb1-f635ed309cd4", "endpointURL": "https://subtier-a-edc-ocp0900009.apps.c7von4sy.westeurope.aroapp.io/BPNL00000003B3NX/urn:uuid:68766b51-f794-4033-bcb1-f635ed309cd4-urn:uuid:f6f15bca-c901-4dca-bdb0-6abea6fae5fd/submodel?content=value&extent=withBlobValue", diff --git a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterBatchOrder.java b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterBatchOrder.java index 3ba59f7da0..aaa70ab534 100644 --- a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterBatchOrder.java +++ b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterBatchOrder.java @@ -107,7 +107,7 @@ public class RegisterBatchOrder { @Schema(description = "Flag to specify whether aspects should be requested and collected. Default is false.") private boolean collectAspects; - @Schema(description = "Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false.") + @Schema(description = "Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false.", deprecated = true) private boolean lookupBPNs; @URL diff --git a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterJob.java b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterJob.java index f7b0d562de..1113ad1de2 100644 --- a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterJob.java +++ b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/RegisterJob.java @@ -81,7 +81,7 @@ public class RegisterJob { @Schema(description = "Flag to specify whether aspects should be requested and collected. Default is false.") private boolean collectAspects; - @Schema(description = "Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false.") + @Schema(description = "Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false.", deprecated = true) private boolean lookupBPNs; @Schema(description = "Flag enables and disables auditing, including provisioning of ContractAgreementId inside submodels and shells objects. Default is true.") diff --git a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/enums/ProcessStep.java b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/enums/ProcessStep.java index 94d3d0ae16..81078cddc1 100644 --- a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/enums/ProcessStep.java +++ b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/enums/ProcessStep.java @@ -37,8 +37,6 @@ public enum ProcessStep { DIGITAL_TWIN_REQUEST("DigitalTwinRequest"), SCHEMA_VALIDATION("SchemaValidation"), SCHEMA_REQUEST("SchemaRequest"), - BPDM_REQUEST("BpdmRequest"), - BPDM_VALIDATION("BpdmValidation"), USAGE_POLICY_VALIDATION("UsagePolicyValidation"), ESS_VALIDATION("EssValidation"); diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/central/DigitalTwinRegistryClientImpl.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/central/DigitalTwinRegistryClientImpl.java index 66a484a742..d99c7eda02 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/central/DigitalTwinRegistryClientImpl.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/central/DigitalTwinRegistryClientImpl.java @@ -61,8 +61,8 @@ public DigitalTwinRegistryClientImpl(final RestTemplate restTemplate, PLACEHOLDER_AAS_IDENTIFIER); } - private static void require(final String bpdmUrl, final String configPath, final String placeholder) { - if (!bpdmUrl.contains(wrap(placeholder))) { + private static void require(final String descriptorEndpoint, final String configPath, final String placeholder) { + if (!descriptorEndpoint.contains(wrap(placeholder))) { throw new IllegalStateException( "Configuration value for '" + configPath + "' must contain the URL placeholder '" + placeholder + "'!"); @@ -77,11 +77,11 @@ private static String encodeWithBase64(final String aasIdentifier) { return Base64.getEncoder().encodeToString(aasIdentifier.getBytes(StandardCharsets.UTF_8)); } - private void ensureUrlContainsPlaceholders(final String bpdmUrl, final String configPath, + private void ensureUrlContainsPlaceholders(final String descriptorEndpoint, final String configPath, final String... placeholders) { - if (StringUtils.isNotBlank(bpdmUrl)) { + if (StringUtils.isNotBlank(descriptorEndpoint)) { for (final var placeholder : placeholders) { - require(bpdmUrl, configPath, placeholder); + require(descriptorEndpoint, configPath, placeholder); } } } diff --git a/local/deployment/irs-local/README.md b/local/deployment/irs-local/README.md index 8623d1e351..1c9740243c 100644 --- a/local/deployment/irs-local/README.md +++ b/local/deployment/irs-local/README.md @@ -88,7 +88,7 @@ You can use these snippets for testing purposes. ```json { "bomLifecycle": "asBuilt", - "lookupBPNs": true, + "lookupBPNs": false, "direction": "downward", "depth": 10, "auditContractNegotiation": false, diff --git a/local/deployment/irs-local/values.yaml b/local/deployment/irs-local/values.yaml index 1efcafc82f..f57dd4d868 100644 --- a/local/deployment/irs-local/values.yaml +++ b/local/deployment/irs-local/values.yaml @@ -33,8 +33,6 @@ irs-helm: discoveryFinderUrl: https://localhost semanticshub: url: https://localhost - bpdm: - url: https://localhost minioUser: "testtest" minioPassword: "testtest" diff --git a/local/testing/api-tests/irs-api-tests.tavern.yaml b/local/testing/api-tests/irs-api-tests.tavern.yaml index c84b21c3ea..48501679ab 100644 --- a/local/testing/api-tests/irs-api-tests.tavern.yaml +++ b/local/testing/api-tests/irs-api-tests.tavern.yaml @@ -2468,7 +2468,7 @@ stages: depth: 2 direction: "downward" bomLifecycle: "asPlanned" - lookupBPNs: true + lookupBPNs: false callbackUrl: "https://www.check123.com" aspects: #- urn:samm:io.catenax.serial_part:3.0.0#SerialPart @@ -2568,7 +2568,7 @@ strict: - json:off stages: - - name: create a job with lookupBPNs = true and wait + - name: create a job and wait request: url: "{tavern.env_vars.IRS_HOST}/irs/jobs" json: @@ -2576,7 +2576,7 @@ stages: globalAssetId: "{tavern.env_vars.GLOBAL_ASSET_ID_AS_BUILT}" bpn: "{tavern.env_vars.BPN_AS_BUILT}" collectAspects: false - lookupBPNs: true + lookupBPNs: false depth: 1 direction: "downward" method: POST @@ -2622,7 +2622,7 @@ strict: - json:off stages: - - name: create a job with lookupBPNs = true and wait + - name: create a job and wait request: url: "{tavern.env_vars.IRS_HOST}/irs/jobs" json: @@ -2630,7 +2630,7 @@ stages: globalAssetId: "{tavern.env_vars.GLOBAL_ASSET_ID_AS_BUILT}" bpn: "{tavern.env_vars.BPN_AS_BUILT}" collectAspects: false - lookupBPNs: true + lookupBPNs: false depth: 1 direction: "downward" method: POST @@ -2731,7 +2731,7 @@ stages: - urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingeLevelBomAsBuilt - urn:samm:io.catenax.serial_part:3.0.0#SerialPart collectAspects: true - lookupBPNs: true + lookupBPNs: false batchSize: 10 batchStrategy: "PRESERVE_BATCH_JOB_ORDER" depth: 1 @@ -2791,7 +2791,7 @@ stages: - urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingeLevelBomAsBuilt - urn:samm:io.catenax.serial_part:3.0.0#SerialPart collectAspects: true - lookupBPNs: true + lookupBPNs: false batchSize: 2 batchStrategy: "PRESERVE_BATCH_JOB_ORDER" depth: 1 @@ -2843,7 +2843,7 @@ stages: - urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingeLevelBomAsBuilt - urn:samm:io.catenax.serial_part:3.0.0#SerialPart collectAspects: true - lookupBPNs: true + lookupBPNs: false batchSize: 10 batchStrategy: "PRESERVE_BATCH_JOB_ORDER" depth: 1 diff --git a/local/testing/api-tests/tavern_helpers.py b/local/testing/api-tests/tavern_helpers.py index e1c8f35348..60bf733b22 100644 --- a/local/testing/api-tests/tavern_helpers.py +++ b/local/testing/api-tests/tavern_helpers.py @@ -285,7 +285,7 @@ def summary_for_bpns_is_given(response): bpnLookups = response.json().get('job').get('summary').get('bpnLookups') print(bpnLookups) print("completed: ", bpnLookups.get('completed')) - assert bpnLookups.get('completed') != 0 + assert bpnLookups.get('completed') == 0 assert bpnLookups.get('failed') == 0 @@ -336,7 +336,7 @@ def job_parameter_are_as_requested(response): assert parameter.get('collectAspects') is True assert parameter.get('depth') == 2 assert parameter.get('direction') == 'downward' - assert parameter.get('lookupBPNs') is True + assert parameter.get('lookupBPNs') is False assert parameter.get('callbackUrl') == 'https://www.check123.com' aspects_list = parameter.get("aspects") assert 'urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned' in aspects_list From 72f4971f4075d42bc338d279aa670724183d7b81 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Wed, 1 May 2024 10:19:04 +0200 Subject: [PATCH 2/3] feat(impl):[#568] remove bpdm lookup --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9358ba02c0..6c892e2672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ _**For better traceability add the corresponding GitHub issue number in each cha ## [Unreleased] +### Changed + +- BPN lookup feature was removed #568 + ## [5.1.0] - 2024-04-30 ### Changed From 40017ef8102d51db718d5e7161917997912cc288 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Wed, 1 May 2024 10:33:49 +0200 Subject: [PATCH 3/3] feat(impl):[#568] insomnia collection update --- .../IRS_Request_Collection.json | 7223 +++++++++-------- .../IRS_TEMPLATE_environment.json | 3 - 2 files changed, 3626 insertions(+), 3600 deletions(-) diff --git a/local/testing/request-collection/IRS_Request_Collection.json b/local/testing/request-collection/IRS_Request_Collection.json index bc3df3516b..6dd22a9dba 100644 --- a/local/testing/request-collection/IRS_Request_Collection.json +++ b/local/testing/request-collection/IRS_Request_Collection.json @@ -1,3599 +1,3628 @@ { - "_type": "export", - "__export_format": 4, - "__export_date": "2024-04-15T07:56:11.237Z", - "__export_source": "insomnia.desktop.app:v2023.5.8", - "resources": [ - { - "_id": "req_1f30ad95b4814ec39132f47bc270cedf", - "parentId": "fld_af826750e6ad41dbad291333a64f2dca", - "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_af826750e6ad41dbad291333a64f2dca", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1687243055015, - "created": 1687243055015, - "name": "Policy Store", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1687243055015, - "_type": "request_group" - }, - { - "_id": "fld_5de60849f6444f6f9d543051dfc1b83a", - "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_82357f1f7e9e44d985f045e8c2342237", - "parentId": "fld_af826750e6ad41dbad291333a64f2dca", - "modified": 1712736856772, - "created": 1711449523700, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Get policies for BPN", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "id": "pair_8482da576c10480b9f7edf7a4aa752c6", - "name": "businessPartnerNumbers", - "value": "BPNL1234567890AB", - "description": "", - "disabled": false - }, - { - "id": "pair_ec0ce8fad21144aaa531cbbcb941f522", - "name": "businessPartnerNumbers", - "value": "BPNL1234567890XX", - "description": "", - "disabled": false - } - ], - "headers": [], - "authentication": { - "type": "apikey", - "disabled": false, - "key": "X-API-KEY", - "value": "{{ _.ADMIN_API_KEY }}", - "addTo": "header" - }, - "metaSortKey": -1703116992024, - "isPrivate": false, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_f5cf53dba53e4fd7b91452e99d924db8", - "parentId": "fld_af826750e6ad41dbad291333a64f2dca", - "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_320eee8efd384f25a36f9911fc105ce0", - "parentId": "fld_af826750e6ad41dbad291333a64f2dca", - "modified": 1712736811711, - "created": 1693576003390, - "url": "{{IRS_HOST}}/irs/policies", - "name": "Update policies", - "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\"policyIds\": [\n\t\t\"policy-id12\"\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, - "settingStoreCookies": true, - "settingSendCookies": true, - "settingDisableRenderRequestBody": false, - "settingEncodeUrl": true, - "settingRebuildPath": true, - "settingFollowRedirects": "global", - "_type": "request" - }, - { - "_id": "req_43e0684544204340a9227c96c234b986", - "parentId": "fld_af826750e6ad41dbad291333a64f2dca", - "modified": 1712736780844, - "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\"businessPartnerNumber\": \"BPNL1234567890AB\",\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\": \"mf-policy-4\",\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}" - }, - "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_3663f0d6d0a84f778728d6212e2e4452", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_bc26470cb00d4d64bc19be6755f25f00", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1691504187689, - "created": 1680682418630, - "name": "Digital Twin Registry", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418630, - "_type": "request_group" - }, - { - "_id": "req_025d858a7e7744289e1e947105333bd7", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_711662a8951d47c49556a24b558dd62b", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_49a66feb305448aeba7d30d7dd608166", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_3ce036e7a0484363abcdf29571974aed", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_61d92a9abade4718b3347eb48ed6e995", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_1c406ce78cc4495681e3f9bbafa43493", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_b9e1dd78b327487487cc53559ba3707d", - "parentId": "fld_bc26470cb00d4d64bc19be6755f25f00", - "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_0b71020848164f0b81c3ecdb8fdd58e2", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_50286f7d5d454684b8aba9765d6e3855", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418562, - "created": 1680682418562, - "name": "IRS Test Collection", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418562, - "_type": "request_group" - }, - { - "_id": "req_aa365dbdfe984b0ebd551ba074ea10c3", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_65f8af5a42494c3ca02568b7dfae1d62", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_b1c6a3ac35004cfeaefac5a2bb0dda5a", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_ab6d6199c2d24e90a848eee6ea78109f", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_f3399d84f94740d68afb0e9a7e8fa0f1", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_ff728ed6ad5d4e52acc8a6d735f76929", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#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_57dbf280a39f488f802a2f4e7474c161", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_0286ed482b0a467880d9cdcb73942498", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1712222178406, - "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:samm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:samm: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_3240716443ef458187b8601a1664e39c", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_23625e9b7a6a414ca52074bd2d2bb44f", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_ac5b82e7eb07402381b4250fc209cd65", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1712222124387, - "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:samm:io.catenax.just_in_sequence_part:3.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_5bd9f681a9d64799928f9a6391db4088", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1712222106070, - "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:samm: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_a607e76dd9c844b7b9dbd74069ac6ced", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_398cafd7dc0946e1bb9d173c0fb1f019", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_a5528db1444448bfb3897f6805615e41", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1713167745641, - "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:3.0.0#Batch\",\n\t\t\"urn:samm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:samm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:samm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:samm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:samm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:samm:io.catenax.part_as_planned:2.0.0#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_d47afad7fc814583b0b51b34c32f7956", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:3.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_c10f4f5ba1ef4030a3238f793b6456fa", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#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_6c09857d7c404d3b96ceb84241674869", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_336ddd957bee488e8e1ee44d8feee23c", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#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_2081e1206173466eac0b516e138b83ae", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.single_level_bom_as_built:3.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_7408834739394ad8914108c2c55af11f", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_934b2c3546964dbba0154c0b5d6affd6", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1702991173689, - "created": 1680682418381, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.0.0 [Search for completed Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "states", - "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_1ca399d41b914d38839e434ed9b324e9", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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": "states", - "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_a6624384545844c192396bb6a8ba4ed1", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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": "states", - "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_d9939ead26f9426b8fa0335022261db7", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_981c712ae0aa404c9f2a76a37a32beb4", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "modified": 1702991190326, - "created": 1680682418339, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "2.1.0 [Search for running Jobs]", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "states", - "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_682d405fe865408b9466cbe854360861", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_89ab9dac1e164e4c8685fe13a891d83a", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_a9c9ca4c15af4ff892cd4b4d0d5b4ac9", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_00bd7b14057f4764ac46e5512b9db6ac", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_6fe9f28aacbc46cb952332925a6b66b6", - "parentId": "fld_50286f7d5d454684b8aba9765d6e3855", - "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_b77302d3e4c54ea9bccd588aa40d6e06", - "parentId": "fld_272800c031334bd984de7da6b9a84881", - "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_272800c031334bd984de7da6b9a84881", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1683630931664, - "created": 1683630887514, - "name": "Discovery", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418417.5, - "_type": "request_group" - }, - { - "_id": "req_4e371616910b4939834e590574434f8d", - "parentId": "fld_272800c031334bd984de7da6b9a84881", - "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_96b48f84945e4a139c43b347081dea1d", - "parentId": "fld_272800c031334bd984de7da6b9a84881", - "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_19b0215781524f3ba61025cdf8ff24c9", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:3.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_f46e575b1932435b9eaca816c878139d", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418273, - "created": 1680682418273, - "name": "IRS Basic API Calls", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418273, - "_type": "request_group" - }, - { - "_id": "req_eed24d5541f042f7b35258a85715376c", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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_252a950f231d4af6978078f3333816ea", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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_2dff37767bae4b3e92e3735c20a203b5", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "modified": 1702991284435, - "created": 1680682418247, - "url": "{{IRS_HOST}}/irs/jobs", - "name": "Search for Jobs for given state", - "description": "", - "method": "GET", - "body": {}, - "parameters": [ - { - "name": "states", - "value": "ERROR", - "disabled": true, - "id": "pair_c694b66f41e649db837f801b5699859e" - }, - { - "name": "states", - "value": "CANCELED,COMPLETED", - "disabled": false, - "id": "pair_ab346623e5394504b7232cc40ae75bed" - }, - { - "id": "pair_ddbccd5219944e8cac3d99249ba881e5", - "name": "states", - "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_1d8a5d751d914257a1c52b9ee6449f06", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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_1e867216fa0b4e40a4d002b5f09e48ea", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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_21a6d5cb7990445db301e5811b36e09e", - "parentId": "fld_f46e575b1932435b9eaca816c878139d", - "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_ef073a9c3df443d28211b4a47c86efcc", - "parentId": "fld_0240862432fa4a45943e9292fdc4bef2", - "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_0240862432fa4a45943e9292fdc4bef2", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418222, - "created": 1680682418222, - "name": "Semantics Hub", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418222, - "_type": "request_group" - }, - { - "_id": "req_4b8bf2eb52e5421c9813cf51b7af7b28", - "parentId": "fld_0240862432fa4a45943e9292fdc4bef2", - "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_f6eafa824d5b43efb88a4ccdeefa1583", - "parentId": "fld_0240862432fa4a45943e9292fdc4bef2", - "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_1284cf1d5074402f932b68b96d9bc927", - "parentId": "fld_ecf376d268ed403d85415925a9876340", - "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_ecf376d268ed403d85415925a9876340", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418184, - "created": 1680682418184, - "name": "Business partner data management", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418184, - "_type": "request_group" - }, - { - "_id": "req_958372128cd94531b9153539a95ff025", - "parentId": "fld_f08715e4a303459d9c66b22f0ea2fee7", - "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_f08715e4a303459d9c66b22f0ea2fee7", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418167, - "created": 1680682418167, - "name": "ESR Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418167, - "_type": "request_group" - }, - { - "_id": "req_f9774214bb754107818e8ade02b2c664", - "parentId": "fld_46d3f6585fc9478a9c2867fee821ac64", - "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_46d3f6585fc9478a9c2867fee821ac64", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418151, - "created": 1680682418151, - "name": "ESS Spike", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418151, - "_type": "request_group" - }, - { - "_id": "req_3d24c6fdc4fb4f6f9749236e1a7b800a", - "parentId": "fld_46d3f6585fc9478a9c2867fee821ac64", - "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_aff549831f8c45c28f17b16d16a9971f", - "parentId": "fld_46d3f6585fc9478a9c2867fee821ac64", - "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_7917cf051540431aa6eb72fe167f1cd1", - "parentId": "fld_3d64394ad3d14232b6ddff8e4a6d1000", - "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:samm:io.catenax.single_level_bom_as_built:3.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_3d64394ad3d14232b6ddff8e4a6d1000", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1680682418128, - "created": 1680682418128, - "name": "Batch Processing", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418128, - "_type": "request_group" - }, - { - "_id": "req_5ca464846cf14393b5dccc09eab1ff94", - "parentId": "fld_3d64394ad3d14232b6ddff8e4a6d1000", - "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_d2936baa5fc846e99b6a1fd90e76f360", - "parentId": "fld_3d64394ad3d14232b6ddff8e4a6d1000", - "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_ebf5ce9b4ff44918bd8c320ffb9d37aa", - "parentId": "fld_3d64394ad3d14232b6ddff8e4a6d1000", - "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_15442d1e3d134b3a9d5166fdffd58e21", - "parentId": "fld_3d64394ad3d14232b6ddff8e4a6d1000", - "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_374c63a9e933495aa538c64cf0ce5e9c", - "parentId": "fld_502cfa569e234dfbaf8d32e9a00a6a48", - "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_502cfa569e234dfbaf8d32e9a00a6a48", - "parentId": "fld_e12f52232f2e4ccbb8a92a5422e24094", - "modified": 1690362660167, - "created": 1690362660167, - "name": "Catalog", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1690362660167, - "_type": "request_group" - }, - { - "_id": "fld_e12f52232f2e4ccbb8a92a5422e24094", - "parentId": "fld_5de60849f6444f6f9d543051dfc1b83a", - "modified": 1690363778601, - "created": 1675675609576, - "name": "EDC-Requests", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1680682418078, - "_type": "request_group" - }, - { - "_id": "req_d1fca9b114cb4765a6cc14ed42328981", - "parentId": "fld_502cfa569e234dfbaf8d32e9a00a6a48", - "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_d8228ae795f741f0a3ee41c44c731532", - "parentId": "fld_502cfa569e234dfbaf8d32e9a00a6a48", - "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_9f6323d57e5645078c67c2634a91dedc", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_356464095be447bd8e7a7733cc997f28", - "parentId": "fld_e12f52232f2e4ccbb8a92a5422e24094", - "modified": 1684146626847, - "created": 1684146519491, - "name": "Negotiation", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1679911060327.75, - "_type": "request_group" - }, - { - "_id": "req_b3e48d06eb7e4a85813c8425a740ad25", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_0092fa60fd8f4596ab3d1eab70400592", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_33efa480448244a7b9bfcdb9e91d0aa6", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_4e9a65bd315a406aab742ae5abb5d15a", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_b38860166a534a858832ae622becb8a9", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_d574e6886e1d4436a2aeb9dec6c2c0bc", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_92bacd622f69483f9798e6e8cbbe1169", - "parentId": "fld_356464095be447bd8e7a7733cc997f28", - "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_35011172f7ab4e3697591dac19fbeda3", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_180cf8ac3da346639736153e59ab9852", - "parentId": "fld_e12f52232f2e4ccbb8a92a5422e24094", - "modified": 1705940929752, - "created": 1684146457388, - "name": "Provider", - "description": "", - "environment": {}, - "environmentPropertyOrder": null, - "metaSortKey": -1678852197613.5625, - "_type": "request_group" - }, - { - "_id": "req_50deb85fb48b4db49c6bec6b4919ae99", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_dd70aba7bf7141dbbda60a448dd13cb8", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_83381a3e5e874d6fa62ddc82a4a7922e", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_2bdec1164b8d4ba9b8049a1e015ce78e", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "modified": 1690362581978, - "created": 1685444139641, - "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", - "name": "Create Policy", - "description": "", - "method": "POST", - "body": { - "mimeType": "application/json", - "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumber\": \"BPNL00000000BJTL\",\n\t\"payload\": {\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\": \"policy-id12\",\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}" - }, - "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_e5a34fa4eabb495b9dbc69803edcb8c5", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_3726a3d5cc8c4176949f9c1affd63967", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_1fb5786a714140be9cf6e8c69a8ab3a2", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_d3310b777935406197ee45619c6955c6", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_034858006e4544b1aee573fbd1deae9e", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_e3d06a47af8c46dc9851be7d2f1f9a42", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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_bf171046032b4e0ea390f326c9a2f555", - "parentId": "fld_180cf8ac3da346639736153e59ab9852", - "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": 1712668849719, - "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-04-09T13:20:49.719Z", - "id": "5690562525597758" - }, - { - "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": "69183304528381" - } - ], - "_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-05-01T08:32:43.870Z", + "__export_source": "insomnia.desktop.app:v2023.5.8", + "resources": [ + { + "_id": "req_55a9bf0869c14ef2921f4a91d4adba58", + "parentId": "fld_c148b56d56d4458c955b21de8e799a34", + "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_c148b56d56d4458c955b21de8e799a34", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1687243055015, + "created": 1687243055015, + "name": "Policy Store", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1687243055015, + "_type": "request_group" + }, + { + "_id": "fld_318404a1cc4845de86ec9f7251ed86c3", + "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_e677c419c5f7467cb107548ece768291", + "parentId": "fld_c148b56d56d4458c955b21de8e799a34", + "modified": 1712736856772, + "created": 1711449523700, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Get policies for BPN", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "id": "pair_8482da576c10480b9f7edf7a4aa752c6", + "name": "businessPartnerNumbers", + "value": "BPNL1234567890AB", + "description": "", + "disabled": false + }, + { + "id": "pair_ec0ce8fad21144aaa531cbbcb941f522", + "name": "businessPartnerNumbers", + "value": "BPNL1234567890XX", + "description": "", + "disabled": false + } + ], + "headers": [], + "authentication": { + "type": "apikey", + "disabled": false, + "key": "X-API-KEY", + "value": "{{ _.ADMIN_API_KEY }}", + "addTo": "header" + }, + "metaSortKey": -1703116992024, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a095d396f35045b28dde7de525b5b3d8", + "parentId": "fld_c148b56d56d4458c955b21de8e799a34", + "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_97025844437d4c76b714fa0991a95997", + "parentId": "fld_c148b56d56d4458c955b21de8e799a34", + "modified": 1712736811711, + "created": 1693576003390, + "url": "{{IRS_HOST}}/irs/policies", + "name": "Update policies", + "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\"policyIds\": [\n\t\t\"policy-id12\"\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, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1eb9f26e32e1415e892a3db686eec0c5", + "parentId": "fld_c148b56d56d4458c955b21de8e799a34", + "modified": 1712736780844, + "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\"businessPartnerNumber\": \"BPNL1234567890AB\",\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\": \"mf-policy-4\",\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}" + }, + "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_8ed46f6d1b4d4c9ebaf3bf13fa412d09", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_f4ec6d651fa74e90a0e9cdb1cb154710", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1691504187689, + "created": 1680682418630, + "name": "Digital Twin Registry", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418630, + "_type": "request_group" + }, + { + "_id": "req_a33a999f60274acbb02b0242d96a9b83", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_847b1d7ff3a240a0ad0c86bd7f7662fe", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_c572def0b5204ad99161d3a9f0ea669e", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_5dd45f6b36cc4b9fa04f28e5aa17c2f5", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_45476ae3d18d40d9bef08c5b4cefeee7", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_a7aaa7bb05fa473680842b917b800969", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_3559e78b76074dc2b6079d0804e05b6d", + "parentId": "fld_f4ec6d651fa74e90a0e9cdb1cb154710", + "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_81456f1b78904d61a221f1a63041fc4a", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_03cae1d8e0e14efdb5013ddafd456356", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418562, + "created": 1680682418562, + "name": "IRS Test Collection", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418562, + "_type": "request_group" + }, + { + "_id": "req_993135ddeb274512bac49dc677a050ef", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_d703439130184e79b47f26cd68ab2474", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_f705ca9d4ac84574bbbcfb52d7237944", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_0c1e35b82cf94e508df3d6b0e2e01d96", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_c5a8705e57b747b383827c84f8a1a807", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_120ff82ef51f4772be231bbcbd319eea", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#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_086b100e264d49adb860e2aa31bf24ef", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_f10aa414ec394e1bb559fa280051f1bf", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1712222178406, + "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:samm:io.catenax.battery.battery_pass:3.0.1#BatteryPass\",\n\t\t\"urn:samm: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_619b2b7f65bb41f09567d74df254b035", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_fb49cca4e40f4a99be4e356dd0d77575", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_388dc202518348e990b934f5a4fc66b4", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1712222124387, + "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:samm:io.catenax.just_in_sequence_part:3.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_a8e0cf21b1bf413ba607dd35d5dd91cc", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1712222106070, + "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:samm: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_2260e9d1376640d4a23ef51ebde18e05", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_dc5126390c35414cbb363154de847ae3", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_1dc0355604e34c9ead6633201ae3b53f", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1713167745641, + "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.batch:3.0.0#Batch\",\n\t\t\"urn:samm:io.catenax.battery.product_description:1.0.1#ProductDescription\",\n\t\t\"urn:samm:io.catenax.market_place_offer:1.4.0#MarketPlaceOffer\",\n\t\t\"urn:samm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling\",\n\t\t\"urn:samm:io.catenax.physical_dimension:1.0.0#PhysicalDimension\",\n\t\t\"urn:samm:io.catenax.return_request:1.0.1#ReturnRequest\",\n\t\t\"urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode\",\n\t\t\"urn:samm:io.catenax.part_as_planned:2.0.0#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_e70627d142a84aab9f67be301064f099", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:3.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_11c22742144c45e7822f4756d8f2a668", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#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_641896a762a045c3922889a4d70a0510", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_d06e3bea028c4a139015680baf3e4156", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#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_2c31c812b93b44478e597d26c96b31f3", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.single_level_bom_as_built:3.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_a6840706447b4bea9e5ef7aa13da8318", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.single_level_bom_as_built:3.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_7bc460f0ddc64952a724c129d7f05c48", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1702991173689, + "created": 1680682418381, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.0.0 [Search for completed Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "states", + "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_218c983f40504928b18c62833de2a62b", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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": "states", + "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_30f93b118ccb46aead4015138d39d091", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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": "states", + "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_ea4e2bdc3b24445d8ba7f9ab94df8275", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_dd2974c3cfe14a89b11197b3d7c4b3b3", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "modified": 1702991190326, + "created": 1680682418339, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "2.1.0 [Search for running Jobs]", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "states", + "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_5de4fa9a710f40a0b06a8eb8375dc879", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_76c70fae87804e35808b1bdb2b37b87a", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_ee442b959bee4e91a4a668dfd2aaecd0", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_fa01911c0ba9430ba8e2468ec8f2cf08", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_eccfa48fb89f4f4e9810afd4296e0a9c", + "parentId": "fld_03cae1d8e0e14efdb5013ddafd456356", + "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_8c4758824c1d4f3fa30f6a0c41998fe7", + "parentId": "fld_9380e17181b949e1b374ef0bbec301a4", + "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_9380e17181b949e1b374ef0bbec301a4", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1683630931664, + "created": 1683630887514, + "name": "Discovery", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418417.5, + "_type": "request_group" + }, + { + "_id": "req_d4c1b2e69cb947f69f1addb5999dc1f4", + "parentId": "fld_9380e17181b949e1b374ef0bbec301a4", + "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_ffdfe165884f40a6b3d6fb56abe11471", + "parentId": "fld_9380e17181b949e1b374ef0bbec301a4", + "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_1ec222e3d6ab4d3db80ebafa4fb5488c", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "modified": 1714552323135, + "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:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt\",\n\t\t\"urn:samm:io.catenax.serial_part:3.0.0#SerialPart\",\n\t\t\"urn:samm:io.catenax.batch:3.0.0#Batch\"\n\t],\n\t\"bomLifecycle\": \"asBuilt\",\n\t\"collectAspects\": true,\n\t\"lookupBPNs\": false,\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_63222e2ddbee4d118d2b7047f762591f", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418273, + "created": 1680682418273, + "name": "IRS Basic API Calls", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418273, + "_type": "request_group" + }, + { + "_id": "req_fcfc3007abf7423e9a2722648318b3be", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "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_391d96a6d0614ac4877ba0d78a4573b3", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "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_ef2c57bbfc9744b98699b3832ed8232c", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "modified": 1702991284435, + "created": 1680682418247, + "url": "{{IRS_HOST}}/irs/jobs", + "name": "Search for Jobs for given state", + "description": "", + "method": "GET", + "body": {}, + "parameters": [ + { + "name": "states", + "value": "ERROR", + "disabled": true, + "id": "pair_c694b66f41e649db837f801b5699859e" + }, + { + "name": "states", + "value": "CANCELED,COMPLETED", + "disabled": false, + "id": "pair_ab346623e5394504b7232cc40ae75bed" + }, + { + "id": "pair_ddbccd5219944e8cac3d99249ba881e5", + "name": "states", + "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_30e40bf2376b418eac900baf3d708d04", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "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_32c45cd2f9d7474ea9f3b418aec15e45", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "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_c479c6106c254a558c137736e7d93f30", + "parentId": "fld_63222e2ddbee4d118d2b7047f762591f", + "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_e27d279245004008a39fb0fd80b163cb", + "parentId": "fld_6a04d4bfd0e442738db12c4f7b46cac2", + "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_6a04d4bfd0e442738db12c4f7b46cac2", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418222, + "created": 1680682418222, + "name": "Semantics Hub", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418222, + "_type": "request_group" + }, + { + "_id": "req_14e3596715d04adb8b0f356d6b7ae590", + "parentId": "fld_6a04d4bfd0e442738db12c4f7b46cac2", + "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_bdbe10d7387848d68095b7f7421e7ee9", + "parentId": "fld_6a04d4bfd0e442738db12c4f7b46cac2", + "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_75aba519fb754445ad8d95b5c7fed729", + "parentId": "fld_bb9ec06af2e44280a418f4b6d0bfb38b", + "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_bb9ec06af2e44280a418f4b6d0bfb38b", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418184, + "created": 1680682418184, + "name": "Business partner data management", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418184, + "_type": "request_group" + }, + { + "_id": "req_75c154db1dfc4e1c9179bf0a330bf3b4", + "parentId": "fld_313859ca91cb4f7888422276cb8508c5", + "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_313859ca91cb4f7888422276cb8508c5", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418167, + "created": 1680682418167, + "name": "ESR Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418167, + "_type": "request_group" + }, + { + "_id": "req_38c3ce60347e47beaa58a0007d96ae0f", + "parentId": "fld_7d06efb16dab49b394fc29fb93fa22d0", + "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_7d06efb16dab49b394fc29fb93fa22d0", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418151, + "created": 1680682418151, + "name": "ESS Spike", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418151, + "_type": "request_group" + }, + { + "_id": "req_b99b111f47a74539a3a2a9a326cc1213", + "parentId": "fld_7d06efb16dab49b394fc29fb93fa22d0", + "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_0798e0ce95f84a3b960552aed4b4bb12", + "parentId": "fld_7d06efb16dab49b394fc29fb93fa22d0", + "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_ac535a178078415aac3b8d5bc9d2119c", + "parentId": "fld_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "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:samm:io.catenax.single_level_bom_as_built:3.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_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1680682418128, + "created": 1680682418128, + "name": "Batch Processing", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418128, + "_type": "request_group" + }, + { + "_id": "req_dcad5fddbb9b465db73e44963b7be875", + "parentId": "fld_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "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_8b3d633a7d004d17b0d2be6ff02b836c", + "parentId": "fld_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "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_29ea158605894aa4a2dfdea7822c1d29", + "parentId": "fld_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "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_adfc6ff112774311af439b89df297ebe", + "parentId": "fld_3f72f2f9fb5f46d0a07b1d1bc9a9dcd7", + "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_3fe67d0926e74f7a9b05b7a46b773b1f", + "parentId": "fld_abf344d79fbe417dbbe937a4f468f64a", + "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_abf344d79fbe417dbbe937a4f468f64a", + "parentId": "fld_77addaff9203411083a11a5c1d2feb18", + "modified": 1690362660167, + "created": 1690362660167, + "name": "Catalog", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1690362660167, + "_type": "request_group" + }, + { + "_id": "fld_77addaff9203411083a11a5c1d2feb18", + "parentId": "fld_318404a1cc4845de86ec9f7251ed86c3", + "modified": 1690363778601, + "created": 1675675609576, + "name": "EDC-Requests", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1680682418078, + "_type": "request_group" + }, + { + "_id": "req_dec6378f5f6b45a6a95cab20bd9deb63", + "parentId": "fld_abf344d79fbe417dbbe937a4f468f64a", + "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_9fda526011874695a9915b034fd37a5a", + "parentId": "fld_abf344d79fbe417dbbe937a4f468f64a", + "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_06847c4a096d4c479539fef0ac309053", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_2546a2bc93c546e38979839919cc8f52", + "parentId": "fld_77addaff9203411083a11a5c1d2feb18", + "modified": 1684146626847, + "created": 1684146519491, + "name": "Negotiation", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1679911060327.75, + "_type": "request_group" + }, + { + "_id": "req_fe500408708a482a83a9b0160cb8c168", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_7da56223b229417f919ade011c7123f9", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_7610693f814948be8dbc38fa4986270d", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_50600f6e8a154b19b981d4787bd8d75b", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_7b7fcaa136d74d63bcab938b127795b5", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_4753d82e329d4e729b815ac5e183def9", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_48c48484c31846b7968b5ab136d521bc", + "parentId": "fld_2546a2bc93c546e38979839919cc8f52", + "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_21468d73b6c9458d9aee834216139c0a", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_e3f5c18df152470e83abcb1aadcad047", + "parentId": "fld_77addaff9203411083a11a5c1d2feb18", + "modified": 1705940929752, + "created": 1684146457388, + "name": "Provider", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1678852197613.5625, + "_type": "request_group" + }, + { + "_id": "req_f496ffd7c650456a9b2f28544eb7cd62", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_e192ac69c20a4396b6e89689018f184a", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_9846e1568ec745d09c9079ab8805a803", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_05f114e52f4f4cf9ab5dc9e335ec9a6f", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "modified": 1690362581978, + "created": 1685444139641, + "url": "{{ _.PROVIDER_CONTROLPLANE_1 }}/management/v2/policydefinitions", + "name": "Create Policy", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/json", + "text": "{\n\t\"validUntil\": \"2025-12-12T23:59:59.999Z\",\n\t\"businessPartnerNumber\": \"BPNL00000000BJTL\",\n\t\"payload\": {\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\": \"policy-id12\",\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}" + }, + "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_c324cae835dc45c2bd7e604c2adebd0f", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_e1960ae7b6794ba0b7554091c0173a5b", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_22d237016eb64648a32a9b006002d980", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_cd36ce447ab64a4e8bb04679db083694", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_667b2f34e2ad4fb08eea629419fef0ea", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_ce2035d3954b44858f87897bd12095c6", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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_9a564507ca4c481bb585f2284c32eb0b", + "parentId": "fld_e3f5c18df152470e83abcb1aadcad047", + "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": 1714129126953, + "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-04-26T09:51:01.156Z", + "id": "5234431860326807" + }, + { + "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": "10354136643826561" + }, + { + "key": "KC_RESTART", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp-v2.int.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "httpOnly": true, + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2024-04-26T08:04:35.029Z", + "lastAccessed": "2024-04-26T10:58:46.952Z", + "id": "6272951644347451" + }, + { + "key": "KC_AUTH_STATE", + "expires": "1970-01-01T00:00:10.000Z", + "maxAge": 0, + "domain": "centralidp.int.demo.catena-x.net", + "path": "/auth/realms/CX-Central/", + "extensions": [ + "Version=1" + ], + "hostOnly": true, + "creation": "2024-04-26T08:08:52.319Z", + "lastAccessed": "2024-04-26T09:51:01.156Z", + "id": "6517214908974489" + } + ], + "_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 diff --git a/local/testing/request-collection/IRS_TEMPLATE_environment.json b/local/testing/request-collection/IRS_TEMPLATE_environment.json index c58e939f79..a7003d9e75 100644 --- a/local/testing/request-collection/IRS_TEMPLATE_environment.json +++ b/local/testing/request-collection/IRS_TEMPLATE_environment.json @@ -9,11 +9,8 @@ "DISCOVERY_CLIENT_SECRET": "", "SEMANTIC_HUB_CLIENT_ID": "", "SEMANTIC_HUB_CLIENT_SECRET": "", - "BPDM_CLIENT_ID": "", - "BPDM_CLIENT_SECRET": "", "DIGITAL_TWIN_REGISTRY": "", "SEMANTIC_HUB_URL": "", - "BPDM_URL": "", "DISCOVERY_FINDER": "", "BPN_DISCOVERY": "", "EDC_DISCOVERY": "",