Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (C) 2019 Bell Canada. |
HOCKLA | c5475f1 | 2020-01-10 12:16:00 -0600 | [diff] [blame^] | 5 | Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 6 | ================================================================================ |
| 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> |
HOCKLA | c5475f1 | 2020-01-10 12:16:00 -0600 | [diff] [blame^] | 28 | <version>2.2.1-SNAPSHOT</version> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 29 | </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 Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 38 | <grpc.netty.version>4.1.39.Final</grpc.netty.version> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 39 | </properties> |
| 40 | |
| 41 | <dependencies> |
| 42 | <!-- CDS dependencies --> |
| 43 | <dependency> |
| 44 | <groupId>org.onap.ccsdk.cds.components</groupId> |
| 45 | <artifactId>proto-definition</artifactId> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 46 | </dependency> |
| 47 | |
| 48 | <!-- protobuf dependencies --> |
| 49 | <dependency> |
| 50 | <groupId>com.google.protobuf</groupId> |
| 51 | <artifactId>protobuf-java</artifactId> |
| 52 | <version>${protobuf.version}</version> |
| 53 | </dependency> |
| 54 | |
| 55 | <!-- gRPC dependencies --> |
Rashmi Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 56 | <!-- io.netty artifacts have security issues and are transitive dependencies from io.grpc:grpc-netty:1.17.1. |
| 57 | Override io.netty dependencies and add exclusions to io.grpc:grpc-netty where io.netty version is mandated. --> |
| 58 | <dependency> |
| 59 | <groupId>io.netty</groupId> |
| 60 | <artifactId>netty-codec-http2</artifactId> |
| 61 | <version>${grpc.netty.version}</version> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>io.netty</groupId> |
| 65 | <artifactId>netty-handler-proxy</artifactId> |
| 66 | <version>${grpc.netty.version}</version> |
| 67 | </dependency> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 68 | <dependency> |
| 69 | <groupId>io.grpc</groupId> |
| 70 | <artifactId>grpc-protobuf</artifactId> |
| 71 | <version>${grpc.version}</version> |
| 72 | <exclusions> |
| 73 | <exclusion> |
| 74 | <groupId>com.google.code.findbugs</groupId> |
| 75 | <artifactId>jsr305</artifactId> |
| 76 | </exclusion> |
| 77 | </exclusions> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>io.grpc</groupId> |
| 81 | <artifactId>grpc-stub</artifactId> |
| 82 | <version>${grpc.version}</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>io.grpc</groupId> |
| 86 | <artifactId>grpc-netty</artifactId> |
| 87 | <version>${grpc.version}</version> |
Rashmi Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 88 | <exclusions> |
| 89 | <exclusion> |
| 90 | <groupId>io.netty</groupId> |
| 91 | <artifactId>netty-codec-http2</artifactId> |
| 92 | </exclusion> |
| 93 | </exclusions> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>io.grpc</groupId> |
| 97 | <artifactId>grpc-testing</artifactId> |
| 98 | <version>${grpc.version}</version> |
| 99 | <scope>test</scope> |
| 100 | </dependency> |
| 101 | |
| 102 | <!-- Policy dependencies --> |
| 103 | <dependency> |
| 104 | <groupId>org.onap.policy.common</groupId> |
| 105 | <artifactId>common-parameters</artifactId> |
| 106 | <version>${policy.common.version}</version> |
| 107 | </dependency> |
| 108 | |
| 109 | <!-- junit dependencies --> |
| 110 | <dependency> |
| 111 | <groupId>org.mockito</groupId> |
| 112 | <artifactId>mockito-core</artifactId> |
| 113 | <version>2.13.0</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | </dependencies> |
| 117 | </project> |