Merge "Add INFO.yaml file"
[dcaegen2/services/mapper.git] / UniversalVesAdapter / README.md
1 # DCAE Universal VES Adapter
2
3 DCAE Universal VES Adapter is a micro-service consume snmp trap from dmaap topic and reads uploaded mapper file of the specific vendor, using SNMP mapper. After reading mapper file, converts snmp trap (JSON format) to VES format and publish on dmaap topic.
4
5
6 ### Build Docker image
7
8 The following Maven command will build the mapper JAR, build the Docker image to the local machine registry and then push the same image to the specified remote registry.
9
10 ```
11 mvn clean package docker:build -DpushImageTag
12 ```
13
14 The image will be tagged with the project version found in the `pom.xml`.
15
16 ### Run via Docker
17
18 Execute this to run.
19
20 ```
21 docker run -p 8082:8080 <image_name>
22
23 ```
24  
25  ### Access
26  <host>:<expose port>/start