aboutsummaryrefslogtreecommitdiffstats
path: root/common/readMe.txt
blob: dbe8e4233ad278ce778138b55a457e81cde24627 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# OpenECOMP Common

---
---

# Introduction

ASDC 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.

In 1707, Artifact Generator will generate artifacts only for A&AI.

# Compiling Common

###Common can be compiled easily with a `mvn clean install` at the following locations :

#### common\openecomp-sdc-artifact-generator-lib
#### common\openecomp-logging-lib

### For artifact generator, the resultant jar files are located at :

#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-api\target
#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-core\target

### For openecomp-logging, the resultant jar files are located at :

#### common\openecomp-logging-lib\openecomp-logging-api\target
#### common\openecomp-logging-lib\openecomp-logging-core\target

### For configuration-management, the resultant jar files are located at :

#### common\openecomp-common-configuration-management\openecomp-configuration-management-api\target
#### common\openecomp-common-configuration-management\openecomp-configuration-management-cli\target
#### common\openecomp-common-configuration-management\openecomp-configuration-management-core\target





# Accessing Common

### Artifact Generator

#### api :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
    <version>?</version>
 </dependency>

#### core :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
    <version>?</version>
 </dependency>

### Logging

#### api :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-logging-api</artifactId>
    <version>?</version>
 </dependency>

#### core :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-logging-core</artifactId>
    <version>?</version>
 </dependency>

### Configuration Management

#### api :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-configuration-management-api</artifactId>
    <version>?</version>
 </dependency>

#### cli :

 <dependency>
     <groupId>org.openecomp.sdc.common</groupId>
     <artifactId>openecomp-configuration-management-cli</artifactId>
     <version>?</version>
  </dependency>

#### core :

 <dependency>
    <groupId>org.openecomp.sdc.common</groupId>
    <artifactId>openecomp-configuration-management-core</artifactId>
    <version>?</version>
 </dependency>

### NOTE : Artifact Generator generates artifacts using method 'generateArtifact' that takes the following arguments as input :

#### input(Specifies the list of input files as models)
#### overridingConfiguration(Specifies the configuration data for invoking generators)

The output will be a list of artifacts that are generated by the generators as defined in the API signature.

# Logging

OpenECOMP Common supports EELF Logger, which is of the following types :

### Error
### Debug
### Metrics
### Audit