jhh [Tue, 10 Dec 2019 21:38:12 +0000 (15:38 -0600)]
changes to support offline pdpd control loops
Issue-ID: POLICY-2191
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ieb390de2f3324de2de8e6e54cdc10fbf5ede4070
jhh [Mon, 9 Dec 2019 16:13:17 +0000 (10:13 -0600)]
moved proto-definition dependency
It shows in the /tmp/policy-install directory in the
docker image.
It does not need to be applied to all the drools-applications
subprojects.
Issue-ID: POLICY-2191
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia2048b6e21068a7cd5e36439af368cf024975f01
Hockla, Ali (ah999m) [Thu, 5 Dec 2019 19:51:44 +0000 (13:51 -0600)]
Point to release versions of policy/parent and policy/common
Issue-ID: POLICY-1583
Change-Id: Iaff52d57d08689dedf2759afbd3b68cff4a9d22d
Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
Jim Hahn [Fri, 22 Nov 2019 14:02:47 +0000 (14:02 +0000)]
Merge "Use dependency management for cds proto-definition artifact"
Rashmi Pujar [Thu, 21 Nov 2019 19:09:07 +0000 (14:09 -0500)]
Use dependency management for cds proto-definition artifact
Refer to: https://gerrit.onap.org/r/#/c/policy/parent/+/98733/
Issue-ID: POLICY-2254
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ia7fe2f294187f5c108781c8798890045445ab825
Jorge Hernandez [Thu, 21 Nov 2019 14:14:06 +0000 (14:14 +0000)]
Merge "use case junit tests"
jhh [Mon, 18 Nov 2019 19:28:12 +0000 (13:28 -0600)]
use case junit tests
added vcpe support
added scale out support
addressed some review comments
added vfw support
Issue-ID: POLICY-2249
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I245f8fc8d520cd2511080c9aee61bf7a0c0a1499
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Tue, 19 Nov 2019 22:43:00 +0000 (16:43 -0600)]
Build tar.gz without requiring docker image build
This allows the tar.gz to be released by LF jobs.
Issue-ID: POLICY-2250
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I0e12b05c051e12728b9b646838ce0b54579f8009
pramod.jamkhedkar [Wed, 13 Nov 2019 18:36:56 +0000 (13:36 -0500)]
Removing Named Query
Removing all the related files and necessary modifications for removing named query. The code now only supports Custom Query.
Issue-ID: POLICY-2125
Change-Id: I2d376eb955d69f45c39ad4d4a1cfacb4d620ca8e
Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
Pamela Dragosh [Mon, 11 Nov 2019 17:35:21 +0000 (17:35 +0000)]
Merge "Do not hardcode io.fabric8 plugin"
Pamela Dragosh [Fri, 8 Nov 2019 19:53:08 +0000 (14:53 -0500)]
Do not hardcode io.fabric8 plugin
policy/parent now has this plugin defined
Issue-ID: POLICY-2222
Change-Id: I9b212969a34b58206fcd88e154b72902451f6868
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Fri, 8 Nov 2019 13:54:40 +0000 (08:54 -0500)]
Fix more sonar issues in drools-applications
Addressed the following sonar issues:
- unused imports
- unused method parameters
- superfluous "throws" declaration
- fields within a serializable class must also be serializable; this
was/will be fixed with a change to AaiCqResponse in policy-models
- use logger instead of System.out; turns out that the code that used
System.out is no longer needed. In fact, deleted several classes
that are no longer needed: ControlLoopLogger and ControlLoopPublisher
- cyclomatic complexity and switch/case statements too big; used
eclipse to extract chunks of code into separate methods
- duplicate code
Note: extracted common code and used lambdas to eliminate duplicate
code in PolicyGuardYamlToXacml. However, a better approach would be
to use object-oriented programming, using mini/nested objects to do
the generation. The lambdas would then become abstract methods.
Nevertheless, that would entail significantly more re-write of this
class than desired at this time
Issue-ID: POLICY-2225
Change-Id: Ie503ffd7accbad3e410af602d32b29c0095c3a33
Signed-off-by: Jim Hahn <jrh3@att.com>
Rashmi Pujar [Wed, 6 Nov 2019 19:47:03 +0000 (14:47 -0500)]
Update drools-application due to https://gerrit.onap.org/r/#/c/policy/models/+/97989/
Issue-ID: POLICY-1896
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: I6125a1c83f58411f08bb143ff21ccd66d4db4977
Liam Fallon [Tue, 5 Nov 2019 12:34:18 +0000 (12:34 +0000)]
Merge "PNF support changes for drools-application"
jhh [Mon, 4 Nov 2019 20:24:52 +0000 (14:24 -0600)]
Inherit from snapshot drools docker image
Issue-ID: POLICY-2113
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I806d7bb2e766e3f0eccd5c1457c8d2683204abfb
Rashmi Pujar [Tue, 29 Oct 2019 20:17:37 +0000 (16:17 -0400)]
PNF support changes for drools-application
Conditional checks for enrichment and validation by target-types
PNF specific AAI enrichment
Fixed Unit Tests
Issue-ID: POLICY-1187
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: I78bf73e454828253ca69695f9196047449b4d9d6
jhh [Fri, 1 Nov 2019 13:26:22 +0000 (08:26 -0500)]
upgrade to 7.28.0.Final drools libraries
Issue-ID: POLICY-1407
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia3cd03719b52e2d4e1fad3662090b7c35e2acf1f
Daniel Cruz [Wed, 23 Oct 2019 23:18:07 +0000 (18:18 -0500)]
Update APPC LCM Model references
Updates to all references of APPC LCM model code
based on changes in policy models for APPC LCM.
Issue-ID: POLICY-2043
Change-Id: I0102eb27f449578636cfc0bf22124fa863f05724
Signed-off-by: Daniel Cruz <dc443y@att.com>
Jim Hahn [Fri, 25 Oct 2019 18:46:20 +0000 (14:46 -0400)]
Reset the custom query flag
Some junits fail, depending on the order. Traced down to
VfwControlLoopCdsTest, which sets the custom query flag, but does
not reset it when the test is complete. Modified the test superclass
to reset it at the start and end of each test class.
Issue-ID: POLICY-2088
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I6c9ba7e37074945141ea64dfd130dc99f376a825
Jim Hahn [Fri, 27 Sep 2019 15:22:47 +0000 (11:22 -0400)]
Modify drools-applications to use new Lock API
Modified code to use new Lock API.
Also deleted TargetLock and PolicyGuard, as they are no longer needed.
Issue-ID: POLICY-2113
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I5bc9b7732f9cfc6056789b2902d9f6f838b560be
Bruno Sakoto [Fri, 27 Sep 2019 20:15:49 +0000 (16:15 -0400)]
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
Bruno Sakoto [Tue, 8 Oct 2019 21:19:05 +0000 (17:19 -0400)]
Fix syntax error when starting policy
Fix following syntax error in policy entry point:
/opt/app/policy/bin/docker-entrypoint.sh:
line 30: syntax error near unexpected token `fi'
Issue-ID: POLICY-2088
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I517937f5ece8454d83f6c3cad1f96fba52b62317
jhh [Mon, 7 Oct 2019 20:40:23 +0000 (15:40 -0500)]
Allow override of maven settings at instantiation
Issue-ID: POLICY-2111
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib7ec8beab2947fc9fbf55734d0412f444a963fe8
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Jim Hahn [Thu, 19 Sep 2019 19:21:21 +0000 (15:21 -0400)]
Use snapshot version of models in drools-applications
Change-Id: Ifade840231beb3cb548d6dbb7ca69182dcce751a
Issue-ID: POLICY-2065
Signed-off-by: Jim Hahn <jrh3@att.com>
jhh [Wed, 11 Sep 2019 20:31:46 +0000 (15:31 -0500)]
remove docker-cl script
Issue-ID: POLICY-2077
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I4d085f33889cc6b6d3c2b9dbf093429adea2f10f
Jim Hahn [Tue, 10 Sep 2019 16:04:00 +0000 (12:04 -0400)]
Bump versions for drools-apps master
Change-Id: Ia94e1ba31d0e8b6a980d891df9b26fb6977acc95
Issue-ID: POLICY-2045
Signed-off-by: Jim Hahn <jrh3@att.com>
Pamela Dragosh [Tue, 10 Sep 2019 13:33:23 +0000 (09:33 -0400)]
Release drools-apps 1.5.2
Releasing 1.5.2 of drools-applications
Issue-ID: POLICY-2045
Change-Id: Ie3f7588a83158bdd49cfd43e7b8fe76907d16e8d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 10 Sep 2019 11:42:57 +0000 (07:42 -0400)]
Upgrade drools-apps - JUnit op.pom
This should have been updated to released version of
drools-pdp.
Issue-ID: POLICY-2045
Change-Id: I81032a8da5ff83b43e84671ba7766edb16914e79
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
jhh [Tue, 10 Sep 2019 00:31:19 +0000 (19:31 -0500)]
Upgrade to drools 1.5.2 released artifacts
Issue-ID: POLICY-2045
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie77acc2f85b841004882dc4da021a055eb4fcb9c
Pamela Dragosh [Thu, 5 Sep 2019 12:06:55 +0000 (12:06 +0000)]
Merge "Changes drl files"
pramod.jamkhedkar [Wed, 28 Aug 2019 19:11:22 +0000 (15:11 -0400)]
Changes drl files
Changes to the DRL file to change the rules to support custom query.
Added new VdnsControlLoop test for custom query, and supporting yaml
request
Issue-ID: POLICY-1858
Change-Id: Ic1b9e771bd36fe0642e9a3439189076a4906a4b8
Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
jhh [Wed, 4 Sep 2019 12:42:22 +0000 (07:42 -0500)]
correction when overriding with external truststore
Issue-ID: POLICY-1371
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ief22f9d99acbd9c3d7335e59045d45c64296f783
jhh [Thu, 29 Aug 2019 18:34:49 +0000 (13:34 -0500)]
entrypoint: redirect std[out|err] to dev/null
Issue-ID: POLICY-1371
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I8b4da1523925bbbbbed398365971c9efb7f6f1aa
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Tue, 27 Aug 2019 20:30:23 +0000 (15:30 -0500)]
Support arbitrary container init scripts
Issue-ID: POLICY-1371
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic1c15e6f36fe3eead937d4595b994747e830eb7a
jhh [Tue, 27 Aug 2019 18:57:12 +0000 (13:57 -0500)]
Get latest changes from drools-pdp base
Issue-ID: POLICY-2017
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I370b73c9cba1451e3a678d77c1e86c249663dcdc
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
jhh [Fri, 23 Aug 2019 19:31:30 +0000 (14:31 -0500)]
remove usecases archetype
Issue-ID: POLICY-1957
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I90436e2d633bf0e9f6153dd40e164214f309b8dc
Jim Hahn [Tue, 13 Aug 2019 19:52:22 +0000 (15:52 -0400)]
Modify to work with new drools-pdp
Due to sonar fixes, drools-pdp changed in a way that requires changes
to drools-applications. In the case of template.demo, lots of test cases
had to be modified, so they were refactored to extract common setup and
tear down code.
Fixed checkstyle issues.
Fixed license date.
Change-Id: Ie9e0239b95916ae7ef8c1b669987f7bb07d841b9
Issue-ID: POLICY-1968
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 5 Aug 2019 18:17:01 +0000 (14:17 -0400)]
Fix sonar issues in drools-applications
Addressed sonar issue, "Move constants to a class or enum.", by
moving the "manager" object from the ControlLoopMetrics interface
into a utility class, ControlLoopMetricsManager.
Addressed sonar issue, "duplicated blocks of code must be removed.",
by refactoring PolicyGuardYamlToXacml, extracing common functions.
Addressed sonar issue, "Remove this unused import", in
RestControlLoopManager.
Addressed sonar issue, "Refactor this method to throw at most one
checked exception", in event manager.
Fixed likely new sonar issue with assigning to a parameter.
Moved logging line to more appropriate place.
Addressed reviewer comment:
Use "replace" instead of "replaceAll", thus avoiding escaping
Change-Id: I47db957c83c1b3e2bd2330474e261987c6f0aac6
Issue-ID: POLICY-1967
Signed-off-by: Jim Hahn <jrh3@att.com>
Bruno Sakoto [Thu, 8 Aug 2019 12:44:35 +0000 (08:44 -0400)]
Upgrade to snapshot integration parent artifact
Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Iddfdf287bc0781dae1272b1c9336571e1715d087
Jim Hahn [Wed, 7 Aug 2019 19:47:10 +0000 (15:47 -0400)]
Bump version of drools-applications
Change-Id: I79d59efc93e33f7f234092b34cab0ae935d5ab7b
Issue-ID: POLICY-1965
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Wed, 7 Aug 2019 19:42:48 +0000 (19:42 +0000)]
Merge "Add release file 1.5.1"
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 [Mon, 5 Aug 2019 15:15:50 +0000 (10:15 -0500)]
Update to latest common/models/drools-pdp released versions
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1bfe5da619a00b12ab7df0d96879f1531a0e68a9
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>