Skip to content

joshdreagan/camel-request-reply-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Camel Request/Reply Worker

Requirements

Preparing

Build the project source code

$ cd $PROJECT_ROOT
$ mvn clean install

Running the example standalone

$ cd $PROJECT_ROOT
$ mvn spring-boot:run

Running the example in OpenShift

It is assumed that:

Create a new project:

$ oc new-project demo-fuse

Create the ServiceAccount:

$ oc create -f src/main/kube/serviceaccount.yml

Create the ConfigMap:

$ oc create -f src/main/kube/configmap.yml

Create the Secret:

$ oc create -f src/main/kube/secret.yml

Add the Secret to the ServiceAccount created earlier:

$ oc secrets add sa/camel-request-reply-worker-sa secret/camel-request-reply-worker-secret

Add the view role to the ServiceAccount:

$ oc policy add-role-to-user view system:serviceaccount:camel-request-reply-worker:camel-request-reply-worker-sa

The example can be built and run on OpenShift using the following goals:

$ mvn clean install fabric8:resource fabric8:build fabric8:deploy

Testing the code

Use the same tools/instructions for testing standalone (above). Make sure to change the host/port to point to the exposed OpenShift Route.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages