You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//* https://drive.google.com/file/d/11CBxNI_2QI77uFeD7Dxqf32uDnAt9cKX/view?usp=drive_link[Migration toward Camel for Spring Boot and Camel extension for Quarkus^]
18
-
//* https://drive.google.com/file/d/1DqTrlydgvJiKTe7y6oxuvY8K-SAve9xc/view?usp=drive_link[Running the migrated application on Openshift^]
18
+
//* https://drive.google.com/file/d/1DqTrlydgvJiKTe7y6oxuvY8K-SAve9xc/view?usp=drive_link[Running the migrated application on OpenShift^]
19
19
//* https://drive.google.com/file/d/11CBxNI_2QI77uFeD7Dxqf32uDnAt9cKX/view?usp=drive_link[Running the migrated application as a Camel K serverless function^]
20
20
21
21
@@ -82,16 +82,16 @@ For the rest of the document, this location will be refered to as $TARGET +
82
82
83
83
$ TARGET=./templates/rest/ceq-xml-rest-app
84
84
85
-
==== Preparing the Openshift cluster
86
-
For th deployment to Openshift, you'll just need access to a namespace on an Openshift cluster. +
85
+
==== Preparing the OpenShift cluster
86
+
For th deployment to OpenShift, you'll just need access to a namespace on an OpenShift cluster. +
87
87
Here below, we'll call this namespace 'claimdemo-migration'.
88
88
89
89
$ oc new-project claimdemo-migration
90
90
91
91
==== Preparing Camel K (optional)
92
-
If you want to test the migrated application as a serverless component, you'll need an Openshift server with Camel K installed. +
93
-
Install the Red Hat Camel K Operator to your Openshift cluster.
94
-
Optionaly you can also deploy the Openshift Serverless (Knative Serving and Knative Eventing) operators. +
92
+
If you want to test the migrated application as a serverless component, you'll need an OpenShift server with Camel K installed. +
93
+
Install the Red Hat Camel K Operator to your OpenShift cluster.
94
+
Optionaly you can also deploy the OpenShift Serverless (Knative Serving and Knative Eventing) operators. +
95
95
Make sure you also have the kamel CLI on your local machine, and of the same version as the Camel K Operator. +
96
96
For clarity, we'll use a separate namespace for Camel K-related artefacts. Let's call it camel-migration. +
97
97
@@ -100,15 +100,15 @@ For clarity, we'll use a separate namespace for Camel K-related artefacts. Let'
100
100
Custom beans such as custom Camel processors as considered by Camel K as external dependencies. +
101
101
Those dependencies need to be made available to Camel K at deployment/build time. +
102
102
The best way to do that is to use an external Maven repository, such as Nexus. +
103
-
It can be deployed on or outside of Openshift but needs to be reachable from it.
103
+
It can be deployed on or outside of OpenShift but needs to be reachable from it.
104
104
105
105
Find the prepared Maven settings file:
106
106
107
107
$ vim ./templates/camelk/script/settings.xml
108
108
109
109
Edit it, replacing the URL of th 2 repositories (nexus-camel and nexus-camel-snapshots) by the appropriate URL of your own Nexus server.
110
110
111
-
Create a ConfigMap to hold this settings.xml on Openshift:
111
+
Create a ConfigMap to hold this settings.xml on OpenShift:
112
112
113
113
$ oc create cm camel-k-maven-settings --from-file ./templates/camelk/script/settings.xml -n camel-migration
114
114
@@ -203,9 +203,9 @@ You can run it locally for validation with:
203
203
204
204
$ cd -
205
205
206
-
==== Running it on Openshift
207
-
Thanks to the templates, the migrated application is already fully compatible with Openshift and can safely run immediately in containers. +
208
-
To run it and test it on Openshift:
206
+
==== Running it on OpenShift
207
+
Thanks to the templates, the migrated application is already fully compatible with OpenShift and can safely run immediately in containers. +
0 commit comments