Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Iddfdf287bc0781dae1272b1c9336571e1715d087
|
|
Change-Id: I79d59efc93e33f7f234092b34cab0ae935d5ab7b
Issue-ID: POLICY-1965
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7c54ccd8a3c6357596a172038baf0663edf204ca
|
|
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1bfe5da619a00b12ab7df0d96879f1531a0e68a9
|
|
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>
|
|
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>
|
|
service API mismatches cause notclassfound errors.
Issue-ID: POLICY-1940
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I55d0467d3c1f496c4cb0e13c7c96b85e03459660
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Released 1.5.0
Issue-ID: POLICY-1737
Change-Id: I41b9af7672985a681bf4e6ce4ceddc8798caf281
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Refactored to eliminate duplicate code blocks.
Added coverage tests.
Change-Id: I99d2b6f68fee38a1dbbf038ad29d1dfe87fb4ae7
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Policy/parent released
Issue-ID: POLICY-1737
Change-Id: I017bce815fbaa275d0323a29cf92bf7c4fd42f0a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
Issue-ID: POLICY-1791
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ife7cbb07c3bb674257bb1979d80f4f8a7ddfc3a5
|
|
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>
|
|
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>
|
|
|
|
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
|
|
Not used
Issue-ID: POLICY-1737
Signed-off-by: pdragosh <pdragosh@research.att.com>
Change-Id: Ic2ef8dba1413188175097969788128d60450404f
|
|
Due to dublin branch.
Issue-ID: POLICY-1747
Change-Id: I650e8e293551b61a047bd3796324749ed366c9a5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Released 1.4.1
Issue-ID: POLICY-1700
Change-Id: I9fd966de8165a5f387bb74fedc22a7502d82b870
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-1775
Change-Id: Ic66a5ce117f469d06134d1951b97d63c69747600
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
|
|
Change-Id: Ibf3df9288268ca7c8edfc9007e15c31802a4e5e1
Issue-ID: POLICY-1780
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
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>
|
|
Issue-ID: POLICY-1630
Change-Id: I358a9f71dd10eb7b803d28e020911013c060deac
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Change-Id: I63d29695ef45674b16f70a1e707d10fde4dbc0b0
Issue-ID: POLICY-1630
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Change-Id: I03f1f2ba20d5deba95cc771138cafa210a7ada36
Issue-ID: POLICY-1630
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
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>
|
|
Change-Id: Ib4f6c8d1ca7c62d88e24d8f23adaef31a17d14d1
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
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>
|
|
|
|
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>
|
|
Enum name SdwanBWPolicyChange changed to SdwanBandwidthChange.
Change-Id: I77eb3a4d332a3ce21f30230a284cd08611f23d98
Issue-ID: POLICY-1750
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
|
|
|
|
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>
|
|
Change-Id: Ieae5fe567bcb4fcbd0e439dcd6ff71e2435af702
Issue-ID: POLICY-1731
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Change-Id: I73c53ec915642a47b9d6400ae195db29b176cf21
Issue-ID: POLICY-1731
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
* 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>
|