Giter VIP home page Giter VIP logo

camel-wildfly-appraisal's Introduction

camel-wildfly-appraisal

Requirements

Preparing

Install and run MySQL [https://dev.mysql.com/doc/refman/5.7/en/installing.html]

Note: For my tests, I chose to run the docker image [https://hub.docker.com/r/mysql/mysql-server/]. You can run it using the command docker run --name mysql -e MYSQL_DATABASE=example -e MYSQL_ROOT_PASSWORD=Abcd1234 -e MYSQL_ROOT_HOST=172.17.0.1 -p 3306:3306 -d mysql/mysql-server:5.7. You can then connect and run SQL statements using the command docker exec -it mysql mysql -uroot -p.

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-appraisal-sa secret/camel-wildfly-appraisal-secret
oc policy add-role-to-user view system:serviceaccount:fuse:camel-wildfly-appraisal-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. The project also contains a mock Audit Service that you can use. So either start the mock server, or configure the application's properties to point to the real Audit Service.

To test the batch input process, you can use the files located in the src/test/data folder. By default, the file poller checks the target/input directory for files.

camel-wildfly-appraisal's People

Contributors

joshdreagan avatar

Watchers

aniello avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.