Skip to content

bassista/camel-wildfly-notification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

camel-wildfly-notification

Requirements

Preparing

Build the project source code

cd $PROJECT_ROOT
mvn clean install

Deploying to a standalone WidlFly server

cd $PROJECT_ROOT
mvn wildfly:deploy

Running the example in OpenShift

It is assumed that:

Issue the following commands:

oc login
oc new-project fuse
oc create -f src/main/kube/serviceaccount.yml
oc create -f src/main/kube/configmap.yml
oc create -f src/main/kube/secret.yml
oc secrets add sa/camel-wildfly-notification-sa secret/camel-wildfly-notification-secret
oc policy add-role-to-user view system:serviceaccount:fuse:camel-wildfly-notification-sa
mvn -Popenshift fabric8:deploy

Testing the code

There is a SoapUI project located in the src/test/soapui folder that can be used to send in requests.

You will also need to start the FakeSMTP server or configure the application's properties to point to a real SMTP server.

Notes

There is a properties file src/main/kube/openshift-application.properties file that contains OpenShift secret properties used by the application. If you need to change them, you can do so and then Base64 encode the file (ie, base64 -i src/main/kube/openshift-application.properties), and place the output of that in the 'application.properties' section of the src/main/kube/secret.yml file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%