aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop
AgeCommit message (Collapse)AuthorFilesLines
2019-05-16Incorrect SDNC API called for CCVPN Bandwidth on demand policyVidyashree Rama1-2/+2
Incorrect SDNC API called for CCVPN Bandwidth on demand policy Issue-ID: POLICY-1774 Change-Id: I4ec0aa8ac6e1cabd4543ce2de9465a242dbeb69a Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-05-16Step snapshot version of drools-applicationsliamfallon23-24/+24
Issue-ID: POLICY-1630 Change-Id: I358a9f71dd10eb7b803d28e020911013c060deac Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-15Force-pull the released 1.4.0 drools image.jhh1-0/+4
Change-Id: I63d29695ef45674b16f70a1e707d10fde4dbc0b0 Issue-ID: POLICY-1630 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-15Set drools base image to released 1.4.0jhh1-1/+1
Change-Id: I03f1f2ba20d5deba95cc771138cafa210a7ada36 Issue-ID: POLICY-1630 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-08Add payload to vFW policy yamlJim Hahn406-45582/+12
Added new "streams" payload to vFW policy yaml files. Removed references to pg-streams. Also deleted directories that were moved to policy/models. Also removed references to trafficgenerator. Updated licenses. Removed some trailing whitespace. Change-Id: I6becaa573628eee677f0959fadf86f9a9f032f88 Issue-ID: POLICY-1752 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-08Merge "Add debugging of REST call"Jorge Hernandez1-1/+7
2019-05-08Add debugging of REST callPamela Dragosh1-1/+7
Debug should really be info not only to assist with debugging but it really should be tracked in the logs. Issue-ID: POLICY-1730 Change-Id: Ib94a60d67820747e594a6ea513e1fdaf1a4f6f48 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-08request-action parameter value is changed in SDNCVidyashree Rama1-2/+1
Enum name SdwanBWPolicyChange changed to SdwanBandwidthChange. Change-Id: I77eb3a4d332a3ce21f30230a284cd08611f23d98 Issue-ID: POLICY-1750 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-05-03Merge "Change guard pdp rest to new api"Jorge Hernandez11-525/+113
2019-05-03Change guard pdp rest to new apiPamela Dragosh11-525/+113
The guard PDP REST call must be changed to support the new api. Needed to clean out quite a bit of unnecessary code. In addition, there never should be an Indeterminate response coming back anymore. Issue-ID: POLICY-1730 Change-Id: I14b3ad39a803646cfffaba9b77cc2aac79e79bdf Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-02Guard config to new PDP-Xjhh1-2/+2
Change-Id: Ieae5fe567bcb4fcbd0e439dcd6ff71e2435af702 Issue-ID: POLICY-1731 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-02Make sure database jar is packaged.jhh2-1/+2
Change-Id: I73c53ec915642a47b9d6400ae195db29b176cf21 Issue-ID: POLICY-1731 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-29Fix sonar bug and upgrade parentPamela Dragosh4-1/+18
* Fix simple sonar bug for logging errors * Private constructors to hide implicit. * Not enough arguments for debug statement * Upgrade to policy/parent released version Issue-ID: POLICY-1700 Change-Id: Id8040c2aa0abdbe4946db60f97cb279974817447 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-26New BUILD_VERSION needed as fixed in parent imagejhh3-3/+5
BUILD_VERSION could not be used in ENV variable as it is cooked in the base image itself. Need to create a new one to reflect the drools build to get by. Some minor additional changes as to exit shell when a docker command fails for clarity when executing these operations is added as well. Change-Id: Ic8dfc03bc0563c088d55b1991a0f8c431ab0fab2 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-25Match up ControlLoopParams against ToscaPolicyjhh7-57/+219
Change-Id: Ia23a5b90b452bcafe2a8aa660598697ebfb07431 Issue-ID: POLICY-1691 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-15Removing no longer needed demo code.Joshua Reich22-4447/+2
Coordination code has been merged into xacml-pdp, this code is no longer needed. Change-Id: I96995c89d7248744c4261b7c02348c0d30d545b5 Issue-ID: POLICY-1471 Signed-off-by: Joshua Reich <jreich@research.att.com>
2019-04-14Modify dependencies to avoid enabled features failjhh3-1/+34
The drl change is only partial just to recognize Tosca policies. Change-Id: I5d3b8071394a9ea14638170e04d74e4c6b4ad028 Issue-ID: POLICY-1642 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-11Merge "Drools-App changes to support CQ"Jorge Hernandez6-80/+847
2019-04-11Drools-App changes to support CQpramod.jamkhedkar6-80/+847
Changes in event manager to support Aai custom query Issue-ID: POLICY-1278 Change-Id: I693dd6b94f1fa6f24b08a389db099914636cf2ba Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-04-11Cleanup PIP/Database-related code.Joshua Reich42-1817/+1519
Ensure database schema/naming consistent across repos. Ensure PIP implementation consistent across repos. Cleanup unused imports and made sure licenses are ok. Issue-ID: POLICY-1471 Change-Id: I20a325fe3e66e6ae400e603ec366315aea716993 Signed-off-by: Joshua Reich <jreich@research.att.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-10Parse new model ids from operation policyvamshi.nemalikonda3-2/+40
Takes VFModule info from policy yaml,instead AAI. Change-Id: If745b3ba32562cbc37571cea29ec7797ee697e88 Issue-ID: POLICY-1545 Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
2019-04-08Code changes done for OOF SON use caseSaravanan A21-20/+969
Added a new control loop for SON ANR changes Introducing control loop response flow using DCAE_CL_RSP topic Change-Id: I81d0e92ce2f5c489596ad70d7b523cab0d8436ce Issue-ID: POLICY-1463 Signed-off-by: Saravanan A <saravanan.a75@wipro.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-08update dependency to policy/modelsshaoqiu16-189/+275
Update the dependency of model-impl from drools-applications to policy/models. Issue-ID: POLICY-1264 Change-Id: I07fcb29501499a97689d2d27c845bf8e411e7825 Signed-off-by: shaoqiu <tim.huang@est.tech> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-05update dependency on drools-applications/tmpHengye6-114/+121
update dependencies from policy/models Issue-ID: POLICY-1264 Change-Id: Idd7809b11ae9e63ca75d49d78a9e7b52a63e49b9 Signed-off-by: Hengye <yehui.wang@est.tech> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-05Merge "Add CCVPN Bandwidth on demand policy"Pamela Dragosh21-25/+917
2019-04-05Add CCVPN Bandwidth on demand policyVidyashree Rama21-25/+917
CCVPN Bandwidth on demand policy Issue-ID: POLICY-1405 Change-Id: I67bceb35e5a849933b3e46772c9cbbbaab1e9a75 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-04Add lifecycle feature to image.jhh2-3/+3
Change-Id: I0c3ea69935dcaca402061d9ea9a20db7ca022603 Issue-ID: POLICY-1608 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-01Rename "casablanca" controller to "usecases"jhh47-52/+52
Change-Id: I41487becd1705fbe725023798a3ea10f4638a6af Issue-ID: POLICY-1474 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-03-25do not enable controlloop-utils featureJorge Hernandez1-2/+2
Change-Id: Ia8ce37e94f0920af7b3a11241d4ca1b4846d55df Issue-ID: POLICY-1613 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-19Change LoggerFactoryWrapper to NetLoggerUtilDaniel Cruz6-46/+40
Removed LoggerFactoryWrapper references to use NetLoggerUtil. Issue-ID: POLICY-1499 Change-Id: I6f7066f4523736672e17d2e1e609c38c44852769 Signed-off-by: Daniel Cruz <dc443y@att.com>
2019-03-15Baking "runtime" software into imageJorge Hernandez4-7/+247
Change-Id: I329596e6c23283cc4c31d689c621d7b4d1a298d7 Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-08Merge "Fix policy doesn't send payload to APPC"Pamela Dragosh2-4/+127
2019-03-07Pull right version of pdpd image in docker-clJorge Hernandez1-2/+2
Change-Id: I0064001d2eb5872e5df357be3530c4841e26e1af Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Fix policy doesn't send payload to APPCAdam Wudzinski2-4/+127
Fix policy doesn't send payload to APPC using AppcLcm Change-Id: Ic3cb59203a412297f40f77d744cc86e4dddff7a2 Issue-ID: POLICY-1522 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
2019-03-07Place most of the binaries in the pdpd-cl imageJorge Hernandez1-3/+29
This is work in progress although most of the software will be loaded with these changes. pdpd-cl is not automatically started just yet. It will be done in another review. Change-Id: I2ae527e8e8978e817963de74a1682b84137bd4b4 Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-04Merge "Add controller logger configurations"Jorge Hernandez2-0/+112
2019-03-01Add controller logger configurationsDaniel Cruz2-0/+112
Logger configurations have been added for each feature that installs a controller. The convention that the controller logging feature looks for in a controller logback config file is "logback-include-.*.xml". Issue-ID: POLICY-1427 Change-Id: Ic37686bf6c1063ba5162fdd494b7465c3a82da01 Signed-off-by: Daniel Cruz <dc443y@att.com>
2019-03-01Replace hard install vars with environment varsJorge Hernandez3-94/+63
Change-Id: Iabff9e820e733a3e9f54018040f87a542a187de3 Issue-ID: POLICY-1543 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-27YAML clc directive spec/compilation to XACMLJoshua Reich14-137/+665
Created java definition of CoordinationDirective class. Initial library supports one coordination directive FirstBlocksSecond, prototype for this directive added as firstBlocksSecond.xml. Functions for compiling example yaml directive are in SupportUtil. Change-Id: If7c22402729670403510f1fa2f7f43de6a4a522c Issue-ID: POLICY-1173 Signed-off-by: Joshua Reich <jreich@research.att.com>
2019-02-22Merge "pull + tag base image for ci workings"Pamela Dragosh2-9/+15
2019-02-21pull + tag base image for ci workingsJorge Hernandez2-9/+15
Change-Id: Id8759b1ad7a2ddaccc0739074eca7b00124c45ab Issue-ID: POLICY-1537 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-18Change Controller FiltersDaniel Cruz6-29/+29
The controller properties files have been updated to use json-path filters in support of the drools-pdp infrastructure changes. Issue-ID: POLICY-1489 Change-Id: I21a7ff18bc3716bd675a1d740e7acdf971394e92 Signed-off-by: Daniel Cruz <dc443y@att.com>
2019-02-18Removed null custom codersJim Hahn10-41/+8
Some code still referenced the customJacksonCoder() method, which has been removed from drools-pdp. However, all the code did was set the jackson & gson coders to null, which is unnecessary, as that is the default value for both. Thus the code was removed altogether so-as not to cause issues in the future. Updated license dates. Change-Id: Ie6f6bc8360890485ca50a751477650af7387b397 Issue-ID: POLICY-1429 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-11Merge "Consolidate xacml dependencies"Pamela Dragosh8-140/+38
2019-02-11Merge "basic image with CL app preloaded"Pamela Dragosh7-3/+378
2019-02-08basic image with CL app preloadedJorge Hernandez7-3/+378
The image can replace the drools-pdp and only overrides what is necessary to make sure the CL application is in the image. There should be no functional difference. Tooling to operate with docker images is provided as well, for example: controlloop/tools/docker-cl --help BUILD INFO: image: policy-pdpd-cl image-path: controlloop/packages/docker-controlloop/target/policy-pdpd-cl image: policy-pdpd-cl registry: nexus3.onap.org:10003 patch: 1.4.0-SNAPSHOT version: 1.4-SNAPSHOT timestamp: 20190207T220835 TAGS: BUILD: verify: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z merge: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z release: onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-STAGING-20190207T220835Z PUSH: verify: merge: nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-20190207T220835Z release: nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4-SNAPSHOT-latest nexus3.onap.org:10003/onap/policy-pdpd-cl:1.4.0-SNAPSHOT-STAGING-20190207T220835Z SYNTAX: docker-cl [--help|-h] [--build|-b <repo:tag>] [--push|-p <repo:tag>] [--verify|-v] [--merge|-m] [--release|-r] [--run <volume-full-path>] [--cmd <volume-full-path> <cmd>] Change-Id: I0917c0bca212fc0b543e52ae1615c513d43f7d93 Issue-ID: POLICY-1505 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-08Consolidate xacml dependenciesJim Hahn8-140/+38
The xacml dependency appeared in multiple drools-applications pom files, with different exclusion lists. The dependencies have been consolidated into a single pom, with a combined exclusion list. Added comment to the exclusion list. Change-Id: I2a5a66619b376879b44c5e0ce064d7e52c4482bf Issue-ID: POLICY-1429 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-08Remove msb project from drools-applicationsJim Hahn11-669/+0
The msb project is no longer needed, so it has been removed. Change-Id: I54b9e2210f11a3c95479fbb83e0564afdfbc5728 Issue-ID: POLICY-1429 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-04Assign control loop domain to rules artifactJorge Hernandez1-1/+1
Change-Id: Ia14fe420c54d0535c5f73f572e6ddc9d5797dd67 Issue-ID: POLICY-1500 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-02Use helper class to retrieve network loggerKrzysztof Opasiak6-43/+50
Instead of abusing constant from Topic interface use new dedicated helper class to retrive network logger. Issue-ID: POLICY-1486 Depends-On: Ic1f07466e1ab6abcc00098e617f0e82da19e852d Change-Id: I453a14c3dda337f2a4d08914ead32b37adc17353 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>