= fis-conax
This service represents the integration of the conax service, which uses Fuse Integration Service 2.0. The integrated service is located in the repository link:https://github.com/cchet-thesis-msc/service-conax[srvice-conax].
== Local setup The following section describe the setup of the local machine for development.
=== Windows This section describe how to setup a windows developer machine.
== How to run locally Use the following command to build and run the service locally.
=== Preconditions This section describes how to prepare the service project for the build and deployment.
=== Build and deploy This section describes how to build and deploy the service via the maven plugin fabric8-maven-plugin.
mvn -s configuration/settings.xml -P default,fabric8 clean install spring-boot:run -DCONFIG_LOCATION_EXTERNAL=classpath:/development-application.properties
The parameter CONFIG_LOCATION_EXTERNAL defines the fully qualified path to the file developer-application.properties,
which is located in src/main/resources
.
== How to run in Openshift This section describes how to run the service in a local Openshift cluster.
=== Preconditions This section describes how to prepare the service project for the build and deployment.
=== Windows This section describes how to start the local Openshift cluster on a windows machine with powershift-cli.
powershift.exe cluster up [profile_name]
oc.exe login [CLUSTER_URL] -u developer -p developer
=== Build and deploy This section describes how to build and deploy the service via the maven plugin fabric8-maven-plugin. Ensure you are logged in to your Openshift project via the CLI and that the openshift client binary location has been added to the PATH.
mvn -s configuration/settings.xml -P default,fabric8 clean install fabric8:deploy
+
Deploy the service in the Openshift projectmvn -s configuration/settings.xml -P default,fabric8 clean compile fabric8:undeploy
+
Undeploy the service from the Openshift project