Skip to content
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

Upgrade to hapi-fhir 6.3.6-SNAPSHOT: Alternative solution. #482

Conversation

lukedegruchy
Copy link
Contributor

@lukedegruchy lukedegruchy commented Jan 10, 2023

  • Spawned from the crude and messy but effective solution in 480
  • Remove static code blocks to Application.java and all tests:
  • Downgrade logback.core to 1.2.11
  • Downgrade logback.classic to 1.2.11
  • Downgrade slf4j-api to 1.7.25 >>>>> This is the key difference missing from the first attempt that disabled logging.
  • Add a new test config: JpaStarterWebsocketDispatcherConfig, and add it to @SpringBootTest for all of the ITs: This solves the NPE on jetty websocket tests that was introduced by the above changes. >>>> Jetty10RequestUpgradeStrategy.upgrade(Jetty10RequestUpgradeStrategy.java:124). >>> Cannot invoke "Object.getClass()" because "obj" is null

lukedegruchy and others added 4 commits January 10, 2023 14:51
…code blocks to Application.java as well as all tests to System.setProperty("org.springframework.boot.logging.LoggingSystem", "none");
…ging, rollback slf4j-api, logback-classic, and logback-core to older versions. It's the addition of the rollback for slf4j-api that seems to restore logging.
@lukedegruchy lukedegruchy marked this pull request as ready for review January 11, 2023 21:55
…ir-6-3-6-snapshot-with-logs-working-downgrade-logback-solution
@markiantorno markiantorno merged commit c7962b6 into master Jan 13, 2023
@markiantorno markiantorno deleted the ld-20230110-hapi-fhir-6-3-6-snapshot-with-logs-working-downgrade-logback-solution branch January 13, 2023 18:28
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.

None yet

3 participants