summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07Release policy/drools-applications1.5.1jenkins-releng25-25/+25
2019-08-05Update to latest common/models/drools-pdp released versionsjhh2-4/+4
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1bfe5da619a00b12ab7df0d96879f1531a0e68a9
2019-08-01Add AAI test tooling to telemetry.jhh4-24/+142
Issue-ID: POLICY-1956 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Icceab57db9c19364afbedbf63ecc8e52c1572cba Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-26Add lombok.config to drools-applicationsJim Hahn1-0/+2
This prevents sonar from checking lombok annotations for code coverage. Change-Id: I5aaddfb483069f8a3aff12531a1576fc26ced869 Issue-ID: POLICY-1938 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-23Pick up latest changes from drools imagejhh1-1/+1
service API mismatches cause notclassfound errors. Issue-ID: POLICY-1940 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I55d0467d3c1f496c4cb0e13c7c96b85e03459660
2019-07-18change json path to delete regex matchingjhh4-9/+9
This is necessary as the explicit "match-all" regular expressions causes events to be accepted in error, even when the json field is not present in the document. Change-Id: Idf4b408850514f49ebe8375d2870e116e793a935 Issue-ID: POLICY-1830 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-18Rename XxxAPI to XxxApi in drools-applicationsJim Hahn11-25/+24
Now that feature APIs have been renamed to XxxApi in drools-pdp, the same must be done with the META-INF files in drools-applications. Also updated references to XxxApi class names within java code. Change-Id: I7ccc09c36f9b903327b5e92189d0bf2956da6cea Issue-ID: POLICY-1074 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-09Fix drools-applications due to sonar changes in commonJim Hahn18-162/+149
Fixed breakages due to changes made in policy/common to satisfy sonar. Repointed op.pom to correct parent, which allowed the other version to be dropped and properties used in the rest of the pom. Change-Id: Ib19c228c38b7f27fb9e9f508e5cf2566a8939cdd Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-02Upgrade to commons/models/drools-pdp snapshotsPamela Dragosh1-3/+3
Use the latest snapshots to keep in step with those artifacts. Issue-ID: POLICY-1737 Change-Id: I7927fa7a093176f9da81cbaefc9dbf9f406d9cc1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Bump drools-apps to 1.5.1-SNAPSHOTPamela Dragosh26-26/+26
Released 1.5.0 Issue-ID: POLICY-1737 Change-Id: I41b9af7672985a681bf4e6ce4ceddc8798caf281 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Merge "Remove sleep() from junit tests"1.5.0Jim Hahn3-12/+21
2019-06-28Merge "Upgrade to released deps"Jim Hahn2-4/+4
2019-06-28Upgrade to released depsPamela Dragosh2-4/+4
Drools-pdp 1.5.0, common 1.5.0 and models 2.1.0 Issue-ID: POLICY-1737 Change-Id: I19caa0c5a48ff81c60f1974b09fe386c519b1341 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-28Remove sleep() from junit testsJim Hahn3-12/+21
Replaced sleep() calls with awaitability.await(). Also shortened the timeout, for the test, from 10s to 2s. Change-Id: I5d9cb84b405782f174b6230294e5d6a47938c4b8 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-27Fix some sonar issues in drools-applicationsJim Hahn30-1349/+1232
Added coverage to: - feature-controlloop-management Fixed sonar issues, but didn't add coverage to: - feature-controlloop-trans - eventmanager - guard Change-Id: I12f09c4a533e838c6fb9762ba56194e51ce864eb Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-26Fix sonar issues in drools-applications databaseJim Hahn10-194/+782
Refactored to eliminate duplicate code blocks. Added coverage tests. Change-Id: I99d2b6f68fee38a1dbbf038ad29d1dfe87fb4ae7 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-20Merge "Upgrade to release 3.0.0 parent"Jim Hahn1-1/+1
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: I017bce815fbaa275d0323a29cf92bf7c4fd42f0a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-20Set timeout to CL timeout if zeroJim Hahn6-8/+138
Modified the rules to set the operational timeout to the overall CL timeout if the operational timeout is zero. Added code to check for zero timeout for the overall CL, too. Change-Id: I28d41632f59e9bc2fce953267883d567abc92a49 Issue-ID: POLICY-1859 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-18Fix build issues in drools-applications due to changes in policy/models repoRashmi Pujar2-32/+32
Issue-ID: POLICY-1791 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ife7cbb07c3bb674257bb1979d80f4f8a7ddfc3a5
2019-06-17Change getCanonicalName() to getName() in drools-appsJim Hahn4-6/+8
Per javadocs, getName() should generally be used instead of Class.getCanonicalName(). This change only applies to classes; it does not apply to File objects. Change-Id: Ie402ab9239b2d5149c420d495f16bb82417d2d25 Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-13Fix fieldname for guardPamela Dragosh1-1/+1
Should be clname Issue-ID: POLICY-1855 Change-Id: I17d59f33e761386bad9a30a07ec505ac66c6215a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit 5eaecb6bb0c0cfca4cf48f23b3b6b32dc8213d0b) Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-12Merge "Use io.fabric8:docker-maven-plugin to build and push docker images"Pamela Dragosh7-112/+218
2019-06-11Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar7-112/+218
Addressed POLICY-1808 for drools-applications to fix the tag to be major.minor-SNAPSHOT-latest Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I6c9ddec9a2e7a73ba68343eb98e0145ce811868e
2019-06-06Remove nexus staging pluginpdragosh1-10/+0
Not used Issue-ID: POLICY-1737 Signed-off-by: pdragosh <pdragosh@research.att.com> Change-Id: Ic2ef8dba1413188175097969788128d60450404f
2019-05-31Bump version to 1.5.0Pamela Dragosh27-33/+33
Due to dublin branch. Issue-ID: POLICY-1747 Change-Id: I650e8e293551b61a047bd3796324749ed366c9a5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-24Bump to 1.4.2-SNAPSHOTPamela Dragosh28-29/+29
Released 1.4.1 Issue-ID: POLICY-1700 Change-Id: I9fd966de8165a5f387bb74fedc22a7502d82b870 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-22Update INFO.yaml to add Jim and Ram1.4.1liamfallon1-1/+17
Issue-ID: POLICY-1775 Change-Id: Ic66a5ce117f469d06134d1951b97d63c69747600 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-05-21Check for null vserver.pramod.jamkhedkar2-0/+21
Handles the case where vserver name is not present in onset mesage. Issue-ID: POLICY-1778 Change-Id: Ie7a1b9d207860a70b49309049b512fc8ce05a984 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2019-05-17PDP-X guard url is retrieved incorrectly.jhh3-2/+3
Change-Id: Ibf3df9288268ca7c8edfc9007e15c31802a4e5e1 Issue-ID: POLICY-1780 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
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-applicationsliamfallon28-29/+29
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-15Upgrade to release artifacts1.4.0Pamela Dragosh1-3/+3
Policy/models 2.0.0 and policy/drools-pdp 1.4.0 released artifacts. Issue-ID: POLICY-1630 Change-Id: Ifce282368a9ccbe27b8a3e907f18d39a4ac37b14 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-13Upgrade policy/common in drools-applicationsramverma1-1/+1
Change-Id: Ib4f6c8d1ca7c62d88e24d8f23adaef31a17d14d1 Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
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 Dragosh5-2/+19
* 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