1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 Copyright (C) 2019 Bell Canada.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
25 <artifactId>model-impl</artifactId>
26 <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
27 <version>2.2.0-SNAPSHOT</version>
30 <artifactId>cds</artifactId>
31 <name>${project.artifactId}</name>
32 <description>gRPC client implementation to send process message to CDS blueprint processor gRPC endpoint.</description>
35 <grpc.version>1.17.1</grpc.version>
36 <protobuf.version>3.6.1</protobuf.version>
37 <grpc.netty.version>4.1.39.Final</grpc.netty.version>
38 <ccsdk.version>0.4.4</ccsdk.version>
42 <!-- CDS dependencies -->
44 <groupId>org.onap.ccsdk.cds.components</groupId>
45 <artifactId>proto-definition</artifactId>
46 <version>${ccsdk.version}</version>
49 <!-- protobuf dependencies -->
51 <groupId>com.google.protobuf</groupId>
52 <artifactId>protobuf-java</artifactId>
53 <version>${protobuf.version}</version>
56 <!-- gRPC dependencies -->
57 <!-- io.netty artifacts have security issues and are transitive dependencies from io.grpc:grpc-netty:1.17.1.
58 Override io.netty dependencies and add exclusions to io.grpc:grpc-netty where io.netty version is mandated. -->
60 <groupId>io.netty</groupId>
61 <artifactId>netty-codec-http2</artifactId>
62 <version>${grpc.netty.version}</version>
65 <groupId>io.netty</groupId>
66 <artifactId>netty-handler-proxy</artifactId>
67 <version>${grpc.netty.version}</version>
70 <groupId>io.grpc</groupId>
71 <artifactId>grpc-protobuf</artifactId>
72 <version>${grpc.version}</version>
75 <groupId>com.google.code.findbugs</groupId>
76 <artifactId>jsr305</artifactId>
81 <groupId>io.grpc</groupId>
82 <artifactId>grpc-stub</artifactId>
83 <version>${grpc.version}</version>
86 <groupId>io.grpc</groupId>
87 <artifactId>grpc-netty</artifactId>
88 <version>${grpc.version}</version>
91 <groupId>io.netty</groupId>
92 <artifactId>netty-codec-http2</artifactId>
97 <groupId>io.grpc</groupId>
98 <artifactId>grpc-testing</artifactId>
99 <version>${grpc.version}</version>
103 <!-- Policy dependencies -->
105 <groupId>org.onap.policy.common</groupId>
106 <artifactId>common-parameters</artifactId>
107 <version>${policy.common.version}</version>
110 <!-- junit dependencies -->
112 <groupId>org.mockito</groupId>
113 <artifactId>mockito-core</artifactId>
114 <version>2.13.0</version>