jhh [Wed, 7 Aug 2019 19:31:46 +0000 (14:31 -0500)]
Add release file 1.5.1
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7c54ccd8a3c6357596a172038baf0663edf204ca
jhh [Thu, 1 Aug 2019 20:20:21 +0000 (15:20 -0500)]
Add AAI test tooling to telemetry.
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>
Jim Hahn [Fri, 26 Jul 2019 13:01:45 +0000 (09:01 -0400)]
Add lombok.config to drools-applications
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>
jhh [Wed, 24 Jul 2019 00:14:05 +0000 (19:14 -0500)]
Pick up latest changes from drools image
service API mismatches cause notclassfound errors.
Issue-ID: POLICY-1940
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I55d0467d3c1f496c4cb0e13c7c96b85e03459660
jhh [Thu, 18 Jul 2019 00:32:06 +0000 (19:32 -0500)]
change json path to delete regex matching
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>
Jim Hahn [Thu, 18 Jul 2019 13:38:54 +0000 (09:38 -0400)]
Rename XxxAPI to XxxApi in drools-applications
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>
Jim Hahn [Mon, 8 Jul 2019 14:56:34 +0000 (10:56 -0400)]
Fix drools-applications due to sonar changes in common
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>
Pamela Dragosh [Tue, 2 Jul 2019 18:20:30 +0000 (14:20 -0400)]
Upgrade to commons/models/drools-pdp snapshots
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>
Pamela Dragosh [Mon, 1 Jul 2019 19:41:02 +0000 (15:41 -0400)]
Bump drools-apps to 1.5.1-SNAPSHOT
Released 1.5.0
Issue-ID: POLICY-1737
Change-Id: I41b9af7672985a681bf4e6ce4ceddc8798caf281
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Mon, 1 Jul 2019 14:02:42 +0000 (14:02 +0000)]
Merge "Remove sleep() from junit tests"
Jim Hahn [Fri, 28 Jun 2019 20:40:19 +0000 (20:40 +0000)]
Merge "Upgrade to released deps"
Pamela Dragosh [Fri, 28 Jun 2019 19:42:24 +0000 (15:42 -0400)]
Upgrade to released deps
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>
Jim Hahn [Fri, 28 Jun 2019 13:53:35 +0000 (09:53 -0400)]
Remove sleep() from junit tests
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>
Jim Hahn [Thu, 27 Jun 2019 14:52:06 +0000 (10:52 -0400)]
Fix some sonar issues in drools-applications
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>
Jim Hahn [Wed, 26 Jun 2019 15:00:18 +0000 (11:00 -0400)]
Fix sonar issues in drools-applications database
Refactored to eliminate duplicate code blocks.
Added coverage tests.
Change-Id: I99d2b6f68fee38a1dbbf038ad29d1dfe87fb4ae7
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Thu, 20 Jun 2019 21:15:18 +0000 (21:15 +0000)]
Merge "Upgrade to release 3.0.0 parent"
Pamela Dragosh [Thu, 20 Jun 2019 20:37:11 +0000 (16:37 -0400)]
Upgrade to release 3.0.0 parent
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: I017bce815fbaa275d0323a29cf92bf7c4fd42f0a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Thu, 20 Jun 2019 14:09:21 +0000 (10:09 -0400)]
Set timeout to CL timeout if zero
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>
Rashmi Pujar [Tue, 18 Jun 2019 18:53:00 +0000 (14:53 -0400)]
Fix build issues in drools-applications due to changes in policy/models repo
Issue-ID: POLICY-1791
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ife7cbb07c3bb674257bb1979d80f4f8a7ddfc3a5
Jim Hahn [Mon, 17 Jun 2019 14:03:57 +0000 (10:03 -0400)]
Change getCanonicalName() to getName() in drools-apps
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>
Pamela Dragosh [Fri, 14 Jun 2019 00:05:00 +0000 (20:05 -0400)]
Fix fieldname for guard
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>
Pamela Dragosh [Wed, 12 Jun 2019 13:18:35 +0000 (13:18 +0000)]
Merge "Use io.fabric8:docker-maven-plugin to build and push docker images"
Rashmi Pujar [Mon, 3 Jun 2019 21:14:45 +0000 (17:14 -0400)]
Use io.fabric8:docker-maven-plugin to build and push docker images
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
pdragosh [Thu, 6 Jun 2019 17:51:13 +0000 (13:51 -0400)]
Remove nexus staging plugin
Not used
Issue-ID: POLICY-1737
Signed-off-by: pdragosh <pdragosh@research.att.com>
Change-Id: Ic2ef8dba1413188175097969788128d60450404f
Pamela Dragosh [Thu, 30 May 2019 14:34:32 +0000 (10:34 -0400)]
Bump version to 1.5.0
Due to dublin branch.
Issue-ID: POLICY-1747
Change-Id: I650e8e293551b61a047bd3796324749ed366c9a5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Thu, 23 May 2019 20:32:55 +0000 (16:32 -0400)]
Bump to 1.4.2-SNAPSHOT
Released 1.4.1
Issue-ID: POLICY-1700
Change-Id: I9fd966de8165a5f387bb74fedc22a7502d82b870
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Wed, 22 May 2019 14:42:49 +0000 (14:42 +0000)]
Update INFO.yaml to add Jim and Ram
Issue-ID: POLICY-1775
Change-Id: Ic66a5ce117f469d06134d1951b97d63c69747600
Signed-off-by: liamfallon <liam.fallon@est.tech>
pramod.jamkhedkar [Tue, 21 May 2019 16:03:53 +0000 (12:03 -0400)]
Check for null vserver.
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>
jhh [Fri, 17 May 2019 19:04:48 +0000 (14:04 -0500)]
PDP-X guard url is retrieved incorrectly.
Change-Id: Ibf3df9288268ca7c8edfc9007e15c31802a4e5e1
Issue-ID: POLICY-1780
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Vidyashree Rama [Thu, 16 May 2019 05:44:55 +0000 (11:14 +0530)]
Incorrect SDNC API called for CCVPN Bandwidth on demand policy
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>
liamfallon [Thu, 16 May 2019 12:30:08 +0000 (12:30 +0000)]
Step snapshot version of drools-applications
Issue-ID: POLICY-1630
Change-Id: I358a9f71dd10eb7b803d28e020911013c060deac
Signed-off-by: liamfallon <liam.fallon@est.tech>
jhh [Wed, 15 May 2019 21:04:04 +0000 (16:04 -0500)]
Force-pull the released 1.4.0 drools image.
Change-Id: I63d29695ef45674b16f70a1e707d10fde4dbc0b0
Issue-ID: POLICY-1630
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Wed, 15 May 2019 20:10:29 +0000 (15:10 -0500)]
Set drools base image to released 1.4.0
Change-Id: I03f1f2ba20d5deba95cc771138cafa210a7ada36
Issue-ID: POLICY-1630
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Pamela Dragosh [Wed, 15 May 2019 17:57:03 +0000 (13:57 -0400)]
Upgrade to release artifacts
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>
ramverma [Mon, 13 May 2019 16:36:21 +0000 (16:36 +0000)]
Upgrade policy/common in drools-applications
Change-Id: Ib4f6c8d1ca7c62d88e24d8f23adaef31a17d14d1
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Jim Hahn [Wed, 8 May 2019 18:33:57 +0000 (14:33 -0400)]
Add payload to vFW policy yaml
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>
Jorge Hernandez [Wed, 8 May 2019 12:47:31 +0000 (12:47 +0000)]
Merge "Add debugging of REST call"
Pamela Dragosh [Wed, 8 May 2019 12:21:49 +0000 (08:21 -0400)]
Add debugging of REST call
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>
Vidyashree Rama [Wed, 8 May 2019 09:28:30 +0000 (14:58 +0530)]
request-action parameter value is changed in SDNC
Enum name SdwanBWPolicyChange changed to SdwanBandwidthChange.
Change-Id: I77eb3a4d332a3ce21f30230a284cd08611f23d98
Issue-ID: POLICY-1750
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Jorge Hernandez [Fri, 3 May 2019 17:07:03 +0000 (17:07 +0000)]
Merge "Change guard pdp rest to new api"
Pamela Dragosh [Fri, 3 May 2019 12:40:34 +0000 (08:40 -0400)]
Change guard pdp rest to new api
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>
jhh [Thu, 2 May 2019 21:00:16 +0000 (16:00 -0500)]
Guard config to new PDP-X
Change-Id: Ieae5fe567bcb4fcbd0e439dcd6ff71e2435af702
Issue-ID: POLICY-1731
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Thu, 2 May 2019 19:44:14 +0000 (14:44 -0500)]
Make sure database jar is packaged.
Change-Id: I73c53ec915642a47b9d6400ae195db29b176cf21
Issue-ID: POLICY-1731
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Pamela Dragosh [Mon, 29 Apr 2019 17:07:09 +0000 (13:07 -0400)]
Fix sonar bug and upgrade parent
* 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>
jhh [Fri, 26 Apr 2019 17:12:47 +0000 (12:12 -0500)]
New BUILD_VERSION needed as fixed in parent image
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>
jhh [Thu, 25 Apr 2019 12:45:29 +0000 (07:45 -0500)]
Match up ControlLoopParams against ToscaPolicy
Change-Id: Ia23a5b90b452bcafe2a8aa660598697ebfb07431
Issue-ID: POLICY-1691
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Joshua Reich [Mon, 15 Apr 2019 18:54:48 +0000 (11:54 -0700)]
Removing no longer needed demo code.
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>
jhh [Mon, 15 Apr 2019 02:41:14 +0000 (21:41 -0500)]
Modify dependencies to avoid enabled features fail
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>
Jorge Hernandez [Thu, 11 Apr 2019 17:48:54 +0000 (17:48 +0000)]
Merge "Drools-App changes to support CQ"
pramod.jamkhedkar [Thu, 11 Apr 2019 01:22:01 +0000 (21:22 -0400)]
Drools-App changes to support CQ
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>
Joshua Reich [Wed, 10 Apr 2019 20:38:59 +0000 (13:38 -0700)]
Cleanup PIP/Database-related code.
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>
vamshi.nemalikonda [Wed, 10 Apr 2019 11:07:08 +0000 (16:37 +0530)]
Parse new model ids from operation policy
Takes VFModule info from policy yaml,instead AAI.
Change-Id: If745b3ba32562cbc37571cea29ec7797ee697e88
Issue-ID: POLICY-1545
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Saravanan A [Fri, 5 Apr 2019 15:15:44 +0000 (20:45 +0530)]
Code changes done for OOF SON use case
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>
shaoqiu [Tue, 2 Apr 2019 12:33:04 +0000 (12:33 +0000)]
update dependency to policy/models
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>
Hengye [Thu, 4 Apr 2019 03:13:35 +0000 (03:13 +0000)]
update dependency on drools-applications/tmp
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>
Pamela Dragosh [Fri, 5 Apr 2019 11:58:19 +0000 (11:58 +0000)]
Merge "Add CCVPN Bandwidth on demand policy"
Vidyashree Rama [Tue, 2 Apr 2019 09:10:35 +0000 (14:40 +0530)]
Add CCVPN Bandwidth on demand policy
CCVPN Bandwidth on demand policy
Issue-ID: POLICY-1405
Change-Id: I67bceb35e5a849933b3e46772c9cbbbaab1e9a75
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
jhh [Thu, 4 Apr 2019 18:51:20 +0000 (13:51 -0500)]
Add lifecycle feature to image.
Change-Id: I0c3ea69935dcaca402061d9ea9a20db7ca022603
Issue-ID: POLICY-1608
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Mon, 1 Apr 2019 12:29:36 +0000 (07:29 -0500)]
Rename "casablanca" controller to "usecases"
Change-Id: I41487becd1705fbe725023798a3ea10f4638a6af
Issue-ID: POLICY-1474
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Jorge Hernandez [Tue, 26 Mar 2019 02:48:54 +0000 (21:48 -0500)]
do not enable controlloop-utils feature
Change-Id: Ia8ce37e94f0920af7b3a11241d4ca1b4846d55df
Issue-ID: POLICY-1613
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Daniel Cruz [Mon, 11 Mar 2019 20:29:14 +0000 (15:29 -0500)]
Change LoggerFactoryWrapper to NetLoggerUtil
Removed LoggerFactoryWrapper references to use NetLoggerUtil.
Issue-ID: POLICY-1499
Change-Id: I6f7066f4523736672e17d2e1e609c38c44852769
Signed-off-by: Daniel Cruz <dc443y@att.com>
Jessica Wagantall [Fri, 15 Mar 2019 20:53:48 +0000 (13:53 -0700)]
Update INFO.yaml file
Update missing information blocks and
indentation to pass verify job.
Change-Id: I89f621b7d3ca640f99e4dc34ee95aadbdf06302c
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Jorge Hernandez [Fri, 15 Mar 2019 05:23:28 +0000 (00:23 -0500)]
Baking "runtime" software into image
Change-Id: I329596e6c23283cc4c31d689c621d7b4d1a298d7
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Pamela Dragosh [Fri, 8 Mar 2019 12:58:29 +0000 (12:58 +0000)]
Merge "Fix policy doesn't send payload to APPC"
Jorge Hernandez [Thu, 7 Mar 2019 18:42:58 +0000 (12:42 -0600)]
Pull right version of pdpd image in docker-cl
Change-Id: I0064001d2eb5872e5df357be3530c4841e26e1af
Issue-ID: POLICY-1560
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Adam Wudzinski [Thu, 7 Mar 2019 15:46:28 +0000 (16:46 +0100)]
Fix policy doesn't send payload to APPC
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>
Jorge Hernandez [Thu, 7 Mar 2019 06:23:50 +0000 (00:23 -0600)]
Place most of the binaries in the pdpd-cl image
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>
Jorge Hernandez [Mon, 4 Mar 2019 16:16:29 +0000 (16:16 +0000)]
Merge "Add controller logger configurations"
Daniel Cruz [Sat, 2 Mar 2019 00:49:04 +0000 (18:49 -0600)]
Add controller logger configurations
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>
Jorge Hernandez [Fri, 1 Mar 2019 06:30:27 +0000 (00:30 -0600)]
Replace hard install vars with environment vars
Change-Id: Iabff9e820e733a3e9f54018040f87a542a187de3
Issue-ID: POLICY-1543
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Joshua Reich [Fri, 15 Feb 2019 21:40:07 +0000 (13:40 -0800)]
YAML clc directive spec/compilation to XACML
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>
Pamela Dragosh [Fri, 22 Feb 2019 15:25:15 +0000 (15:25 +0000)]
Merge "pull + tag base image for ci workings"
Jorge Hernandez [Fri, 22 Feb 2019 05:30:40 +0000 (23:30 -0600)]
pull + tag base image for ci workings
Change-Id: Id8759b1ad7a2ddaccc0739074eca7b00124c45ab
Issue-ID: POLICY-1537
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Daniel Cruz [Mon, 18 Feb 2019 17:56:18 +0000 (11:56 -0600)]
Change Controller Filters
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>
Jim Hahn [Mon, 18 Feb 2019 13:46:09 +0000 (08:46 -0500)]
Removed null custom coders
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>
Pamela Dragosh [Mon, 11 Feb 2019 17:30:26 +0000 (17:30 +0000)]
Merge "Consolidate xacml dependencies"
Pamela Dragosh [Mon, 11 Feb 2019 16:45:03 +0000 (16:45 +0000)]
Merge "basic image with CL app preloaded"
Jorge Hernandez [Thu, 7 Feb 2019 21:58:58 +0000 (15:58 -0600)]
basic image with CL app preloaded
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>
Jim Hahn [Fri, 8 Feb 2019 15:15:45 +0000 (10:15 -0500)]
Consolidate xacml dependencies
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>
Jim Hahn [Thu, 7 Feb 2019 18:53:26 +0000 (13:53 -0500)]
Remove msb project from drools-applications
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>
Jorge Hernandez [Mon, 4 Feb 2019 16:31:32 +0000 (10:31 -0600)]
Assign control loop domain to rules artifact
Change-Id: Ia14fe420c54d0535c5f73f572e6ddc9d5797dd67
Issue-ID: POLICY-1500
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Krzysztof Opasiak [Mon, 28 Jan 2019 20:24:13 +0000 (21:24 +0100)]
Use helper class to retrieve network logger
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>
Jim Hahn [Wed, 16 Jan 2019 20:25:35 +0000 (15:25 -0500)]
Remove jackson from policy/drools-applications
Excluded jackson-databind from xacml.jar dependencies.
Change-Id: Ia3eb25a33013a04e697e98dcfe6064295bfae138
Issue-ID: POLICY-1429
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 14 Jan 2019 19:30:46 +0000 (14:30 -0500)]
Remove guard checkstyle suppressions
Renamed a number of fields and methods, in the Guard classes,
to conform to camel-case format.
Also updated some toString() methods to return "xxxId=" instead
of "xxxID=", if the corresponding field names were also xxxId.
Updated license data in one changed file.
Change-Id: Idac58f8744b5523d6daed7f369026495dd357bf8
Issue-ID: POLICY-1140
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 14 Jan 2019 16:11:17 +0000 (11:11 -0500)]
Remove eventmanager checkstyle suppressions
Renamed enum class name and various method names in ControlLoopEventManager.
Change-Id: I18b4a7d30a24dfcf3b155fd662433590b9d4c769
Issue-ID: POLICY-1138
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 14 Jan 2019 14:38:23 +0000 (09:38 -0500)]
Remove model-imp/rest checkstyle suppressions
Renamed "RESTManager" class to "RestManager". This did not require
any changes to rules.
Updated license data in pom.
Change-Id: Ide59b99b8c5d939804b7540c71a686404195173c
Issue-ID: POLICY-1141
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 11 Jan 2019 16:46:55 +0000 (11:46 -0500)]
Remove model-impl/so checkstyle suppressions
Renamed classes from "SOxxx" to "SoXxx". Also renamed a few method
names to make them camelcase, too.
Updated drl files with above changes.
Change-Id: I06aa303a20911733f870947c55e01f3a2dc66fa3
Issue-ID: POLICY-1143
Signed-off-by: Jim Hahn <jrh3@att.com>
Jorge Hernandez [Fri, 11 Jan 2019 14:59:54 +0000 (14:59 +0000)]
Merge "Remove trafficgenerator checkstyle suppressions"
Liam Fallon [Fri, 11 Jan 2019 05:47:44 +0000 (05:47 +0000)]
Merge "Remove model-impl/vfc checkstyle suppressions"
Jim Hahn [Thu, 10 Jan 2019 21:29:30 +0000 (16:29 -0500)]
Remove trafficgenerator checkstyle suppressions
Changed class names from "PGxxx" to "PgXxx".
Change-Id: I1ea41e94c00ef98d68a6f6617a0173522c91f326
Issue-ID: POLICY-1144
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Thu, 10 Jan 2019 19:28:28 +0000 (14:28 -0500)]
Remove feature-cl-trans checkstyle suppressions
Extracted CacheBasedControlLoopMetricsManager into its own class file.
Change-Id: I075d423192eb7a8d44cad7ccae8db8fcfe2715f7
Issue-ID: POLICY-1139
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Thu, 10 Jan 2019 14:57:51 +0000 (09:57 -0500)]
Remove model-impl/vfc checkstyle suppressions
Entails renaming VFCxxx classes and updated drl files, as well.
Change-Id: Ib31c61a35536df22772de6090761b22beb1b561b
Issue-ID: POLICY-1145
Signed-off-by: Jim Hahn <jrh3@att.com>
Jorge Hernandez [Mon, 7 Jan 2019 17:21:18 +0000 (11:21 -0600)]
Restructuring packaged features installation
Some cleaning on the installation.
feature-controlloop-management will be installed by default and will contain
new capabilities plus common functionality from amsterdam and casablanca.
Change-Id: Ic751d3002b5b05342138c77f61209b6c32010ce9
Issue-ID: POLICY-1367
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Jorge Hernandez [Wed, 19 Dec 2018 14:15:36 +0000 (14:15 +0000)]
Merge "Add sdnc simulator in controlloop-utils"
Vidyashree Rama [Fri, 14 Dec 2018 11:01:56 +0000 (16:31 +0530)]
Add sdnc simulator in controlloop-utils
Add sdnc simulator in controlloop-utils
Issue-ID: POLICY-1356
Change-Id: I999a402370c2ebeeff75d647bd1d72c42dd598f7
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Jorge Hernandez [Thu, 13 Dec 2018 16:10:43 +0000 (10:10 -0600)]
Telemetry extension to manage Operational Policies
This is work in progress to directly work with Operational
Policies with the casablanca controller for now.
It is part of prototyping efforts to enhance the management
of control loops, but the functionality can be used in
production environments.
Change-Id: I4fcb748e162ed38ad4cc4ca22cc4e278fd4c4096
Issue-ID: POLICY-1383
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Liam Fallon [Sat, 1 Dec 2018 20:48:51 +0000 (20:48 +0000)]
Merge "Update eclipselink version in drools-apps"
Jim Hahn [Fri, 30 Nov 2018 15:41:02 +0000 (10:41 -0500)]
Update eclipselink version in drools-apps
Use eclipselink from policy parent.
Change-Id: I468688a79f2f6eb0ca0fd42dc194abc4fb5654f0
Issue-ID: POLICY-1362
Signed-off-by: Jim Hahn <jrh3@att.com>
Jorge Hernandez [Fri, 30 Nov 2018 15:15:09 +0000 (15:15 +0000)]
Merge "Reduce resp values meth complexity"
Krishnakumar Jinka [Sun, 25 Nov 2018 04:56:36 +0000 (13:56 +0900)]
Reduce resp values meth complexity
The response values determining method has more complexity
reduce it using enums. Fix build fail due to incorrect
response value. Modify LCM response code to enum. Fix
enum package. Modify status code enum. Add modification
copyright notice. Fix review comments. Add serialization key
Issue-ID: POLICY-1251
Change-Id: I49909b6dd2810dd864784afab0a328b855131501
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
Signed-off-by: krisjinka <kris.jinka@samsung.com>