Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
Ram Krishna Verma | e555039 | 2020-04-03 13:35:33 -0400 | [diff] [blame] | 4 | Copyright (C) 2019-2020 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> |
Ram Krishna Verma | e14fac5 | 2020-05-19 15:16:54 -0400 | [diff] [blame] | 28 | <version>2.3.0-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 | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | <!-- CDS dependencies --> |
| 42 | <dependency> |
| 43 | <groupId>org.onap.ccsdk.cds.components</groupId> |
| 44 | <artifactId>proto-definition</artifactId> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 45 | </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 Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 55 | <!-- 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 Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>io.netty</groupId> |
| 63 | <artifactId>netty-handler-proxy</artifactId> |
Rashmi Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 64 | </dependency> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 65 | <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 Pujar | 962cfed | 2019-09-10 19:28:13 -0400 | [diff] [blame] | 85 | <exclusions> |
| 86 | <exclusion> |
| 87 | <groupId>io.netty</groupId> |
| 88 | <artifactId>netty-codec-http2</artifactId> |
| 89 | </exclusion> |
| 90 | </exclusions> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 91 | </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 Hahn | e887a0c | 2020-04-17 15:09:21 -0400 | [diff] [blame] | 105 | <dependency> |
| 106 | <groupId>org.onap.policy.common</groupId> |
| 107 | <artifactId>policy-endpoints</artifactId> |
| 108 | <version>${policy.common.version}</version> |
Jim Hahn | e887a0c | 2020-04-17 15:09:21 -0400 | [diff] [blame] | 109 | </dependency> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 110 | |
| 111 | <!-- junit dependencies --> |
| 112 | <dependency> |
| 113 | <groupId>org.mockito</groupId> |
| 114 | <artifactId>mockito-core</artifactId> |
Rashmi Pujar | c92e24f | 2019-06-04 16:31:54 -0400 | [diff] [blame] | 115 | <scope>test</scope> |
| 116 | </dependency> |
| 117 | </dependencies> |
| 118 | </project> |