diff --git a/CHANGELOG.md b/CHANGELOG.md index c4c189629..0a0032283 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,12 +18,30 @@ the detailed section referring to by linking pull requests or issues. #### Minor -- Set security headers in NGINX Docker image +#### Patch + +#### Deployment Migration Notes + +## [v3.2.0] - 2024-04-18 + +MDS Bufix Release + +### Overview + +### Detailed Changes + +#### Minor + +- Security headers added to NGINX Docker Image #### Patch +- Fix `nutsLocations` field + #### Deployment Migration Notes +_No special deployment migration steps required_ + ## [v3.1.0] - 2024-04-11 ### Overview diff --git a/package-lock.json b/package-lock.json index 5bf344928..7086b70f7 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.20240321.92753-main-45a69c59", - "@sovity.de/edc-client": "0.20240320.110408-main-ec5d8e6c", + "@sovity.de/edc-client": "0.20240415.134652-main-9ba9dcd8", "clean-deep": "^3.4.0", "date-fns": "^2.30.0", "date-fns-tz": "^2.0.1", @@ -3578,9 +3578,9 @@ "integrity": "sha512-ZCUlPxGNP+KQCoYlkFpFAAvM/5/Q3H8GgAjUOp3NgE9BBcDcA3kgHRXOiK7YqCp0ZOS/BnEO+wu00uGUEBC0Pg==" }, "node_modules/@sovity.de/edc-client": { - "version": "0.20240320.110408-main-ec5d8e6c", - "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20240320.110408-main-ec5d8e6c.tgz", - "integrity": "sha512-T1Ye8ERN34Kp/Wpru+wMs72nqQsbm/S97xlbQ3VnkUTRylJuEUtsoV5YQmrOoPcx7buOIH07NmNOCIgzVbFEdw==", + "version": "0.20240415.134652-main-9ba9dcd8", + "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20240415.134652-main-9ba9dcd8.tgz", + "integrity": "sha512-gLdWn8OpMDcVdGU1NVPJKIEwtr7dlfcrfQhVJl2ODiWJveyub8w1eVGZqkcfkiKiFbA9HCPjmkxRerD/TQ1BeA==", "dependencies": { "zod": "^3.22.4" } @@ -16300,9 +16300,9 @@ "integrity": "sha512-ZCUlPxGNP+KQCoYlkFpFAAvM/5/Q3H8GgAjUOp3NgE9BBcDcA3kgHRXOiK7YqCp0ZOS/BnEO+wu00uGUEBC0Pg==" }, "@sovity.de/edc-client": { - "version": "0.20240320.110408-main-ec5d8e6c", - "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20240320.110408-main-ec5d8e6c.tgz", - "integrity": "sha512-T1Ye8ERN34Kp/Wpru+wMs72nqQsbm/S97xlbQ3VnkUTRylJuEUtsoV5YQmrOoPcx7buOIH07NmNOCIgzVbFEdw==", + "version": "0.20240415.134652-main-9ba9dcd8", + "resolved": "https://registry.npmjs.org/@sovity.de/edc-client/-/edc-client-0.20240415.134652-main-9ba9dcd8.tgz", + "integrity": "sha512-gLdWn8OpMDcVdGU1NVPJKIEwtr7dlfcrfQhVJl2ODiWJveyub8w1eVGZqkcfkiKiFbA9HCPjmkxRerD/TQ1BeA==", "requires": { "zod": "^3.22.4" } diff --git a/package.json b/package.json index 85f466c3b..3d64f20b4 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.20240321.92753-main-45a69c59", - "@sovity.de/edc-client": "0.20240320.110408-main-ec5d8e6c", + "@sovity.de/edc-client": "0.20240415.134652-main-9ba9dcd8", "clean-deep": "^3.4.0", "date-fns": "^2.30.0", "date-fns-tz": "^2.0.1", diff --git a/src/app/component-library/catalog/asset-detail-dialog/asset-property-grid-group-builder.ts b/src/app/component-library/catalog/asset-detail-dialog/asset-property-grid-group-builder.ts index c07b8b56d..f2dabedfe 100644 --- a/src/app/component-library/catalog/asset-detail-dialog/asset-property-grid-group-builder.ts +++ b/src/app/component-library/catalog/asset-detail-dialog/asset-property-grid-group-builder.ts @@ -192,8 +192,8 @@ export class AssetPropertyGridGroupBuilder { ...this.propertyGridUtils.guessValue(asset.geoLocation), }); } - if (asset.nutsLocation?.length) { - fields.push(this.buildNutsLocationsField(asset.nutsLocation)); + if (asset.nutsLocations?.length) { + fields.push(this.buildNutsLocationsField(asset.nutsLocations)); } if (asset.sovereignLegalName) { fields.push({ diff --git a/src/app/core/services/api/fake-backend/connector-fake-impl/asset-fake-service.ts b/src/app/core/services/api/fake-backend/connector-fake-impl/asset-fake-service.ts index 55bc94175..2917283f5 100644 --- a/src/app/core/services/api/fake-backend/connector-fake-impl/asset-fake-service.ts +++ b/src/app/core/services/api/fake-backend/connector-fake-impl/asset-fake-service.ts @@ -91,7 +91,7 @@ function createAssetMetadata( privateCustomJsonAsString: request.privateCustomJsonAsString, sovereignLegalName: request.sovereignLegalName, geoLocation: request.geoLocation, - nutsLocation: request.nutsLocation, + nutsLocations: request.nutsLocations, dataSampleUrls: request.dataSampleUrls, referenceFileUrls: request.referenceFileUrls, referenceFilesDescription: request.referenceFilesDescription, diff --git a/src/app/core/services/api/fake-backend/connector-fake-impl/data/test-assets.ts b/src/app/core/services/api/fake-backend/connector-fake-impl/data/test-assets.ts index c1a6890cd..200855139 100644 --- a/src/app/core/services/api/fake-backend/connector-fake-impl/data/test-assets.ts +++ b/src/app/core/services/api/fake-backend/connector-fake-impl/data/test-assets.ts @@ -124,7 +124,7 @@ This is a short description text that should be fully rendered without being **c transportMode: 'Rail', sovereignLegalName: 'Data Owning Company GmbH', geoLocation: '40.741895,-73.989308', - nutsLocation: ['DE', 'DE9', 'DE92', 'DE929'], + nutsLocations: ['DE', 'DE9', 'DE92', 'DE929'], dataSampleUrls: [ 'https://teamabc.departmentxyz.sample/a', 'https://teamabc.departmentxyz.sample/b', diff --git a/src/app/core/services/asset-create-request-builder.ts b/src/app/core/services/asset-create-request-builder.ts index 5df051981..edf148e91 100644 --- a/src/app/core/services/asset-create-request-builder.ts +++ b/src/app/core/services/asset-create-request-builder.ts @@ -94,7 +94,7 @@ export class AssetCreateRequestBuilder { transportMode, sovereignLegalName, geoLocation, - nutsLocation: nutsLocations, + nutsLocations, dataSampleUrls, referenceFileUrls, referenceFilesDescription, diff --git a/src/app/routes/connector-ui/asset-page/asset-edit-dialog/form/asset-edit-dialog-form-mapper.ts b/src/app/routes/connector-ui/asset-page/asset-edit-dialog/form/asset-edit-dialog-form-mapper.ts index 6d24d3935..e1130f701 100644 --- a/src/app/routes/connector-ui/asset-page/asset-edit-dialog/form/asset-edit-dialog-form-mapper.ts +++ b/src/app/routes/connector-ui/asset-page/asset-edit-dialog/form/asset-edit-dialog-form-mapper.ts @@ -78,7 +78,7 @@ export class AssetEditDialogFormMapper { geoReferenceMethod: asset.geoReferenceMethod, sovereignLegalName: asset.sovereignLegalName, geoLocation: asset.geoLocation, - nutsLocations: asset.nutsLocation, + nutsLocations: asset.nutsLocations, dataSampleUrls: asset.dataSampleUrls, referenceFileUrls: asset.referenceFileUrls, referenceFilesDescription: asset.referenceFilesDescription,