Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Real Time
Streams
Stream Admin Service
Commits
8aca4458
Commit
8aca4458
authored
Nov 17, 2021
by
Stephen Nimmo
Browse files
Switched source and sink alignment for the bindings vs the streamType
parent
97fa5938
Pipeline
#77756
failed with stage
in 1 minute and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/streaming/service/TopicAdminServiceImpl.java
View file @
8aca4458
...
...
@@ -53,9 +53,9 @@ public class TopicAdminServiceImpl implements TopicAdminService {
StreamDefinition
streamDefinition
=
streamRecord
.
getData
().
getDatasetProperties
().
getStreamDefinition
();
switch
(
streamType
)
{
case
SOURCE:
return
streamDefinition
.
getSourceBindings
();
case
SINK:
return
streamDefinition
.
getSinkBindings
();
case
SINK:
return
streamDefinition
.
getSourceBindings
();
case
PROCESSOR:
return
Stream
.
concat
(
streamDefinition
.
getSourceBindings
().
stream
(),
streamDefinition
.
getSinkBindings
().
stream
()).
collect
(
Collectors
.
toList
());
default
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment