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,17 @@ For the rest of the document, this location will be referred 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
-
Optionally 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
96
Make sure you also have the kamel CLI on your local machine, and of the same version as the Camel K Operator. +
96
97
For clarity, we'll use a separate namespace for Camel K-related artefacts. Let's call it camel-migration. +
97
98
@@ -100,15 +101,15 @@ For clarity, we'll use a separate namespace for Camel K-related artefacts. Let'
100
101
Custom beans such as custom Camel processors as considered by Camel K as external dependencies. +
101
102
Those dependencies need to be made available to Camel K at deployment/build time. +
102
103
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.
104
+
It can be deployed on or outside of OpenShift but needs to be reachable from it.
104
105
105
106
Find the prepared Maven settings file:
106
107
107
108
$ vim ./templates/camelk/script/settings.xml
108
109
109
110
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
111
111
-
Create a ConfigMap to hold this settings.xml on Openshift:
112
+
Create a ConfigMap to hold this settings.xml on OpenShift:
112
113
113
114
$ oc create cm camel-k-maven-settings --from-file ./templates/camelk/script/settings.xml -n camel-migration
114
115
@@ -203,9 +204,9 @@ You can run it locally for validation with:
203
204
204
205
$ cd -
205
206
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:
207
+
==== Running it on OpenShift
208
+
Thanks to the templates, the migrated application is already fully compatible with OpenShift and can safely run immediately in containers. +
0 commit comments