diff options
author | Bruno Sakoto <bruno.sakoto@bell.ca> | 2019-09-27 16:15:49 -0400 |
---|---|---|
committer | Bruno Sakoto <bruno.sakoto@bell.ca> | 2019-10-16 21:48:07 -0400 |
commit | 636a1b2fcafa5249cf2bf380dfb6e20f6fe98691 (patch) | |
tree | 484d505efe1727cd288c26d353bc2613c2f02bef /controlloop/common/feature-controlloop-management | |
parent | 112d8b48a4515773e769e088df2e5a5ca6f85f63 (diff) |
Integrate cds actor service provider
* Add request enrichment with aai service instance id and vnf id
* Implement cds grpc request
* Implement VfwControlLoopCdsTest
Issue-ID: POLICY-2088
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ib44d447d6a3a70ff800a5760032b676fdfa32d9c
Diffstat (limited to 'controlloop/common/feature-controlloop-management')
-rw-r--r-- | controlloop/common/feature-controlloop-management/pom.xml | 16 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/controlloop/common/feature-controlloop-management/pom.xml b/controlloop/common/feature-controlloop-management/pom.xml index bf43f20dc..24f7a1792 100644 --- a/controlloop/common/feature-controlloop-management/pom.xml +++ b/controlloop/common/feature-controlloop-management/pom.xml @@ -245,6 +245,17 @@ </exclusions> </dependency> <dependency> + <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId> + <artifactId>actor.cds</artifactId> + <version>${policy.models.version}</version> + <exclusions> + <exclusion> + <artifactId>guava</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.onap.policy.models.policy-models-interactions</groupId> <artifactId>model-yaml</artifactId> <version>${policy.models.version}</version> @@ -266,6 +277,11 @@ <scope>provided</scope> </dependency> <dependency> + <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> + <artifactId>cds</artifactId> + <version>${policy.models.version}</version> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment b/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment index 84bef12f9..4a0916895 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment @@ -3,6 +3,7 @@ # ONAP # ================================================================================ # Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. +# Modifications Copyright (C) 2019 Bell Canada. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -51,3 +52,9 @@ sdnc.username=${env:SDNC_USERNAME} sdnc.password=${env:SDNC_PASSWORD} aai.customQuery=true + +cds.grpcHost=${env:CDS_GRPC_HOST} +cds.grpcPort=${env:CDS_GRPC_PORT} +cds.grpcUsername=${env:CDS_GRPC_USERNAME} +cds.grpcPassword=${env:CDS_GRPC_PASSWORD} +cds.grpcTimeout=10 |