Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 926 Bytes

HOW-TO-Deploy.md

File metadata and controls

58 lines (34 loc) · 926 Bytes

We need a validator tool

git clone https://github.com/cloudera/cm_ext mvn install

WE USE JAVA 8 ...

First we validate the CSD

java -jar ./cm_ext/validator/target/validator.jar -s ./src/MQTT2Kafka-1.0/descriptor/service.sdl

After validation we package the CSD in a JAR and deploy to the Gateway.

To create the CSD-Package on a DEV-machine we use:

mvn assembly:single

On the Gateway Node we stage the Parcels

(Documentation is here: https://github.com/cloudera/cm_ext)

We copy the artifact to the Gateway

scp TTFAQ*.jar [email protected]: ssh [email protected] sudo ./deployCSD.sh

Now we restart the CM-Server

ssh [email protected] sudo ./restartCSD.sh

Using the CM REST-API we could deploy or update a parcel now.