policy/drools-applications.git
20 months agoMake HTTPS configurable on drools features 70/130870/2 honolulu
liamfallon [Tue, 13 Sep 2022 11:46:42 +0000 (12:46 +0100)]
Make HTTPS configurable on drools features

This commit makes HTTPS configurable on drools-applications features.
Prior to this, https was mandatory on some features.

This change is required to allow the CSITs to use http,a nd will be
required for service mesh as well.

Issue-ID: POLICY-4338
Change-Id: I73ea46b016288ecae4ea4eb1b2349a64c3e56f63
Signed-off-by: liamfallon <liam.fallon@est.tech>
20 months agoupdate drools, common and models snapshot pointers 32/130432/1
jhh [Tue, 23 Aug 2022 20:36:01 +0000 (15:36 -0500)]
update drools, common and models snapshot pointers

drools=1.8.6-SNAPSHOT
common=1.8.4-SNAPSHOT
models=2.4.7-SNAPSHOT

Issue-ID: POLICY-4295
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5843f5fb95fbb2a7c0ce98928e6c21339907cb44

20 months agobump versions to 1.8.6-SNAPSHOT 28/130428/1
jhh [Tue, 23 Aug 2022 15:15:01 +0000 (10:15 -0500)]
bump versions to 1.8.6-SNAPSHOT

Issue-ID: POLICY-4295
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I2371ddd47fdfedc77a46455831ceb142c8fef9c2

20 months agodocker release 1.8.5 26/130426/1
jhh [Tue, 23 Aug 2022 14:51:19 +0000 (09:51 -0500)]
docker release 1.8.5

Issue-ID: POLICY-4295
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie954a2c41ef5c965485f90571fcade60497cb631

20 months agomaven release 1.8.5 24/130424/1
jhh [Tue, 23 Aug 2022 13:46:51 +0000 (08:46 -0500)]
maven release 1.8.5

Issue-ID: POLICY-4295
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1d43c252ee76139bee4e16f237982c34db0ed799

21 months agoPoint to released dependencies 94/130394/1
Ram Krishna Verma [Fri, 19 Aug 2022 16:54:29 +0000 (12:54 -0400)]
Point to released dependencies

Issue-ID: POLICY-4295
Change-Id: Id29dd321fd3caf3f40acbe10564651df769ce121
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
21 months agoUpgrade oparent 3.2.1 59/130159/1
pdragosh [Wed, 3 Aug 2022 19:41:44 +0000 (14:41 -0500)]
Upgrade oparent 3.2.1

Issue-ID: POLICY-4211
Change-Id: I9ab11a85bb31e273a2745e8361d9363df60277af
Signed-off-by: pdragosh <pd1248@att.com>
22 months agoupdate policy models references 65/129865/1
liamfallon [Mon, 11 Jul 2022 13:35:50 +0000 (14:35 +0100)]
update policy models references

updated policy models references

*** This commit is generated by a PF release script ***

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

2 years agobump versions to 1.8.5-SNAPSHOT 51/123151/1
jhh [Thu, 5 Aug 2021 15:11:05 +0000 (10:11 -0500)]
bump versions to 1.8.5-SNAPSHOT

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia2a67fe6171f0b024df8a8dfd1f2450da1a96399

2 years agoDocker release 1.8.4 50/123150/1
jhh [Thu, 5 Aug 2021 14:49:24 +0000 (09:49 -0500)]
Docker release 1.8.4

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I10482cb0fe657a6cbc46e9e5bbf5c8f84c198004

2 years agomaven release 1.8.4 39/123139/1
jhh [Wed, 4 Aug 2021 22:05:54 +0000 (17:05 -0500)]
maven release 1.8.4

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I35bb36fefcf7c63b3b71b79e365ddec0941a581a

2 years agoparent 3.3.2 common 1.8.2 model 2.4.4 drools 1.8.4 34/123134/1
jhh [Wed, 4 Aug 2021 20:28:42 +0000 (15:28 -0500)]
parent 3.3.2 common 1.8.2 model 2.4.4 drools 1.8.4

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I989ae4d23024870860d31d03f5c0a612dbeb834d

2 years agoUpgrade CDS version 75/122575/3
k.kedron [Wed, 21 Jul 2021 08:38:33 +0000 (10:38 +0200)]
Upgrade CDS version

Issue-ID: POLICY-3507
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ice4d3d3e138f91f7b78e0b1e7555d9a7e59cf18e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoexclude jackson-annotations from apps classpath 64/122564/1
jhh [Mon, 12 Jul 2021 13:11:27 +0000 (08:11 -0500)]
exclude jackson-annotations from apps classpath

Issue-ID: POLICY-3468
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I0c475dcfa33009eca3056dcb003f6658dacb3416
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
(cherry picked from commit 597bb4a6fc4c0333bd8fa29eaa97abcb456de0f4)

2 years agoSkip collection of swagger libraries 99/122299/1
jhh [Tue, 6 Jul 2021 18:55:01 +0000 (13:55 -0500)]
Skip collection of swagger libraries

swagger libraries are skipped so not to conflict with the
ones provided by drools-pdp and endpoints.

Issue-ID: POLICY-3454
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If6643112ddda95d0a6f105a329fcbc3b7e26ad64
(cherry picked from commit 0ecd2da2bb6b605efeb71aa844b59dc4ea103b88)

2 years agobump versions to 1.8.4-SNAPSHOT 93/122193/1
jhh [Thu, 24 Jun 2021 20:11:27 +0000 (15:11 -0500)]
bump versions to 1.8.4-SNAPSHOT

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I67bfe14ce598802de2e235ea6c97c5aa5a087963

2 years agoDocker release 1.8.3 89/122189/1
jhh [Thu, 24 Jun 2021 16:47:48 +0000 (11:47 -0500)]
Docker release 1.8.3

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I62408e9f34dbd1831ae67e2b1d73822cb27b2cf0

2 years agomaven release 1.8.3 84/122184/1
jhh [Thu, 24 Jun 2021 15:42:34 +0000 (10:42 -0500)]
maven release 1.8.3

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib522351af1cc223f971c2180bbfc619bfceb4b51

2 years agoUpdate versions of drools, parent, common, models 42/122142/1
jhh [Wed, 23 Jun 2021 18:23:26 +0000 (13:23 -0500)]
Update versions of drools, parent, common, models

- 3.3.1 parent
- 1.8.1 common
- 2.4.3 models
- 1.8.3 drools

Issue-ID: POLICY-3329
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iba409d30ea8740bfc151a4b8e838a2ac2863e27f
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2 years agoremove extra tabs from topic properties files 57/121757/1
jhh [Tue, 8 Jun 2021 17:38:47 +0000 (12:38 -0500)]
remove extra tabs from topic properties files

Issue-ID: POLICY-3366
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I9bab4e4c3ac92a04c27a997faeea74530ac895ef

2 years agoUse global dmaap https flag as default config 56/121756/1
jhh [Tue, 8 Jun 2021 17:21:45 +0000 (12:21 -0500)]
Use global dmaap https flag as default config

Issue-ID: POLICY-3366
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic6a7b7a06c99d162fdb97ebaba8e1e9e9c588e71

2 years agoFix drools-apps build 46/121646/2
Ram Krishna Verma [Fri, 4 Jun 2021 13:50:30 +0000 (09:50 -0400)]
Fix drools-apps build

Issue-ID: POLICY-3338
Change-Id: Iab7f8347bfe796017ea2980d72b73d2752ad5b1e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit 3d1fa50ff534b29644f536cec886ac6ece9623c4)
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoRemove csit folder from policy/drools-apps 80/121480/4
Ram Krishna Verma [Thu, 13 May 2021 19:34:57 +0000 (15:34 -0400)]
Remove csit folder from policy/drools-apps

The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.

Issue-ID: POLICY-3257
Change-Id: I98e34906398d9e6fc239a319aea9a2ef72042890
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit c7bf8c313d5e17f78bfbbcbccd1c6d13bd4caf16)
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agochange csits robots to expect 0 facts 41/121341/1
jhh [Thu, 13 May 2021 15:05:25 +0000 (10:05 -0500)]
change csits robots to expect 0 facts

Issue-ID: POLICY-3257
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iaa68cff957c1e91fc5e6bf63c60d4012a34551f5

3 years agoFix drools-applications csit test cases 09/121309/1
Ram Krishna Verma [Tue, 11 May 2021 13:35:53 +0000 (09:35 -0400)]
Fix drools-applications csit test cases

In the recent runs, it was found that controller might take fews more seconds to come up and get reported by the telemetry api. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on.

Issue-ID: POLICY-3257
Change-Id: If29738cae60a6a21da11fa7a6045b4279012b82e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit d9716d4fd3f3c5babd22307883a1620e9a65b68e)

3 years agoRefactor policy/drools-applications csit tests 69/121169/1
Ram Krishna Verma [Fri, 7 May 2021 21:38:27 +0000 (17:38 -0400)]
Refactor policy/drools-applications csit tests

* Removed the deprecated methods.
* Removed duplicated code.
* Created method hierarchy to improve the readability.
* Fixed the assertions on 1 test.

Issue-ID: POLICY-3257
Change-Id: Icd79ff9665570bb8deab2ad76735f0c5f000db6a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit e5c469a5edae03ebddcfdf7af04d2f949c7352bc)

3 years agoset snapshot version of drools-pdp 39/120739/1
jhh [Tue, 20 Apr 2021 21:19:54 +0000 (16:19 -0500)]
set snapshot version of drools-pdp

Issue-ID: POLICY-3202
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I77520debcc3b3fc4d262f4b86894af157cb382f0

3 years agoChange pap deploy response code to 202 for jmeter 68/119968/1
jhh [Mon, 29 Mar 2021 20:08:47 +0000 (15:08 -0500)]
Change pap deploy response code to 202 for jmeter

Issue-ID: POLICY-3108
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idad5d05041de110a54bdf97c057d8d6b332a86f6
(cherry picked from commit ed0e70bafde6e9276c3a3302cbcf931827878065)

3 years agobump versions to 1.8.3-SNAPSHOT 65/119765/1
jhh [Wed, 24 Mar 2021 18:38:51 +0000 (13:38 -0500)]
bump versions to 1.8.3-SNAPSHOT

Issue-ID: POLICY-3150
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ifb3ef28866b63712397dbb81b20c7e7b2c7987b0

3 years agodocker release 1.8.2 58/119758/1 8.0.0-ONAP
jhh [Wed, 24 Mar 2021 17:29:00 +0000 (12:29 -0500)]
docker release 1.8.2

Issue-ID: POLICY-3150
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ibcf5d303645ad0987096440cf2952d1571b418d5

3 years agomaven release 1.8.2 48/119748/1
jhh [Wed, 24 Mar 2021 16:38:30 +0000 (11:38 -0500)]
maven release 1.8.2

Issue-ID: POLICY-3150
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If89f0175ec372185fa4e4a5ad444cfd423c59768

3 years agoPoint to models 2.4.2 and drools 1.8.2 44/119744/1
jhh [Wed, 24 Mar 2021 15:40:06 +0000 (10:40 -0500)]
Point to models 2.4.2 and drools 1.8.2

Issue-ID: POLICY-3150
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib765e89ab76741d800d52114231406416392ed9f

3 years agoDefault to honolulu branch 16/119116/1
Jim Hahn [Wed, 10 Mar 2021 21:05:50 +0000 (16:05 -0500)]
Default to honolulu branch

Issue-ID: POLICY-3105
Change-Id: I1fa1cfcd2ad3d9d4d99e0bd2da6d0fe3192261ac
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agobump poms to 1.8.2-SNAPSHOT 04/119104/1
jhh [Wed, 10 Mar 2021 19:22:50 +0000 (13:22 -0600)]
bump poms to 1.8.2-SNAPSHOT

Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I2db24d79ab706919e8e3a76e63a8707791a94123

3 years agodocker release 1.8.1 99/119099/1
jhh [Wed, 10 Mar 2021 18:39:17 +0000 (12:39 -0600)]
docker release 1.8.1

Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Id1189d38f1d4bf742e9b1f774f96f88ea4b7c25c

3 years agomaven 1.8.1 release 94/119094/1
jhh [Wed, 10 Mar 2021 17:13:09 +0000 (11:13 -0600)]
maven 1.8.1 release

Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib899624b194c467b7e01f9f0f223b63ed208a66d

3 years agopoint to models 2.4.1 and drools 1.8.1 releases 84/119084/1
jhh [Wed, 10 Mar 2021 15:49:08 +0000 (09:49 -0600)]
point to models 2.4.1 and drools 1.8.1 releases

Issue-ID: POLICY-3127
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I44d3ec5e843454f38d75c1c59001edf098e4e545

3 years agomove test data json files to drools-apps 20/118920/1
Taka Cho [Mon, 8 Mar 2021 19:45:58 +0000 (14:45 -0500)]
move test data json files to drools-apps

refactor robot file and
move testdata json from under
csit/tests/data

Issue-ID: POLICY-2895
Change-Id: Id6bac948963349af644afe77d5ed7adcf7687095
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agowrong path on setup.sh for csit - drools-apps 67/118867/1
Taka Cho [Fri, 5 Mar 2021 18:28:40 +0000 (13:28 -0500)]
wrong path on setup.sh for csit - drools-apps

found another wrong path

Issue-ID: POLICY-2895
Change-Id: Ia37ec891ba5c96b0876394b02f0a13078446100f
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agomodify filename and path for csit : drools_apps 57/118857/1
Taka Cho [Fri, 5 Mar 2021 15:29:16 +0000 (10:29 -0500)]
modify filename and path for csit : drools_apps

after doing a test in jenkins sandbox
found some errors have to be fixed.

Issue-ID: POLICY-2895
Change-Id: I3764140f3787ae59fa558a0ad3ede997c955bb2a
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoPick up new drools-pdp snapshot 25/118725/1
Jim Hahn [Tue, 2 Mar 2021 19:14:22 +0000 (14:14 -0500)]
Pick up new drools-pdp snapshot

Issue-ID: POLICY-3117
Change-Id: If85db0492ff708765aac30cfac485ed3830f22f8
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agomove drools-apps csit to project level 17/118617/1
Taka Cho [Fri, 26 Feb 2021 16:23:52 +0000 (11:23 -0500)]
move drools-apps csit to project level

move tests/plans from
csit repot to drools-apps repo

Issue-ID: POLICY-2895
Change-Id: Id57d9565e083ac4af2bcb73ab3683bba9e6afa66
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agobump poms to 1.8.1-SNAPSHOT 33/118533/1
jhh [Thu, 25 Feb 2021 15:39:52 +0000 (09:39 -0600)]
bump poms to 1.8.1-SNAPSHOT

Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If23d78aafd1d91366d96103f1f1f270c6721370b

3 years agoMerge "Update info.yaml in drools-apps"
Jim Hahn [Wed, 24 Feb 2021 15:52:57 +0000 (15:52 +0000)]
Merge "Update info.yaml in drools-apps"

3 years agoUpdate info.yaml in drools-apps 04/118404/1
Ram Krishna Verma [Wed, 24 Feb 2021 15:45:06 +0000 (10:45 -0500)]
Update info.yaml in drools-apps

Issue-ID: POLICY-3028
Change-Id: I9b7d95c3c12dd9e8126967d6782caa6094901b43
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agodocker release 1.8.0 93/118393/1
jhh [Wed, 24 Feb 2021 15:33:32 +0000 (09:33 -0600)]
docker release 1.8.0

Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I20852403de309518b88d6c6daa870afefae2379a

3 years agomaven release 1.8.0 82/118382/1
jhh [Wed, 24 Feb 2021 14:32:53 +0000 (08:32 -0600)]
maven release 1.8.0

Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I048aa301064dc75d0245e87945f836bd6f5c4802

3 years agorelease versions for common, model, parent, drools 27/118327/1
jhh [Tue, 23 Feb 2021 23:19:42 +0000 (17:19 -0600)]
release versions for common, model, parent, drools

common: 1.8.0
models: 2.4.0
parent: 3.3.0
drools: 1.8.0

Issue-ID: POLICY-3088
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iebef66796abbd739c13cf5a3ce511bab582051c5

3 years agoMerge "remove duplicated test line in transactions module"
Jorge Hernandez [Mon, 22 Feb 2021 17:40:26 +0000 (17:40 +0000)]
Merge "remove duplicated test line in transactions module"

3 years agoremove duplicated test line in transactions module 85/118185/1
jhh [Mon, 22 Feb 2021 16:58:21 +0000 (10:58 -0600)]
remove duplicated test line in transactions module

Issue-ID: POLICY-3033
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I674ea800fb0c79bb7bb4758bd4ae567b118da279

3 years agoMerge "support control loop transaction metrics"
Ram Krishna Verma [Mon, 22 Feb 2021 16:31:30 +0000 (16:31 +0000)]
Merge "support control loop transaction metrics"

3 years agosupport control loop transaction metrics 88/118088/3
jhh [Fri, 19 Feb 2021 00:08:34 +0000 (18:08 -0600)]
support control loop transaction metrics

Issue-ID: POLICY-3033
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ic13275607a56b36506a0c79d1880603ff374b0c2
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
3 years agoUse new version of A&AI APIs 92/117992/1
Jim Hahn [Fri, 20 Nov 2020 21:38:16 +0000 (16:38 -0500)]
Use new version of A&AI APIs

Just changed the version numbers; the APIs appear to be the same
otherwise.

Issue-ID: POLICY-2788
Change-Id: I842d88184a816c7fd24d935488875ba1337a1754
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoFix sonars from dependency upgrade 95/117795/1
Jim Hahn [Fri, 12 Feb 2021 13:30:59 +0000 (08:30 -0500)]
Fix sonars from dependency upgrade

The dependency upgrades in policy-parent caused some new sonars.  In
particular, initMocks() has been deprecated - replaced with calls to the
Mockito Runner.

Issue-ID: POLICY-2910
Change-Id: I257b74626f4393aa89d2bf1b7502478422213b71
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoMore sonars in drools-apps 22/117722/1
Jim Hahn [Wed, 10 Feb 2021 22:07:25 +0000 (17:07 -0500)]
More sonars in drools-apps

Addressed the following issues:
- commented-out code
- don't use eq() with verify()
- use class::cast lambda

Issue-ID: POLICY-2910
Change-Id: I12f4f85fb226f3ddb8305105e988fa90e276e9f6
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoMerge "Delete unused persistence.xml"
Ram Krishna Verma [Tue, 9 Feb 2021 21:53:59 +0000 (21:53 +0000)]
Merge "Delete unused persistence.xml"

3 years agoDelete unused persistence.xml 55/117655/1
Jim Hahn [Tue, 9 Feb 2021 21:01:35 +0000 (16:01 -0500)]
Delete unused persistence.xml

Deleted the file, as it is no longer needed.

Issue-ID: POLICY-3005
Change-Id: Ia8de5838440c38dc31177e316118db75965d9338
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUpgrade dependencies 49/117649/2
Jim Hahn [Tue, 9 Feb 2021 18:01:55 +0000 (13:01 -0500)]
Upgrade dependencies

Added target-database property.
Also moved the db-driver value out of persistence.xml and into
properties.

Issue-ID: POLICY-3005
Change-Id: I2c9e53c099e400c32d11632f8732e770a7abba9f
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoGive better messages than NPE for missing data 62/117562/1
Jim Hahn [Fri, 5 Feb 2021 20:16:38 +0000 (15:16 -0500)]
Give better messages than NPE for missing data

When data is not available to actor operations, an NPE is generally
thrown.  Modified the code to provide more info about what is missing
than simply NPE.

Issue-ID: POLICY-2913
Change-Id: Ic56376ef5fdd0f2e46c2996405fff9aafa3692b9
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoChanged identifiers to concept identifiers 71/116571/1
liamfallon [Mon, 4 Jan 2021 13:55:12 +0000 (13:55 +0000)]
Changed identifiers to concept identifiers

The policy models tosca classes ToscaPolicyIdentifier and
ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA
concept, not just TOSCA policies so they are renamed to
ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion
respectively.

The class ToscaPolicyTypeIdentifier is redundant and is replaced by
ToscaConceptIdentifier.

Issue-ID: POLICY-2900
Change-Id: Id5da4e5894a0d646f9f4b68c1e6b0476d4deae05
Signed-off-by: liamfallon <liam.fallon@est.tech>
3 years agoMerge "Use Params makeOutcome() without targetEntity"
Ram Krishna Verma [Mon, 23 Nov 2020 15:25:48 +0000 (15:25 +0000)]
Merge "Use Params makeOutcome() without targetEntity"

3 years agoRemove legacy simulators 12/115212/1
Jim Hahn [Fri, 20 Nov 2020 20:47:59 +0000 (15:47 -0500)]
Remove legacy simulators

Drools-apps now uses simulators from policy/models.  Deleted the legacy
simulators.

Issue-ID: POLICY-2804
Change-Id: Ie118237a52a4272d2f86fbb15b320ea2175ac7f4
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUse Params makeOutcome() without targetEntity 83/115183/1
Jim Hahn [Fri, 20 Nov 2020 16:47:02 +0000 (11:47 -0500)]
Use Params makeOutcome() without targetEntity

Planning to remove the second flavor of makeOutcome() from the Params,
so modifying the drools-apps code to work with the first flavor.

Issue-ID: POLICY-2804
Change-Id: Iddb288f7cf53e93919e77aca8afe3869fadb0d37
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoMerge "Delete preprocessed flag from actors"
Pamela Dragosh [Fri, 20 Nov 2020 13:28:27 +0000 (13:28 +0000)]
Merge "Delete preprocessed flag from actors"

3 years agoDelete preprocessed flag from actors 53/115053/1
Jim Hahn [Wed, 18 Nov 2020 17:04:26 +0000 (12:04 -0500)]
Delete preprocessed flag from actors

Removed the "preprocessed" flag from the Actor parameters, now
that the actors no longer have a startPreprocess() method.
Also removed targetEntity from the parameters.

Issue-ID: POLICY-2804
Change-Id: I13bc80e1b6bb22d8d21b176796ca062109ce6658
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoMerge "move all bash to ash shell scripts for drools-apps"
Jorge Hernandez [Wed, 18 Nov 2020 18:08:45 +0000 (18:08 +0000)]
Merge "move all bash to ash shell scripts for drools-apps"

3 years agomove all bash to ash shell scripts for drools-apps 44/114944/3
Taka Cho [Mon, 16 Nov 2020 15:48:39 +0000 (10:48 -0500)]
move all bash to ash shell scripts for drools-apps

this gerrit would be the first step
to not to use any GPL-3.0 and plus license

Issue-ID: POLICY-2847
Change-Id: I6787af6afd4a90d09d3cca86fa2ee7c5b6ea4eb0
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoMake drools-apps event agnostic 97/111597/4
Jim Hahn [Mon, 26 Oct 2020 20:48:47 +0000 (16:48 -0400)]
Make drools-apps event agnostic

Removed tdjam and frankfurt controllers, which use event-specific
actors.

Issue-ID: POLICY-2804
Change-Id: Ica05f80bf72d039d9c4903591af7fb3793a81159
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoAllow mixed case in check of prov-status 71/114771/1
Jim Hahn [Tue, 10 Nov 2020 16:39:51 +0000 (11:39 -0500)]
Allow mixed case in check of prov-status

Apparently SO/AAI in Frankfurt are setting the prov-status to "active"
instead of "ACTIVE".  Modified the code to ignore case when comparing.

Issue-ID: POLICY-2890-prov-status2
Change-Id: I9e868d320dadcb3ac51570718d10f33d0011ae47
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoFix upcoming checkstyle issues 64/114664/2
Pamela Dragosh [Fri, 6 Nov 2020 15:38:21 +0000 (10:38 -0500)]
Fix upcoming checkstyle issues

When we upgrade to oparent, these will fail as oparent upgrades
to 8.37 of puppycrawl which fixes a few bugs that should have
flagged these previously.

Issue-ID: POLICY-2887
Change-Id: I2ea37eef859aac08f54ffd1f4b1d6b9e702218e9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agocorrect filename and restructure directories for s3p 01/114401/2
Taka Cho [Thu, 29 Oct 2020 16:53:26 +0000 (12:53 -0400)]
correct filename and restructure directories for s3p

move s3p jmx and shell script under resources
remove old jmx files from the previous release

Issue-ID: POLICY-2832
Change-Id: I2c1d4f2137655bc096b402b12625fa4add15ecf5
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoMerge "add jmx and shell script for s3p drools-app"
Jim Hahn [Wed, 28 Oct 2020 21:02:07 +0000 (21:02 +0000)]
Merge "add jmx and shell script for s3p drools-app"

3 years agoBump drools-apps master to 1.8.0 SNAPSHOT 33/114333/1
Jim Hahn [Mon, 26 Oct 2020 20:19:28 +0000 (16:19 -0400)]
Bump drools-apps master to 1.8.0 SNAPSHOT

Bumping minor version now that guilin branch has been created.
Also repointed to snapshot versions for dependencies.

Issue-ID: POLICY-2875
Change-Id: Ieb3f8d6ff141d3035141ab8672d3259074f432be
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoadd jmx and shell script for s3p drools-app 41/114241/5
Taka Cho [Mon, 26 Oct 2020 14:11:52 +0000 (10:11 -0400)]
add jmx and shell script for s3p drools-app

modified s3p.jmx from Frankfurt to fit for
Guilin. and modified shell script from Amsterdam

Issue-ID: POLICY-2832
Change-Id: Id9ab2535e6ea8bce0f5f367fbf296fc215d65c9f
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoBump drools-apps to 1.7.5 SNAPSHOT 65/114065/1
Jim Hahn [Tue, 20 Oct 2020 18:01:09 +0000 (14:01 -0400)]
Bump drools-apps to 1.7.5 SNAPSHOT

Issue-ID: POLICY-2869
Change-Id: I627c5b1c4c5f946c1187a6966b30d3943825fa71
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease drools-apps 1.7.4 docker 64/114064/1
Jim Hahn [Tue, 20 Oct 2020 17:41:18 +0000 (13:41 -0400)]
Release drools-apps 1.7.4 docker

Issue-ID: POLICY-2869
Change-Id: I84c5128e0b82c72cd81540174442ceb19407dd3d
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease drools-apps 1.7.4 artifacts 63/114063/1
Jim Hahn [Tue, 20 Oct 2020 16:43:04 +0000 (12:43 -0400)]
Release drools-apps 1.7.4 artifacts

Issue-ID: POLICY-2869
Change-Id: Ib0d32f3c87bff3ce402a1435e2a4ef9e0dd01940
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUse release versions in drools-apps 55/114055/1
Jim Hahn [Tue, 20 Oct 2020 15:01:57 +0000 (11:01 -0400)]
Use release versions in drools-apps

Issue-ID: POLICY-2869
Change-Id: Ie55fb49b22b7880575395f6fa7676a508f1f2a85
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoPoint drools-apps to models 2.3.5 32/114032/1
Pamela Dragosh [Tue, 20 Oct 2020 12:11:19 +0000 (08:11 -0400)]
Point drools-apps to models 2.3.5

Issue-ID: POLICY-2869
Change-Id: Ideb10482ffd3e670e6237305ef8ff9d0a0143257
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agopoint to drool-pdp 1.7.4-SNAPSHOT 96/113896/1
Taka Cho [Wed, 14 Oct 2020 14:39:09 +0000 (10:39 -0400)]
point to drool-pdp 1.7.4-SNAPSHOT

Issue-ID: POLICY-2864
Change-Id: I45fd53df2d143d1e082db477316b4378d8c5e6a0
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoMerge "bump drools-apps to 1.7.4-SNAPSHOT"
Jim Hahn [Sat, 10 Oct 2020 21:49:59 +0000 (21:49 +0000)]
Merge "bump drools-apps to 1.7.4-SNAPSHOT"

3 years agobump drools-apps to 1.7.4-SNAPSHOT 56/113756/1
Taka Cho [Sat, 10 Oct 2020 20:48:19 +0000 (16:48 -0400)]
bump drools-apps to 1.7.4-SNAPSHOT

Issue-ID: POLICY-2839
Change-Id: Ie0bc82d0f8a09dc4d65e056dc7836870dae58835
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoRelease drools-apps 1.7.3 docker image 55/113755/1
Jim Hahn [Sat, 10 Oct 2020 19:03:34 +0000 (15:03 -0400)]
Release drools-apps 1.7.3 docker image

Issue-ID: POLICY-2863
Change-Id: I5a42abffe141febf35e03c227683515ae4870a5d
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease drools-apps 1.7.3 artifacts 54/113754/1
Jim Hahn [Sat, 10 Oct 2020 17:11:05 +0000 (13:11 -0400)]
Release drools-apps 1.7.3 artifacts

Issue-ID: POLICY-2863
Change-Id: Ifef9714179ae4a19793c6599abe672a5191cc101
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUse models 2.3.4 and drools-pdp 1.7.3 releases 53/113753/1
Jim Hahn [Fri, 9 Oct 2020 19:46:32 +0000 (15:46 -0400)]
Use models 2.3.4 and drools-pdp 1.7.3 releases

Issue-ID: POLICY-2863
Change-Id: Iac66e5f4794e9d959490f205b4f00ccfa4c1d332
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUse models and drools snapshots 29/113729/1
Jim Hahn [Fri, 9 Oct 2020 16:47:58 +0000 (12:47 -0400)]
Use models and drools snapshots

Issue-ID: POLICY-2863
Change-Id: I7e436034dfaa1917b1fba050ab832b273730bb41
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoBump drools-apps to 1.7.3 snapshot 81/113681/1
Taka Cho [Thu, 8 Oct 2020 12:34:34 +0000 (08:34 -0400)]
Bump drools-apps to 1.7.3 snapshot

Issue-ID: POLICY-2839
Change-Id: Iafbc4a301ee8bc2b5fb10f34677f752a87997879
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agorelease drools-apps docker 1.7.2 60/113660/1
Taka Cho [Thu, 8 Oct 2020 01:34:39 +0000 (21:34 -0400)]
release drools-apps docker 1.7.2

Issue-ID: POLICY-2839
Change-Id: Id515d64554794677ab1c83626fe0f337856498cf
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agorelease 1.7.2 drools-apps artifact 59/113659/1
Taka Cho [Wed, 7 Oct 2020 23:32:37 +0000 (19:32 -0400)]
release 1.7.2 drools-apps artifact

Change-Id: Ib135c94c5702dd24908e3251fae035a7894db6de

Issue-ID: POLICY-2839
Change-Id: Ie673f7c20f5a84bc7a1cdf053b51dfa373507ae6
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoPoint to model 2.3.2 and drools-pdp 1.7.2 34/113634/2
Taka Cho [Wed, 7 Oct 2020 19:30:56 +0000 (15:30 -0400)]
Point to model 2.3.2 and drools-pdp 1.7.2

Issue-ID: POLICY-2839
Change-Id: I2a405e42e81073a3862cf1a3e01a8c0deaccc36e
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoMerge "Remove cds actor timeout"
Pamela Dragosh [Fri, 2 Oct 2020 11:44:17 +0000 (11:44 +0000)]
Merge "Remove cds actor timeout"

3 years agoRemove cds actor timeout 05/113405/4
Ram Krishna Verma [Wed, 30 Sep 2020 21:35:17 +0000 (17:35 -0400)]
Remove cds actor timeout

During testing we found that cds actor is picking up the timeout from policy configuration.
As discussed, adding a comment for now and we will remove it in next release alog with related code.

Issue-ID: POLICY-2843
Change-Id: I63b589bea344ad7f33e6fc0d34f0ab331411146b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoMerge "Fix new sonars in drools-apps"
Jim Hahn [Thu, 1 Oct 2020 18:00:50 +0000 (18:00 +0000)]
Merge "Fix new sonars in drools-apps"

3 years agoFix new sonars in drools-apps 94/113394/4
Jim Hahn [Wed, 30 Sep 2020 16:52:25 +0000 (12:52 -0400)]
Fix new sonars in drools-apps

Addressed the following sonars:
- too many assertions in test method
- rename test class
- use static method to modify static field
- use already defined constant
- code always returns the same value
- use assertNotSame
- use appropriate class name to access static method
- define a constant
- extract nested try block
- don't always return the same value
- use remove() instead of set(null) for thread-local-storage
- add @Override

Issue-ID: POLICY-2852
Change-Id: Icc62acd4ad57afa2d44ed4cdca504a3ac0810228
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoremove enable frankfurt controller 45/113345/1
Taka Cho [Tue, 29 Sep 2020 23:04:46 +0000 (19:04 -0400)]
remove enable frankfurt controller

In G-Rel, we will use usecases controller.
only install frankfurt controller by default
keep disable for frankfurt controller

Issue-ID: POLICY-2849
Change-Id: I3f09a2920b2bf05af0389b56366ce7229d8113c2
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoRelease locks between junit tests 17/112517/4
Jim Hahn [Mon, 14 Sep 2020 13:42:02 +0000 (09:42 -0400)]
Release locks between junit tests

Tdjam junits were randomly failing.  Traced it down to the fact that the
locks were being released asynchronously and thus were not always
released when the next test cases requested them.
Also simplified logging for tdjam junit tests.
Fixed the property file so it isn't overwritten by the junit tests.

Changes per review comments:
- changed "Pattern" to "pattern" in logback xml

Issue-ID: POLICY-2789
Change-Id: I325ec69cf7affa531d3c575e3a34bc0b0e1edac7
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agobump snapshot version to 1.7.2-SNAPSHOT 30/112430/1
jhh [Wed, 9 Sep 2020 22:15:50 +0000 (17:15 -0500)]
bump snapshot version to 1.7.2-SNAPSHOT

Issue-ID: POLICY-2789
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I4335cf77bd4a228fe0bec2d5eb529789e8144406

3 years agodocker release 1.7.1 22/112422/1
jhh [Wed, 9 Sep 2020 21:32:31 +0000 (16:32 -0500)]
docker release 1.7.1

Issue-ID: POLICY-2789
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Id0fc75b4c27ec1fdd4e33eb60c784e3c63e37952

3 years agomaven release 1.7.1 16/112416/1
jhh [Wed, 9 Sep 2020 19:41:34 +0000 (14:41 -0500)]
maven release 1.7.1

Issue-ID: POLICY-2789
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iad1b751d39518eb7d38b25b37d02b57f665d24e7

3 years agodisable TdjamTest junits 08/112408/1
jhh [Wed, 9 Sep 2020 18:26:21 +0000 (13:26 -0500)]
disable TdjamTest junits

junits consistently fail in staging jobs

Issue-ID: POLICY-2789
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I968bd9ec2c3e8278358ef3c487592c0b833cef36