-
Notifications
You must be signed in to change notification settings - Fork 9
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
EIP-133: Upgrade dependencies and frameworks under new 4.0.0 major. #43
Conversation
2114d5f
to
fe4de68
Compare
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.
@corneliouzbett so we're making a new major of openmrs-eip
here right?
Yes, I agree. We should create a |
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 this PR should already make this proposition by upgrading to 4.0.0-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.
Just a couple of comments. Nice work overall!
commons/src/main/java/org/openmrs/eip/app/management/config/ManagementDataSourceConfig.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.
My two cents, I couldn't look through all the files. Feel free to ignore and focus on others reviews instead.
commons/src/main/java/org/openmrs/eip/camel/OauthProcessor.java
Outdated
Show resolved
Hide resolved
commons/src/main/java/org/openmrs/eip/app/management/config/ManagementDataSourceConfig.java
Outdated
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/DeleteDataTestExecutionListener.java
Outdated
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/DeleteDataTestExecutionListener.java
Outdated
Show resolved
Hide resolved
This is great work, I have some comments below,
|
856202a
to
a539735
Compare
18b806f
to
31533e6
Compare
31533e6
to
f350c94
Compare
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.
Thanks for the work @corneliouzbett. Find below a few issues to address.
commons/src/test/java/org/openmrs/eip/DeleteDataTestExecutionListener.java
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/DeleteDataTestExecutionListener.java
Outdated
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/DeleteDataTestExecutionListener.java
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/camel/route/GetConceptByMappingFromOpenmrsRouteTest.java
Outdated
Show resolved
Hide resolved
openmrs-watcher/src/test/java/org/openmrs/eip/mysql/watcher/DebeziumMessageProcessorTest.java
Outdated
Show resolved
Hide resolved
openmrs-watcher/src/test/java/org/openmrs/eip/mysql/watcher/DebeziumMessageProcessorTest.java
Outdated
Show resolved
Hide resolved
openmrs-watcher/src/test/java/org/openmrs/eip/mysql/watcher/WatcherTestUtils.java
Outdated
Show resolved
Hide resolved
...mrs-watcher/src/test/java/org/openmrs/eip/mysql/watcher/route/DbEventProcessorRouteTest.java
Outdated
Show resolved
Hide resolved
...cher/src/test/java/org/openmrs/eip/mysql/watcher/route/WatcherRetryItemHandlerRouteTest.java
Outdated
Show resolved
Hide resolved
...cher/src/test/java/org/openmrs/eip/mysql/watcher/route/WatcherRetryItemHandlerRouteTest.java
Outdated
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.
Generally LGTM. A few more comment to address below.
commons/src/test/java/org/openmrs/eip/camel/OauthProcessorTest.java
Outdated
Show resolved
Hide resolved
* CustomFileOffsetBackingStore - Sends a notification to the configured recipients | ||
*/ | ||
@Component | ||
public class WatcherShutdownRoute extends RouteBuilder { |
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.
Could you briefly document this issue for the record, maybe in the description (Reason the xml DSL is replaced by the Java counterpart)?
openmrs-watcher/src/main/java/org/openmrs/eip/mysql/watcher/MySqlWatcherEndpointConfigurer.java
Outdated
Show resolved
Hide resolved
commons/src/test/java/org/openmrs/eip/camel/OauthProcessorTest.java
Outdated
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.
@corneliouzbett thanks for the great work. If we can finish with this here, that'd be great. Otherwise this LGTM.
This PR upgrades project dependencies and frameworks to the latest versions (or for some a more recent version). Some of the notable upgrades include:
8
17
2.3.0.RELEASE
3.1.4
5.4.21.Final
6.3.1.Final
3.3.0
4.1.0
1.15.2
1.19.1
I've also, updated unit tests to use JUnit5.