blob: 7f2a34df3a67bc29737472707abf9d855b8509bb [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001# OpenECOMP Common
2
3---
4---
5
6# Introduction
7
8ASDC is required to distribute the Service Definition model to different systems of the OPENECOMP platform. The systems interested in the Service model will subscribe to Artifact Generator. Artifact Generator is responsible for converting its internal Service definition model to the data model required by the different subscribing systems.
9
10In 1707, Artifact Generator will generate artifacts only for A&AI.
11
12# Compiling Common
13
14###Common can be compiled easily with a `mvn clean install` at the following locations :
15
16#### common\openecomp-sdc-artifact-generator-lib
noahsf9f112f2017-12-06 13:11:38 +020017#### common\openecomp-sdc-logging-lib
AviZi280f8012017-06-09 02:39:56 +030018
19### For artifact generator, the resultant jar files are located at :
20
21#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-api\target
22#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-core\target
23
noahsf9f112f2017-12-06 13:11:38 +020024### For openecomp-sdc-logging, the resultant jar files are located at :
AviZi280f8012017-06-09 02:39:56 +030025
noahsf9f112f2017-12-06 13:11:38 +020026#### common\openecomp-sdc-logging-lib\openecomp-sdc-logging-api\target
27#### common\openecomp-sdc-logging-lib\openecomp-sdc-logging-core\target
AviZi280f8012017-06-09 02:39:56 +030028
29### For configuration-management, the resultant jar files are located at :
30
31#### common\openecomp-common-configuration-management\openecomp-configuration-management-api\target
32#### common\openecomp-common-configuration-management\openecomp-configuration-management-cli\target
33#### common\openecomp-common-configuration-management\openecomp-configuration-management-core\target
34
35
36
37
38
39# Accessing Common
40
41### Artifact Generator
42
43#### api :
44
45 <dependency>
46 <groupId>org.openecomp.sdc.common</groupId>
47 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
48 <version>?</version>
49 </dependency>
50
51#### core :
52
53 <dependency>
54 <groupId>org.openecomp.sdc.common</groupId>
55 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
56 <version>?</version>
57 </dependency>
58
59### Logging
60
61#### api :
62
63 <dependency>
noahsf9f112f2017-12-06 13:11:38 +020064 <groupId>org.openecomp.sdc</groupId>
65 <artifactId>openecomp-sdc-logging-api</artifactId>
AviZi280f8012017-06-09 02:39:56 +030066 <version>?</version>
67 </dependency>
68
69#### core :
70
71 <dependency>
noahsf9f112f2017-12-06 13:11:38 +020072 <groupId>org.openecomp.sdc</groupId>
73 <artifactId>openecomp-sdc-logging-core</artifactId>
AviZi280f8012017-06-09 02:39:56 +030074 <version>?</version>
75 </dependency>
76
77### Configuration Management
78
79#### api :
80
81 <dependency>
82 <groupId>org.openecomp.sdc.common</groupId>
83 <artifactId>openecomp-configuration-management-api</artifactId>
84 <version>?</version>
85 </dependency>
86
87#### cli :
88
89 <dependency>
90 <groupId>org.openecomp.sdc.common</groupId>
91 <artifactId>openecomp-configuration-management-cli</artifactId>
92 <version>?</version>
93 </dependency>
94
95#### core :
96
97 <dependency>
98 <groupId>org.openecomp.sdc.common</groupId>
99 <artifactId>openecomp-configuration-management-core</artifactId>
100 <version>?</version>
101 </dependency>
102
103### NOTE : Artifact Generator generates artifacts using method 'generateArtifact' that takes the following arguments as input :
104
105#### input(Specifies the list of input files as models)
106#### overridingConfiguration(Specifies the configuration data for invoking generators)
107
108The output will be a list of artifacts that are generated by the generators as defined in the API signature.
109
110# Logging
111
112OpenECOMP Common supports EELF Logger, which is of the following types :
113
114### Error
115### Debug
116### Metrics
117### Audit
118