-
Notifications
You must be signed in to change notification settings - Fork 4
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
Spring messaging integration #8
base: develop
Are you sure you want to change the base?
Conversation
|
||
dependency 'org.openjdk.jmh:jmh-core:0.9' | ||
dependency 'org.openjdk.jmh:jmh-generator-annprocess:0.9' | ||
dependency "com.github.davidmoten:rxjava2-jdbc:${rxjava2JdbcVersion}" |
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.
duplicate dependency
@@ -0,0 +1,35 @@ | |||
# This is a Gradle generated file for dependency locking. |
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.
This and other lockfiles reference 0.11.x RSocket and older netty/reactor-netty dependencies - should be latest
gradle.properties
Outdated
@@ -34,4 +34,5 @@ slf4jVersion=1.7.25 | |||
spectatorVersion=0.61.0 | |||
typesafeConfigVersion=1.3.3 | |||
zipkinSenderVersion=2.7.6 | |||
springBootDependenciesVersion=2.1.5.RELEASE | |||
springBootDependenciesVersion=2.2.0.BUILD-SNAPSHOT |
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.
if there are substantial changes after 2.2.0.M3 I suggest to add todo / comment. Otherwise 1.6.5 release is blocked by respective spring milestone release
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.
I guess this should go to 1.7.0 I don't think we want to deliver that to 1.6.x since it brakes backward compatibility with elder springs (at least it should do that).
@@ -58,7 +56,7 @@ public void testThatConfigurerWorks() { | |||
} | |||
|
|||
@org.springframework.boot.test.context.TestConfiguration | |||
@ComponentScan | |||
// @ComponentScan |
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.
commented code
* Messaging. | ||
* | ||
* @author Oleh Dokuka | ||
* @since 1.7.0 |
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.
I think @since
version and netifiVersion
in gradle.properties should be same
Also tags should be added to new sources consistently.
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.
Good catch up
# Conflicts: # netifi-broker-client/src/main/java/com/netifi/broker/DefaultBuilderConfig.java # netifi-spring-core/src/main/java/com/netifi/spring/core/DestinationAwareClientFactory.java # netifi-spring-core/src/main/java/com/netifi/spring/core/annotation/BrokerClientStaticFactory.java
# Conflicts: # netifi-broker-client/src/main/java/com/netifi/broker/DefaultBuilderConfig.java # netifi-spring-core/src/main/java/com/netifi/spring/core/DestinationAwareClientFactory.java # netifi-spring-core/src/main/java/com/netifi/spring/core/annotation/BrokerClientStaticFactory.java
b822c83
to
a5e7612
Compare
This PR provides refactoring of existing spring Netifi codebase and provides integration with spring messaging
For now, it is not final integration (because of spring-messaging) but it is in the state it will be (unless someone says that I have to rewrite it 😂) but in general
I added a generic way to create a client for autowiring -> https://github.com/netifi/netifi-java/pull/8/files#diff-5c8c78e46b5bde6051f16291ac142a00 so now we don't have to bring spring-messaging to our project. Integration with Spring-messaging sits in a separate project -> https://github.com/netifi/netifi-java/pull/8/files#diff-0068b1ccc3b8fb900c6b7e54604d93f5
For now, Spring Messaging is waiting for Composite Metadata so once it is there the RSocketRequester could send data mime-type with regards of the provided content type so the Responder could retrieve it on its side and decode it back (now it sticks to
text/plain
)