policy/engine.git
3 years agoAdd Ajith to policy/engine info 64/110564/1 frankfurt
Jim Hahn [Fri, 24 Jul 2020 16:57:19 +0000 (12:57 -0400)]
Add Ajith to policy/engine info

Issue-ID: POLICY-2738
Change-Id: Idb18516deb0def791a9d558bf050fe99950fe43f
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoMS Model GUI fix for edit/view 57/110457/4
uj426b [Tue, 21 Jul 2020 20:40:02 +0000 (16:40 -0400)]
MS Model GUI fix for edit/view

Change-Id: Ia8ec5b8ec9d604ba739eed34b7080079380fb98f
Issue-ID: POLICY-2723
Signed-off-by: uj426b <uj426b@att.com>
3 years agoApache Tomcat version upgrade to 9.0.37 24/110424/1
uj426b [Tue, 21 Jul 2020 20:03:19 +0000 (16:03 -0400)]
Apache Tomcat version upgrade to 9.0.37

Change-Id: I4f1895efa666db9adc1182a59607bd7cd26534aa
Issue-ID: POLICY-2724
Signed-off-by: uj426b <uj426b@att.com>
3 years agoBump policy/engine to 1.6.6-SNAPSHOT 33/110033/1
Jim Hahn [Thu, 9 Jul 2020 20:51:45 +0000 (16:51 -0400)]
Bump policy/engine to 1.6.6-SNAPSHOT

Issue-ID: POLICY-2695
Change-Id: I360d738c6bc784baa4f4cb3fecc742ed4e5325c0
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease policy/engine 1.6.5 docker image 25/110025/3
Jim Hahn [Thu, 9 Jul 2020 18:22:33 +0000 (14:22 -0400)]
Release policy/engine 1.6.5 docker image

Issue-ID: POLICY-2695
Change-Id: I94426859e802d91a0c27ee772ab8cba8d6e701ef
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease policy/engine 1.6.5 19/110019/1
Jim Hahn [Thu, 9 Jul 2020 16:38:12 +0000 (12:38 -0400)]
Release policy/engine 1.6.5

Issue-ID: POLICY-2695
Change-Id: I920ff54ca852095269a929f76d9b3a96a32139b5
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agochange version of tomcat destination file 80/109980/1
jhh [Wed, 8 Jul 2020 16:44:13 +0000 (11:44 -0500)]
change version of tomcat destination file

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

3 years agoUpgrade tomcat-version-9.0.36 fix vulnerabilities. 46/109746/1
uj426b [Wed, 1 Jul 2020 16:12:06 +0000 (12:12 -0400)]
Upgrade tomcat-version-9.0.36 fix vulnerabilities.

Change-Id: I91b79ce794b725df4e974b49317e68ab194dcd20
Issue-ID: POLICY-2678
Signed-off-by: uj426b <uj426b@att.com>
3 years agoMerge "Bump Policy Engine to 1.6.5-SNAPSHOT" into frankfurt
Ram Krishna Verma [Fri, 22 May 2020 13:16:54 +0000 (13:16 +0000)]
Merge "Bump Policy Engine to 1.6.5-SNAPSHOT" into frankfurt

3 years agoBump Policy Engine to 1.6.5-SNAPSHOT 07/108107/2
uj426b [Thu, 21 May 2020 21:35:36 +0000 (17:35 -0400)]
Bump Policy Engine to 1.6.5-SNAPSHOT

Change-Id: I776183cd545fe749e1e401ea3e238154e1cceb5a
Issue-ID: POLICY-2514
Signed-off-by: uj426b <uj426b@att.com>
3 years agoMerge "Fix last remaining warnings" into frankfurt
Pamela Dragosh [Thu, 21 May 2020 20:47:02 +0000 (20:47 +0000)]
Merge "Fix last remaining warnings" into frankfurt

3 years agoRelease Policy Engine 1.6.4-container java 94/108094/2 6.0.0-ONAP
uj426b [Thu, 21 May 2020 17:24:38 +0000 (13:24 -0400)]
Release Policy Engine 1.6.4-container java

Change-Id: I6a9d1d60535b8b211688a9d5303aae19e13bfffa
Issue-ID: POLICY-2514
Signed-off-by: uj426b <uj426b@att.com>
3 years agoFix last remaining warnings 93/108093/1
Pamela Dragosh [Thu, 21 May 2020 17:23:07 +0000 (13:23 -0400)]
Fix last remaining warnings

Issue-ID: POLICY-2511
Change-Id: If09bcb8466f5b0b36a437f52304672c799f129ff
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoRelease Policy Engine 1.6.4 java 73/108073/1
uj426b [Thu, 21 May 2020 15:05:28 +0000 (11:05 -0400)]
Release Policy Engine 1.6.4 java

Change-Id: I1fbedfff813411417e7a29982824d8e24627ee2a
Issue-ID: POLICY-2514
Signed-off-by: uj426b <uj426b@att.com>
3 years agoPoint to released artifacts 15/108015/1
Pamela Dragosh [Wed, 20 May 2020 21:38:42 +0000 (17:38 -0400)]
Point to released artifacts

Issue-ID: POLICY-2514
Change-Id: Ic0d839f4f6270ffe6e6dfe8a92916b5912f2f501
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoFix Junit to clean up file/directory 45/107645/4
uj426b [Wed, 13 May 2020 22:41:47 +0000 (18:41 -0400)]
Fix Junit to clean up file/directory

Change-Id: Ib29b3b708bd28e333822d4c2b9db44e33f8e395f
Issue-ID: POLICY-2496
Signed-off-by: uj426b <uj426b@att.com>
3 years agoFix Policy import/export on gui 33/107333/5
uj426b [Thu, 7 May 2020 14:32:26 +0000 (10:32 -0400)]
Fix Policy import/export on gui

Issue-ID: POLICY-2545
Change-Id: I25fe8c415a0c9a9b15c97feb93c2ce3e9c975ed2
Signed-off-by: uj426b <uj426b@att.com>
3 years agoFix the path to land policy after login 82/106982/3
uj426b [Fri, 1 May 2020 14:39:09 +0000 (10:39 -0400)]
Fix the path to land policy after login

Issue-ID: POLICY-2531
Change-Id: Id7512752345822bc289e0355ac130a3af5339817
Signed-off-by: uj426b <uj426b@att.com>
3 years agoBump engine patch 1.6.4-SNAPSHOT 54/106954/1
Pamela Dragosh [Thu, 30 Apr 2020 20:05:19 +0000 (16:05 -0400)]
Bump engine patch 1.6.4-SNAPSHOT

And point to latest parent, common and models.

Issue-ID: POLICY-2510
Change-Id: Ib0cab4b57fb6efb8388d89bedcf2d34164edc0e7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoRelease engine 1.6.3 docker image 38/106938/1
Pamela Dragosh [Thu, 30 Apr 2020 16:12:21 +0000 (12:12 -0400)]
Release engine 1.6.3 docker image

Issue-ID: POLICY-2510
Change-Id: I4d2cd6278d5ace011b7f17a19e4e76375fa4b774
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoMerge "Release engine 1.6.3 java"
Pamela Dragosh [Thu, 30 Apr 2020 15:58:22 +0000 (15:58 +0000)]
Merge "Release engine 1.6.3 java"

3 years agoRelease engine 1.6.3 java 92/106892/3
Pamela Dragosh [Thu, 30 Apr 2020 13:13:13 +0000 (09:13 -0400)]
Release engine 1.6.3 java

Issue-ID: POLICY-2510
Change-Id: Iefacf6ae6270a0f50617fdf1f73a5b223b4d1401
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoFix to get Standalone access to Policy Gui 94/106894/1
uj426b [Thu, 30 Apr 2020 13:41:17 +0000 (09:41 -0400)]
Fix to get Standalone access to Policy Gui

Issue-ID: POLICY-2531
Change-Id: Ifd736f3054efd6b4f390926f01bf376922d3ee55
Signed-off-by: uj426b <uj426b@att.com>
3 years agoFix for MS Policy Tosca Model and other items 69/106769/6
uj426b [Tue, 28 Apr 2020 19:43:20 +0000 (15:43 -0400)]
Fix for MS Policy Tosca Model and other items

Issue-ID: POLICY-2520
Change-Id: I35fac9e7d157aa4a137cd9dd5a30830eaf63f586
Signed-off-by: uj426b <uj426b@att.com>
3 years agoremove invocation of push-policies.sh in legacy pap 62/106562/2
jhh [Thu, 23 Apr 2020 21:34:35 +0000 (16:34 -0500)]
remove invocation of push-policies.sh in legacy pap

Issue-ID: POLICY-2518
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia760f391a4ff97b16530842ed7e33c93966532c1
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
3 years agoFix for Push/Unpush Policy On GUI 59/106459/2
uj426b [Wed, 22 Apr 2020 16:46:19 +0000 (12:46 -0400)]
Fix for Push/Unpush Policy On GUI

Issue-ID: POLICY-2518
Change-Id: Ie70fc5049f87b55384731900373884d8b25803bb
Signed-off-by: uj426b <uj426b@att.com>
4 years agoFix for blank onapName and partial dictionary 52/106152/1
uj426b [Thu, 16 Apr 2020 19:43:34 +0000 (15:43 -0400)]
Fix for blank onapName and partial dictionary

Issue-ID: POLICY-2492
Change-Id: I329f6ab38d68887139f1d198a6777917fbd0fb28
Signed-off-by: uj426b <uj426b@att.com>
4 years agoMerge "Fix policy engine JUnit that hung on ubuntu 18.04"
Jim Hahn [Thu, 16 Apr 2020 17:19:30 +0000 (17:19 +0000)]
Merge "Fix policy engine JUnit that hung on ubuntu 18.04"

4 years agoFix policy engine JUnit that hung on ubuntu 18.04 07/105107/7
uj426b [Fri, 3 Apr 2020 21:41:01 +0000 (17:41 -0400)]
Fix policy engine JUnit that hung on ubuntu 18.04

Replaced powermock with overridable methods.

Review comments:
- license data

Issue-ID: POLICY-2444
Change-Id: I60916a720569a293e6c91e8278cda41b93c3c843
Signed-off-by: uj426b <uj426b@att.com>
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoBump engine 1.6.3-SNAPSHOT 35/106035/1
Pamela Dragosh [Wed, 15 Apr 2020 16:56:56 +0000 (12:56 -0400)]
Bump engine 1.6.3-SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: Ic374190da660b3c258998ecf131fa57dcb1cb834
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRelease engine 1.6.2 docker image 26/106026/1
Pamela Dragosh [Wed, 15 Apr 2020 14:47:18 +0000 (10:47 -0400)]
Release engine 1.6.2 docker image

Issue-ID: POLICY-2378
Change-Id: I3dc21ac7d8a0883d886197c6a74632ecad440384
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRelease engine 1.6.2 artifacts 17/106017/1
Pamela Dragosh [Wed, 15 Apr 2020 13:56:27 +0000 (09:56 -0400)]
Release engine 1.6.2 artifacts

Issue-ID: POLICY-2378
Change-Id: Ie1b813bfdbca6ba66565af8e73900cb29694182e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to released common,models,drools-apps 72/105972/1
Pamela Dragosh [Wed, 15 Apr 2020 00:34:21 +0000 (20:34 -0400)]
Point to released common,models,drools-apps

Issue-ID: POLICY-2378
Change-Id: I4aa81585e154c1e7ee131db9cf5194530a212e67
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoFix for Policy editor GUI issue. 61/105961/1
uj426b [Tue, 14 Apr 2020 21:17:36 +0000 (17:17 -0400)]
Fix for Policy editor GUI issue.

Issue-ID: POLICY-2492
Change-Id: Ic436a72d321c9aeed1a7eeec57c6dfc44819d6cc
Signed-off-by: uj426b <uj426b@att.com>
4 years agoPoint to parent, common, models 72/105872/1
Pamela Dragosh [Mon, 13 Apr 2020 20:54:37 +0000 (16:54 -0400)]
Point to parent, common, models

Released parent, fixes in model and commons.

Issue-ID: POLICY-2486
Change-Id: I5c939dade1024dc6c606250ec8f55ece74614b36
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agomanual revert of jpa dependency on brmsgw 12/105712/1
jhh [Thu, 9 Apr 2020 18:24:02 +0000 (13:24 -0500)]
manual revert of jpa dependency on brmsgw

The review https://gerrit.onap.org/r/c/policy/engine/+/105439
introduced an additional dependency that did not solve the
underlying issue per testing.   Reverting back the change,
as other repos seem to be working without needing it.

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

4 years agoAutomation adds policy-engine-architecture.rst 03/105603/2
LF Jenkins CI [Wed, 8 Apr 2020 20:22:03 +0000 (20:22 +0000)]
Automation adds policy-engine-architecture.rst

Issue-ID: CIMAN-376

Change-Id: I8079f4dee4b5b1e9ffd643f1c97eb01c8c675055
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoMerge "Automation adds index.rst"
Jessica Wagantall [Wed, 8 Apr 2020 16:57:15 +0000 (16:57 +0000)]
Merge "Automation adds index.rst"

4 years agoFix for healthcheck issue with brmsgw 39/105439/1
uj426b [Tue, 7 Apr 2020 18:29:42 +0000 (14:29 -0400)]
Fix for healthcheck issue with brmsgw

Issue-ID: POLICY-2471
Change-Id: Ic0acc8889639a7346486797550a6bcb127e1291b
Signed-off-by: uj426b <uj426b@att.com>
4 years agoAutomation adds index.rst 96/105396/2
LF Jenkins CI [Tue, 7 Apr 2020 17:43:11 +0000 (17:43 +0000)]
Automation adds index.rst

Issue-ID: CIMAN-376

Change-Id: Iccb0fe8931fb22447e1d4983adf74d4be7fc92e2
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoPoint to parent SNAPSHOT 54/105254/1
Pamela Dragosh [Tue, 7 Apr 2020 12:44:16 +0000 (08:44 -0400)]
Point to parent SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I4522be8ab99a9d5dde6b1df731cf6135011c58d5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to released snapshots 94/104594/1
Pamela Dragosh [Fri, 27 Mar 2020 17:01:51 +0000 (13:01 -0400)]
Point to released snapshots

Issue-ID: POLICY-2378
Change-Id: I6213bdf4a5c3a83312f0bb2926474e4f3acaa681
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoBump engine 1.6.2 patch 56/104456/1
Pamela Dragosh [Thu, 26 Mar 2020 01:06:19 +0000 (21:06 -0400)]
Bump engine 1.6.2 patch

I'm not going to bother with the other non-pom changes.
Until we really need to.

Issue-ID: POLICY-2378
Change-Id: Ib06ae950cd37d75fb34f49fd5cb207deca998c11
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRelease engine 1.6.1 docker 54/104454/1
Pamela Dragosh [Thu, 26 Mar 2020 00:31:52 +0000 (20:31 -0400)]
Release engine 1.6.1 docker

Issue-ID: POLICY-2378
Change-Id: I81ecd9eb4e26d4e51b52b4fd4dc7663555468444
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRelease engine 1.6.1 artifacts 45/104445/1
Pamela Dragosh [Wed, 25 Mar 2020 23:04:59 +0000 (19:04 -0400)]
Release engine 1.6.1 artifacts

Issue-ID: POLICY-2378
Change-Id: Ib18bd384cd600492c7de0bd03d4738721e15f560
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to released artifacts 31/104431/1
Pamela Dragosh [Wed, 25 Mar 2020 20:44:40 +0000 (16:44 -0400)]
Point to released artifacts

1.6.0 is drools-app
2.2.2 is models

Issue-ID: POLICY-2378
Change-Id: I4329d433104e814ae023ee624442c79eb5eed3df
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoIgnore JUnit that fails intermittently 04/104304/1
Pamela Dragosh [Tue, 24 Mar 2020 20:47:52 +0000 (16:47 -0400)]
Ignore JUnit that fails intermittently

Issue-ID: POLICY-2378
Change-Id: Iaa2e804af63d4ce1232326bd2dcca96083e5f087
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoBump patch 1.6.1 to fix JUnit issue 88/104288/1
Pamela Dragosh [Tue, 24 Mar 2020 18:45:24 +0000 (14:45 -0400)]
Bump patch 1.6.1 to fix JUnit issue

The docker stage job is not succeeded, nor is the sonar
job. Logging doesn't produce anything useful, so the best
bet is to fix the order of the tests and hope that fixes the
problem.

Regardless must bump the patch to release it again.

Issue-ID: POLICY-2378
Change-Id: I01ff47c8deb124e9fd6ffcb37407dc580ecd6b03
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRelease engine 1.6.0 artifacts 63/104263/1
Pamela Dragosh [Tue, 24 Mar 2020 15:23:19 +0000 (11:23 -0400)]
Release engine 1.6.0 artifacts

Issue-ID: POLICY-2378
Change-Id: I1f4a7adfdd35cf01faa943d33d4d8093c0f3ceb9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to released artifacts 97/104197/2
Pamela Dragosh [Mon, 23 Mar 2020 23:49:37 +0000 (19:49 -0400)]
Point to released artifacts

There are many other changes for when drools-applications gets
released.

Issue-ID: POLICY-2378
Change-Id: If652a44d9486563f4f5ceb01f58e71d15e5fa75c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agorenew policy certs till 03/17/2021 85/103885/1
jhh [Wed, 18 Mar 2020 15:53:54 +0000 (10:53 -0500)]
renew policy certs till 03/17/2021

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

4 years agouse policy/parent awaitility 71/102871/1
Pamela Dragosh [Tue, 3 Mar 2020 14:33:02 +0000 (09:33 -0500)]
use policy/parent awaitility

use common version

Issue-ID: POLICY-2381
Change-Id: I2463363beda83aa7ffb584a1f2b487389320c549
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to docker 2.0.1 83/102683/1
Pamela Dragosh [Sun, 1 Mar 2020 21:58:33 +0000 (16:58 -0500)]
Point to docker 2.0.1

docker is released

Issue-ID: POLICY-2378
Change-Id: Ide4c8898c21a4ddb7b845f15f66b7ff2b9ac3fb7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Migrate policy-engine docs"
Pamela Dragosh [Mon, 24 Feb 2020 15:04:47 +0000 (15:04 +0000)]
Merge "Migrate policy-engine docs"

4 years agoAdd pom.xml dependencies and exclusions needed for policy-engine gui 57/102157/3
Peyton Puckett [Fri, 21 Feb 2020 16:25:28 +0000 (10:25 -0600)]
Add pom.xml dependencies and exclusions needed for policy-engine gui

Update powermockignore annotation to fix junit failure

Issue-ID: POLICY-1590
Change-Id: Iadd0855565c05d02af034a5ad02ea7b8e386fadc
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoFix policycreation test 61/102161/3
Pamela Dragosh [Fri, 21 Feb 2020 17:48:49 +0000 (12:48 -0500)]
Fix policycreation test

This test was only performing code coverage, it should have revealed
that IllegalArgument exceptions were incorrect.

Fixed bug in savePolicy when an exception being thrown has a null
message.

Added warning and error messages for debugging in the future.

Issue-ID: POLICY-1590
Change-Id: Ie32a73adbaf944f96e411a2c612cd8293382911c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUpdate policy-engine to fix failing jUnit tests after jdk11 upgrade 33/101933/3
Peyton Puckett [Tue, 18 Feb 2020 21:59:17 +0000 (15:59 -0600)]
Update policy-engine to fix failing jUnit tests after jdk11 upgrade

Issue-ID: POLICY-1590
Change-Id: I9f5a05112d943d7f3b6b0e807bf6ae4f2b993e55
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
Signed-off-by: Peyton Puckett <pp5762@att.com>
4 years agoMerge "Allow storing database password in environment variables"
Jim Hahn [Tue, 18 Feb 2020 16:50:09 +0000 (16:50 +0000)]
Merge "Allow storing database password in environment variables"

4 years agoAllow storing database password in environment variables 77/101877/3
Dominik Mizyn [Tue, 18 Feb 2020 08:57:40 +0000 (09:57 +0100)]
Allow storing database password in environment variables

This patch allows to store and get database password from
environment variables. This is needed if we want to send those
variables by helm secrets.

Issue-ID: OOM-2287
Change-Id: I041c3e4dd3b9042b2b6c2b34afc22867bab81b22
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
4 years agoRemove deletion of POLICY_HOME/etc/ssl 01/101801/1
jhh [Mon, 17 Feb 2020 01:20:15 +0000 (19:20 -0600)]
Remove deletion of POLICY_HOME/etc/ssl

To match work from:
https://gerrit.onap.org/r/#/c/policy/docker/+/101758/

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

4 years agoMigrate policy-engine docs 99/101299/2
Jessica Wagantall [Thu, 6 Feb 2020 22:53:30 +0000 (14:53 -0800)]
Migrate policy-engine docs

Merging this will create
https://onap-policy-engine.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.

Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I3582e1840308baf26778cbbbecfe53ad388ed2a6

4 years agoReview intellij git ignored files 10/101410/1
Bruno Sakoto [Fri, 7 Feb 2020 19:31:35 +0000 (14:31 -0500)]
Review intellij git ignored files

Issue-ID: POLICY-2359
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Iee0846d913798e33d5f745c2d4fc7c3a89304cd0

4 years agoInclude jaxb in runtime 42/101142/1
Jim Hahn [Tue, 4 Feb 2020 21:36:37 +0000 (16:36 -0500)]
Include jaxb in runtime

The jaxb implementation was included with scope=test.  As a result,
it was not found when trying to run the engine within docker.

Issue-ID: POLICY-1590
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I2e6e23929448b7c27bf6f6a1d2ea40c0c1cace97

4 years agoMerge "policy/engine jdk11 junit and compilation error fixes"
Pamela Dragosh [Tue, 4 Feb 2020 11:29:29 +0000 (11:29 +0000)]
Merge "policy/engine jdk11 junit and compilation error fixes"

4 years agopolicy/engine jdk11 junit and compilation error fixes 25/100725/12
HOCKLA [Thu, 23 Jan 2020 21:28:35 +0000 (15:28 -0600)]
policy/engine jdk11 junit and compilation error fixes

Issue-ID: POLICY-1590
Change-Id: I0bbc6f7310705c20924812efc5be2b0f91cf71a2
Signed-off-by: HOCKLA <ah999m@att.com>
4 years agoUpdating docker image with new tools. 79/100879/1
Bilal A [Tue, 28 Jan 2020 21:15:46 +0000 (21:15 +0000)]
Updating docker image with new tools.

Issue-ID: POLICY-2325
Signed-off-by: Bilal A <bilal@research.att.com>
Change-Id: I352038ab7b3bfcf5a25d6d50b90c55b2536bcda9

4 years agoMerge "policy/engine jdk11 upgrades"
Pamela Dragosh [Tue, 21 Jan 2020 19:17:15 +0000 (19:17 +0000)]
Merge "policy/engine jdk11 upgrades"

4 years agopolicy/engine jdk11 upgrades 39/100439/2
HOCKLA [Fri, 17 Jan 2020 22:20:01 +0000 (16:20 -0600)]
policy/engine jdk11 upgrades

Issue-ID: POLICY-1590
Change-Id: I4da8324a065ac9babe16368e69b76a4cbe9504ef
Signed-off-by: HOCKLA <ah999m@att.com>
4 years agoFirst update sonar 72/100472/2
Pamela Dragosh [Mon, 20 Jan 2020 12:55:10 +0000 (07:55 -0500)]
First update sonar

This is still pointing to old oparent, so only making the
minor change. Note, I could not test this locally because
the JUnits fail.

Once Ali's review is merged I will make the final cleanup.

Issue-ID: POLICY-2321
Change-Id: Idcd7633fc2fdbeaede8b24aab5dcd5437632da2f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to policy/models release version 25/100225/1
HOCKLA [Fri, 10 Jan 2020 22:01:30 +0000 (16:01 -0600)]
Point to policy/models release version

Issue-ID: POLICY-1592
Change-Id: Ic8f5f5829b757578d0d5b32bf273cc9799faef71
Signed-off-by: HOCKLA <ah999m@att.com>
4 years agoAdd and modify jUnits for code coverage (continue admin) 26/100026/2
Peyton Puckett [Fri, 3 Jan 2020 23:35:50 +0000 (17:35 -0600)]
Add and modify jUnits for code coverage (continue admin)

Issue-ID: POLICY-2133
Change-Id: I4848e18c3ff638d6b659464b7c9293228dcc36d5
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoAdd and modify jUnits for code coverage (continue components, admin) 42/99742/2
Peyton Puckett [Tue, 17 Dec 2019 16:23:14 +0000 (10:23 -0600)]
Add and modify jUnits for code coverage (continue components, admin)

Issue-ID: POLICY-2133
Change-Id: I6b308ad8e9dcd54a260312bbee8deeaec3af2cf1
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoAdd and modify jUnits for code coverage (components) 45/99445/2
Peyton Puckett [Tue, 10 Dec 2019 17:45:44 +0000 (11:45 -0600)]
Add and modify jUnits for code coverage (components)

Issue-ID: POLICY-2133
Change-Id: I0ded200797c112c1da4e50bd0721bb87c2d124ac
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoMerge "Add and Modify jUnits for code coverage (model, admin)"
Pamela Dragosh [Fri, 6 Dec 2019 21:55:24 +0000 (21:55 +0000)]
Merge "Add and Modify jUnits for code coverage (model, admin)"

4 years agoPoint to release versions of policy/parent and policy/common 31/99231/5
HOCKLA [Thu, 5 Dec 2019 20:20:46 +0000 (14:20 -0600)]
Point to release versions of policy/parent and policy/common

Issue-ID: POLICY-1583
Change-Id: I6d7ec1ccf00110d0f84998c05492b6d59a12cdf1
Signed-off-by: HOCKLA <ah999m@att.com>
4 years agoAdd and Modify jUnits for code coverage (model, admin) 36/99236/1
Peyton Puckett [Wed, 4 Dec 2019 21:55:30 +0000 (15:55 -0600)]
Add and Modify jUnits for code coverage (model, admin)

Add tests to model after viewing sonarcloud coverage
Start adding tests for admin

Issue-ID: POLICY-2133
Change-Id: I690c612357fe3390c7904c6ba4c941dcefcc7640
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoMerge "Add and Modify JUnits for Code Coverage (components, controller)"
Pamela Dragosh [Thu, 5 Dec 2019 16:20:08 +0000 (16:20 +0000)]
Merge "Add and Modify JUnits for Code Coverage (components, controller)"

4 years agoAdd and Modify JUnits for Code Coverage (components, controller) 69/99169/1
Peyton Puckett [Tue, 26 Nov 2019 17:57:57 +0000 (11:57 -0600)]
Add and Modify JUnits for Code Coverage (components, controller)

Issue-ID: POLICY-2133
Change-Id: I9d8cecc7e9b1c280a0296a4e160f42e41264c1b6
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoMerge "Couple of JUnit additions for PAP-REST"
Pamela Dragosh [Wed, 4 Dec 2019 00:38:43 +0000 (00:38 +0000)]
Merge "Couple of JUnit additions for PAP-REST"

4 years agoMerge "Add and Modify JUnits for Code Coverage (daoImpl)"
Jorge Hernandez [Tue, 3 Dec 2019 15:23:37 +0000 (15:23 +0000)]
Merge "Add and Modify JUnits for Code Coverage (daoImpl)"

4 years agoAdd and Modify JUnits for Code Coverage (daoImpl) 23/99023/4
Peyton Puckett [Mon, 25 Nov 2019 17:44:19 +0000 (11:44 -0600)]
Add and Modify JUnits for Code Coverage (daoImpl)

Issue-ID: POLICY-2133
Change-Id: I1b16aa63394da0715dc50b5f0ac037b64d020a41
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoUnit/SONAR/Checkstyle in ONAP-REST 84/98984/2
liamfallon [Sun, 1 Dec 2019 21:44:47 +0000 (21:44 +0000)]
Unit/SONAR/Checkstyle in ONAP-REST

Util package of ONAP-REST, with JUnit added and
SONAR/Checkstyle issues addressed. Coverage increased from 51% to 73% in
large PolicyValidation class.

Issue-ID: POLICY-2131
Change-Id: Iffa90e2dfa155d3e9cac114032fb9ca0df2cbab0
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Unit/SONAR/Checkstyle in ONAP-REST"
Liam Fallon [Sun, 1 Dec 2019 11:33:44 +0000 (11:33 +0000)]
Merge "Unit/SONAR/Checkstyle in ONAP-REST"

4 years agoMerge "Add and Modify JUnits for Code Coverage"
Jorge Hernandez [Sat, 30 Nov 2019 17:58:01 +0000 (17:58 +0000)]
Merge "Add and Modify JUnits for Code Coverage"

4 years agoUnit/SONAR/Checkstyle in ONAP-REST 65/98965/1
liamfallon [Thu, 28 Nov 2019 16:28:27 +0000 (16:28 +0000)]
Unit/SONAR/Checkstyle in ONAP-REST

Util package of ONAP-REST, with JUnit added and
SONAR/Checkstyle issues addressed. Coverage increased from 31% to 51% in
large PolicyValidation class.

Issue-ID: POLICY-2131
Change-Id: Ic88dd0d47bc9c09ed294ea62c37c683297b590c0
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUnit/SONAR/Checkstyle in ONAP-REST 91/98891/1
liamfallon [Wed, 27 Nov 2019 11:10:04 +0000 (11:10 +0000)]
Unit/SONAR/Checkstyle in ONAP-REST

Util package of ONAP-REST, with JUnit added and
SONAR/Checkstyle issues addressed. Coverage increased from 18% to 31% in
large PolicyValidation class.

Issue-ID: POLICY-2131
Change-Id: Ie059db312918021683fe27cc2aaeed86b04046f2
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoCouple of JUnit additions for PAP-REST 21/98821/4
bobbymander [Mon, 25 Nov 2019 19:56:57 +0000 (14:56 -0500)]
Couple of JUnit additions for PAP-REST

Issue-ID: POLICY-2130
Change-Id: Id7252df4a244e579d599a5d2631c60ddb9ccfab3
Signed-off-by: bobbymander <bobby.mander@att.com>
4 years agoAdd and Modify JUnits for Code Coverage 41/98741/2
Peyton Puckett [Wed, 20 Nov 2019 20:46:28 +0000 (14:46 -0600)]
Add and Modify JUnits for Code Coverage

Modify license

Issue-ID: POLICY-2133
Change-Id: I1b58fcc1636a9bf8d45595480bc5e027d93bb277
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoSonar cleanup and remove duplicate code 26/98726/1
Pamela Dragosh [Thu, 21 Nov 2019 15:50:07 +0000 (10:50 -0500)]
Sonar cleanup and remove duplicate code

Removed some duplicate code and cleaned up some sonar issues.

Issue-ID: POLICY-2242
Change-Id: I374c263516d87bda66442ed65cae9cc056e68e56
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Add ONAP-XACML StdEngine tests"
Pamela Dragosh [Thu, 21 Nov 2019 12:56:04 +0000 (12:56 +0000)]
Merge "Add ONAP-XACML StdEngine tests"

4 years agoAdd ONAP-XACML StdEngine tests 28/98628/5
Pamela Dragosh [Tue, 19 Nov 2019 19:54:11 +0000 (14:54 -0500)]
Add ONAP-XACML StdEngine tests

Re-worked some JUnits to ensure they really are testing correctly.

added coverage to the factory and std engine for easy exception
conditions.

Issue-ID: POLICY-2242
Change-Id: Iff6a390bff871fea2836336b77567f4a35720dfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Build tar.gz without requiring docker image build"
Pamela Dragosh [Wed, 20 Nov 2019 12:26:08 +0000 (12:26 +0000)]
Merge "Build tar.gz without requiring docker image build"

4 years agoMerge "Unit/SONAR/Checkstyle in ONAP-REST"
Ram Krishna Verma [Wed, 20 Nov 2019 09:54:59 +0000 (09:54 +0000)]
Merge "Unit/SONAR/Checkstyle in ONAP-REST"

4 years agoBuild tar.gz without requiring docker image build 37/98637/1
jhh [Tue, 19 Nov 2019 22:50:31 +0000 (16:50 -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: I7a6a2fa109328f9e479af019198877fd6421ede5

4 years agoUnit/SONAR/Checkstyle in ONAP-REST 11/98611/3
liamfallon [Tue, 19 Nov 2019 12:17:44 +0000 (12:17 +0000)]
Unit/SONAR/Checkstyle in ONAP-REST

Refactor of the PolicyValidationRequestWrapper class to make it
testable and unit tests for the class.

Issue-ID: POLICY-2131
Change-Id: Ie6b0b20aafd6a823fa778bb8070d057f27b28603
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Format ONAP-XACML and add JUnit"
Jorge Hernandez [Tue, 19 Nov 2019 16:37:11 +0000 (16:37 +0000)]
Merge "Format ONAP-XACML and add JUnit"

4 years agoFormat ONAP-XACML and add JUnit 29/98329/6
Pamela Dragosh [Tue, 12 Nov 2019 19:48:30 +0000 (14:48 -0500)]
Format ONAP-XACML and add JUnit

Formatting and sonar issues.

Cleaned up JUnit tests.

Added more JUnit test coverage.

Issue-ID: POLICY-2242
Change-Id: Ife0921971c6eb97de2a64b2f303cd16f992b4bd3
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUnit/SONAR/Checkstyle in ONAP-REST 12/98512/3
liamfallon [Mon, 18 Nov 2019 12:36:28 +0000 (12:36 +0000)]
Unit/SONAR/Checkstyle in ONAP-REST

Util package of ONAP-REST, with JUnit added and
SONAR/Checkstyle issues addressed. In cases where a class name change
caused an update in another package, the license header on files for
those knock on changes are not updated.

Issue-ID: POLICY-2131

Change-Id: Ic134408efe76b9838f5607a07f1735d12bd41032
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Unit/SONAR/Checkstyle in ONAP-REST"
Liam Fallon [Mon, 18 Nov 2019 10:24:15 +0000 (10:24 +0000)]
Merge "Unit/SONAR/Checkstyle in ONAP-REST"

4 years agoMore JUnit additions for PAP-REST 63/98463/1
bobbymander [Fri, 15 Nov 2019 18:59:18 +0000 (13:59 -0500)]
More JUnit additions for PAP-REST

Issue-ID: POLICY-2130
Change-Id: Ia111e5fd6dfba1e03f157ff95f91ef65df293043
Signed-off-by: bobbymander <bobby.mander@att.com>