http4s configuration from spring cloud config server - scala

We have a rest microservice developed using scala http4s. We want to externalize configuration for this microservice like we do in spring boot ecosystem.
Can this be done in Scala Http4s where they can refer a spring cloud config server? Is there any other to do in Scala?

Related

How to integrate Spring Batch ( without Spring Boot ) with Spring Cloud Data Flow Server

We are running spring batch with jboss application server (therefore cant run it as spring boot app). Is there any integration options for monitoring/administering spring batch with Spring Cloud DataFlowServer for the spring batch running in Jboss container ?
I had a similar issue where I was using spring batch with a weblogic 12.2.1.4 application server and wanted an admin console to view the status of job executions. Spring Cloud Data Flow was not suitable for my requirement. I ended up forking the old spring-batch-admin project and upgrading it to work with the latest version of spring batch and spring boot libraries. My forked git repo is here. I include this as a dependency in my war file that i deploy to weblogic and it provides the spring batch admin functionality, embedded in my application.

What controls the appearance of the "Web" option in the spring boot administrator UI?

I'm having an issue with using Spring Boot Administrator against a number of different Spring Boot microservices, where the Web left-hand menu option (which has the Mappings and HTTP Traces suboptions) only shows for some of the microservices.
The only obvious POM differences between those microservices that work and those that don't is the Spring Boot Starter parent version; those which display the Web option are using version 2.1.6.RELEASE, while those that do not are using higher versions like 2.3.1.RELEASE (which I'm guessing will affect versions of e.g. spring boot actuator libraries).
I'm using version 2.3.0 of Spring Boot Admin Server with Spring Boot Starter Parent 2.3.1.RELEASE.
For anyone else that stumbled upon this, the answer is that from Spring Boot 2.0.0 onwards, in order to expose the Spring Boot actuator httptrace endpoint (which is what drives the Web option in the Spring Boot Administrator), you now need to also add a bean that implements HttpTraceRepository into your Spring context.
e.g.
#Configuration
public class HttpTraceActuatorConfiguration {
#Bean
public HttpTraceRepository httpTraceRepository() {
return new InMemoryHttpTraceRepository();
}
}

How to integrate Rest API and MongoDB Based Spring Boot Application to Drools and KIE Server?

I am looking for any solution for REST API based Spring Boot Application has to be integrated or import to KIE server to apply Drools Rules and Business Flow.
There are close questions but there is not related with a newer version of Spring Boot versions because Spring.io does not support JBooss/Drools and KIE server.
Please give me feedback on how or simple project configuration.

Java Melody with Spring cloud apps

java Melody is good app instrumentation tool with old Java EE apps but doesn't find good support with any spring cloud stack apps. There is some support for spring boot app on Github
Any pointers will help how to use with spring cloud apps or spring boot app with eureka, zuul, config server

Using Spring Data Neo4j outside of Spring container

Can Spring Data Neo4j be used "standalone" (i.e. outside Spring container) like Spring Data JPA can?
Currently you cannot use Spring Data Neo4j outside of a Spring Container as it does not integrate with the CDI integration support in Spring Data Commons yet.
Feel free to open a JIRA issue if you'd like to see support for that.