-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Multi streams compatible with Reactive Streams #1260
Make Multi streams compatible with Reactive Streams #1260
Conversation
danielkec
commented
Dec 27, 2019
•
edited
Loading
edited
- Changes to common reactive module needed for MP Reactive Messaging and Reactive Streams support #1206
common/reactive/src/main/java/io/helidon/common/reactive/MultiMapProcessor.java
Outdated
Show resolved
Hide resolved
common/reactive/src/test/java/io/helidon/common/reactive/BaseProcessorTest.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/Multi.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/Multi.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/Multi.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/Multi.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/OfPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/FailedPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/Multi.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/MultiFlatMapProcessor.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spericas @tomas-langer Can you please review this PR, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of new public
classes with public
constructors.
If the intention is for these classes to be public, please change constructors to private
and create a public static
factory method (default name should be create
); otherwise change classes and constructors to package local
common/reactive/src/main/java/io/helidon/common/reactive/ConcatPublisher.java
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/ConcatPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/FailedPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/FailedPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/MultiCoupledProcessor.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/MultiTakeWhileProcessor.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/OfPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/OfPublisher.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/StreamValidationUtils.java
Outdated
Show resolved
Hide resolved
common/reactive/src/main/java/io/helidon/common/reactive/SubscriberReference.java
Outdated
Show resolved
Hide resolved
@danielkec Can you please remove the valve stuff in a separate PR. |
5afe499
to
1da5ba1
Compare
Sure #1279 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
You may want to remove the copyright changes in the valve related files to avoid a merge conflict when the PR that removes the valve stuff gets merged.
Also, can you look at the code coverage ? You can use mvn test -Pcoverage
to generate a jacoco report under the target directory. Right now the coverage is pretty high, it would be nice to keep it that way.
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
* breaks FlatMapStageVerification$InnerSubscriberVerification.required_spec209_mustBePreparedToReceiveAnOnCompleteSignalWithoutPrecedingRequestCall Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
* Unusual method name fix * Copyright year Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
* Build fix after cherry-pick Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
1da5ba1
to
38bf1b3
Compare
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
@romain-grecourt Coverage aligned to 84% before and after, there is lot of additional tests in rs module(future PR) for the same processors + tck test suite. I would rather not duplicate test scenarios more than necessary. |
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>