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?
Related
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
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.
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.
I have been working for the last months on a Ruby on Rails project. The problem is that where the project is going to run there is no internet and I need to run the project as if it were on localhost when the computer start or create an executable project that will be installed on the computer. The program will run in Windows and only in one computer.
I have all the project in Ruby & HTML and the database is in PostgreSQL.
Obviously if there was internet in the office it could upload it to a server and there would be no problem.
You can create a docker container with your app environment configured and run it at system boot.
More info:
https://www.driftingruby.com/episodes/intro-to-docker-on-windows
Setup same development environment you need using offline packages from http://railsinstaller.org/en
Install Ruby on Rails and configure your application / DB.
using Adobe air you can run web app in desktop mode. https://www.adobe.com/in/products/air.html
I've created my first application using Openshift Tech. It's a Java Web Application running on a JBoss at Openshift and uses MySQL 5.5 as its database. And I have to deploy by it using the war file (I don't know how to do it the normal way).
So anyone can tell me: Should I create a local database or use online database? And is there another way to deploy my Java app not using the war file?
I would suggest that you check out the OpenShift Developer Center (https://developers.openshift.com), specifically this link (https://developers.openshift.com/en/jbossas-overview.html) about using jboss. Make sure you read all of the sections, specifically the Deployment Options, and the Datasources links. If you are interested in just being able to do a "git push" to deploy your code, you should create a new jboss application on OpenShift, and do a "git clone" of the code and check out how it's setup, it is using the Maven project structure, which is pretty common.