Skip to content

Commit

Permalink
fix: nutsLocations field, prepare release (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulgg authored Apr 18, 2024
1 parent bd4dbce commit a12f147
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 15 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/services/asset-create-request-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class AssetCreateRequestBuilder {
transportMode,
sovereignLegalName,
geoLocation,
nutsLocation: nutsLocations,
nutsLocations,
dataSampleUrls,
referenceFileUrls,
referenceFilesDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a12f147

Please sign in to comment.