Skip to content

spline #1034 Consumer API :: Data Source :: multi-value append filter#1035

Merged
wajda merged 2 commits into
developfrom
feature/spline-1034-data-source-wirte-mode-filter
Mar 8, 2022
Merged

spline #1034 Consumer API :: Data Source :: multi-value append filter#1035
wajda merged 2 commits into
developfrom
feature/spline-1034-data-source-wirte-mode-filter

Conversation

@wajda
Copy link
Copy Markdown
Contributor

@wajda wajda commented Mar 7, 2022

Consumer API: Allow for using multi-value filter on the write mode (append) property

@wajda wajda requested a review from cerveada as a code owner March 7, 2022 13:00
Comment on lines +71 to +72
@ApiParam(value = "Write mode. Comma separated values of: `true` - append, `false` - overwrite, empty string - read only")
@RequestParam(value = "append", required = false) append: String,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems weird that append = "" means that it's read. Wouldn't it be better to have three booleans for each or something like enum APPEND, OVERWRITE and READ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API is a subject for a redesign, I don't want to spend much time on it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

cerveada
cerveada previously approved these changes Mar 8, 2022
…est/model/WriteModeQuery.scala

Co-authored-by: Adam Cervenka <adam.cervenka@absa.africa>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 8, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
10.0% 10.0% Duplication

@wajda wajda merged commit 36ef6a7 into develop Mar 8, 2022
@wajda wajda deleted the feature/spline-1034-data-source-wirte-mode-filter branch March 8, 2022 12:53
@wajda wajda linked an issue Apr 8, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consumer API :: Data Source :: multi-value append filter

2 participants