Ask how to create multi project spring boot using gradle? - spring-boot-gradle-plugin

I create multi project spring boot using maven it succeeds, but when trying to create with gradle it fails. Modules are not bound to each other.
Please guide me to create multi project in spring boot with gradle using Intelij,....
. Thank you

Related

ASP.NET Core 6 Web API : update database command on deployment

I am new to ASP.NET Core and using Entity Framework 6.
I have created a Web API using MySql. On development, I have executed add migrations and update-database command.
Now, I have published the Web API and I have to deploy it on a server. The server doesn't have development environment. I want to update the production database. How can I do this?`
I don't understand this : "The server doesn't have development environment."
You only have to replace Database ConnectionString of your project with ConnectionString of server, and then use update-database to update database.

Can we implement client side load balancing with Ribbon with Spring boot 2.5.2?

we are trying to upgrade our code from spring boot 1.x to spring boot 2.5.2 and we were taking advantage of ribbon for client side load balancing with older version of spring boot (1.x).
Now, when I'm referring to the spring cloud netflix documentation, they are still referring to 'ribbon' for client side load balancing here
https://spring.io/projects/spring-cloud-netflix#overview.
But, some other place, spring documentation says, they dropped support for netflix ribbon in recent spring boot and i see the spring boot cloud starter is not pulling the ribbon dependencies when i switch to spring boot 2.5.2
Now, my question is, if i upgrade my Spring boot version from 1.x to 2.5.2 and add the netflix ribbon dependencies ( explicitly) can i still take advantage of ribbon for client side load balancing ?
All i'm trying to understand is, would spring boot 2.5.2 work with netflix ribbon (if i add the netflix ribbon dependencies by myself) ?
Spring Cloud Netflix Ribbon is no longer supported. We suggest using Spring Cloud LoadBalancer as a replacement. You can find the documentation here and a guide here. We suggest using start.spring.io to find out the versions of Spring Cloud compatible with the supported versions of Spring Boot.

Compiling SQL procedures in Spring Boot

I have built an SQL editor using Angular and I am using Spring Boot and MySQL for backend. Now I would like to compile the procedure that I write in my SQL editor. Is there a way to compile the procedure I send from Angular in Spring Boot?

How to deploy Spring application on OpenShift?

I have a bunch of Spring applications (NOT Spring Boot!) that was developed for Karaf6 Fuse container. Now I have to deploy them on OpenShift.
If I open projects in RedHat Studio and install them via OpenShift explorer it fails.
I see the option to create new project for Karaf container but, this project is based on blueprint.xml in OSGI catalog. And my application has camel-context.xml in spring catalog. So i can't just copy project and deploy.
The only working solution a have for now is create new Spring Boot project and transfer functionality from old Spring application to new Spring Boot app. But it's too slow process.
Any ideas how to deploy Spring projects to OpenShift containers without porting process?

JBPM core engine , Using mysql instead of H2 database

In our project i am using JBPM core only. We have a maven project setup instead of ANT.
I am trying to use JBPM with mysql instead of H2 database .
I tried multiple blog posts and JBOSS documentation but everything is explained based on whole JBPM stack and with ANT profiler.
Can anyone help me in integrating JBPM core with mysql database with maven.