-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
Sprint 189
In this example we will import an arbitrary Quarkus application.
In the OpenShift Console switch to the Developer perspective. (We need to make sure we've selected the service-binding-demo project). Navigate to the +Add page from the menu and then click on the [From Git] button. Fill in the form with the following:
Git Repo URL = https://github.com/sbose78/using-spring-data-jpa-quarkus
Builder Image = Ubi Quarkus Native S2i
Application->Create Application
Application Name = knative-app
Name = knative-app
Serverless->Enable scaling to zero when idle = checked
Advanced Options->Create a route to the application = checked
and click on the [Create] button.
Notice, that during the import no DB config was mentioned or requestd.
It take several minutes to build the application using the Quarkus native s2i builder image, we can check the running build progress in the Administrator's perspective under Builds->Builds view until the build status is Complete.
After the application is built we can check the Services under Serverless view to see the deployed application. The application should fail at this point with Reason to be the "connection refused" error. That indicates that the application is not connected to the DB.