policy/apex-pdp.git
3 years agoRemove try/catch blocks with assertj - apex-pdp 58/110058/13
waynedunican [Thu, 9 Jul 2020 12:03:28 +0000 (13:03 +0100)]
Remove try/catch blocks with assertj - apex-pdp

Removed try/catch blocks in apex-pdp and replaced with assertj
assertions Part III

Issue-ID: POLICY-2451
Change-Id: I1e6ede1c256c5bcf7899e1af130add71fdf1381c
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoReplace try/catch with assertj - apex-pdp 75/109975/5
waynedunican [Wed, 8 Jul 2020 13:33:48 +0000 (14:33 +0100)]
Replace try/catch with assertj - apex-pdp

Replaced try/catch blocks apex-pdp with assertj assertions. Part III of
changes.

Issue-ID: POLICY-2451
Change-Id: I77ee4140cdfc2066f463459f92163677c3e34ef2
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoMerge "Refer to snapshot versions"
Pamela Dragosh [Fri, 17 Jul 2020 20:18:01 +0000 (20:18 +0000)]
Merge "Refer to snapshot versions"

3 years agoMerge "Replace try/catch with assertj - apex-pdp"
Ram Krishna Verma [Fri, 17 Jul 2020 18:30:21 +0000 (18:30 +0000)]
Merge "Replace try/catch with assertj - apex-pdp"

3 years agoMerge "Fix assertTrue SONAR issues in apex-pdp/model"
Ram Krishna Verma [Fri, 17 Jul 2020 18:27:09 +0000 (18:27 +0000)]
Merge "Fix assertTrue SONAR issues in apex-pdp/model"

3 years agoRefer to snapshot versions 52/110352/1
Ram Krishna Verma [Fri, 17 Jul 2020 17:56:41 +0000 (13:56 -0400)]
Refer to snapshot versions

Issue-ID: POLICY-2695
Change-Id: I97ab109ee7a3a80cb44890f2586407d9a32c8bd7
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoMerge "Fix double initiation error on EngineServiceFacade"
Jim Hahn [Fri, 17 Jul 2020 16:16:01 +0000 (16:16 +0000)]
Merge "Fix double initiation error on EngineServiceFacade"

3 years agoFix assertTrue SONAR issues in apex-pdp/model 27/110127/6
JvD_Ericsson [Fri, 17 Jul 2020 12:18:37 +0000 (13:18 +0100)]
Fix assertTrue SONAR issues in apex-pdp/model

Replace assertTrue with assertEquals and assertFalse with
assertNotEquals in apex-pdp/model

Issue-ID: POLICY-2690
Change-Id: Id37989ea8a6ad7b3156e13851cc072ce6c53c03e
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
3 years agoReplace try/catch with assertj - apex-pdp 23/109923/3
waynedunican [Tue, 7 Jul 2020 16:51:42 +0000 (17:51 +0100)]
Replace try/catch with assertj - apex-pdp

Replaced try/catch blocks in apex-pdp with assertj assertions. Part II
of changes

Issue-ID: POLICY-2451
Change-Id: I29823054fbeb6d1a287d1234859aaf2d4609ef6d
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoFix double initiation error on EngineServiceFacade 54/110254/3
liamfallon [Thu, 16 Jul 2020 13:15:56 +0000 (14:15 +0100)]
Fix double initiation error on EngineServiceFacade

The engineServiceFacade allows it's init() method to be called twice,
the second call should return that the facade is already initialized.

Issue-ID: POLICY-2720
Change-Id: Id241e232163a8812a72f92841ce7b11f59358d45
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Renaming password variables to match with oom"
Liam Fallon [Thu, 16 Jul 2020 15:03:28 +0000 (15:03 +0000)]
Merge "Renaming password variables to match with oom"

3 years agoMerge "Replaced try/catch blocks with assertj - apex-pdp"
Pamela Dragosh [Thu, 16 Jul 2020 13:51:38 +0000 (13:51 +0000)]
Merge "Replaced try/catch blocks with assertj - apex-pdp"

3 years agoMerge "Replace try/catch with assertj"
Pamela Dragosh [Thu, 16 Jul 2020 13:51:22 +0000 (13:51 +0000)]
Merge "Replace try/catch with assertj"

3 years agoRenaming password variables to match with oom 99/110199/1
RossC [Wed, 15 Jul 2020 15:19:24 +0000 (16:19 +0100)]
Renaming password variables to match with oom

Issue-ID: POLICY-2633
Change-Id: If5df0e82ab4154f5e32cdc3a5080cb13264830aa
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoReplace try/catch with assertj 53/110153/2
waynedunican [Mon, 13 Jul 2020 10:13:53 +0000 (11:13 +0100)]
Replace try/catch with assertj

Replaced try/catch blocks with assertj assertions in apex-pdp. Last
batch of changes

Issue-ID: POLICY-2451
Change-Id: I39bd02fdbd8389818dcf1b786189c1e344ddcea5
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoReplaced try/catch blocks with assertj - apex-pdp 56/110056/2
waynedunican [Fri, 10 Jul 2020 07:25:22 +0000 (08:25 +0100)]
Replaced try/catch blocks with assertj - apex-pdp

Removed try/catch blocks in apex-pdp with assertj assertions Part IV

Issue-ID: POLICY-2451
Change-Id: I4b6accb9f944195db9ccf8a5de165b169301ac7f
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoMerge "Fix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/model"
Ram Krishna Verma [Tue, 14 Jul 2020 15:17:25 +0000 (15:17 +0000)]
Merge "Fix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/model"

3 years agoMerge "Remove old documentation from build"
Jim Hahn [Mon, 13 Jul 2020 14:20:21 +0000 (14:20 +0000)]
Merge "Remove old documentation from build"

3 years agoMerge "Fix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/core"
Pamela Dragosh [Mon, 13 Jul 2020 12:55:42 +0000 (12:55 +0000)]
Merge "Fix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/core"

3 years agoMerge "Allowing configuration of truststore password"
Liam Fallon [Mon, 13 Jul 2020 11:37:37 +0000 (11:37 +0000)]
Merge "Allowing configuration of truststore password"

3 years agoMerge "Fix assertTrue SONAR issues in apex-pdp"
Liam Fallon [Mon, 13 Jul 2020 11:36:59 +0000 (11:36 +0000)]
Merge "Fix assertTrue SONAR issues in apex-pdp"

3 years agoRemove old documentation from build 19/110119/2
liamfallon [Mon, 13 Jul 2020 08:41:28 +0000 (09:41 +0100)]
Remove old documentation from build

apex-pdp had an in-line docuemntation build system built on asciidoc. It
has proven to be very difficult to maintain and keep up to date and it
is incompatible with the ONAP official RST/ReadTheDocs docuementation
system.

In the Dublin release, we converted the asciidoc documentation to RST
format, and hae been updating the RST documentation since. The asciidoc
docuemntation system is now so out of date that it is being removed.

In this change, the "site" directory is removed from all modules in
apex-pdp and a profile called "apexSite" is removed from the pom.xml
file in all modules.

Issue-ID: POLICY-2686
Change-Id: I645f3ed101159d356cd90e619cef791067ad5eb5
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoFix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/model 03/109903/5
JvD_Ericsson [Wed, 8 Jul 2020 12:21:57 +0000 (13:21 +0100)]
Fix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/model

Replace assertTrue with assertEquals and assertFalse with
assertNotEquals in apex-pdp/examples and apex-pdp/model

Issue-ID: POLICY-2690
Change-Id: Ie863dd95ccead62268689a4a8388f9b6e8821649
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
3 years agoBump apex-pdp to 2.4.1-SNAPSHOT 02/110102/1
Ram Krishna Verma [Fri, 10 Jul 2020 21:25:54 +0000 (17:25 -0400)]
Bump apex-pdp to 2.4.1-SNAPSHOT

Issue-ID: POLICY-2695
Change-Id: I15b489de9ca2614e3a6c94b450a3d6397d17d4ff
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoRelease apex-pdp 2.4.0 docker artifacts 97/110097/1
Ram Krishna Verma [Fri, 10 Jul 2020 19:22:20 +0000 (15:22 -0400)]
Release apex-pdp 2.4.0 docker artifacts

Issue-ID: POLICY-2695
Change-Id: Ie87b3328b86c471d97e8b69167122978bf42ed2a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoRelease apex-pdp 2.4.0 maven artifacts 92/110092/2
Ram Krishna Verma [Fri, 10 Jul 2020 18:19:12 +0000 (14:19 -0400)]
Release apex-pdp 2.4.0 maven artifacts

Issue-ID: POLICY-2695
Change-Id: Ib0fb0753deda32d9162a24b1c470a30ff20ade35
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoPointing apex towards latest artifacts 75/110075/1
RossC [Fri, 10 Jul 2020 14:28:29 +0000 (15:28 +0100)]
Pointing apex towards latest artifacts

Issue-ID: POLICY-2695
Change-Id: I28fd0e7e12a8f3e7ee192e40b99aaa2339aea24f
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoFix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/core 99/109999/2
JvD_Ericsson [Tue, 7 Jul 2020 12:18:20 +0000 (13:18 +0100)]
Fix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/core

Replace assertTrue with assertEquals and assertFalse with
assertNotEquals in apex-pdp/client apex-pdp/context and apex-pdp/core

Issue-ID: POLICY-2690
Change-Id: Ic1e69c75e5f8f887cac135b6728b007faf4b19a6
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
3 years agoAllowing configuration of truststore password 02/110002/1
RossC [Thu, 9 Jul 2020 10:00:29 +0000 (11:00 +0100)]
Allowing configuration of truststore password

Issue-ID: POLICY-2633
Change-Id: Ic891ab55ded843e44b7998097949c1156c070657
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoFix assertTrue SONAR issues in apex-pdp 52/109852/2
JvD_Ericsson [Mon, 6 Jul 2020 09:37:04 +0000 (10:37 +0100)]
Fix assertTrue SONAR issues in apex-pdp

Replaced assertTrue with assertEquals and assertFalse with
assertNotEquals in apex-pdp auth

Issue-ID: POLICY-2690
Change-Id: Ica84f57f5a9048c33a2b641945a4376e60cf97c1
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
3 years agoMerge "Replace try/catch blocks with assertj - apex-pdp"
Ram Krishna Verma [Mon, 6 Jul 2020 20:51:01 +0000 (20:51 +0000)]
Merge "Replace try/catch blocks with assertj - apex-pdp"

3 years agoMerge "Fix URL checking on REST plugins"
Jorge Hernandez [Mon, 6 Jul 2020 18:40:12 +0000 (18:40 +0000)]
Merge "Fix URL checking on REST plugins"

3 years agoFix URL checking on REST plugins 46/109846/3
liamfallon [Mon, 6 Jul 2020 08:31:18 +0000 (09:31 +0100)]
Fix URL checking on REST plugins

The URL parameter must always be provided on the REST client carrier plugin

The URL parameter must always be provided on the REST requestor consumer

The URL parameter is not required on the REST requestor producer

This patch fixes the implementation to always checks the URL for existence on
the REST Client plugin. The current checks on the REST Requestor are correct
for the REST requestor plugin consumer and producer classes, so the checks
are not required in the REST Requestor parameters.

Issue-ID: POLICY-2692
Change-Id: I4e1534202002cf4a03bd159ac97b2a4f5b1746ab
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoReplace try/catch blocks with assertj - apex-pdp 47/109847/3
waynedunican [Mon, 6 Jul 2020 08:31:10 +0000 (09:31 +0100)]
Replace try/catch blocks with assertj - apex-pdp

Replaced try/catch blocks in apex-pdp with assertj assertions

Issue-ID: POLICY-2451
Change-Id: I83375b9e0f38d399b84bb68ce5d441e1cec73ef5
Signed-off-by: waynedunican <wayne.dunican@est.tech>
3 years agoFixing issue with policy chaining after CDS request failure in APEX 18/109818/2
a.sreekumar [Fri, 3 Jul 2020 10:08:04 +0000 (11:08 +0100)]
Fixing issue with policy chaining after CDS request failure in APEX

Change-Id: Id27343c21caaf69e30ee13076a2963c256fab55d
Issue-ID: POLICY-2687
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
3 years agoFixing ConcurrentModificationException during multiple policy deployment in APEX 00/109700/5
a.sreekumar [Tue, 30 Jun 2020 16:50:04 +0000 (17:50 +0100)]
Fixing ConcurrentModificationException during multiple policy deployment in APEX

Change-Id: Ib39e798d733727bdc676755b66adf2c499e618af
Issue-ID: POLICY-2655
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
3 years agoAdd tests for XPathReader 95/109695/2
ToineSiebelink [Tue, 30 Jun 2020 15:27:05 +0000 (16:27 +0100)]
Add tests for XPathReader

XPathReader had some SQ vulnerabilities whihch have been udpated in previous commit
This is just making sure same code is now covred by testware

Issue-ID: POLICY-2654

Change-Id: Ie40ee015b517b0cc3c5986a67513543653f53a61
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 years agoMerge "Removed CDS simulator from apex-pdp"
Jim Hahn [Tue, 30 Jun 2020 12:41:31 +0000 (12:41 +0000)]
Merge "Removed CDS simulator from apex-pdp"

3 years agoRemoved CDS simulator from apex-pdp 57/109657/1
Jim Hahn [Mon, 29 Jun 2020 16:34:58 +0000 (12:34 -0400)]
Removed CDS simulator from apex-pdp

As the simulator now resides in policy-models, the code for it is
no longer needed in apex-pdp.  Deleted it.

Issue-ID: POLICY-2676
Change-Id: I8ae6c8d860a47e5e7ba0509c99e4e2676109de25
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoFix SonarQube vulnerabilities 49/109649/2
ToineSiebelink [Mon, 29 Jun 2020 11:24:38 +0000 (12:24 +0100)]
Fix SonarQube vulnerabilities

Added logging to handle file io boolean returns
Added security related settings to xml factories and builders

Issue-ID: POLICY-2654
Change-Id: Ibc0a01f978bfc446e1dc1f8ad952d1305a7b7178
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 years agoFixing error with Main class name usage in APEX 79/109579/2
a.sreekumar [Thu, 25 Jun 2020 15:48:15 +0000 (16:48 +0100)]
Fixing error with Main class name usage in APEX

Change-Id: I0da222e592e6e29f0afca4a1515d8f126fe91cbb
Issue-ID: POLICY-2623
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
3 years agoMerge "Remove thread in JavascriptExecutor"
Liam Fallon [Thu, 25 Jun 2020 09:20:24 +0000 (09:20 +0000)]
Merge "Remove thread in JavascriptExecutor"

3 years agoRemove thread in JavascriptExecutor 42/109242/5
huaxing [Wed, 17 Jun 2020 05:34:10 +0000 (13:34 +0800)]
Remove thread in JavascriptExecutor

This change is basically a rollback of https://gerrit.onap.org/r/c/policy/apex-pdp/+/104230, with minor refactoring.
The problem that 104230 tried to address was supposed to be caused by https://jira.onap.org/browse/POLICY-2463.
With this rollback, apex-pdp increases performance and reduces memory usage.

Issue-ID: POLICY-2572
Signed-off-by: huaxing <huaxing.jin@est.tech>
Change-Id: I3a52d0ead0c1e530d218f9e3aba8b3eb5558abaf

3 years agoremove build warning with json dependency 37/109437/3
Henry.Sun [Tue, 23 Jun 2020 05:58:44 +0000 (13:58 +0800)]
remove build warning with json dependency

Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
Change-Id: Ieceb3e129620ced23552027e71fd09a2bd91acbe
Issue-ID: POLICY-2649

3 years agoMerge "Updating all Apex dependencies"
Ram Krishna Verma [Tue, 23 Jun 2020 13:17:20 +0000 (13:17 +0000)]
Merge "Updating all Apex dependencies"

3 years agoRemove apex-pdp Jackson security issue 91/109391/2
liamfallon [Sun, 21 Jun 2020 20:52:55 +0000 (21:52 +0100)]
Remove apex-pdp Jackson security issue

We should use the managed version of jackson from policy-parent rather
than a specific apex-pdp version.

Also upgrade the version of Avro, avro 1.9.2 uses a newer somewhat more
secure version of Jackson.

Issue-ID: POLICY-1508
Change-Id: If32218816ae76cf3cf6ddc8980e3a37e7e2ffd19
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoUpdating all Apex dependencies 11/109411/1
RossC [Mon, 22 Jun 2020 13:13:34 +0000 (14:13 +0100)]
Updating all Apex dependencies

Issue-ID: POLICY-2387
Change-Id: I6d9222cfe8841a4a4532d95dbc6f8b3f3d15ac87
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoChanges for checkstyle 8.32 64/109364/1
liamfallon [Fri, 19 Jun 2020 16:04:51 +0000 (17:04 +0100)]
Changes for checkstyle 8.32

Issue-ID: POLICY-2188
Change-Id: I56bbf3aa3bd9e1ef433cc93ad2be0c54d141a2a5
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Improve robustness of unit testing"
Ram Krishna Verma [Mon, 15 Jun 2020 13:43:40 +0000 (13:43 +0000)]
Merge "Improve robustness of unit testing"

3 years agoRemove logback.xml files bundled as part of jar 92/109092/1
a.sreekumar [Fri, 12 Jun 2020 09:36:23 +0000 (10:36 +0100)]
Remove logback.xml files bundled as part of jar

Change-Id: I0c15bb6bddb00f5d1fa00ea48e570bc7c270c43d
Issue-ID: POLICY-2627
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
3 years agoImprove robustness of unit testing 06/109006/4
huaxing [Wed, 10 Jun 2020 06:58:34 +0000 (14:58 +0800)]
Improve robustness of unit testing

Issue-ID: POLICY-2630
Signed-off-by: huaxing <huaxing.jin@est.tech>
Change-Id: I6475f9272c1a770836af537c13b23e486b66ac3e

3 years agoMerge "Stability test for Apex-pdp"
Pamela Dragosh [Wed, 3 Jun 2020 12:10:17 +0000 (12:10 +0000)]
Merge "Stability test for Apex-pdp"

3 years agoStability test for Apex-pdp 75/108675/1
aditya.puthuparambil [Tue, 2 Jun 2020 15:22:59 +0000 (16:22 +0100)]
Stability test for Apex-pdp

Issue-ID: POLICY-2457
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: Id47155d172f2b6386c94470dd5068ee09d2a8238

3 years agoPoint to parent SNAPSHOT 33/108433/1
Pamela Dragosh [Thu, 28 May 2020 18:36:17 +0000 (14:36 -0400)]
Point to parent SNAPSHOT

Issue-ID: POLICY-2319
Change-Id: I0699b2d2791e07df89b7a1e9c78320ced3c14f26
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoBump apex master to 2.4.0 57/108057/1
RossC [Thu, 21 May 2020 11:59:22 +0000 (12:59 +0100)]
Bump apex master to 2.4.0

Issue-ID: POLICY-2514
Change-Id: I764cfe41ed8cf8ffebd4ff076d0b76b79d61e142
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoBump Apex to 2.3.3 78/107978/2
RossC [Wed, 20 May 2020 14:12:22 +0000 (15:12 +0100)]
Bump Apex to 2.3.3

Issue-ID: POLICY-2514
Change-Id: I5b130b052150eb0e51759c751b83ab9d6f199759
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoRelease apex 2.3.2 docker 69/107969/2 6.0.0-ONAP
RossC [Wed, 20 May 2020 13:03:08 +0000 (14:03 +0100)]
Release apex 2.3.2 docker

Issue-ID: POLICY-2514
Change-Id: I6dbdc5057a944792372ebcd02fe30f97fe7b6686
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoRelease apex 2.3.2 java artifacts 53/107953/2
RossC [Wed, 20 May 2020 11:10:41 +0000 (12:10 +0100)]
Release apex 2.3.2 java artifacts

Issue-ID: POLICY-2514
Change-Id: If247d2ea6d7aabe5c82776ddf46ddf623247cc13
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoMerge "Point to released artifacts"
Ram Krishna Verma [Tue, 19 May 2020 17:05:47 +0000 (17:05 +0000)]
Merge "Point to released artifacts"

3 years agoPoint to released artifacts 91/107891/2
Pamela Dragosh [Tue, 19 May 2020 16:21:45 +0000 (12:21 -0400)]
Point to released artifacts

Issue-ID: POLICY-2514
Change-Id: I76b58cd69dcba6010867a583edb1b844eeec20d4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoFix Web Socket server connection failure 44/107744/1
liamfallon [Fri, 15 May 2020 14:09:37 +0000 (15:09 +0100)]
Fix Web Socket server connection failure

In the Web Socket unit test, sometimes the server does not start quickly
enough and is not available when the wek socket client connects. This
review changes the unit test to wait for up to 2 seconds for the web
socket server to come up.

Issue-ID: POLICY-2571
Change-Id: I0c970783f368d691d07683bad0cdc28b681e5334
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUnit test fails when port number occupied 29/107729/1
liamfallon [Fri, 15 May 2020 10:15:11 +0000 (11:15 +0100)]
Unit test fails when port number occupied

If the port specified in the allocateAddress() is occupied, the method
returns the next highest available port. The unit test is changed to
reflect this behaviour.

Issue-ID: POLICY-1916
Change-Id: I02f63476d5f8f3ef2b2363afb3e23de04264e810
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUnit tests for various classes 26/107326/4
RossC [Thu, 7 May 2020 12:25:34 +0000 (13:25 +0100)]
Unit tests for various classes

Issue-ID: POLICY-1916
Change-Id: Ie7cafa16ce12ca542a4e76307caddb36b7753990
Signed-off-by: RossC <ross.carter@est.tech>
4 years agoMinor fixes in examples-vcpe 97/106997/1
Ram Krishna Verma [Fri, 1 May 2020 19:26:45 +0000 (15:26 -0400)]
Minor fixes in examples-vcpe

Issue-ID: POLICY-1916
Change-Id: Ie3d1c33648e7996ac063bbaac6ea11f3df03564b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoMinor fixes in examples-grpc 83/106983/1
Ram Krishna Verma [Fri, 1 May 2020 15:06:29 +0000 (11:06 -0400)]
Minor fixes in examples-grpc

Issue-ID: POLICY-1916
Change-Id: I4bd93d72f234e1ce572b11bcb0621078480e061b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoPoint to latest SNAPSHOTs 74/106674/1
Pamela Dragosh [Mon, 27 Apr 2020 12:12:31 +0000 (08:12 -0400)]
Point to latest SNAPSHOTs

Glassfish security fix in parent, also fixes in common/models

Issue-ID: POLICY-2510
Change-Id: Id5186d4e2610a56db6ef66be62b4cc5177018c68
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Fix sonar issues"
Pamela Dragosh [Fri, 17 Apr 2020 14:17:32 +0000 (14:17 +0000)]
Merge "Fix sonar issues"

4 years agoBump policy-apex-pdp to 2.3.2-SNAPSHOT 19/106019/1
a.sreekumar [Wed, 15 Apr 2020 13:58:52 +0000 (14:58 +0100)]
Bump policy-apex-pdp to 2.3.2-SNAPSHOT

Change-Id: Ic668ab20498bdc41edc78f52c7ce9d89a1385f19
Issue-ID: POLICY-2378
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
4 years agoRelease 2.3.1 apex docker image 76/105976/3
Pamela Dragosh [Wed, 15 Apr 2020 00:59:17 +0000 (20:59 -0400)]
Release 2.3.1 apex docker image

Issue-ID: POLICY-2378
Change-Id: I0d3d2733083b50dc4b0f5e8126e7014d4ef97a4d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoFix sonar issues 44/105744/3
huaxing [Fri, 10 Apr 2020 05:16:12 +0000 (13:16 +0800)]
Fix sonar issues

Issue-ID: POLICY-1913
Signed-off-by: huaxing <huaxing.jin@est.tech>
Change-Id: Id1a9a6b6f7a9c8c74dd69bd0d30af05162a92cd1

4 years agoRelease apex 2.3.1 71/105971/1
Pamela Dragosh [Wed, 15 Apr 2020 00:08:27 +0000 (20:08 -0400)]
Release apex 2.3.1

Issue-ID: POLICY-2378
Change-Id: I7b966eca01f8baf0be3461b33efb8faaf12eb29c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Point to released common/models"
Ram Krishna Verma [Tue, 14 Apr 2020 19:39:54 +0000 (19:39 +0000)]
Merge "Point to released common/models"

4 years agoPoint to released common/models 41/105941/1
Pamela Dragosh [Tue, 14 Apr 2020 18:52:23 +0000 (14:52 -0400)]
Point to released common/models

Issue-ID: POLICY-2378
Change-Id: I3d4ef6b6b8f61c0af23676189c9bf6eec529e3f3
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoSONAR issue fix 08/105908/1
aditya.puthuparambil [Tue, 14 Apr 2020 12:16:07 +0000 (13:16 +0100)]
SONAR issue fix

Issue-ID: POLICY-1913
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: Ie6dccc50ad63c5fdca1e79d7985aec2455041b56

4 years agoPoint common/models fix 66/105866/1
Pamela Dragosh [Mon, 13 Apr 2020 20:14:15 +0000 (16:14 -0400)]
Point common/models fix

Fix for naming policy and yaml string conversion.

Issue-ID: POLICY-2486
Change-Id: I1fc63ab7fdde63c5555d0bae784aee1309f7f8c3
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to released parent, common models 21/105821/1
Pamela Dragosh [Sat, 11 Apr 2020 19:35:04 +0000 (15:35 -0400)]
Point to released parent, common models

Issue-ID: POLICY-2378
Change-Id: I219f1ba6c816166c98346df47a68d21b9736b6b5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMake sure Editor's css overrides common css 87/105187/1
huaxing [Tue, 7 Apr 2020 03:57:57 +0000 (11:57 +0800)]
Make sure Editor's css overrides common css

Issue-ID: POLICY-2446
Signed-off-by: huaxing <huaxing.jin@est.tech>
Change-Id: I1bc45367884ec78436a97256ac4286ab79c8a6b7

4 years agoFix intermittent unit test failures WebSocket 61/105161/4
liamfallon [Mon, 6 Apr 2020 14:41:28 +0000 (15:41 +0100)]
Fix intermittent unit test failures WebSocket

The Web Socket server is marked as started before the start process has
complted. This change fixes that issue.

Issue-ID: POLICY-1470
Change-Id: I5b5ef5832893d884a6551b0516df91cb71d6c622
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoFix intermittent unit test failures reseterquestor 19/105119/1
liamfallon [Sat, 4 Apr 2020 14:35:07 +0000 (15:35 +0100)]
Fix intermittent unit test failures reseterquestor

When consumers and producers are paired as in the case of the REST
Rquestor, both sides must come up and be wired together in the
initiation phase of apex-pdp before the consumers and producers start
handling envents.

In the ApexActivator class, the consumers were started immediately after
they were initialized meaning that a consumer could return events to a
producer that had not started yet.

This change fixes the ApexActivator so that it waits until all consumers
and producers are initialized before starting event handling.

It also fixes the timings on RestRequestor tests and tidies up the unit
tests.

Issue-ID: POLICY-2469
Change-Id: Ib66d9531bf21f2a879ab33795aded4f48e7bfbc6
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Refer io.netty from policy/parent"
Liam Fallon [Sat, 4 Apr 2020 20:03:19 +0000 (20:03 +0000)]
Merge "Refer io.netty from policy/parent"

4 years agoRefer io.netty from policy/parent 01/105101/1
Ram Krishna Verma [Fri, 3 Apr 2020 18:26:15 +0000 (14:26 -0400)]
Refer io.netty from policy/parent

Issue-ID: POLICY-2467
Change-Id: Iea562574f466775f4dd443fc4ef9ecaa6ba610fd
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
4 years agoFix failing Kafka tests 65/105065/4
liamfallon [Thu, 2 Apr 2020 19:54:52 +0000 (20:54 +0100)]
Fix failing Kafka tests

All the Kafka components need something near 10 seconds to come up
completely. This review tweaks the timing to allow the test Kafka server
to come up and to allow the consumers to connect to it.

Issue-ID: POLICY-2106
Change-Id: I6dd8ace0848bdc2549e658ef8908b4d85d5ea789
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Fix hanging timeout on Executor test"
Jim Hahn [Thu, 2 Apr 2020 17:44:21 +0000 (17:44 +0000)]
Merge "Fix hanging timeout on Executor test"

4 years agoMerge "Fix UUID missing in policy editor"
Liam Fallon [Thu, 2 Apr 2020 15:38:42 +0000 (15:38 +0000)]
Merge "Fix UUID missing in policy editor"

4 years agoFix hanging timeout on Executor test 03/105003/1
liamfallon [Wed, 1 Apr 2020 08:38:33 +0000 (09:38 +0100)]
Fix hanging timeout on Executor test

Issue-ID: POLICY-2106
Change-Id: I7bd44f8dfe349d73a4c8c4f978a30b455c45b2c7
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoFix UUID missing in policy editor 24/104824/2
huaxing [Tue, 31 Mar 2020 08:55:48 +0000 (16:55 +0800)]
Fix UUID missing in policy editor

Issue-ID: POLICY-2445
Signed-off-by: huaxing <huaxing.jin@est.tech>
Change-Id: I7fda1961e95b1f18da6c0e22c7799195fc511443

4 years agoMy First Policy State Finalizer Example 55/104855/1
aditya.puthuparambil [Wed, 1 Apr 2020 12:20:53 +0000 (13:20 +0100)]
My First Policy State Finalizer Example

Issue-ID: POLICY-1122
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: I552b58f39325982f1e26e59b352dfbe70cf35e7c

4 years agoMerge "Fix State Finalizer Prepare and Cleanup"
Jim Hahn [Tue, 31 Mar 2020 13:58:20 +0000 (13:58 +0000)]
Merge "Fix State Finalizer Prepare and Cleanup"

4 years agoFix State Finalizer Prepare and Cleanup 42/104742/3
liamfallon [Tue, 31 Mar 2020 10:29:20 +0000 (11:29 +0100)]
Fix State Finalizer Prepare and Cleanup

The prepare() and cleanup() method were not called on state finalizers
for states. This review adds calls for them.

Issue-ID: POLICY-2450
Change-Id: I27aec4dea51f3e22b5922c04c7b7b974fca24292
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoBump version of Infinispan for security 34/104734/1
liamfallon [Tue, 31 Mar 2020 08:45:15 +0000 (09:45 +0100)]
Bump version of Infinispan for security

Change-Id: Ie01b221e182dd43e85e3e7277bb55169f85a1460
Signed-off-by: liamfallon <liam.fallon@est.tech>
Issue-ID: POLICY-2449
Change-Id: Icbb7a769eb8f0d9ef278d222ab007f330576abb3
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Fix hanging tests in JavascritExecutor"
Ram Krishna Verma [Mon, 30 Mar 2020 21:00:04 +0000 (21:00 +0000)]
Merge "Fix hanging tests in JavascritExecutor"

4 years agoFix hanging tests in JavascritExecutor 00/104600/12
liamfallon [Fri, 27 Mar 2020 17:24:18 +0000 (17:24 +0000)]
Fix hanging tests in JavascritExecutor

Added tests to check threads start, execute, and stop correctly and
fixed JavescriptExecutor class to handle startup and shutdown correctly
without hanging.

Issue-ID: POLICY-2106
Change-Id: I9ab41023aae2ab1cbcaea53fdf5d48eccd90a2f1
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoFix timeout issues in gRPC tests 32/104632/2
liamfallon [Sun, 29 Mar 2020 12:10:38 +0000 (13:10 +0100)]
Fix timeout issues in gRPC tests

When running the gRPC tests in a slow or overloaded environment, the
timeupts must be set longer.

Issue-ID: POLICY-2106
Change-Id: Id152f1f82ef47f646c7b0488b4486425c6816e31
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoPoint to latest snapshots 91/104591/1
Pamela Dragosh [Fri, 27 Mar 2020 16:58:48 +0000 (12:58 -0400)]
Point to latest snapshots

Issue-ID: POLICY-2378
Change-Id: Ie85ef583e8f0732a3b716b9e9b8947fb349522c7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Point to models 2.2.2"
Jorge Hernandez [Thu, 26 Mar 2020 01:34:08 +0000 (01:34 +0000)]
Merge "Point to models 2.2.2"

4 years agoPoint to models 2.2.2 52/104452/1
Pamela Dragosh [Thu, 26 Mar 2020 00:03:17 +0000 (20:03 -0400)]
Point to models 2.2.2

Issue-ID: POLICY-2378
Change-Id: Iffbed4a039e9a645cc081f09997aeedf0dba4056
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoBump policy-apex-pdp to 2.3.1-SNAPSHOT 53/104453/1
a.sreekumar [Wed, 25 Mar 2020 23:01:06 +0000 (23:01 +0000)]
Bump policy-apex-pdp to 2.3.1-SNAPSHOT

Change-Id: I59b93fccb0f3a41f8db753d1e8e2978bbb51e9a0
Issue-ID: POLICY-2378
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
4 years agoRelease policy-apex-pdp 2.3.0 docker image 43/104443/1
a.sreekumar [Tue, 24 Mar 2020 16:03:24 +0000 (16:03 +0000)]
Release policy-apex-pdp 2.3.0 docker image

Change-Id: I7ad38253cab457f92912e17ea9eaf8300347f62e
Issue-ID: POLICY-2378
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
4 years agoRelease policy-apex-pdp 2.3.0 artifacts 36/104436/2
a.sreekumar [Tue, 24 Mar 2020 16:00:28 +0000 (16:00 +0000)]
Release policy-apex-pdp 2.3.0 artifacts

Change-Id: Id23e5c848b6a338f09bbaecbf89e184e4e9f4e4f
Issue-ID: POLICY-2378
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
4 years agoIgnore JUnit tests that hang on await 10/104410/1
liamfallon [Wed, 25 Mar 2020 19:23:29 +0000 (19:23 +0000)]
Ignore JUnit tests that hang on await

This change ignores the tests that are hanging in Jenkins until the Apex
images are released. Once the images are released we'll fix these tests.

Issue-ID: POLICY-2106
Change-Id: I6a733896da044d3f24443ac202d6122a341db135
Signed-off-by: liamfallon <liam.fallon@est.tech>