policy/engine.git
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 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>
5 years agoAdded changes to save original model file 45/83245/4
HOCKLA [Mon, 25 Mar 2019 17:38:25 +0000 (12:38 -0500)]
Added changes to save original model file

When a user imports a model, save the original model file

Issue-ID: POLICY-1423
Change-Id: Ic7ccf2cc91ce466d7aac644cf566e35577888217
Signed-off-by: HOCKLA <ah999m@att.com>
5 years agoOnly formatting changes for checkstyle fixes 68/83268/1
pa834y [Mon, 25 Mar 2019 21:43:24 +0000 (17:43 -0400)]
Only formatting changes for checkstyle fixes

Change-Id: I276b0946c5b03e5369a3c70468672378825c0766
Issue-ID: POLICY-1434
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "use hibernate and breakup dbdao and papservlet"
Pamela Dragosh [Thu, 21 Mar 2019 15:54:43 +0000 (15:54 +0000)]
Merge "use hibernate and breakup dbdao and papservlet"

5 years agoUpdate Casablanca Maint release notes 22/82922/1
Pamela Dragosh [Wed, 20 Mar 2019 17:40:13 +0000 (13:40 -0400)]
Update Casablanca Maint release notes

Update release notes for 2nd Casablanca Maintenance
release.

Issue-ID: POLICY-1607
Change-Id: I283c7697df6ec7519ea3702728ddf06d035a7b09
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit bc7c2bd6408ce2ee742a294456e45284d7ae2fc2)

5 years agouse hibernate and breakup dbdao and papservlet 47/81947/11
pa834y [Mon, 11 Mar 2019 14:34:22 +0000 (10:34 -0400)]
use hibernate and breakup dbdao and papservlet

Change-Id: Ifa655d56bda0ab4c748f188767122e7bd927155b
Issue-ID: POLICY-1417
Signed-off-by: pa834y <pa834y@att.com>
5 years agoAdd NSS libraries to images 29/82529/1
Jorge Hernandez [Sun, 17 Mar 2019 05:15:08 +0000 (00:15 -0500)]
Add NSS libraries to images

Alpine OpenJDK was updated 2 days ago (3/14), this
upgrade seems to break java applications that depend on libnss*.so
OS libraries, which seem are no longer installed with the jdk.

In addition added procps as policy.sh status doesn't reflect
properly state as it depends on pgrep.

Change-Id: Ic83f065fd72f5f13ce44e0ae0848284bd5c45f3b
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoMerge "uplift oparent version 1.2.1->1.2.3"
Pamela Dragosh [Sat, 16 Mar 2019 18:41:19 +0000 (18:41 +0000)]
Merge "uplift oparent version 1.2.1->1.2.3"

5 years agoUpdate INFO.yaml file 93/82493/1
Jessica Wagantall [Fri, 15 Mar 2019 20:53:57 +0000 (13:53 -0700)]
Update INFO.yaml file

Update missing information blocks and
indentation to pass verify job.

Change-Id: Id7d9e429c3e16fd7619d9454f95f8750b5500058
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agouplift oparent version 1.2.1->1.2.3 24/82324/1
Hengye [Fri, 15 Mar 2019 01:19:39 +0000 (01:19 +0000)]
uplift oparent version 1.2.1->1.2.3

spring-web 5.0.9.RELEASE -> 5.1.2.RELEASE
String org.springframework.http.HttpStatus.toString()
return Integer.toString(this.value)//spring-web 5.0.9.RELEASE
return Integer.toString(this.value) + " " + name();//spring-web
5.1.2.RELEASE

Issue-ID: POLICY-1261
Change-Id: I24bd1f1568c49108288ebdd741d93db09545856b
Signed-off-by: Hengye <yehui.wang@est.tech>
5 years agofixing CSIT problems bc move to Alpine OS 98/81898/1
Jorge Hernandez [Mon, 11 Mar 2019 03:24:15 +0000 (22:24 -0500)]
fixing CSIT problems bc move to Alpine OS

Added some packages to prevent other problems in
scripts, and change the mechanism to wait for mariadb as
it does not work with Alpine.

Change-Id: I5ee51d1fddfbf1e63a912ab268a5cabac8da0515
Issue-ID: POLICY-1577
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoUse Alpine as base docker image in /policy/engine 53/79853/2
Hengye [Thu, 7 Mar 2019 11:32:31 +0000 (11:32 +0000)]
Use Alpine as base docker image in /policy/engine

Issue-ID: POLICY-1552
Change-Id: Ibd67ca0cbec9e358c0a934821319e62dda46e3b2
Signed-off-by: Hengye <yehui.wang@est.tech>
5 years agoUpgrade elasticsearch 6.4.3 06/79106/1
Pamela Dragosh [Mon, 25 Feb 2019 13:20:41 +0000 (08:20 -0500)]
Upgrade elasticsearch 6.4.3

Another security issue identified that 6.4.0 through
6.4.2 is vulnerable to Insuffiencient Authentication.

Looks like 6.4.3 fixes that issue.

Issue-ID: POLICY-1538
Change-Id: Ica0ed5669395b480222746f16f4732d4792c8b90
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpgrade elasticsearch to 6.4.1 54/78954/1
Pamela Dragosh [Thu, 21 Feb 2019 17:42:08 +0000 (12:42 -0500)]
Upgrade elasticsearch to 6.4.1

Recommendation is to upgrade to clear security vulnerability
as described in the JIRA.

Issue-ID: POLICY-1538
Change-Id: If6a55ffcf4babb7547e52a7971061e9c9a197c43
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRemove javascript from sonar 59/78859/1
Pamela Dragosh [Wed, 20 Feb 2019 17:29:15 +0000 (12:29 -0500)]
Remove javascript from sonar

Per Catherine, Dublin will not require javascript for sonar
coverage statistics. We'll add this back in for El Alto if
we determine this repo still needs development.

If LF turns off javascript in the Sonar application then I'll
change this back. But I need to determine if policy/engine has
55% coverage for tomorrow M2.

Issue-ID: POLICY-1536
Change-Id: Ie091e231e1150da3217e10eb28fdbcd7e2ed8320
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoFix sonar.exclusion for bower 35/78835/1
Pamela Dragosh [Wed, 20 Feb 2019 13:44:22 +0000 (08:44 -0500)]
Fix sonar.exclusion for bower

The lib folder no longer exists so excluding the lib.bower
to ensure that isn't included in.

Issue-ID: POLICY-1536
Change-Id: I2cf0ecd156b710e5bed98b9ee3dd3184d620a1b0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoMerge "Reformat POLICY-SDK-APP test cases"
Jorge Hernandez [Mon, 18 Feb 2019 14:56:01 +0000 (14:56 +0000)]
Merge "Reformat POLICY-SDK-APP test cases"

5 years agoMerge "Reformat ONAP-PDP-REST test cases"
Jorge Hernandez [Fri, 15 Feb 2019 17:20:50 +0000 (17:20 +0000)]
Merge "Reformat ONAP-PDP-REST test cases"

5 years agoMerge "Reformat PolicyEngineAPI test cases"
Jorge Hernandez [Fri, 15 Feb 2019 17:19:30 +0000 (17:19 +0000)]
Merge "Reformat PolicyEngineAPI test cases"

5 years agoMerge "Reformat ONAP-XACML test cases"
Jorge Hernandez [Fri, 15 Feb 2019 14:45:12 +0000 (14:45 +0000)]
Merge "Reformat ONAP-XACML test cases"

5 years agoReformat PolicyEngineAPI test cases 51/78551/3
kaihlavi [Fri, 15 Feb 2019 12:36:44 +0000 (14:36 +0200)]
Reformat PolicyEngineAPI test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of tabs to 4 spaces

Samsung modifications copyrights added

Change-Id: Ic161ef7b36a1b83624a832208905b5324b013c59
Issue-ID: POLICY-1506
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoReformat ONAP-PDP-REST test cases 56/78456/4
kaihlavi [Thu, 14 Feb 2019 09:03:20 +0000 (11:03 +0200)]
Reformat ONAP-PDP-REST test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of tabs to 4 spaces

Modifications copyrights for Samsung added and a number of
subproject names corrected for licenses

Change-Id: I52106aa0ab249dc6bf3b2a9c455e53f42d0e6136
Issue-ID: POLICY-1506
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoReformat POLICY-SDK-APP test cases 55/78555/1
kaihlavi [Fri, 15 Feb 2019 13:20:52 +0000 (15:20 +0200)]
Reformat POLICY-SDK-APP test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of tabs to 4 spaces

Samsung modifications copyrights added

Change-Id: I60b666d879960c80c80f8b1c41fc98fd0703f4d4
Issue-ID: POLICY-1506
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoMerge "Reformat ONAP-SDK-APP test cases"
Liam Fallon [Fri, 15 Feb 2019 10:45:40 +0000 (10:45 +0000)]
Merge "Reformat ONAP-SDK-APP test cases"

5 years agoReformat ONAP-XACML test cases 44/78544/1
kaihlavi [Fri, 15 Feb 2019 09:33:20 +0000 (11:33 +0200)]
Reformat ONAP-XACML test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of tabs and
2 spaces to 4 spaces

Samsung modifications copyrights added and updated

Change-Id: I1da3f7e0d032ba00721f16ae9c7dd8baca3299b4
Issue-ID: POLICY-1506
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoReformat ONAP-PAP-REST test cases 58/78458/3
kaihlavi [Thu, 14 Feb 2019 09:47:17 +0000 (11:47 +0200)]
Reformat ONAP-PAP-REST test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of 2 spaces to 4 spaces

Samsung modification copyrights added

Issue-ID: POLICY-1506
Change-Id: If67e440bea6d8d10a971a551aac8484f22d2ecca
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoReformat ONAP-SDK-APP test cases 60/78460/2
kaihlavi [Thu, 14 Feb 2019 10:08:36 +0000 (12:08 +0200)]
Reformat ONAP-SDK-APP test cases

Reformat test cases to follow ONAP style
https://wiki.onap.org/display/DW/Java+code+style

Format changes mainly consist of conversions of tabs to 4 spaces

Samsung modifications copyrights added

Issue-ID: POLICY-1506
Change-Id: I71ddf1137f4ab6b84474e85b6c521daf07c9beee
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoImprove ONAP-PDP-REST JUnit test case independency 73/77873/11
kaihlavi [Tue, 5 Feb 2019 14:04:04 +0000 (16:04 +0200)]
Improve ONAP-PDP-REST JUnit test case independency

Handle cleanup of changed system properties and other test-related
static parameters to prevent unexpected behaviour of other test cases
that are dependent of the same properties and parameters when order
of the execution changes

Add Samsung modification copyrights for changed files

Fix some loggings and a minor typo in documentation

Change-Id: Ib6920d6300da79bfc426e4f348b503e3fd6a31ee
Issue-ID: POLICY-1501
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
5 years agoMerge "New listPolicy API to check pushed policies in PDP"
Pamela Dragosh [Tue, 29 Jan 2019 15:58:15 +0000 (15:58 +0000)]
Merge "New listPolicy API to check pushed policies in PDP"

5 years agoNew listPolicy API to check pushed policies in PDP 10/76010/5
pa834y [Fri, 18 Jan 2019 19:34:39 +0000 (14:34 -0500)]
New listPolicy API to check pushed policies in PDP

Issue-ID: POLICY-1410
Change-Id: I26f3f13e41a59de67e977914e4e129b79a979563
Signed-off-by: pa834y <pa834y@att.com>
5 years agoMerge "Increase JUnit Code Coverage for PolicyDBDao"
Pamela Dragosh [Tue, 22 Jan 2019 19:37:34 +0000 (19:37 +0000)]
Merge "Increase JUnit Code Coverage for PolicyDBDao"

5 years agoIncrease JUnit Code Coverage for PolicyDBDao 95/76095/2
Michael Mokry [Mon, 21 Jan 2019 22:21:28 +0000 (16:21 -0600)]
Increase JUnit Code Coverage for PolicyDBDao

Added Junit tests for PolicyDBDao methods that were not covered after
observing that the code coverage dropped below 50% in SONAR.

Modified license headers with correct copywrite

Change-Id: Iad8e18d978236f4391363d963eb4624744f45099
Issue-ID: POLICY-1448
Signed-off-by: Michael Mokry <michael.mokry@att.com>
5 years agoMerge "Improved snar issues"
Pamela Dragosh [Tue, 22 Jan 2019 11:41:38 +0000 (11:41 +0000)]
Merge "Improved snar issues"

5 years agoImproved snar issues 73/76073/1
burdziak [Mon, 21 Jan 2019 14:36:51 +0000 (15:36 +0100)]
Improved snar issues

Change-Id: Iaaf16a8e7e30174509cfb40702185c9b2fc2961a
Issue-ID: POLICY-1432
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
5 years agoSonar issues improved 70/76070/1
burdziak [Mon, 21 Jan 2019 14:01:00 +0000 (15:01 +0100)]
Sonar issues improved

Change-Id: I8b2ea531c1cfa6620a2240c3ae029c3c284f5cd7
Issue-ID: POLICY-1432
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
5 years agoCasablanca Maintenance Release Notes 94/75994/1
Saryu Shah [Fri, 18 Jan 2019 14:52:50 +0000 (14:52 +0000)]
Casablanca Maintenance Release Notes

Casablanca Maintenance Release Notes
-------------------------------------------------------------

Issue-ID: POLICY-1398

Change-Id: I8a9058f94459148ef04e78781888b1fdbac0ff0f
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoSmall sonar issues 33/75933/1
burdziak [Thu, 17 Jan 2019 11:17:16 +0000 (12:17 +0100)]
Small sonar issues

Change-Id: Ifae0a81b6bfbbf08a68deb84b1514b88f2d19dea
Issue-ID: POLICY-1432
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
5 years agoFix policy/engine after integrity-audit changes 01/75701/1
Jim Hahn [Fri, 11 Jan 2019 20:24:26 +0000 (15:24 -0500)]
Fix policy/engine after integrity-audit changes

In POLICY-1133, some classes in integrity-audit were modified
(i.e., DbDAO => DbDao).  Policy/engine uses those classes, too,
so it must also be updated to reflect.

Change-Id: I01ebad1ddfe8f1bb490c56b2eb3336c691688a24
Issue-ID: POLICY-1133
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoRename test classes in policy/engine 14/75114/1
Parshad Patel [Thu, 27 Dec 2018 10:52:56 +0000 (19:52 +0900)]
Rename test classes in policy/engine

Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes

Issue-ID: POLICY-1281
Change-Id: I5fa65d0cfc95edc8f2fe0ca678a43d2011a39670
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
5 years agoUpdate to latest keystore from AAF tooling 34/74634/1
Jorge Hernandez [Thu, 13 Dec 2018 20:40:10 +0000 (14:40 -0600)]
Update to latest keystore from AAF tooling

It is generic with extended expiration, and support for
policy-distribution and policy-apex-pdp components.

Change-Id: Ibbaa6206a9aa6833296ae8707d2a816809d11077
Issue-ID: POLICY-1377
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoMerge "Update RN"
Pamela Dragosh [Mon, 3 Dec 2018 13:05:49 +0000 (13:05 +0000)]
Merge "Update RN"

5 years agoUpdate RN 93/74093/1
Gildas Lanilis [Sat, 1 Dec 2018 01:31:03 +0000 (17:31 -0800)]
Update RN

Fix typo on known issue section
Update link of Policy vulenerability report in Casablanca Vulnerability section

Change-Id: I951f317145a28157d2e6e90c78588649065cc4dd
Issue-ID: DOC-333
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
5 years agoUpdate eclipselink version in policy engine 83/74083/1
Jim Hahn [Fri, 30 Nov 2018 16:50:51 +0000 (11:50 -0500)]
Update eclipselink version in policy engine

Use eclipselink from policy parent.

Change-Id: I60b8779c1b384f3fe69d21e7b9ed2a1091ca301e
Issue-ID: POLICY-1365
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoConsolidate changes to release notes 65/73965/2
Pamela Dragosh [Thu, 29 Nov 2018 16:57:22 +0000 (11:57 -0500)]
Consolidate changes to release notes

Consolidate release notes per Release Manager request during
today's TSC call.

Updating known issues.

Change-Id: I721d61723259929eeacf91243958ede847e2d5db
Issue-ID: POLICY-1357
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoEliminate error messages about BACKUPMONITORENTITY 04/73704/1
Jim Hahn [Tue, 27 Nov 2018 17:05:55 +0000 (12:05 -0500)]
Eliminate error messages about BACKUPMONITORENTITY

Change-Id: Ibf4ed1c684c7e29730e2ce4934e267d55b57e02d
Issue-ID: POLICY-1290
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoFix various errors in test logs 50/73550/2
Jim Hahn [Mon, 26 Nov 2018 15:09:00 +0000 (10:09 -0500)]
Fix various errors in test logs

Changed license comment style in ddl files from C-style to SQL-style.
Added value for NOTIFICATION_DELAY.
Don't overwrite property and pom updates from previous commit.

Change-Id: I8c9fd50343c3503c797cb4165bbff5809e4d0740
Issue-ID: POLICY-1285
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoUpdate Architecture 28/73428/4
Pamela Dragosh [Fri, 23 Nov 2018 14:44:00 +0000 (09:44 -0500)]
Update Architecture

Add reference to labels created for
two new applications ingested/added for Casablanca.

Also ensure release date is correct.

Correct doc8 errors
Correct badd link apc-pdp

Issue-ID: POLICY-1163
Change-Id: I84c17514ed0e080e4c4bebc8a3e0145bf7e93449
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoMerge "Release notes - Known Issues"
Pamela Dragosh [Wed, 21 Nov 2018 21:05:28 +0000 (21:05 +0000)]
Merge "Release notes - Known Issues"

5 years agoRelease notes - Known Issues 92/73292/1
Saryu Shah [Wed, 21 Nov 2018 20:29:58 +0000 (20:29 +0000)]
Release notes - Known Issues

Release notes - Known Issues
-------------------------------------------------------------

Change-Id: I0c341fac23f1644b345301d6b4a7a02995818347
Issue-ID: POLICY-1162
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoAAF documentation 53/73153/1
Jorge Hernandez [Mon, 19 Nov 2018 23:04:45 +0000 (17:04 -0600)]
AAF documentation

Change-Id: I3cab80a2305578625f550ed591135f19227a3afb
Issue-ID: POLICY-1259
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
(cherry picked from commit 367c1e79e700c30e3cfaf4dece64d3b6847bb3c2)

5 years agoUpdated policy release notes 97/73097/1
Saryu Shah [Mon, 19 Nov 2018 21:59:26 +0000 (21:59 +0000)]
Updated policy release notes

Updated policy release notes
-------------------------------------------------------------

Change-Id: I234df901f4b527d79ccb79379c35833711f65097
Issue-ID: POLICY-1162
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoRelease Notes Casablanca 80/72980/1
Saryu Shah [Sat, 17 Nov 2018 18:41:36 +0000 (18:41 +0000)]
Release Notes Casablanca

Release Notes Casablanca
-------------------------------------------------------------
Issue-ID: POLICY-1162

Change-Id: I951f118af5e28a7101c370c992a2c10dbdf32af4
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoDon't run test until ws.start() completes 77/72777/8
Jim Hahn [Thu, 15 Nov 2018 13:00:24 +0000 (08:00 -0500)]
Don't run test until ws.start() completes

Allocate server port via port=0 method.
Replace tabs with spaces.
Use logback-test to log test output only to stdout.
Only wait for latch a finite amount of time.
Update license date in new logback-test.
Tabs => spaces in logback-test.
More tabs => spaces in logback-test.
Remove extra attributes from logback-test "configuration" element.

Change-Id: I5608a4736c0b08d86a0687034eac6a65e3e77972
Issue-ID: POLICY-1092
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAdded flow diagram to clc documentation. 14/72714/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>
5 years agoExclude itext due to license 77/72677/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>
(cherry picked from commit 08d9b84f4643af38833ebd1315665648f6f1f82d)

5 years agoinitial documentation for the CLC 52/72352/1
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>
5 years agoDocumentation updates for PDP/PAP Testing/Debug 33/72133/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>
5 years agoMerge "Fix R3 model for OOF Policy Optimization"
Pamela Dragosh [Thu, 8 Nov 2018 15:30:19 +0000 (15:30 +0000)]
Merge "Fix R3 model for OOF Policy Optimization"

5 years agoFix R3 model for OOF Policy Optimization 79/72179/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>
5 years agoUpdated index file for PDP-D Features. 63/72163/1
Saryu Shah [Thu, 8 Nov 2018 05:01:48 +0000 (05:01 +0000)]
Updated index file for PDP-D Features.

Updated index file for PDP-D Features.
-------------------------------------------------------------

Change-Id: I310a6092ab7d760219e147d0a13d97b3c0e601fa
Issue-ID: POLICY-1169
Signed-off-by: Saryu Shah <ss3917@att.com>
5 years agoMerge "Remove exclusion of dme"
Jorge Hernandez [Wed, 7 Nov 2018 16:56:59 +0000 (16:56 +0000)]
Merge "Remove exclusion of dme"

5 years agoFix issue with rendering 'identity' key in GUI 71/72071/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>
(cherry picked from commit 32d9ca08e62acee4239a2b02464bc332bebbaf32)

5 years agoRemove exclusion of dme 26/72026/1
Pamela Dragosh [Wed, 7 Nov 2018 00:27:40 +0000 (19:27 -0500)]
Remove exclusion of dme

Since upgrading to dmaap 1.1.9, the exclusion is no
longer needed. This exclusion may have been the culprit
to POLICY-698's problem. Thus, removing the added
dependency that was put in to resolve it.

This should now clear all the javax.jms inclusions
which have license issues.

Issue-ID: POLICY-1229
Change-Id: Iba5e9db9576a8a8ca685e2ddfb46369ff6118cf0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoRemoved Objective From keyword check in parser 11/72011/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>
(cherry picked from commit 51842453b199a7c3a6785f4ab047612d50eab3b9)

5 years agoMerge "Bypass Portal Cookbook recipes"
Liam Fallon [Tue, 6 Nov 2018 20:28:54 +0000 (20:28 +0000)]
Merge "Bypass Portal Cookbook recipes"

5 years agoUpdate dmaap 1.1.9 changes 89/71989/1
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.

Issue-ID: POLICY-1229
Change-Id: I16f4bbd9ba2d46cdc3b94feba1f2e7f20d837dad
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBypass Portal Cookbook recipes 84/71984/3
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>
5 years agoMerge "Update policy cookbook documentation"
Pamela Dragosh [Tue, 6 Nov 2018 13:11:57 +0000 (13:11 +0000)]
Merge "Update policy cookbook documentation"

5 years agoUpdate policy on oom documentation 03/71903/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>
5 years agoUpdate policy cookbook documentation 94/71894/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>
5 years agoMerge "Add section for CLC"
Jorge Hernandez [Mon, 5 Nov 2018 14:28:30 +0000 (14:28 +0000)]
Merge "Add section for CLC"

5 years agoModified to make AAF configurable in policy/engine 63/71763/1
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>
(cherry picked from commit 6accdc2ae0340ed84a59c739bd345ced2ff323c5)

5 years agoMerge "Upgrade xacml 1.0.2"
Jorge Hernandez [Fri, 2 Nov 2018 17:32:03 +0000 (17:32 +0000)]
Merge "Upgrade xacml 1.0.2"

5 years agoMerge "Update installation documentation"
Jorge Hernandez [Fri, 2 Nov 2018 17:30:57 +0000 (17:30 +0000)]
Merge "Update installation documentation"

5 years agoAdd section for CLC 43/71743/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>
5 years agoUpgrade xacml 1.0.2 41/71741/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>
5 years agoUpdate installation documentation 93/71493/3
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>
5 years agoSet new master version for Dublin 71/71571/1
liamfallon [Wed, 31 Oct 2018 17:28:58 +0000 (17:28 +0000)]
Set new master version for Dublin

Issue-ID: POLICY-1232
Change-Id: I81e2b700debd4acca52f8ed9bbf8b54d75ceca83
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
5 years agoMerge "Support R3 model for OOF Policy Optimization"
Jorge Hernandez [Tue, 30 Oct 2018 14:58:57 +0000 (14:58 +0000)]
Merge "Support R3 model for OOF Policy Optimization"

5 years agoSupport R3 model for OOF Policy Optimization 40/71440/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>
5 years agoRemove openecomp repo from engine pom 68/71468/1
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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years agoMerge "Remove unused commons-fileupload"
Jorge Hernandez [Tue, 23 Oct 2018 16:37:41 +0000 (16:37 +0000)]
Merge "Remove unused commons-fileupload"

5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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"

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

5 years 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>