diff --git a/.env.local-dev b/.env.local-dev index 131d53dd2..ae19ee6ab 100644 --- a/.env.local-dev +++ b/.env.local-dev @@ -3,20 +3,8 @@ EDC_UI_ACTIVE_PROFILE=sovity-open-source EDC_UI_USE_FAKE_BACKEND=true -EDC_UI_DATA_MANAGEMENT_API_URL=http://edc.fake-backend -EDC_UI_DATA_MANAGEMENT_API_KEY=no-api-key-required-in-local-dev +EDC_UI_MANAGEMENT_API_URL=http://edc.fake-backend +EDC_UI_MANAGEMENT_API_KEY=no-api-key-required-in-local-dev EDC_UI_CATALOG_URLS=http://existing-other-connector/api/dsp,http://does-not-exist-but-is-super-long-so-we-can-test/api/dsp, http://how-wrapping-works-in-subtext-of-catalog-url-select/api/dsp EDC_UI_LOGOUT_URL=https://example.com/logout EDC_UI_CONNECTOR_ENDPOINT=http://localhost:3000/api/dsp - -EDC_UI_CONNECTOR_ID=https://localhost:3000 -EDC_UI_CONNECTOR_NAME=example-connector-name -EDC_UI_IDS_ID=urn:connector:example -EDC_UI_IDS_TITLE=Example Connector Title -EDC_UI_IDS_DESCRIPTION=This is an example sovity EDC UI in local dev. -EDC_UI_CURATOR_URL=https://example.com -EDC_UI_CURATOR_ORGANIZATION_NAME=Example GmbH -EDC_UI_DAPS_OAUTH_TOKEN_URL=https://example-daps.com/token -EDC_UI_DAPS_OAUTH_JWKS_URL=https://example-daps.com/jwks.json -EDC_UI_MAINTAINER_URL=https://example.com -EDC_UI_MAINTAINER_ORGANIZATION_NAME=Example GmbH diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fbc09ae..60de2442d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,25 +14,46 @@ the detailed section referring to by linking pull requests or issues. ### Detailed Changes -#### Added +#### Major + +- Switched to semantic versioning +- Migrated transfer history page to the api wrapper +- Migrated contract definition page to the api wrapper +- Migrated policy definition page to the api wrapper +- Migrated asset page to the api wrapper +- Migrated dashboard page to the api wrapper + +#### Minor - Added custom 404 pages to connector and broker ui +- New Asset Property "Participant ID" -#### Fixed +#### Patch - Removed 404-causing login polling from broker UI -- Migrated transfer history page to api wrapper -- Migrated contract definition page to api wrapper -- Migrated policy definition page to api wrapper -- Migrated asset page to api wrapper -- Broker: Fixed popularity not logged when clicking on a data offer. +- Renamed button from cancel to close in json-dialogs +- Broker: Fixed popularity not logged when clicking on a data offer - Broker: Fixed missing name in legal notice -#### Removed - -#### Fixed - -- Renamed button from cancel to close in json-dialogs +#### Deployment Migration Notes + +- The following ENV Vars were changed: + - ~~`EDC_UI_DATA_MANAGEMENT_API_URL`~~ became `EDC_UI_MANAGEMENT_API_URL` + - ~~`EDC_UI_DATA_MANAGEMENT_API_KEY`~~ became `EDC_UI_MANAGEMENT_API_KEY` +- The following ENV Vars were removed and should not be specified anymore: + - `EDC_UI_CONNECTOR_ID` + - `EDC_UI_CONNECTOR_NAME` + - `EDC_UI_CURATOR_ORGANIZATION_NAME` + - `EDC_UI_CURATOR_URL` + - `EDC_UI_DAPS_OAUTH_JWKS_URL` + - `EDC_UI_DAPS_OAUTH_TOKEN_URL` + - `EDC_UI_IDS_DESCRIPTION` + - `EDC_UI_IDS_ID` + - `EDC_UI_IDS_TITLE` + - `EDC_UI_MAINTAINER_ORGANIZATION_NAME` + - `EDC_UI_MAINTAINER_URL` + - `EDC_UI_ASSET_PROP_ORIGINATOR_ORGANIZATION` + - `EDC_UI_ASSET_PROP_ORIGINATOR` ## [v0.0.1-milestone-8-sovity12] 12.07.2023 @@ -191,7 +212,7 @@ information is now displayed. #### Changed -- Marked `EDC_UI_DATA_MANAGEMENT_API_URL` as deprecated in favor of +- Marked `EDC_UI_MANAGEMENT_API_URL` as deprecated in favor of `EDC_UI_MANAGEMENT_API_URL`. - Marked `EDC_UI_DATA_MANAGEMENT_API_KEY` as deprecated in favor of `EDC_UI_MANAGEMENT_API_KEY`. diff --git a/package-lock.json b/package-lock.json index 41af9af3c..5c61d9ad7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@ng-apimock/core": "^3.11.0", "@ngxs/store": "^3.8.1", "@sovity.de/broker-server-client": "0.20230712.71619-main-a4860cff", - "@sovity.de/edc-client": "0.20230926.151824-main-fdf8eb66", + "@sovity.de/edc-client": "0.20231006.85703-main-5ece112d", "clean-deep": "^3.4.0", "date-fns": "^2.30.0", "dotenv": "^16.3.1", @@ -3736,9 +3736,9 @@ "integrity": "sha512-305vHJj38Ma9x9YADM3SJh3sdqePeLcrUB1hHlYsuPdx7wYe9vwgb503KYStJ+5iN/ojP2xu8k6Unt+y+Bu5iQ==" }, "node_modules/@sovity.de/edc-client": { - "version": "0.20230926.151824-main-fdf8eb66", - "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20230926.151824-main-fdf8eb66.tgz", - "integrity": "sha512-R6MOZaOda/alASVOKu8SySr0jGGB7hbWpQc1nbti7frJAEpyEJBgcZfibgiFnN6pqNJ1rITxblfbArY1kVNOMg==" + "version": "0.20231006.85703-main-5ece112d", + "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20231006.85703-main-5ece112d.tgz", + "integrity": "sha512-lNokVrsn4t0HABxw761s/5SBvHXTTvuTHGNyP/wtxiTrNcrV9epfVFymIglWbqug9p8pp6nbaKzj1TU+G09vnw==" }, "node_modules/@tootallnate/once": { "version": "2.0.0", @@ -10404,9 +10404,9 @@ } }, "node_modules/postcss": { - "version": "8.4.29", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.29.tgz", - "integrity": "sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 67b41953b..77dcef82f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@ng-apimock/core": "^3.11.0", "@ngxs/store": "^3.8.1", "@sovity.de/broker-server-client": "0.20230712.71619-main-a4860cff", - "@sovity.de/edc-client": "0.20230926.151824-main-fdf8eb66", + "@sovity.de/edc-client": "0.20231006.85703-main-5ece112d", "clean-deep": "^3.4.0", "date-fns": "^2.30.0", "dotenv": "^16.3.1", diff --git a/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service.ts b/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service.ts index d41b55cf2..6c4ca8411 100644 --- a/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service.ts +++ b/src/app/component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service.ts @@ -27,7 +27,7 @@ export class AssetDetailDialogDataService { } dataOfferDetails(dataOffer: DataOffer): AssetDetailDialogData { - let asset = dataOffer.asset; + const asset = dataOffer.asset; const propertyGridGroups = [ this.assetPropertyGridGroupBuilder.buildAssetPropertiesGroup(asset, null), this.assetPropertyGridGroupBuilder.buildAdditionalPropertiesGroup(asset), @@ -44,7 +44,7 @@ export class AssetDetailDialogDataService { contractAgreementDetails( contractAgreement: ContractAgreementCardMapped, ): AssetDetailDialogData { - let asset = contractAgreement.asset; + const asset = contractAgreement.asset; const propertyGridGroups = [ this.assetPropertyGridGroupBuilder.buildContractAgreementGroup( @@ -52,7 +52,7 @@ export class AssetDetailDialogDataService { ), this.assetPropertyGridGroupBuilder.buildContractPolicyGroup( contractAgreement.contractPolicy, - asset.name, + asset.title, ), this.assetPropertyGridGroupBuilder.buildAssetPropertiesGroup( asset, @@ -70,7 +70,7 @@ export class AssetDetailDialogDataService { } brokerDataOfferDetails(dataOffer: BrokerDataOffer): AssetDetailDialogData { - let asset = dataOffer.asset; + const asset = dataOffer.asset; const propertyGridGroups = [ this.assetPropertyGridGroupBuilder.buildBrokerDataOfferGroup(dataOffer), 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 202462b23..59191dce7 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 @@ -19,7 +19,7 @@ [dataOffer]="data.dataOffer!">
- {{ config.connectorIdsDescription }} +
+ {{ data.description }}
Share the following Connector Endpoint to let others access your EDC
@@ -78,14 +78,14 @@
matInput
ngDefaultControl
readonly
- [ngModel]="config.connectorEndpoint"
+ [ngModel]="data.connectorEndpoint"
(focus)="input.select()" />