web console for spring boot 3.0.0 - spring-boot

I need a simple web console that allows to use rest services on spring boot 3.0.0 .
I have known for some time that swagger is stuck with developments and it is increasingly difficult to install it inside the spring boot.
I wonder if there is an alternative to swagger on spring boot 3.0.0 . Maybe spring boot has its own web console? What is recommended to use?
I'm trying to install swagger but I find it quite complicated

Related

Spring Boot Confusion (using spring cloud dependency in spring boot framework)

I am new to spring framework. I have a confusion regarding spring boot and spring cloud.
I used https://start.spring.io/ to initialize a spring boot application. I think I am using the spring boot framework. However, I would like to use some spring cloud dependencies such as spring-cloud-stream-binder-kafka.
Question 1: If I added this dependency above to my spring boot application, I am wondering if I still can go with the spring boot framework, or I have to change to spring cloud framework.
Question 2: I am wondering if there is any difference when deploying the spring boot or spring cloud application. Or, they just have the different frameworks, and we could deploy them in the same way.
Thank you so much!
You can use together Spring Boot and Spring Cloud packages.
Spring Boot is just a preconfigured Spring Framework with some extra functionalities. It also uses library versions compatibile with each other. Spring Cloud is also the part of the Spring ecosystem, contains libraries that mostly used in cloud applications.
In the background, these packages will pull all necessary Spring (and other) libraries into your project, as transitive dependencies.
So you can use the generated pom/gradle, and add other dependencies. In this case Spring boot will be your core and cloud add extras.

Any chance Spring Zuul updated for Spring boot 2.4.x?

TLDR
Any chance of getting spring cloud netflix zuul 1 running on spring boot 2.4?
Context:
We have an app that uses spring zuul 1 and runs on spring boot 2.3.x
zuul simply "doesn't work" on spring boot 2.4.x, i.e. wasn't updated to run on spring 2.4.x.
I would have expected to see 'deprecation' or 'end of life' warnings. Maybe I missed them.
Why we care
Spring boot 2.4.x adds nice functionality for building docker images; this functionaltiy doesn't work on spring 2.3.x .
e.g..
The generated image can be published to a Docker registry by enabling a publish option and configuring authentication for the registry using docker.publishRegistry properties.
https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/
Question
Any chance that zuul 1 maintainers will updat zuul 1 to run on spring 2.4? If so, when?
Any documentation on "migrating from zuul1 to spring cloud gateway"
We ran into a few 'gotchas' with zuul--so know that switching from zuul to spring cloud gateway might require non-trivial work.
Thanks!

Couldnt read app configuration in PCF from bitbucket after upgrading spring & java versions

Pivotal Spring cloud config service doesnt work with Java 11 and spring boot 2.1.1.RELEASE and spring web: 5.1.3.RELEASE. I am getting "Error requesting access token". Any pointers to resolve this issue?
I don't believe that Spring Cloud Services is compatible with Spring Boot 2.1 or Java 11 at the time I write this.
Note: Version 2.0.x of the SCS client dependencies is not compatible with Spring Boot 2.1.x.
https://docs.pivotal.io/spring-cloud-services/2-0/common/client-dependencies.html#including-dependencies
I can't provide you any guarantees, but it probably a safe bet that it will support both of those at some point in the future. For now, use Spring Boot 2.0 & Java 8 for best results, or at least to sanity check that things are working as you'd expect.
Hope that helps!

Spring Boot Admin Server 2.X backwards compatible with 1.3.3

Most of our microservices still use Spring Boot 1.3.5 and are monitored with Spring Boot Admin 1.3.3. I have recently started upgrading some of these microservices to Spring Boot 2.0.0 and we are successfully monitoring them with Spring Boot 2.0.2, however I can't get Spring Boot 2.0.2 to monitor 1.3.5 Spring Boot applications. The application registers on SBA, but SBA returns a 404 error when trying to access any info tab (which I guess comes from the change on the endpoints on SBA 2.X.X).
In the SBA reference guide it is stated that it is possible to monitor 1.5.X applications (https://codecentric.github.io/spring-boot-admin/current/#monitoring-spring-boot-1.5.x). I've tried this method with no luck, so my question is, is it possible to monitor Spring Boot 1.3.5 applications with SBA 2.X.X? am I missing something?.

how to use web.xml file into spring boot application without extend WsConfigurerAdapter?

I am using spring-boot to develop webservices, but I don't want to use WsConfigurerAdapter to define a WSDL and all, because I want to deploy my war into WAS7 and it does not support Servlet 3.0. So how would I add a web.xml configuration into my application.
Spring Boot doesn't support Servlet 2.5 out of the box, however you can use Spring Boot Legacy to get things working. Take a look at the Google App Engine sample application for an example of how to use Spring Boot Legacy and web.xml.
You may also be interested in this Spring Boot issue which is proposing to make Spring Boot Legacy an official part of Spring Boot.

Resources