From 9f437283467186a5ef8d28fc07ce37d0b1c53f85 Mon Sep 17 00:00:00 2001 From: AnurosePrakash Date: Wed, 28 Jun 2023 10:23:03 +0200 Subject: [PATCH] chore: Updated the contract agreement cards to view the activation status --- fake-backend/json/connectorLimits.json | 2 +- fake-backend/json/contractAgreementPage.json | 6 +- .../asset-detail-dialog.component.html | 3 +- .../contract-agreement-card-mapped.service.ts | 7 +- .../contract-agreement-card-mapped.ts | 3 +- .../contract-agreement-cards.component.html | 55 +++++++++++--- .../contract-agreement-page.service.ts | 76 +++++++++---------- 7 files changed, 92 insertions(+), 60 deletions(-) diff --git a/fake-backend/json/connectorLimits.json b/fake-backend/json/connectorLimits.json index 3356722a2..f4c0b4470 100644 --- a/fake-backend/json/connectorLimits.json +++ b/fake-backend/json/connectorLimits.json @@ -1,4 +1,4 @@ { "numActiveConsumingContractAgreements": 2, - "maxActiveConsumingContractAgreements": 10 + "maxActiveConsumingContractAgreements": null } diff --git a/fake-backend/json/contractAgreementPage.json b/fake-backend/json/contractAgreementPage.json index af3c17a86..60be02909 100644 --- a/fake-backend/json/contractAgreementPage.json +++ b/fake-backend/json/contractAgreementPage.json @@ -3,7 +3,7 @@ { "contractAgreementId": "my-own-asset-cd:f52a5d30-6356-4a55-a75a-3c45d7a88c3e", "direction": "PROVIDING", - "counterPartyAddress": "http://edc2:11003/api/v1/ids/data", + "counterPartyAddress": "http://edc2:11003/api/v1/ids/data/blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "counterPartyId": "urn:connector:example-connector", "contractSigningDate": "2022-03-20T11:18:59.659Z", "contractStartDate": "2022-03-20T11:18:59.659Z", @@ -110,7 +110,7 @@ { "contractAgreementId": "my-test-asset-cd:6ebbc301-9b1e-4cd7-9f17-97b5b7867531", "direction": "CONSUMING", - "counterPartyAddress": "http://edc2:11003/api/v1/ids/data", + "counterPartyAddress": "http://edc2:11003/api/v1/ids/data/blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "counterPartyId": "my-connector", "contractSigningDate": "2022-03-25T11:18:59.659Z", "contractStartDate": "2022-03-25T11:18:59.659Z", @@ -181,7 +181,7 @@ { "contractAgreementId": "my-test-asset-2-cd:6ebbc301-9b1e-4cd7-9f17-08b5b7867533", "direction": "CONSUMING", - "counterPartyAddress": "http://edc2:11003/api/v1/ids/data", + "counterPartyAddress": "http://edc2:11003/api/v1/ids/data/blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "counterPartyId": "my-connector", "contractSigningDate": "2022-03-25T11:18:59.659Z", "contractStartDate": "2022-03-25T11:18:59.659Z", diff --git a/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog.component.html b/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog.component.html index 7ecd571d7..8055adad9 100644 --- a/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog.component.html +++ b/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog.component.html @@ -97,7 +97,8 @@