blob: 54eeee245c5e36cf9727aa4652dbf537db98ce2c [file] [log] [blame]
Rashmi Pujarc92e24f2019-06-04 16:31:54 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Ram Krishna Vermae5550392020-04-03 13:35:33 -04004 Copyright (C) 2019-2020 Bell Canada.
HOCKLAc5475f12020-01-10 12:16:00 -06005 Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
Rashmi Pujarc92e24f2019-06-04 16:31:54 -04006 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19-->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <artifactId>model-impl</artifactId>
27 <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
Ram Krishna Vermae14fac52020-05-19 15:16:54 -040028 <version>2.3.0-SNAPSHOT</version>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -040029 </parent>
30
31 <artifactId>cds</artifactId>
32 <name>${project.artifactId}</name>
33 <description>gRPC client implementation to send process message to CDS blueprint processor gRPC endpoint.</description>
34
35 <properties>
36 <grpc.version>1.17.1</grpc.version>
37 <protobuf.version>3.6.1</protobuf.version>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -040038 </properties>
39
40 <dependencies>
41 <!-- CDS dependencies -->
42 <dependency>
43 <groupId>org.onap.ccsdk.cds.components</groupId>
44 <artifactId>proto-definition</artifactId>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -040045 </dependency>
46
47 <!-- protobuf dependencies -->
48 <dependency>
49 <groupId>com.google.protobuf</groupId>
50 <artifactId>protobuf-java</artifactId>
51 <version>${protobuf.version}</version>
52 </dependency>
53
54 <!-- gRPC dependencies -->
Rashmi Pujar962cfed2019-09-10 19:28:13 -040055 <!-- io.netty artifacts have security issues and are transitive dependencies from io.grpc:grpc-netty:1.17.1.
56 Override io.netty dependencies and add exclusions to io.grpc:grpc-netty where io.netty version is mandated. -->
57 <dependency>
58 <groupId>io.netty</groupId>
59 <artifactId>netty-codec-http2</artifactId>
Rashmi Pujar962cfed2019-09-10 19:28:13 -040060 </dependency>
61 <dependency>
62 <groupId>io.netty</groupId>
63 <artifactId>netty-handler-proxy</artifactId>
Rashmi Pujar962cfed2019-09-10 19:28:13 -040064 </dependency>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -040065 <dependency>
66 <groupId>io.grpc</groupId>
67 <artifactId>grpc-protobuf</artifactId>
68 <version>${grpc.version}</version>
69 <exclusions>
70 <exclusion>
71 <groupId>com.google.code.findbugs</groupId>
72 <artifactId>jsr305</artifactId>
73 </exclusion>
74 </exclusions>
75 </dependency>
76 <dependency>
77 <groupId>io.grpc</groupId>
78 <artifactId>grpc-stub</artifactId>
79 <version>${grpc.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>io.grpc</groupId>
83 <artifactId>grpc-netty</artifactId>
84 <version>${grpc.version}</version>
Rashmi Pujar962cfed2019-09-10 19:28:13 -040085 <exclusions>
86 <exclusion>
87 <groupId>io.netty</groupId>
88 <artifactId>netty-codec-http2</artifactId>
89 </exclusion>
90 </exclusions>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -040091 </dependency>
92 <dependency>
93 <groupId>io.grpc</groupId>
94 <artifactId>grpc-testing</artifactId>
95 <version>${grpc.version}</version>
96 <scope>test</scope>
97 </dependency>
98
99 <!-- Policy dependencies -->
100 <dependency>
101 <groupId>org.onap.policy.common</groupId>
102 <artifactId>common-parameters</artifactId>
103 <version>${policy.common.version}</version>
104 </dependency>
Jim Hahne887a0c2020-04-17 15:09:21 -0400105 <dependency>
106 <groupId>org.onap.policy.common</groupId>
107 <artifactId>policy-endpoints</artifactId>
108 <version>${policy.common.version}</version>
Jim Hahne887a0c2020-04-17 15:09:21 -0400109 </dependency>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -0400110
111 <!-- junit dependencies -->
112 <dependency>
113 <groupId>org.mockito</groupId>
114 <artifactId>mockito-core</artifactId>
Rashmi Pujarc92e24f2019-06-04 16:31:54 -0400115 <scope>test</scope>
116 </dependency>
117 </dependencies>
118</project>