summaryrefslogtreecommitdiffstats
path: root/dcaedt_tools/src/ReadMe.txt
blob: 4657a8147760d42fc4a5b819583d01bfcce1394f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
How to run:
mvn exec:java -Dexec.mainClass=Main -Dexec.args="'environment.json' 'config.json'"

environment.json example:

{
    "dcaeBeHost": "http://135.91.225.81",
    "dcaeBePort": "8080",
    "apiPath": "/dcae"
    "userEditor": "admin"
}

config.json example:
   {
   	"templateInfo": [{
   		"name": "SNMP Fault",
   		"description": "SNMP FM with Map-Supplement-Enrich",
   		"category": "Template / Base Monitoring Template",
   		"subCategory":"some subCategory",
   		"updateIfExist": "true",
   		"composition": [{
   			"type": "Map",
   			"alias": "mapper"
   		}, {
   			"type": "Supplement",
   			"alias": "sup"
   		}, {
   			"type": "Enrich",
   			"alias": "enrich"
   		}]
   	},
   		{
   			"name": "FOI",
   			"description": "FOI SFTP with FOI-Collector and Docker-Map",
   			"category": "Template / Base Monitoring Template",
   			"subCategory":"some subCategory",
   			"updateIfExist": "true",
   			"composition": [{
   				"type": "FOI Collector",
   				"alias": "collector"
   			}, {
   				"type": "DockerMap",
   				"alias": "map"
   			}],
   			"relation": [{
   				"fromComponent": "collector.FOISftp",
   				"fromRequirement": "stream_publish_0",
   				"toComponent": "map.topic1",
   				"toCapability": "topic"
   			}]
   		},
   		{
   			"name": "Syslog non-VES Collector",
   			"description": "Syslog flow with Syslog Collector",
   			"category": "Template / Base Monitoring Template",
   			"subCategory":"some subCategory",
   			"updateIfExist": "true",
   			"composition": [{
   				"type": "Syslog",
   				"alias": "collector"
   			}]
   		}
   	]
   }