financer-web-client has a hard dependency on push-service #8
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Start of financer-web-client fails if push-service is not running/reachable. This should be a soft dependency so push-service is not required to run financer-web-client.
To solve this following things should be done:
subscriptionServiceannotation@Autowiredto@Autowired(required = false)ifinsentTestNotification()static/javascript/init.jsis fine, will soft-fail with a log in browser console.While at it, the typo in the method name could also be corrected: sent -> send
Solved by doing the previously mentioned change, which turned out to be not really relevant, and changing the packaging of the push-service-client-libs module to vanilla JAR AND removing the Spring Boot application class for that. This was required as in a standalone servlet container the push-service-client-libs Spring Boot application was always loaded before the financer-web-client application, which somehow broke the app contexts.
Reopen because push-client is still required to build financer, which also should not be the case.