summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/pom.xml
blob: cd0a688018796d8537ba39fd73fc1a46a31388f5 (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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.onap.so</groupId>
		<artifactId>adapters</artifactId>
		<version>1.2.0-SNAPSHOT</version>
	</parent>
	<groupId>org.onap.so.adapters</groupId>
	<artifactId>mso-adapter-utils</artifactId>
	<name>mso-adapter-utils</name>
	<description>Common MSO utilities, including Openstack client wrappers.</description>

	<build>
		<finalName>${project.artifactId}</finalName>
		<sourceDirectory>src/main/java</sourceDirectory>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<id>copy-resources</id>
						<phase>validate</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<resources>
								<resource>
									<directory>./src/main/resources/META-INF</directory>
									<filtering>false</filtering>
								</resource>
							</resources>
							<outputDirectory>${project.build.directory}/${project.build.finalName}/META-INF/</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
<!--
			<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
-->
			<groupId>org.openecomp.so.libs.openstack-java-sdk</groupId>
			<artifactId>keystone-client</artifactId>
			<version>${openstack.version}</version>
		</dependency>
		<dependency>
<!--
			<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
-->
			<groupId>org.openecomp.so.libs.openstack-java-sdk</groupId>
			<artifactId>heat-client</artifactId>
			<version>${openstack.version}</version>
		</dependency>
		<dependency>
<!--
			<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
-->
			<groupId>org.openecomp.so.libs.openstack-java-sdk</groupId>
			<artifactId>quantum-client</artifactId>
			<version>${openstack.version}</version>
		</dependency>
		<dependency>
<!--
			<groupId>org.onap.so.libs.openstack-java-sdk.client-connectors</groupId>
-->
			<groupId>org.openecomp.so.libs.openstack-java-sdk.client-connectors</groupId>
			<artifactId>http-connector</artifactId>
			<version>${openstack.version}</version>
		</dependency>
		<dependency>
			<groupId>org.onap.so</groupId>
			<artifactId>common</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.onap.so</groupId>
			<artifactId>mso-catalog-db</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>3.1.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.jboss.resteasy</groupId>
			<artifactId>resteasy-jaxrs</artifactId>
			<version>3.0.19.Final</version>
			<scope>provided</scope>
			<exclusions>
     			<exclusion>
        		<groupId>org.slf4j</groupId>
        		<artifactId>slf4j-api</artifactId>
     			</exclusion>
     			<exclusion>
        		<groupId>org.slf4j</groupId>
        		<artifactId>slf4j-simple</artifactId>
     			</exclusion>
				<exclusion>
					<groupId>org.apache.httpcomponents</groupId>
					<artifactId>httpclient</artifactId>
				</exclusion>
   			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.10.19</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jmockit</groupId>
			<artifactId>jmockit</artifactId>
			<version>1.8</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.jboss.spec.javax.ejb</groupId>
			<artifactId>jboss-ejb-api_3.2_spec</artifactId>
			<version>1.0.0.Final</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.jboss.ejb3</groupId>
			<artifactId>jboss-ejb3-ext-api</artifactId>
			<version>2.2.0.Final</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.yaml</groupId>
			<artifactId>snakeyaml</artifactId>
			<version>1.15</version>
		</dependency>

	</dependencies>
</project>
/span> clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1 # application image image: onap/aai-graphadmin:1.12.3 pullPolicy: Always restartPolicy: Always flavor: small flavorOverride: small # default number of instances replicaCount: 1 # the minimum number of seconds that a newly created Pod should be ready minReadySeconds: 30 updateStrategy: type: RollingUpdate # The number of pods that can be unavailable during the update process maxUnavailable: 0 # The number of pods that can be created above the desired amount of pods during an update maxSurge: 1 # Configuration for the graphadmin deployment config: # Specify the profiles for the graphadmin microservice profiles: active: dmaap # Specifies the timeout limit for the REST API requests timeout: enabled: true limit: 180000 # Default maximum records to fix for the data grooming and dupeTool maxFix: dataGrooming: 150 dupeTool: 25 # Default number of sleep minutes for dataGrooming and dupeTool sleepMinutes: dataGrooming: 7 dupeTool: 7 # Cron specific attributes to be triggered for the graphadmin spring cron tasks cron: # Specifies that the data grooming tool which runs duplicates should be enabled dataGrooming: enabled: true # Specifies that the data snapshot which takes a graphson snapshot should be enabled dataSnapshot: enabled: true params: JUST_TAKE_SNAPSHOT # Data cleanup which zips snapshots older than x days and deletes older than y days dataCleanup: dataGrooming: enabled: true # Zips up the dataGrooming files older than 5 days ageZip: 5 # Deletes the dataGrooming files older than 30 days ageDelete: 30 dataSnapshot: enabled: true # Zips up the dataSnapshot graphson files older than 5 days ageZip: 5 # Deletes the dataSnapshot graphson files older than 30 days ageDelete: 30 # Concurrency lock control flag aai: lock: uri: enabled: false nodeSelector: {} affinity: {} # probe configuration parameters liveness: initialDelaySeconds: 60 periodSeconds: 60 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: false readiness: initialDelaySeconds: 60 periodSeconds: 10 service: type: ClusterIP # REST API port for the graphadmin microservice portName: http internalPort: 8449 portName2: tcp-5005 internalPort2: 5005 portName3: http-graphadmin internalPort3: 8448 terminationGracePeriodSeconds: 120 ingress: enabled: false # No inbound communications. serviceMesh: authorizationPolicy: authorizedPrincipals: [] persistence: enabled: true ## A manually managed Persistent Volume and Claim ## Requires persistence.enabled: true ## If defined, PVC must be created manually before volume will be bound # existingClaim: volumeReclaimPolicy: Retain ## database data Persistent Volume Storage Class ## If defined, storageClassName: <storageClass> ## If set to "-", storageClassName: "", which disables dynamic provisioning ## If undefined (the default) or set to null, no storageClassName spec is ## set, choosing the default provisioner. (gp2 on AWS, standard on ## GKE, AWS & OpenStack) ## # storageClass: "-" accessMode: ReadWriteMany size: 2Gi mountPath: /dockerdata-nfs mountSubPath: aai/aai-graphadmin mountSubPath1: aai/migration # To make logback capping values configurable logback: logToFileEnabled: false maxHistory: 7 totalSizeCap: 6GB queueSize: 1000 accessLogback: logToFileEnabled: false maxHistory: 7 totalSizeCap: 6GB resources: small: limits: cpu: 1 memory: 4Gi requests: cpu: 0.5 memory: 1.6Gi large: limits: cpu: 2 memory: 8Gi requests: cpu: 1 memory: 3.2Gi unlimited: {} metrics: serviceMonitor: enabled: false targetPort: 8448 path: /prometheus basicAuth: enabled: false selector: app: '{{ include "common.name" . }}' chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' release: '{{ include "common.release" . }}' heritage: '{{ .Release.Service }}' relabelings: [] metricRelabelings: [] # Not fully used for now securityContext: user_id: 1000 group_id: 1000 #Pods Service Account serviceAccount: nameOverride: aai-graphadmin roles: - read #Log configuration log: path: /var/log/onap logConfigMapNamePrefix: '{{ include "common.fullname" . }}'