policy/engine.git
4 years agoReview maven dependency for snakeyaml 71/93071/1
Bruno Sakoto [Thu, 8 Aug 2019 12:27:44 +0000 (08:27 -0400)]
Review maven dependency for snakeyaml

Remove explicit version for snakeyaml maven dependency and inherit it
from integration parent artifact.

Upgrade snakeyaml to latest 1.24 version.

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

4 years agoBump version of policy/engine 71/92971/1
Jim Hahn [Wed, 7 Aug 2019 20:07:37 +0000 (16:07 -0400)]
Bump version of policy/engine

Change-Id: I77e7483bcecbc19d9a5a93087fd4c674aa898b52
Issue-ID: POLICY-1965
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoAdd release 1.5.1 file 35/92835/1
jhh [Tue, 6 Aug 2019 18:28:01 +0000 (13:28 -0500)]
Add release 1.5.1 file

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

4 years agoUpdate to latest common/models released versions 04/92704/3
jhh [Mon, 5 Aug 2019 15:34:05 +0000 (10:34 -0500)]
Update to latest common/models released versions

policy/models: 2.1.2
policy/common: 1.5.1

Change-Id: Ifa72ed573fb7685710c7288da6fd16ffe6ea397f
Issue-ID: POLICY-1953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoExpand AAF_NS to onap.org.osaaf.aaf 12/92412/1
jhh [Wed, 31 Jul 2019 20:25:46 +0000 (15:25 -0500)]
Expand AAF_NS to onap.org.osaaf.aaf

Change-Id: I19f284842976ca5e27e5baaa3f21a229ef18ec04
Issue-ID: POLICY-1959
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoAdd lombok.config to policy/engine 10/92110/1
Jim Hahn [Fri, 26 Jul 2019 13:09:40 +0000 (09:09 -0400)]
Add lombok.config to policy/engine

This prevents sonar from checking lombok annotations for code coverage.

Change-Id: Ia0164c0dd1adf746ef5fbac156fc44e17c424ed3
Issue-ID: POLICY-1938
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoJavascript now required for code coverage 09/91809/1
Pamela Dragosh [Mon, 22 Jul 2019 13:30:02 +0000 (09:30 -0400)]
Javascript now required for code coverage

For El Alto, it is now required to pull coverage of Javascript
code.

Issue-ID: POLICY-1928
Change-Id: If1c0c2ba795b7a8f5faf69ab32ffbb953c411f78
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoFix policy/engine due to sonar changes in common 47/91047/1
Jim Hahn [Mon, 8 Jul 2019 16:38:53 +0000 (12:38 -0400)]
Fix policy/engine due to sonar changes in common

Fixed breakages due to changes made in policy/common to satisfy
sonar.

Change-Id: I88090c7549ba19f9eb45fae311e8811e39f30318
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoBump engine 1.5.1-SNAPSHOT 45/90745/2
Pamela Dragosh [Mon, 1 Jul 2019 18:22:12 +0000 (14:22 -0400)]
Bump engine 1.5.1-SNAPSHOT

Released 1.5.0

Fixed compilation issue related with version upgrade of
policy/common.

Issue-ID: POLICY-1737
Change-Id: Ib2f56e8ffcb4b399dbe4a5453b70da10b0f87985
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoMerge "Adding logging to JUnit" 1.5.0
Jim Hahn [Mon, 1 Jul 2019 15:14:19 +0000 (15:14 +0000)]
Merge "Adding logging to JUnit"

4 years agoFix centos build issue 30/90730/2
Jim Hahn [Mon, 1 Jul 2019 14:11:35 +0000 (10:11 -0400)]
Fix centos build issue

Seeing this when trying to build in centos:
  10:04:12 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0,
    Time elapsed: 0.459 s - in
    org.onap.policy.pap.ia.DbAuditCompareEntriesTest
  10:04:12 [INFO]
  10:04:12 [INFO] Results:
  10:04:12 [INFO]
  10:04:12 [ERROR] Failures:
  10:04:12 [ERROR]   XACMLPAPTest.testDummy:907
  10:04:12 [ERROR] Errors:
  10:04:12 [ERROR]   XACMLPAPTest.getDictionary:886 ยป NullPointer
...

Modified the junit test(s) to create the JPA entities needed
by integrity audit, which is what was causing the above issues.

Change-Id: I405798a1946d377770529a99210a1cc57390667f
Issue-ID: POLICY-1737
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoAdding logging to JUnit 90/90690/1
Pamela Dragosh [Fri, 28 Jun 2019 21:21:13 +0000 (17:21 -0400)]
Adding logging to JUnit

Turning on logging.

Issue-ID: POLICY-1876
Change-Id: I82b04609a07f5d33c88c3e0068959de1e628cb38
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRemove docker scripts 67/90667/1
Pamela Dragosh [Fri, 28 Jun 2019 12:37:18 +0000 (08:37 -0400)]
Remove docker scripts

These are no longer needed as we are now doing the docker
maven plugin due to global-jjb changes.

Issue-ID: POLICY-1737
Change-Id: I98e8f2a16a66cfe210ddcdf0c50cb55bdebfd687
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoRemove trafficgenerator from dependency.json 15/90615/2
Pamela Dragosh [Thu, 27 Jun 2019 19:21:42 +0000 (15:21 -0400)]
Remove trafficgenerator from dependency.json

This jar does not exist and breaks brmsgw when generating
the amsterdam archetype.

Update the dependency.json for local testing.

Issue-ID: POLICY-1872
Change-Id: I5851462ea39c56693284854b5cd1d2cb5dd1dcdd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUpgrade to released common & models 00/90400/1
Pamela Dragosh [Mon, 24 Jun 2019 15:50:56 +0000 (11:50 -0400)]
Upgrade to released common & models

Released common 1.5.0 and models 2.1.0

Issue-ID: POLICY-1737
Change-Id: Iecbf38e57a71907f320e3c8da55a6921ca371c44
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Upgrade to release 3.0.0 parent"
Jim Hahn [Thu, 20 Jun 2019 21:05:36 +0000 (21:05 +0000)]
Merge "Upgrade to release 3.0.0 parent"

4 years agoUpgrade to release 3.0.0 parent 59/90259/1
Pamela Dragosh [Thu, 20 Jun 2019 20:34:07 +0000 (16:34 -0400)]
Upgrade to release 3.0.0 parent

Policy/parent is released

Issue-ID: POLICY-1737
Change-Id: I58d8a74f85a6bbc7499614093e7f0d73c54f95ed
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoImproved tests performance 68/90068/5
Krysiak Adam [Tue, 18 Jun 2019 09:09:21 +0000 (11:09 +0200)]
Improved tests performance

* used mock instead of waiting till dmaap client fails
* creating in memory DB only once

Issue-ID: POLICY-1671
Change-Id: Ia1b6ce7ddad1bce0d17c2dbf14f3d82dd237673b
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
4 years agoFix compile issue with guard 97/90097/2
Pamela Dragosh [Tue, 18 Jun 2019 15:33:49 +0000 (11:33 -0400)]
Fix compile issue with guard

Due to sonar changes in policy/models for guard.

Issue-ID: POLICY-1791
Change-Id: I2cdbe6d0e4ee8bad05b9d3bb1a83e82d4851973c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUse io.fabric8:docker-maven-plugin to build and push docker images 25/90025/2
Rashmi Pujar [Mon, 17 Jun 2019 15:45:37 +0000 (11:45 -0400)]
Use io.fabric8:docker-maven-plugin to build and push docker images

Issue-ID: POLICY-969
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ic4fcec72d494df0a6e067aa353be49936136518c

4 years agoRemove nexus staging plugin 35/89535/1
pdragosh [Thu, 6 Jun 2019 17:50:45 +0000 (13:50 -0400)]
Remove nexus staging plugin

Unused

Issue-ID: POLICY-1737
Change-Id: I3e287ecbca9707d04f566295ebc5d0d430980d81
Signed-off-by: pdragosh <pdragosh@research.att.com>
4 years agoFix header and remove link 13/89413/1
Pamela Dragosh [Wed, 5 Jun 2019 17:51:45 +0000 (13:51 -0400)]
Fix header and remove link

Missing and remove outdated installation instructions.

Issue-ID: POLICY-1676
Change-Id: I8b27752bc05039d43a2fbbf22e7388d55469b5a7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoReference policy/parent for latest doc 62/89162/1
Pamela Dragosh [Wed, 29 May 2019 16:52:08 +0000 (12:52 -0400)]
Reference policy/parent for latest doc

Point to new documentation.

Issue-ID: POLICY-1676
Change-Id: I1a3e9a7f1147885c8de72a725c8637a86cd5eb7c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 6b6cb44dd9f60df943c31188ec68a25852c0200b)

4 years agoBump engine to version 1.5.0 20/88920/4
Jim Hahn [Thu, 30 May 2019 15:12:54 +0000 (11:12 -0400)]
Bump engine to version 1.5.0

Fixed license date.

Change-Id: I711fb4e91afdb3813bc04b16265f584d80ac8e5d
Issue-ID: POLICY-1747
Signed-off-by: Jim Hahn <jrh3@att.com>
4 years agoRemove release notes 60/88760/1
Pamela Dragosh [Wed, 29 May 2019 12:14:51 +0000 (08:14 -0400)]
Remove release notes

Now being stored in the policy/parent repo.

Issue-ID: POLICY-1769
Change-Id: Ib6ffc9c94150ef73734afededce37a94463479de
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Document fixed OJSI-184 vulnerability"
Pamela Dragosh [Tue, 28 May 2019 14:02:33 +0000 (14:02 +0000)]
Merge "Document fixed OJSI-184 vulnerability"

4 years agoMerge "Document fixed OJSI-118 vulnerability"
Pamela Dragosh [Tue, 28 May 2019 14:02:25 +0000 (14:02 +0000)]
Merge "Document fixed OJSI-118 vulnerability"

4 years agoMerge "Document fixed OJSI-157 vulnerability"
Pamela Dragosh [Tue, 28 May 2019 14:02:17 +0000 (14:02 +0000)]
Merge "Document fixed OJSI-157 vulnerability"

4 years agoMerge "Document fixed OJSI-117 vulnerability"
Pamela Dragosh [Tue, 28 May 2019 14:02:07 +0000 (14:02 +0000)]
Merge "Document fixed OJSI-117 vulnerability"

4 years agoMerge "Improve security release notes"
Pamela Dragosh [Tue, 28 May 2019 14:01:57 +0000 (14:01 +0000)]
Merge "Improve security release notes"

4 years agoMerge "Updates to Dublin release notes"
Pamela Dragosh [Tue, 28 May 2019 13:24:27 +0000 (13:24 +0000)]
Merge "Updates to Dublin release notes"

4 years agoDocument fixed OJSI-184 vulnerability 59/88559/1
Krzysztof Opasiak [Mon, 27 May 2019 14:35:35 +0000 (16:35 +0200)]
Document fixed OJSI-184 vulnerability

Issue-ID: OJSI-184
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I5537c217414f6fa1d0b6659360c53f9cef18097a

4 years agoDocument fixed OJSI-118 vulnerability 58/88558/1
Krzysztof Opasiak [Mon, 27 May 2019 14:34:54 +0000 (16:34 +0200)]
Document fixed OJSI-118 vulnerability

Issue-ID: OJSI-118
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I0e8953a7a94bf4c28cc85aa239c2b88d96df18a6

4 years agoDocument fixed OJSI-157 vulnerability 57/88557/1
Krzysztof Opasiak [Mon, 27 May 2019 14:34:27 +0000 (16:34 +0200)]
Document fixed OJSI-157 vulnerability

Issue-ID: OJSI-157
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I5ea4c15ad2a91b11619998c61088abc352321c7d

4 years agoDocument fixed OJSI-117 vulnerability 56/88556/1
Krzysztof Opasiak [Mon, 27 May 2019 14:27:50 +0000 (16:27 +0200)]
Document fixed OJSI-117 vulnerability

Issue-ID: OJSI-117
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ieda7ccc170a50de63bcbfce311f83002acb4a0cf

4 years agoImprove security release notes 55/88555/1
Krzysztof Opasiak [Mon, 27 May 2019 14:20:33 +0000 (16:20 +0200)]
Improve security release notes

In order to provide users with more details of project's state in
terms of security let's divide the security release notes into three
sections:

- Fixed Security Issues
  Contains a list of security fixes merged during this
  release (especially those reported via OJSI tickets).

- Known Security Issues
  Contains a list of vulnerabilities detected in project during
  release which have not been fixed yet and thus should be mitigated
  by the user.

- Known Vulnerabilities in Used Modules
  Contains information about NexusIQ scan results

Issue-ID: SECCOM-238
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I9134ae41c40db83fa3b4870341a8880e2bdcbdda

4 years agoUpdates to Dublin release notes 04/88504/1
Saryu Shah [Fri, 24 May 2019 22:24:55 +0000 (22:24 +0000)]
Updates to Dublin release notes

Updates to Dublin release notes
-------------------------------------------------------------

Change-Id: I085735427ef641799f02576703767dcdcf558af1
Issue-ID: POLICY-1769
Signed-off-by: Saryu Shah <ss3917@att.com>
4 years agoBump to 1.4.2-SNAPSHOT 09/88409/1
Pamela Dragosh [Thu, 23 May 2019 20:40:04 +0000 (16:40 -0400)]
Bump to 1.4.2-SNAPSHOT

Released 1.4.1

Issue-ID: POLICY-1700
Change-Id: Ied6d06664155ff6e44ede90f1c081ec5bd2ef679
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUpdate INFO.yaml to add Jim and Ram 62/88262/1 1.4.1 4.0.0-ONAP
liamfallon [Wed, 22 May 2019 14:42:44 +0000 (14:42 +0000)]
Update INFO.yaml to add Jim and Ram

Issue-ID: POLICY-1775
Change-Id: I8d2171a23a47428228b52215cfffc71cef49ccb6
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoMerge "Fix to resolve unpushing(delete) policies issue"
Jorge Hernandez [Tue, 21 May 2019 14:31:20 +0000 (14:31 +0000)]
Merge "Fix to resolve unpushing(delete) policies issue"

4 years agoMerge "Dublin Release Notes - initial version"
Pamela Dragosh [Tue, 21 May 2019 14:28:49 +0000 (14:28 +0000)]
Merge "Dublin Release Notes - initial version"

4 years agoFix to resolve unpushing(delete) policies issue 11/87911/2
Michael Mokry [Thu, 16 May 2019 17:46:03 +0000 (12:46 -0500)]
Fix to resolve unpushing(delete) policies issue

Added code the ONAP-PDP-REST to fix an issue causing the policyName to be null
and fail validation

Updated Changes per Review:
1. re-added the else for "No Policy Scope given"
2. localized the policyName and policyScope declarations to reset to null
each time through the loop
3. Changed to polName check to endsWith per Jim's review

Change-Id: I912511ef362cc79e89adc1c9da93d387e273c32a
Issue-ID: POLICY-1754
Signed-off-by: Michael Mokry <michael.mokry@att.com>
4 years agoDublin Release Notes - initial version 46/88046/1
Saryu Shah [Sun, 19 May 2019 01:49:46 +0000 (01:49 +0000)]
Dublin Release Notes - initial version

Dublin Release Notes - initial version
-------------------------------------------------------------

Change-Id: I706cdfa7879bfe2b9a68aaf93ace22fbb8842151
Issue-ID: POLICY-1769
Signed-off-by: Saryu Shah <ss3917@att.com>
4 years agoStep snapshot version of policy engine 89/87889/1
liamfallon [Thu, 16 May 2019 14:50:33 +0000 (14:50 +0000)]
Step snapshot version of policy engine

Issue-ID: POLICY-1630
Change-Id: Iefcaaf1811535e22904367b8d11346a02f5851c1
Signed-off-by: liamfallon <liam.fallon@est.tech>
4 years agoUpgrade to release policy/models 29/87729/1 1.4.0
Pamela Dragosh [Wed, 15 May 2019 00:50:26 +0000 (20:50 -0400)]
Upgrade to release policy/models

Release 2.0.0

Issue-ID: POLICY-1630
Change-Id: I8793dc5852102af9cb5773aa40d309547b95d1b4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUpgrade policy/parent & policy/common in engine 43/87543/1
ramverma [Mon, 13 May 2019 11:23:46 +0000 (11:23 +0000)]
Upgrade policy/parent & policy/common in engine

Change-Id: Ie068839185d6b9461a1fe6e3a6b7282154a3c404
Issue-ID: POLICY-1630
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
4 years agoMerge "Fix test files created during execution"
Jorge Hernandez [Wed, 1 May 2019 13:43:35 +0000 (13:43 +0000)]
Merge "Fix test files created during execution"

4 years agoFix test files created during execution 52/86552/4
pa834y [Mon, 29 Apr 2019 16:44:50 +0000 (12:44 -0400)]
Fix test files created during execution

Change-Id: Idaeaabfb523ca9206077827895c695a122f62101
Issue-ID: POLICY-1706
Signed-off-by: pa834y <pa834y@att.com>
4 years agoMerge "Policy UI doestn't show left menu or any content:"
Pamela Dragosh [Tue, 30 Apr 2019 13:21:28 +0000 (13:21 +0000)]
Merge "Policy UI doestn't show left menu or any content:"

4 years agoBound wait time for a component's port 71/86571/1
jhh [Mon, 29 Apr 2019 23:32:21 +0000 (18:32 -0500)]
Bound wait time for a component's port

This should prevent the 90 minutes timeouts
in CSIT tests.

Change-Id: Ia9491462f4c3b83564584eb9f85551570e3c6342
Issue-ID: POLICY-1712
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoPolicy UI doestn't show left menu or any content: 70/86570/3
uj426b [Mon, 29 Apr 2019 21:28:42 +0000 (17:28 -0400)]
Policy UI doestn't show left menu or any content:

Issue-ID: POLICY-1650

Change-Id: Ibf338f52fc260e77b4ac5f49b2f4ce12b4aa509e
Signed-off-by: uj426b <uj426b@att.com>
4 years agoAdd BUILD_VERSION_ENGINE to image 59/86559/1
jhh [Mon, 29 Apr 2019 17:47:19 +0000 (12:47 -0500)]
Add BUILD_VERSION_ENGINE to image

Change-Id: Ie97746ec8f244d52bf3eba94a247810d727fa72a
Issue-ID: INT-995
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoNew BUILD_VERSION needed as fixed in parent image 23/86423/1
jhh [Fri, 26 Apr 2019 17:17:40 +0000 (12:17 -0500)]
New BUILD_VERSION needed as fixed in parent image

BUILD_VERSION could not be used in ENV variable
as it is cooked in the base image itself.  Need to
create a new one to reflect the drools build to
get by.

Change-Id: Ide67a181e5959c5e0d087345db86baf0cc8169b6
Issue-ID: INT-998
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoManually pull the base alpine images 45/86345/2
jhh [Fri, 26 Apr 2019 03:58:37 +0000 (22:58 -0500)]
Manually pull the base alpine images

Add a hack to undo directory creation from parent images
since it causes container initialization to fail.

Change-Id: I99dc404cd56a67a2cc84eb1a3773b028ed533d95
Issue-ID: INT-998
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoRebase image on policy-common-alpine 67/83467/4
Dmitry Puzikov [Mon, 25 Mar 2019 14:59:53 +0000 (15:59 +0100)]
Rebase image on policy-common-alpine

Fix notes.

Issue-ID: INT-1001
Change-Id: I91c2af3e16032078561e8b0bd5aa4250d449d8d6
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
4 years agoDocumentation bypassing portal 73/86073/1
jhh [Tue, 23 Apr 2019 15:35:20 +0000 (10:35 -0500)]
Documentation bypassing portal

Change-Id: Id9548a7fdc45dcd4d5055f28403c4125a6f85984
Issue-ID: POLICY-1650
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
4 years agoUpgrade tomcat to 9.0.16 19/85819/1
Pamela Dragosh [Fri, 19 Apr 2019 14:27:49 +0000 (10:27 -0400)]
Upgrade tomcat to 9.0.16

Removes security vulnerability.

Issue-ID: POLICY-1662
Change-Id: I6a90716af561d227265a83c820b1668a99ab1a30
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoOne year cert with new component names 82/85382/1
jhh [Mon, 15 Apr 2019 23:21:20 +0000 (18:21 -0500)]
One year cert with new component names

Change-Id: I8781b368b3383e4ccc42cc9f034543273cbd5ca4
Issue-ID: POLICY-1580
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoCorrections in dependency.json to match models move. 78/85278/2
jhh [Mon, 15 Apr 2019 02:28:12 +0000 (21:28 -0500)]
Corrections in dependency.json to match models move.

Change-Id: I71f3832c2304b3a1b8eb41a767b1cf6b28cfbdc2
Issue-ID: POLICY-1611
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoSupport correct dependencies from models. 33/85233/1
jhh [Fri, 12 Apr 2019 18:05:46 +0000 (13:05 -0500)]
Support correct dependencies from models.

Change-Id: I526bfa5edf3b036cd709d4500f5953faab7ad47e
Issue-ID: POLICY-1611
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoAdd the missing field to microservicemodels table 14/84914/2
pa834y [Wed, 10 Apr 2019 17:21:42 +0000 (13:21 -0400)]
Add the missing field to microservicemodels table

Change-Id: Ib6c42985c8565272f80c19aa358c29e275edbb95
Issue-ID: POLICY-1416
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "New junits and bug fixes"
Pamela Dragosh [Wed, 10 Apr 2019 01:49:27 +0000 (01:49 +0000)]
Merge "New junits and bug fixes"

5 years agoNew junits and bug fixes 58/84758/2
pa834y [Tue, 9 Apr 2019 22:16:54 +0000 (18:16 -0400)]
New junits and bug fixes

Change-Id: I1716af52ca6cdde93eef1a37f4a32a9f6f3e12f0
Issue-ID: POLICY-1417
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "Refactor getInnerDecisionApply function"
Pamela Dragosh [Tue, 9 Apr 2019 22:40:10 +0000 (22:40 +0000)]
Merge "Refactor getInnerDecisionApply function"

5 years agoMerge "fix typo that can lead on bugs"
Pamela Dragosh [Tue, 9 Apr 2019 22:39:52 +0000 (22:39 +0000)]
Merge "fix typo that can lead on bugs"

5 years agoMerge "Add Additional Junit and fix Sonar new bug."
Pamela Dragosh [Tue, 9 Apr 2019 22:39:29 +0000 (22:39 +0000)]
Merge "Add Additional Junit and fix Sonar new bug."

5 years agoMerge "Remove duplicated code"
Pamela Dragosh [Tue, 9 Apr 2019 22:39:10 +0000 (22:39 +0000)]
Merge "Remove duplicated code"

5 years agoMerge "Clean configPolicy"
Pamela Dragosh [Tue, 9 Apr 2019 20:53:06 +0000 (20:53 +0000)]
Merge "Clean configPolicy"

5 years agoMerge "Fix Sonar issues in org.onap.policy.controller pkg"
Pamela Dragosh [Tue, 9 Apr 2019 20:52:17 +0000 (20:52 +0000)]
Merge "Fix Sonar issues in org.onap.policy.controller pkg"

5 years agoAdd Additional Junit and fix Sonar new bug. 41/84741/2
uj426b [Tue, 9 Apr 2019 19:27:45 +0000 (15:27 -0400)]
Add Additional Junit and fix Sonar new bug.

Issue-ID: POLICY-1416

Signed-off-by: uj426b <uj426b@att.com>
Change-Id: Ie4e6e91d555be448caa290bce36eb58075046619
Signed-off-by: uj426b <uj426b@att.com>
5 years agoAdd missing requestAttribute to junits 21/84721/2
pa834y [Tue, 9 Apr 2019 16:35:43 +0000 (12:35 -0400)]
Add missing requestAttribute to junits

Change-Id: Ic595e1b5b2807ad02369ff01d72c0864bc2c9153
Issue-ID: POLICY-1418
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "CLAMP Model policy creation support"
Jorge Hernandez [Tue, 9 Apr 2019 14:34:04 +0000 (14:34 +0000)]
Merge "CLAMP Model policy creation support"

5 years agoMerge "Make clientAuth header optional and log request"
Jorge Hernandez [Tue, 9 Apr 2019 14:31:39 +0000 (14:31 +0000)]
Merge "Make clientAuth header optional and log request"

5 years agofix typo that can lead on bugs 78/83978/3
Matthieu Cauffiez [Mon, 1 Apr 2019 19:40:00 +0000 (15:40 -0400)]
fix typo that can lead on bugs

string xacmlId doesn t correspond to
anything in DecisionSettings
same for shotname in functionDefinition

Issue-ID: POLICY-1250
Change-Id: I7ac457666f341b50c761dbdabf806fa7efece5a9
Signed-off-by: Matthieu Cauffiez <matthieu.cauffiez@bell.ca>
5 years agoClean configPolicy 06/84006/3
Matthieu Cauffiez [Tue, 2 Apr 2019 20:00:05 +0000 (16:00 -0400)]
Clean configPolicy

small code cleanup of config policy

Issue-ID: POLICY-1250
Change-Id: I5f61d1a2e52cc89cfd4b470d82fe39b9f9a6af0e
Signed-off-by: Matthieu Cauffiez <matthieu.cauffiez@bell.ca>
5 years agoRemove duplicated code 10/84010/5
Matthieu Cauffiez [Tue, 2 Apr 2019 20:34:47 +0000 (16:34 -0400)]
Remove duplicated code

remove duplicated code in firewallconfigPolicy

Issue-ID: POLICY-1250
Change-Id: I565d905cfe9b0c4ff2ed275ceac77ef0a2cb85d5
Signed-off-by: Matthieu Cauffiez <matthieu.cauffiez@bell.ca>
5 years agoRefactor getInnerDecisionApply function 04/84004/3
Matthieu Cauffiez [Tue, 2 Apr 2019 19:29:33 +0000 (15:29 -0400)]
Refactor getInnerDecisionApply function

This patch clean up the getInnerDecisionApply
and break it in smaller pieces

Issue-ID: POLICY-1250
Change-Id: Iabe56ccb4edbac257a72fb4f1518f24ed1bd84df
Signed-off-by: Matthieu Cauffiez <matthieu.cauffiez@bell.ca>
5 years agoFix Sonar issues in org.onap.policy.controller pkg 89/83889/3
Rashmi Pujar [Mon, 1 Apr 2019 18:42:08 +0000 (14:42 -0400)]
Fix Sonar issues in org.onap.policy.controller pkg

Issue-ID: POLICY-1615

Change-Id: I3f7c6d754084d7c740876e817bf963a6cc8c194b
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
5 years agoCLAMP Model policy creation support 68/83668/7
uj426b [Thu, 28 Mar 2019 22:40:54 +0000 (18:40 -0400)]
CLAMP Model policy creation support

Change-Id: Ia69f061c078e4f6ed4b4d2cd12f03f58514f2123
Issue-ID: POLICY-1416
Signed-off-by: uj426b <uj426b@att.com>
5 years agoMerge "Auditing User Operations Push or Delete Policies."
Jorge Hernandez [Sat, 6 Apr 2019 15:56:14 +0000 (15:56 +0000)]
Merge "Auditing User Operations Push or Delete Policies."

5 years agoMake clientAuth header optional and log request 41/84241/7
pa834y [Thu, 4 Apr 2019 13:02:48 +0000 (09:02 -0400)]
Make clientAuth header optional and log request

Change-Id: Ifc44740a71c2b60d5474cd665bbfca94dcc0c9a7
Issue-ID: POLICY-1418
Signed-off-by: pa834y <pa834y@att.com>
5 years agoupdate dependencies from policy/models 88/84188/2
Hengye [Thu, 4 Apr 2019 06:09:26 +0000 (06:09 +0000)]
update dependencies from policy/models

Now pointing to policy/models for yaml and other dependencies.

Issue-ID: POLICY-1264
Change-Id: I440d18425e46ec91e6d4e7f2cf1571c4d2bbdb6f
Signed-off-by: Hengye <yehui.wang@est.tech>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoAuditing User Operations Push or Delete Policies. 96/82996/9
uj426b [Fri, 22 Mar 2019 02:02:04 +0000 (22:02 -0400)]
Auditing User Operations Push or Delete Policies.

Change-Id: I39d5fc01e68e9d711c5dd09790dc34beb68783c3
Issue-ID: POLICY-1421
Signed-off-by: uj426b <uj426b@att.com>
5 years agoMerge "Enhancement to use the common CryptoUtils"
Jorge Hernandez [Wed, 3 Apr 2019 02:01:34 +0000 (02:01 +0000)]
Merge "Enhancement to use the common CryptoUtils"

5 years agoMerge "Push and unpush to support multiple policies"
Jorge Hernandez [Tue, 2 Apr 2019 22:38:05 +0000 (22:38 +0000)]
Merge "Push and unpush to support multiple policies"

5 years agoPush and unpush to support multiple policies 69/83669/4
pa834y [Thu, 28 Mar 2019 23:05:44 +0000 (19:05 -0400)]
Push and unpush to support multiple policies

Change-Id: I95a05898d299a96810abf4f3b7940e8a3a243000
Issue-ID: POLICY-1414
Signed-off-by: pa834y <pa834y@att.com>
5 years agoReadthedocs: Offered Apis 75/83275/3
Saryu Shah [Tue, 26 Mar 2019 00:52:46 +0000 (00:52 +0000)]
Readthedocs: Offered Apis

Updated API doc to include ListPolicy api
-------------------------------------------------------------

Issue-ID: POLICY-1410

Change-Id: I364e1a465855b61d69ceea498f031991e61fe718
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoMerge "Documentation: ControllerLogging, MDC Filters"
Pamela Dragosh [Mon, 1 Apr 2019 14:18:39 +0000 (14:18 +0000)]
Merge "Documentation: ControllerLogging, MDC Filters"

5 years agoEnhancement to use the common CryptoUtils 97/83397/3
pa834y [Tue, 26 Mar 2019 18:29:38 +0000 (14:29 -0400)]
Enhancement to use the common CryptoUtils

Change-Id: I06718526382b424eab991f39a7dac1b5cf4f1b74
Issue-ID: POLICY-1422
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "FIx Sonar Issues reported on ActionPolicyController"
Jorge Hernandez [Fri, 29 Mar 2019 19:36:44 +0000 (19:36 +0000)]
Merge "FIx Sonar Issues reported on ActionPolicyController"

5 years agoMerge "Fix Sonar Issues policy/engine POLICY-SDK-APP module"
Jorge Hernandez [Fri, 29 Mar 2019 19:36:38 +0000 (19:36 +0000)]
Merge "Fix Sonar Issues policy/engine POLICY-SDK-APP module"

5 years agoDocumentation: ControllerLogging, MDC Filters 88/83088/2
Saryu Shah [Sat, 23 Mar 2019 00:50:41 +0000 (00:50 +0000)]
Documentation: ControllerLogging, MDC Filters

Documentation: ControllerLogging, MDC Filters
-------------------------------------------------------------

Issue-ID: POLICY-1499

Change-Id: I3f38a5dbf96e882b2f77f23c3796b2392cef181b
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoMerge "Fix sonar new bugs and vulnerabilities"
Jorge Hernandez [Thu, 28 Mar 2019 20:32:08 +0000 (20:32 +0000)]
Merge "Fix sonar new bugs and vulnerabilities"

5 years agoFIx Sonar Issues reported on ActionPolicyController 27/83627/4
Rashmi Pujar [Thu, 28 Mar 2019 15:53:51 +0000 (11:53 -0400)]
FIx Sonar Issues reported on ActionPolicyController

- code cleanup, reduce cognitive complexity, extract constants etc

Issue-ID: POLICY-1615

Change-Id: Ie0f634b1848076bba4c3ea3cbf9252b9faba0f8f
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
5 years agoFix Sonar Issues policy/engine POLICY-SDK-APP module 24/83524/7
Rashmi Pujar [Wed, 27 Mar 2019 20:25:44 +0000 (16:25 -0400)]
Fix Sonar Issues policy/engine POLICY-SDK-APP module

- Code cleanup & formatting, attempts to reduce cognitive complexity

Issue-ID: POLICY-1615
Change-Id: I340fcaee185c1bc84d954863c413896120a51cb0
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
5 years agoFix sonar new bugs and vulnerabilities 36/83536/1
pa834y [Wed, 27 Mar 2019 22:39:09 +0000 (18:39 -0400)]
Fix sonar new bugs and vulnerabilities

Change-Id: I7fbfe70e856d48f40ad831a6d0451e46024bf6de
Issue-ID: POLICY-1417
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "Model enhancement to support embedded JSON"
Jorge Hernandez [Wed, 27 Mar 2019 22:11:12 +0000 (22:11 +0000)]
Merge "Model enhancement to support embedded JSON"

5 years agoMerge "Add capability for multi-role support"
Jorge Hernandez [Wed, 27 Mar 2019 13:56:31 +0000 (13:56 +0000)]
Merge "Add capability for multi-role support"

5 years agoMerge "Added changes to save original model file"
Jorge Hernandez [Tue, 26 Mar 2019 21:51:56 +0000 (21:51 +0000)]
Merge "Added changes to save original model file"

5 years agoAdd capability for multi-role support 20/82720/5
Polina Volodina [Fri, 22 Mar 2019 21:33:09 +0000 (16:33 -0500)]
Add capability for multi-role support

Changes ported from ECOMP into ONAP for multi-role functionality in Policy Editor GUI

Issue-ID: POLICY-1419
Change-Id: I438c074e935c28b014be44ae2eab1d49b45e11e2
Signed-off-by: Polina Volodina <pv789v@att.com>