policy/engine.git
20 months agoUpdate to 1.3.4-SNAPSHOT 70/72770/4 1.3.4
liamfallon [Thu, 15 Nov 2018 12:02:35 +0000 (12:02 +0000)]
Update to 1.3.4-SNAPSHOT

Issue-ID: POLICY-1262
Change-Id: Iff542c9d6e07f143517bd0470cee7c6a6a90a065
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
20 months agoAdded flow diagram to clc documentation. 18/72718/1
Joshua Reich [Mon, 12 Nov 2018 20:22:27 +0000 (12:22 -0800)]
Added flow diagram to clc documentation.

Issue-ID: POLICY-1246
Change-Id: Iacc314242e47650087bfbcc6208b2ed92bb0e603
Signed-off-by: Joshua Reich <jreich@research.att.com>
(cherry picked from commit 071d1df9334aaf14b8e0d7cfbf0a2e9586f793fa)

20 months agoExclude itext due to license 47/72647/1
Pamela Dragosh [Wed, 14 Nov 2018 13:23:36 +0000 (08:23 -0500)]
Exclude itext due to license

Per Portal team, we can safely exclude this dependency
that has license issues.

Issue-ID: POLICY-1230
Change-Id: I957ad9cfea94227d7403bfb61a45d048393944e6
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
20 months agoinitial documentation for the CLC 49/72449/7
Joshua Reich [Sat, 10 Nov 2018 01:12:28 +0000 (17:12 -0800)]
initial documentation for the CLC

Issue-ID: POLICY-1246
Change-Id: I57b9b72a5e6a99e2c850c8e096cfc02598158628
Signed-off-by: Joshua Reich <jreich@research.att.com>
(cherry picked from commit 22aab7b10a99bb35de71dfa20208d9a8340686d8)

20 months agoAdd section for CLC 42/72442/1
Pamela Dragosh [Fri, 2 Nov 2018 15:42:52 +0000 (11:42 -0400)]
Add section for CLC

Add the area for documentation for Control Loop
Coordination.

Issue-ID: POLICY-1246
Change-Id: I3348159f90e95f57f3128fa39a35ff108d308c0c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 9dfb84fc6461c484e13f18a583abb18df55d13c5)

20 months agoUpdated index file for PDP-D Features 59/72259/1
Jorge Hernandez [Thu, 8 Nov 2018 22:38:41 +0000 (16:38 -0600)]
Updated index file for PDP-D Features

Change-Id: I9a0911fe685ab50c3ad8995fda3c4b9b4c4ec875
Issue-ID: POLICY-1169
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
20 months agoMerge "Update dmaap 1.1.9 changes" into casablanca 1.3.3
Jorge Hernandez [Thu, 8 Nov 2018 21:07:10 +0000 (21:07 +0000)]
Merge "Update dmaap 1.1.9 changes" into casablanca

20 months agoUpdate dmaap 1.1.9 changes 03/72103/5
Pamela Dragosh [Tue, 6 Nov 2018 18:37:35 +0000 (13:37 -0500)]
Update dmaap 1.1.9 changes

Upgrading policy/parent to v1.1.9 requires these
code changes to occur.

Need to change to policy/parent 2.0.1 for the
right dmaap to be included.

Upgrade policy common and drools-applications to
1.3.3 released artifacts.

Also just included the change from gerrit review
https://gerrit.onap.org/r/#/c/72026/ instead of
cherry picking it.

Updating release to 1.3.3-SNAPSHOT

Issue-ID: POLICY-1229
Change-Id: I16f4bbd9ba2d46cdc3b94feba1f2e7f20d837dad
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit fe8b9e72cafa4acf31db4239593a74a5ccf89a4a)
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
20 months agoDocumentation updates for PDP/PAP Testing/Debug 31/72131/2
Michael Mokry [Wed, 7 Nov 2018 22:28:44 +0000 (16:28 -0600)]
Documentation updates for PDP/PAP Testing/Debug

Modified rst documents with a couple minor updates for healthcheck and
logging info

Made various changes from Jorge's comments and added a section for BRMSGW

Change-Id: Id1dc6001700d5d84ec899810645a8ca22bec2a04
Issue-ID: POLICY-1168
Signed-off-by: Michael Mokry <michael.mokry@att.com>
20 months agoFix R3 model for OOF Policy Optimization 84/72184/1
liboNet [Fri, 9 Nov 2018 01:20:42 +0000 (09:20 +0800)]
Fix R3 model for OOF Policy Optimization

Models with duplicate keys(directives) cannot use dataOrderInfo,
it's a limitation so update the data from the record which is
generated after use GUI to load the model first.

Change-Id: Ie01872858e3ed8728ada90ba3205075b41a74703
Issue-ID: POLICY-1236
Signed-off-by: liboNet <libo.zhu@intel.com>
20 months agoUpdate installation documentation 70/72070/1
Pamela Dragosh [Tue, 30 Oct 2018 18:10:40 +0000 (14:10 -0400)]
Update installation documentation

Update for the repos that are for the release.

Issue-ID: POLICY-1164
Change-Id: I80177628d19eef8a0d89a5f7c9e2e19ff1b699f9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 9e0c20d3bdd7f0e336ecce54e118abec574bb8ef)

20 months agoMerge "Fix issue with rendering 'identity' key in GUI" into casablanca
Jorge Hernandez [Wed, 7 Nov 2018 01:51:34 +0000 (01:51 +0000)]
Merge "Fix issue with rendering 'identity' key in GUI" into casablanca

20 months agoMerge "Update policy on oom documentation" into casablanca
Pamela Dragosh [Wed, 7 Nov 2018 00:02:58 +0000 (00:02 +0000)]
Merge "Update policy on oom documentation" into casablanca

20 months agoMerge "Update policy cookbook documentation" into casablanca
Pamela Dragosh [Wed, 7 Nov 2018 00:02:49 +0000 (00:02 +0000)]
Merge "Update policy cookbook documentation" into casablanca

20 months agoFix issue with rendering 'identity' key in GUI 12/72012/1
Michael Mokry [Tue, 6 Nov 2018 21:01:11 +0000 (15:01 -0600)]
Fix issue with rendering 'identity' key in GUI

Modified the java code to check dataOrderInfo format when getting data from
model stored in the db table.

Modified js code to check for type string when replacing 'equal-sign'
with '=' in enum value list

Change-Id: Iac804bc59da756f03073266703a684382d4afaff
Issue-ID: POLICY-1243
Signed-off-by: Michael Mokry <michael.mokry@att.com>
20 months agoBypass Portal Cookbook recipes 08/72008/1
Jorge Hernandez [Tue, 6 Nov 2018 18:05:41 +0000 (12:05 -0600)]
Bypass Portal Cookbook recipes

Change-Id: I3c975859518a4623def71edc0975f6bc5121362e
Issue-ID: POLICY-1218
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
(cherry picked from commit a4c3b2d2359375ba99f761a3871e6baccb92231f)

20 months agoUpdate policy on oom documentation 44/71944/1
Jorge Hernandez [Mon, 5 Nov 2018 22:45:52 +0000 (16:45 -0600)]
Update policy on oom documentation

Change-Id: I35591855f30312ab32b9ba820b67b6bea7c93876
Issue-ID: POLICY-1170
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
(cherry picked from commit e315a174c2b6774a1220dfa1fe3ef8673e5597a2)

20 months agoUpdate policy cookbook documentation 43/71943/1
Jorge Hernandez [Mon, 5 Nov 2018 21:34:55 +0000 (15:34 -0600)]
Update policy cookbook documentation

Change-Id: I86f99dfec5d8b402505dd5922c985e6b9e93ceb9
Issue-ID: POLICY-1167
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
(cherry picked from commit 5a91dc31a529ff9d795e83650d400a5a35bf8755)

20 months agoUpgrade to policy/common 1.3.2 69/71869/1
Pamela Dragosh [Mon, 5 Nov 2018 16:25:59 +0000 (11:25 -0500)]
Upgrade to policy/common 1.3.2

I will change the drools applications when it is released.

Issue-ID: POLICY-1245
Change-Id: I06e9ce9dc7c17181b05dd583020c91dda6ca7aaf
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoMerge "Upgrade xacml 1.0.2" into casablanca
Jorge Hernandez [Sat, 3 Nov 2018 15:06:46 +0000 (15:06 +0000)]
Merge "Upgrade xacml 1.0.2" into casablanca

21 months agoRemoved Objective From keyword check in parser 65/71765/1
Michael Mokry [Fri, 2 Nov 2018 20:08:38 +0000 (15:08 -0500)]
Removed Objective From keyword check in parser

Modified the Model parser code to allow "objective" as a field name in
yaml.

Change-Id: Ia3667ebc84a0bbdbbb3723bdcf0237a8f35313ee
Issue-ID: POLICY-1244
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoUpgrade xacml 1.0.2 56/71756/1
Pamela Dragosh [Fri, 2 Nov 2018 15:10:27 +0000 (11:10 -0400)]
Upgrade xacml 1.0.2

This version of xacml only has license changes to the java
source files. This will clear ONAP license issues.

Issue-ID: POLICY-1228
Change-Id: I7496fc54e44a51f89e438adaa1ab70a1c23aa06d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 510c439f70556718f9fceeb6bad1a771ccbb410c)

21 months agoModified to make AAF configurable in policy/engine 01/71501/6
Michael Mokry [Tue, 30 Oct 2018 21:51:57 +0000 (16:51 -0500)]
Modified to make AAF configurable in policy/engine

Added property to enable or disable AAF
Added logic to the code to check the property and use old authentication
logic to authenticate the user rather than AAF if disabled.

Fixed license issue
Modified cadi_truststore_password value to use proper variable
Added comment to local development enviroment properties file
Modified test resources to fix Junit failures

Change-Id: I962895154716092c9cc0bc6c48f6419f3b5900fe
Issue-ID: POLICY-1217
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoMerge "Support R3 model for OOF Policy Optimization" into casablanca
Pamela Dragosh [Thu, 1 Nov 2018 01:40:00 +0000 (01:40 +0000)]
Merge "Support R3 model for OOF Policy Optimization" into casablanca

21 months agoSupport R3 model for OOF Policy Optimization 11/71511/2
liboNet [Wed, 31 Oct 2018 00:45:24 +0000 (08:45 +0800)]
Support R3 model for OOF Policy Optimization

I added an INSERT to the sql upgrade file for model 1.0
and delete for downgrade

Change-Id: I56a0045a75fef2c2cafe6c32ab87f2c9e1c0aa5e
Issue-ID: POLICY-1226
Signed-off-by: liboNet <libo.zhu@intel.com>
(cherry picked from commit 52f2c099fe6123381a9f4f528ff5acacb37b3ecd)

21 months agoRemove openecomp repo from engine pom 74/71474/2
Jim Hahn [Tue, 30 Oct 2018 14:12:15 +0000 (10:12 -0400)]
Remove openecomp repo from engine pom

Change-Id: I5651c65d06ceacc663b985315755d6cb93cd6666
Issue-ID: POLICY-1231
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit 205eaacc4db3e853520cc49e0f62dba407f9a2ae)

21 months agoStep version for Casablanca support 70/71570/2
liamfallon [Wed, 31 Oct 2018 17:17:01 +0000 (17:17 +0000)]
Step version for Casablanca support

Issue-ID: POLICY-1233
Change-Id: I1d388e1f4a872cf4e3013f8968e9026460e847f3
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
21 months agoFix random failures in ManualClientEndTest 16/71316/2 3.0.0-ONAP
Jim Hahn [Fri, 26 Oct 2018 14:10:28 +0000 (10:10 -0400)]
Fix random failures in ManualClientEndTest

Don't know if this is the cause of the intermittent failures, but it
could be, and it is certainly a bug: the classes manipulate data, that
isn't marked volatile, from more than one thread at a time.
Updated licenses.

Change-Id: Ifca84cf8f915ec703a9ce8980db2475dacf97980
Issue-ID: POLICY-1092
Signed-off-by: Jim Hahn <jrh3@att.com>
21 months agoAPI Doc: Add examples 83/71283/2
Saryu Shah [Fri, 26 Oct 2018 00:33:08 +0000 (00:33 +0000)]
API Doc: Add examples

API Doc: Add examples
-------------------------------------------------------------

Change-Id: Ia219b06cdb05ef67c40c8920ea05087a0bf249d8
Issue-ID: POLICY-1219
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoUpgraded Tomcat version to 8.5.34 42/71242/3 1.3.1
mmis [Thu, 25 Oct 2018 14:00:22 +0000 (15:00 +0100)]
Upgraded Tomcat version to 8.5.34

Upgraded Tomcat to resolve security vulnerability
http://mail-archives.us.apache.org/mod_mbox/www-announce/201810.mbox/<4cf697b0-db03-9eab-f2aa-54c2026d0e88@apache.org>

Issue-ID: POLICY-1212
Change-Id: I05f09e3fb862ad485dee519a0014e51a0c8d9ac3
Signed-off-by: mmis <michael.morris@ericsson.com>
21 months agoFix refering to snapshot in policy/engine 56/71256/1
ramverma [Thu, 25 Oct 2018 16:19:16 +0000 (17:19 +0100)]
Fix refering to snapshot in policy/engine

Issue-ID: POLICY-1213
Change-Id: I6666585a176b9e981976777018e4b7616e47ffc7
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
21 months agoRemove commons-upload 99/71099/1
Pamela Dragosh [Tue, 23 Oct 2018 21:14:45 +0000 (17:14 -0400)]
Remove commons-upload

Still a couple more places to remove it due to security
violations. Unused dependency.

Issue-ID: POLICY-1214
Change-Id: Ie9a4755fa912a863be58f6ddec104702e68287d4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoResolve security issues with postgresql 92/71092/1
Michael Mokry [Tue, 23 Oct 2018 19:23:44 +0000 (14:23 -0500)]
Resolve security issues with postgresql

Removed the unused dependency

Change-Id: Iad55fc46a2912a297dd2ae0300fe99489c07d123
Issue-ID: POLICY-1215
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoMade change to validation to reduce complexity 89/71089/2
Michael Mokry [Tue, 23 Oct 2018 18:33:57 +0000 (13:33 -0500)]
Made change to validation to reduce complexity

I had this change before Jorge merged the my previous commit for fixing
optimization policy validation and was planning to amend but Jorge was
quicker on the draw :)

Thanks Pam for pointing this out.. a simple way to reduce complexity
that I will use going forward.

Change-Id: I3ab8ae36591c7c69629f36d84261f95c559d0f42
Issue-ID: POLICY-1205
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoMerge "Remove unused commons-fileupload"
Jorge Hernandez [Tue, 23 Oct 2018 16:37:41 +0000 (16:37 +0000)]
Merge "Remove unused commons-fileupload"

21 months agoRemove unused commons-fileupload 70/71070/1
Pamela Dragosh [Tue, 23 Oct 2018 15:25:35 +0000 (11:25 -0400)]
Remove unused commons-fileupload

This flags a security vulnerability. But it is unused so
we can remove it.

Issue-ID: POLICY-1212
Change-Id: I8343d56324cc94d7a163f26d0af322d232c5c02e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoFixed Optimization Policy validation 75/70975/2
Michael Mokry [Mon, 22 Oct 2018 19:37:38 +0000 (14:37 -0500)]
Fixed Optimization Policy validation

Modified the code to validate keys with empty array.

Change-Id: I8046d051f5bf7407a6e890f1ba3eca6baf6ac9eb
Issue-ID: POLICY-1205
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoUpdate Casablance Release Notes 03/70903/1
Saryu Shah [Sun, 21 Oct 2018 19:41:33 +0000 (19:41 +0000)]
Update Casablance Release Notes

Update Casablance Release Notes
-------------------------------------------------------------

Issue-ID: POLICY-1162

Change-Id: I816745a20226278cef17dbe02591f7b001efb3a0
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoUpdated policy documentation - vFW 66/70866/1
Saryu Shah [Fri, 19 Oct 2018 23:58:21 +0000 (23:58 +0000)]
Updated policy documentation - vFW

Updated policy documentation - vFW
-------------------------------------------------------------

Change-Id: I65a1fa707f6443d3c947b80c2328ba43c0756aa2
Issue-ID: POLICY-1169
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agotutorial_cl, vCPE documentation 54/70854/1
Saryu Shah [Fri, 19 Oct 2018 23:06:49 +0000 (23:06 +0000)]
tutorial_cl, vCPE documentation

tutorial_cl, vCPE documentation
-------------------------------------------------------------

Change-Id: Ibed905fd8f8a27af5e7bae2024b15f5c02fff390
Issue-ID: POLICY-1169
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoMerge "Documentation: Eclipse, vCPE, VoLTE, ModTemplate"
Jorge Hernandez [Thu, 18 Oct 2018 16:09:12 +0000 (16:09 +0000)]
Merge "Documentation: Eclipse, vCPE, VoLTE, ModTemplate"

21 months agoMerge "Updated vDNS documentation"
Jorge Hernandez [Thu, 18 Oct 2018 16:08:32 +0000 (16:08 +0000)]
Merge "Updated vDNS documentation"

21 months agoDocumentation: Eclipse, vCPE, VoLTE, ModTemplate 98/70698/1
Saryu Shah [Thu, 18 Oct 2018 01:19:03 +0000 (01:19 +0000)]
Documentation: Eclipse, vCPE, VoLTE, ModTemplate

Documentation: Eclipse, vCPE, VoLTE, ModTemplate
-------------------------------------------------------------

Issue-ID: POLICY-1169

Change-Id: Id501913db5be23f97e5ea5a635e27511546a042a
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoFix exceptions related to invalid db schema 79/70679/1
Michael Mokry [Wed, 17 Oct 2018 18:54:24 +0000 (13:54 -0500)]
Fix exceptions related to invalid db schema

Modified db upgrade script to alter systemlogdb table to allow null values for "remote" column.

Change-Id: Ib1bba59a38084bef8f89245d3725d18a02b303dc
Issue-ID: POLICY-1204
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoXACML PDP Performance Test 61/70661/2
Michael Mokry [Wed, 17 Oct 2018 14:51:06 +0000 (09:51 -0500)]
XACML PDP Performance Test

Added TestSuite module and performance test plan and stability test plan
that I received from Michael Morris

Added License headers to files per Jim's comment

Change-Id: I9d7a2740218a946ea031fdeae57dcb58d4ddd886
Issue-ID: POLICY-887
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoUpdated vDNS documentation 14/70614/1
Saryu Shah [Wed, 17 Oct 2018 00:27:13 +0000 (00:27 +0000)]
Updated vDNS documentation

Updated vDNS documentation
-------------------------------------------------------------

Change-Id: I763996f48ae3665dddd8836994f77bed283806ee
Issue-ID: POLICY-1169
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoMerge "Policy Doc: Removed Beijing Controller"
Pamela Dragosh [Thu, 11 Oct 2018 23:46:56 +0000 (23:46 +0000)]
Merge "Policy Doc: Removed Beijing Controller"

21 months agoMerge "Updated the keystore to include pdp wildcard."
Pamela Dragosh [Thu, 11 Oct 2018 23:46:13 +0000 (23:46 +0000)]
Merge "Updated the keystore to include pdp wildcard."

21 months agoUpdated the keystore to include pdp wildcard. 20/70320/1
Jorge Hernandez [Thu, 11 Oct 2018 22:40:14 +0000 (17:40 -0500)]
Updated the keystore to include pdp wildcard.

This allows to talk directly to OOM PDP-X pods
without going through the service.

Change-Id: I09bd5253a79142f6566806b97be4bb6c223826f4
Issue-ID: POLICY-1198
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
21 months agoPolicy Doc: Removed Beijing Controller 17/70317/1
Saryu Shah [Thu, 11 Oct 2018 21:58:35 +0000 (21:58 +0000)]
Policy Doc: Removed Beijing Controller

Removed "Installation of Beijing Controller and Policies" from index
-------------------------------------------------------------

Issue-ID: POLICY-1196  (remove Beijing controller doc)

Change-Id: I7531e3a9074792542799fdc92179cca41592875f
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoUpdated rst doc for clsimulation.rst 13/70313/1
Saryu Shah [Thu, 11 Oct 2018 21:12:30 +0000 (21:12 +0000)]
Updated rst doc for clsimulation.rst

A short description eg. Updated policy documentation
-------------------------------------------------------------

Change-Id: Ibc2426f9b6befc2c750290f2685427a47318e012
Issue-ID: POLICY-1169
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoRegenerate policy keystore 20/70120/1 1.3.0
Jorge Hernandez [Wed, 10 Oct 2018 00:55:36 +0000 (19:55 -0500)]
Regenerate policy keystore

The keystore has been regenerated using the latest tooling
from AAF.

Previous versions seem to add a bogus " fqdn" which makes
the particular policy.api.simpledemo.onap.org invalid.
The latest version does not append it.

Change-Id: I96e4d272e8f0ab6eb84a12384645bf9a49dbbd09
Issue-ID: POLICY-1193
Signed-off-by: Jorge Hernandez <jh1730@att.com>
21 months agoModify portal properties in PE 91/70091/2
Michael Mokry [Tue, 9 Oct 2018 16:38:07 +0000 (11:38 -0500)]
Modify portal properties in PE

Modified the portal.properties with new role_access_centralized
property.

Modified the conf file with updated values for the ONAP redirect and
REST URL properties

Made changes for comments

Change-Id: Id2624cbb440ea5830520c5e82436d112989b62c4
Issue-ID: POLICY-1192
Signed-off-by: Michael Mokry <michael.mokry@att.com>
21 months agoUpdate local dependency json 87/70087/1
Pamela Dragosh [Tue, 9 Oct 2018 16:27:12 +0000 (12:27 -0400)]
Update local dependency json

For local testing these need to be added.

Issue-ID: POLICY-1190
Change-Id: I2827aebe9faf04ff38e0781376b4553d34c88930
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoInitial Draft of Release Notes 52/69952/2
Saryu Shah [Sat, 6 Oct 2018 22:28:03 +0000 (22:28 +0000)]
Initial Draft of Release Notes

Initial Draft of Release Notes
-------------------------------------------------------------

Change-Id: I76d9c4cdd4cef570a4e4bf6fc149cf28dd447297
Issue-ID: POLICY-1162
Signed-off-by: Saryu Shah <ss3917@att.com>
21 months agoFix sonar bug 26/69926/3
Pamela Dragosh [Fri, 5 Oct 2018 16:16:24 +0000 (12:16 -0400)]
Fix sonar bug

Somehow this creeped into sonar. Not sure why it wasn't
flagged before.

Fixed tabs and indentation.

Removed unnecessary close() statement for a try-with-
resources statement.

Issue-ID: POLICY-1186
Change-Id: I5499279fe7adf642a7f7dc8a53c1a27c24a0dcb3
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoAdd SDNC actor to dependency 19/69919/1
Pamela Dragosh [Fri, 5 Oct 2018 15:04:32 +0000 (11:04 -0400)]
Add SDNC actor to dependency

So BRMS gateway can add this dependency during runtime.

Issue-ID: POLICY-1183
Change-Id: I82127fca5e0d644463e82d543b6331dde8c32042
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
21 months agoFixed issue with springframework dependencies 61/69861/1
Michael Mokry [Thu, 4 Oct 2018 20:50:05 +0000 (15:50 -0500)]
Fixed issue with springframework dependencies

Added exclusions to epsdk dependencies and added dependencies for
springframework jars that were needed to the ONAP-SDK-APP

Change-Id: I037ffa76d3d32b2db5ea2c439f40e8a86e1665f5
Issue-ID: POLICY-1154
Signed-off-by: Michael Mokry <michael.mokry@att.com>
22 months agoRecreate latest keystore. 73/69673/1
Jorge Hernandez [Tue, 2 Oct 2018 15:06:12 +0000 (10:06 -0500)]
Recreate latest keystore.

Some changes have been made since the first set of
stores were generated from the cert manager tooling
in the windriver test instance used for this purpose.

Change-Id: I976333df7e020bda76c5cbdc9c0be752e5a88778
Issue-ID: POLICY-1156
Signed-off-by: Jorge Hernandez <jh1730@att.com>
22 months agoAdd Sdnr Actor code 99/69399/1
Pamela Dragosh [Thu, 27 Sep 2018 19:03:03 +0000 (15:03 -0400)]
Add Sdnr Actor code

These need to be defined for BRMS Gateway to re-created the
artifacts.

Issue-ID: POLICY-1155
Change-Id: I424be9976fa129a42e0020870af01ba30e0c0d47
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoCADI AAF changes for policy/engine 95/68495/4
Michael Mokry [Fri, 21 Sep 2018 20:56:43 +0000 (15:56 -0500)]
CADI AAF changes for policy/engine

Added cadi properties and modified policy aaf client code.

Fixed issue with namespace and modified code to reverse it for
structuring the username sent in AAF API call

Added properties for keystore and keystore password after getting error
response from AAF when setting up the connection to AAF

Missed a fix for one of Jorge's comments in last patch, here it is.

Change-Id: Ic164ade8aa34da95a560c1592656e0caf990a595
Issue-ID: POLICY-913
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoBRMSGW HTTPS support for DMaaP/UEB interfaces 03/68203/1
Michael Mokry [Thu, 20 Sep 2018 16:41:09 +0000 (11:41 -0500)]
BRMSGW HTTPS support for DMaaP/UEB interfaces

Modified BrmsPush UEB interface implementation to use HTTPS

Change-Id: Id8ae68f23ee371142da3f9d8aa0a2b2e7988ff36
Issue-ID: POLICY-942
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoUpgrade javax.mail to 1.6.2 77/68077/1
Pamela Dragosh [Thu, 20 Sep 2018 11:58:32 +0000 (07:58 -0400)]
Upgrade javax.mail to 1.6.2

The former version was frozen in github. It looks like they
moved to another website and the changes were transparent codewise.

So let's see what the CLM results are for this. I believe this
does remove the security vulnerability.

Issue-ID: POLICY-1127
Change-Id: Ib659eddc2808131c8dded3782fcf1d382060fc29
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoFixes for oparent upgrade 19/67519/1
Pamela Dragosh [Tue, 18 Sep 2018 23:22:30 +0000 (19:22 -0400)]
Fixes for oparent upgrade

Clean up mariadb so that it is consistent, allow jetty to be
defined by oparent, and fixes to fully support google guava
upgrade.

Issue-ID: POLICY-1126
Change-Id: Ic0c2fba5f6f5f1a41e53770b95861606a5b4bbe6
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoMerge "Fixing issue with validation errors"
Pamela Dragosh [Tue, 18 Sep 2018 22:30:11 +0000 (22:30 +0000)]
Merge "Fixing issue with validation errors"

22 months agoMerge "Remove override of parent aaf version"
Liam Fallon [Tue, 18 Sep 2018 19:19:39 +0000 (19:19 +0000)]
Merge "Remove override of parent aaf version"

22 months agoMerge "Fix Policy GUI Template Issue"
Pamela Dragosh [Tue, 18 Sep 2018 18:55:51 +0000 (18:55 +0000)]
Merge "Fix Policy GUI Template Issue"

22 months agoFixing issue with validation errors 77/67377/3
Michael Mokry [Tue, 18 Sep 2018 16:27:58 +0000 (11:27 -0500)]
Fixing issue with validation errors

I found this change internally that was committed to fix an issue with validating required
fields when creating some Config MS policies.  This should fix the CSIT tests
and the pre-loaded policies for SDNC Naming policies

Change-Id: I04406b8efbef173a6ab967a32cfbd86e17b7c59e
Issue-ID: POLICY-983
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoFix Policy GUI Template Issue 05/67405/1
Wang, Frank(gw1218) [Tue, 18 Sep 2018 16:24:49 +0000 (11:24 -0500)]
Fix Policy GUI Template Issue

Fix the a bug in this html file by adding msPolicyloader

Issue-ID: POLICY-1118
Change-Id: I7a45b232ed0680f1c8233b8ed71fdde685fbb9c9
Signed-off-by: Wang, Frank(gw1218) <gw1218@att.com>
22 months agoRemove override of parent aaf version 13/67313/2
Pamela Dragosh [Tue, 18 Sep 2018 13:55:30 +0000 (09:55 -0400)]
Remove override of parent aaf version

policy/parent now declares the aaf dependency so consistency
is maintained in all the repositories. Removing the version
declaration in order to pull in the declared version.

The constructor changes to add a namespace. A null value is
still possible to be used. If we are given a namespace then we
will have to add that in. Preferrably via a properties file.

I also noticed there is a hard-coded URL in here in the
setupAAF() method on line 212. That should be moved to a property
file.

Issue-ID: POLICY-1119
Change-Id: I97dcd7d669d3d05db7c6597be6f3038183fa4e17
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoMerge "Added validation on matching required fields"
Jorge Hernandez [Tue, 18 Sep 2018 13:39:57 +0000 (13:39 +0000)]
Merge "Added validation on matching required fields"

22 months agoMerge "AAF integration in Policy SDK"
Pamela Dragosh [Tue, 18 Sep 2018 00:48:59 +0000 (00:48 +0000)]
Merge "AAF integration in Policy SDK"

22 months agoAdded validation on matching required fields 03/66503/7
Wang,Frank(gw1218) [Fri, 14 Sep 2018 02:09:47 +0000 (21:09 -0500)]
Added validation on matching required fields

Import policy should report to end users if there are missing required
matching fields in policy template.

Issue-ID: POLICY-1117
Change-Id: Iac4485259b73784e641f42a22d5a12c524f4b8e2
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
Signed-off-by: Wang, Frank(gw1218) <gw1218@att.com>
22 months agoAAF integration in Policy SDK 11/65911/3
rb7147 [Tue, 11 Sep 2018 18:32:39 +0000 (14:32 -0400)]
AAF integration in Policy SDK

Upgraded SDK version.
Added SQL script with encrypt key.
Added a function to save role on reading from session in
PolicyController.java
Addressed Check Style warnings in PolicyController.java

Issue-ID: POLICY-1088
Change-Id: I446b6c1a0db2a989ad3f4e982e5cdba845f81045
Signed-off-by: rb7147 <rb7147@att.com>
22 months agoUpgrade elasticsearch v6.3.0 93/66693/3
Pamela Dragosh [Fri, 14 Sep 2018 15:23:32 +0000 (11:23 -0400)]
Upgrade elasticsearch v6.3.0

Resolves a security issue around information disclosure. The
recommendation is to upgrade to this version for the fix.

Issue-ID: POLICY-1063
Change-Id: Idebb19d2c530b716a25aa91832c053e6b2d0ffce
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoMerge "Upgrade commons-compress v1.18"
Liam Fallon [Mon, 17 Sep 2018 12:33:16 +0000 (12:33 +0000)]
Merge "Upgrade commons-compress v1.18"

22 months agoFixed incorrect model name 55/66755/2
Michael Mokry [Fri, 14 Sep 2018 21:09:10 +0000 (16:09 -0500)]
Fixed incorrect model name

Changed the model name of the script to be the correct SDNC-GenerateName
version CSIT to fix the failed CSIT test cases

Change-Id: I8974202cfc8cea3a19e102813fbf2a4f449cd11b
Issue-ID: POLICY-983
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoUpgrade commons-compress v1.18 01/66701/1
Pamela Dragosh [Fri, 14 Sep 2018 15:46:08 +0000 (11:46 -0400)]
Upgrade commons-compress v1.18

Fixes 2 security issues and brings the common property
value to the root pom.xml for easier management.

Issue-ID: POLICY-1063
Change-Id: I56e3318bdfae2d205c61a5ad7af70a79bd70dada
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoUpgrade springframework 4.3.18.RELEASE 73/66673/1
Pamela Dragosh [Fri, 14 Sep 2018 14:34:25 +0000 (10:34 -0400)]
Upgrade springframework 4.3.18.RELEASE

To resolve security issue for 4.3.15.RELEASE and also
have a single place where the dependency is defined for
the sub-modules.

NOTE: 4.2.0.RELEASE is left alone in Policy SDK App
due to Portal SDK dependency.

Issue-ID: POLICY-1063
Change-Id: Ibdc464b16b4771faccb2c8c472efa7fbcbf3352c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoMerge "Upgrade dmaap client"
Jorge Hernandez [Wed, 12 Sep 2018 19:35:52 +0000 (19:35 +0000)]
Merge "Upgrade dmaap client"

22 months agoUpgrade dmaap client 89/66189/1
Pamela Dragosh [Wed, 12 Sep 2018 18:02:56 +0000 (14:02 -0400)]
Upgrade dmaap client

Upgrading to dmaap 1.1.8 for Casablanca. Hoping they have
removed some license issues.

Also, policy/parent has the version property definition
now because this dependency is shared across multiple repos.

Issue-ID: POLICY-1116
Change-Id: I6ffe7b7cf4b46b12b3ec8d534a58f0be40bb97b9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
22 months agoAdded SQL to import SDNC naming model 75/66175/1
Michael Mokry [Wed, 12 Sep 2018 15:32:42 +0000 (10:32 -0500)]
Added SQL to import SDNC naming model

Modified the script to inlcude an insert statement to add the
SDNCGenerate Naming model to the microservicemodels table during
installation

This will need to be merged before I add the CSIT test to Integration

Change-Id: I1620ce3f1097d45111bddb08c12b5b8c12bb1b2e
Issue-ID: POLICY-983
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoModified Min Max Guard xacml template 39/65939/1
Michael Mokry [Tue, 11 Sep 2018 20:25:58 +0000 (15:25 -0500)]
Modified Min Max Guard xacml template

Changed the condition to remove not from permit and have only one not
for deny

Change-Id: Ie4563aba000fa5366095fe23d23c37019b5224d4
Issue-ID: POLICY-1038
Signed-off-by: Michael Mokry <mm117s@att.com>
22 months agoMerge "New min/max Guard Policy"
Pamela Dragosh [Tue, 11 Sep 2018 16:10:03 +0000 (16:10 +0000)]
Merge "New min/max Guard Policy"

22 months agoNew min/max Guard Policy 15/65615/4
Michael Mokry [Mon, 10 Sep 2018 20:23:15 +0000 (15:23 -0500)]
New min/max Guard Policy

Made changes to support Guard policy create/update and other policy manager
functions including deletePolicy and pushPolicy.

Includes changes for new Guard policy support using GUI and API (Rest and Java Client)

Made changes to address Jim's comments

Made changes to address Liam's comments

Change-Id: I133fe1fd9287ea77ea41a2788de90c7642c36b6a
Issue-ID: POLICY-1038
Signed-off-by: Mike Mokry <mm117s@att.com>
22 months agoChange websockets to managed version 55/65855/1
liamfallon [Tue, 11 Sep 2018 13:56:34 +0000 (14:56 +0100)]
Change websockets to managed version

Change-Id: Iff8f9053640752f86e6f5aa94c1f16f6d3e01d6a
Issue-ID: POLICY-884
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
22 months agoResolved XACML Platform Sonar issues 79/65079/3
rb7147 [Thu, 6 Sep 2018 20:36:22 +0000 (16:36 -0400)]
Resolved XACML Platform Sonar issues

Issue-ID: POLICY-902
Change-Id: If22627dfe7df993b5c725ddf3a66c10ebbaa73ca
Signed-off-by: rb7147 <rb7147@att.com>
22 months agoMerge "XACML Platform Enhancements"
Jorge Hernandez [Thu, 6 Sep 2018 12:53:21 +0000 (12:53 +0000)]
Merge "XACML Platform Enhancements"

22 months agoMerge "TOSCA model enhancements"
Pamela Dragosh [Thu, 6 Sep 2018 00:26:31 +0000 (00:26 +0000)]
Merge "TOSCA model enhancements"

22 months agoXACML Platform Enhancements 99/64499/9
rb7147 [Tue, 4 Sep 2018 18:16:04 +0000 (14:16 -0400)]
XACML Platform Enhancements

To Support Raw Policy Creation from GUI and API.
GetDecision on combining algorithim with Policy Set.

Issue-ID: POLICY-902
Change-Id: Ie3189f8ded2e03366bc7d65d15b95b88c89b0acd
Signed-off-by: rb7147 <rb7147@att.com>
23 months agoTOSCA model enhancements 67/63867/4
Wang,Frank(gw1218) [Thu, 30 Aug 2018 16:16:37 +0000 (11:16 -0500)]
TOSCA model enhancements

Add those features below to existing TOSCA Policy model:
1. Set default value to HTML element
2. Set description of a property as a tooltip
3. Support Boolean type
4. User defined object can be re-used by different properties in the same yaml file

Issue-ID: POLICY-900
Change-Id: I337107828ce8130b9a68a2ba000ee719bbcb923e
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
23 months agoUpgrade to policy/parent 93/63793/4
Pamela Dragosh [Thu, 30 Aug 2018 11:51:13 +0000 (07:51 -0400)]
Upgrade to policy/parent

Change from oparent to policy/parent which inherit from
the latest oparent. The latest oparent has dependencyManagement
recommendations from the ONAP Security sub committee that
the policy team is adhering as part of the effort to consolidate
security work across projects.

Change-Id: I1a43fc5a04dbc8c4cb2b7bedbca67ad3e9dd120b
Issue-ID: INT-619
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
23 months agoMerge "Enhancement on Dashboard"
Pamela Dragosh [Tue, 28 Aug 2018 19:32:09 +0000 (19:32 +0000)]
Merge "Enhancement on Dashboard"

23 months agoModified Blacklist documentation 53/63153/1
Saryu Shah [Mon, 27 Aug 2018 23:12:01 +0000 (23:12 +0000)]
Modified Blacklist documentation

Modified Blacklist documentation
-------------------------------------------------------------

Issue-ID: POLICY-947

Change-Id: Ie31d45c302c51abc09705df8e714fb42d9ced1a6
Signed-off-by: Saryu Shah <ss3917@att.com>
23 months agoEnhancement on Dashboard 97/61897/8
Wang,Frank(gw1218) [Wed, 22 Aug 2018 18:44:09 +0000 (13:44 -0500)]
Enhancement on Dashboard

Enhancement on dashboard by including more info related to CRUD actions
on policies and also providing an advanced search feature.

Issue-ID: POLICY-1042
Change-Id: I987e0ca13824413f90299a366fb4464fca7de06a
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
23 months agopolicy/engine changes to support PE https 73/61873/1
Michael Mokry [Wed, 22 Aug 2018 16:07:09 +0000 (11:07 -0500)]
policy/engine changes to support PE https

Enabled https connector in server.xml and modified the docker-install.sh
to fix the default variable name for policy truststore

Change-Id: I6db6a6d2353130c91c1f344ea7927d187150adca
Issue-ID: POLICY-781
Signed-off-by: Michael Mokry <mm117s@att.com>
23 months agoMerge "Use builder for std pap policy"
Pamela Dragosh [Wed, 22 Aug 2018 12:02:52 +0000 (12:02 +0000)]
Merge "Use builder for std pap policy"

23 months agoMerge "Updated guard blacklist documentation"
Pamela Dragosh [Mon, 20 Aug 2018 16:33:29 +0000 (16:33 +0000)]
Merge "Updated guard blacklist documentation"

23 months agoUse builder for std pap policy 09/61209/1
Krishnajinka [Mon, 20 Aug 2018 05:18:14 +0000 (14:18 +0900)]
Use builder for std pap policy

Modify constructor in stdpappolicy to use builder
this will fix the sonar issue related with more than
7 parameters method parameters

Issue-ID: POLICY-1016
Change-Id: Id736a66e5ea48f0f233cffb640cdce8aaa8f2c0d
Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
23 months agoUpdated guard blacklist documentation 57/61157/1
Saryu Shah [Sat, 18 Aug 2018 01:06:37 +0000 (01:06 +0000)]
Updated guard blacklist documentation

Updated guard blacklist documentation
-------------------------------------------------------------

Change-Id: Ib99fd83119994a59e9708e3585d0eafdababc8d5
Issue-ID: POLICY-947
Signed-off-by: Saryu Shah <ss3917@att.com>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use