Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
fix: display all datasources in one array (#918)
Browse files Browse the repository at this point in the history
* fix: add missing relation annotation to DatabaseDataSourceView

* docs: update CHANGELOG.md
  • Loading branch information
ronjaquensel authored Feb 18, 2022
1 parent 1567902 commit 15912dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ All notable changes to this project will be documented in this file.
### Changed
- Update IDS messaging services version from 6.0.1 to 6.1.0.

### Fixed
- Add relation annotation to `DatabaseDataSourceView` to display all `DataSources` in the same array.

## [7.0.2] - 2022-02-16

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@
*/
package io.dataspaceconnector.controller.resource.view.datasource;

import io.dataspaceconnector.config.BaseType;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.springframework.hateoas.server.core.Relation;

/**
* A DTO for controlled exposing of database data source information in API responses.
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Relation(collectionRelation = BaseType.DATA_SOURCES, itemRelation = "datasource")
public class DatabaseDataSourceView extends DataSourceView {

/**
Expand Down

0 comments on commit 15912dd

Please sign in to comment.