aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02Removed Objective From keyword check in parserMichael Mokry1-3/+1
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>
2018-11-01Modified to make AAF configurable in policy/engineMichael Mokry5-9/+45
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>
2018-11-01Merge "Support R3 model for OOF Policy Optimization" into casablancaPamela Dragosh2-0/+42
2018-11-01Support R3 model for OOF Policy OptimizationliboNet2-0/+42
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)
2018-11-01Remove openecomp repo from engine pomJim Hahn1-16/+0
Change-Id: I5651c65d06ceacc663b985315755d6cb93cd6666 Issue-ID: POLICY-1231 Signed-off-by: Jim Hahn <jrh3@att.com> (cherry picked from commit 205eaacc4db3e853520cc49e0f62dba407f9a2ae)
2018-10-31Step version for Casablanca supportliamfallon26-111/+77
Issue-ID: POLICY-1233 Change-Id: I1d388e1f4a872cf4e3013f8968e9026460e847f3 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-10-26Fix random failures in ManualClientEndTest3.0.0-ONAPJim Hahn4-46/+41
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>
2018-10-26API Doc: Add examplesSaryu Shah1-0/+600
API Doc: Add examples ------------------------------------------------------------- Change-Id: Ia219b06cdb05ef67c40c8920ea05087a0bf249d8 Issue-ID: POLICY-1219 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-25Upgraded Tomcat version to 8.5.341.3.1mmis3-5/+5
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>
2018-10-25Fix refering to snapshot in policy/engineramverma25-90/+88
Issue-ID: POLICY-1213 Change-Id: I6666585a176b9e981976777018e4b7616e47ffc7 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-10-23Remove commons-uploadPamela Dragosh2-10/+0
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>
2018-10-23Resolve security issues with postgresqlMichael Mokry1-5/+0
Removed the unused dependency Change-Id: Iad55fc46a2912a297dd2ae0300fe99489c07d123 Issue-ID: POLICY-1215 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2018-10-23Made change to validation to reduce complexityMichael Mokry1-99/+100
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>
2018-10-23Merge "Remove unused commons-fileupload"Jorge Hernandez1-5/+0
2018-10-23Remove unused commons-fileuploadPamela Dragosh1-5/+0
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>
2018-10-22Fixed Optimization Policy validationMichael Mokry1-152/+136
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>
2018-10-21Update Casablance Release NotesSaryu Shah1-3/+7
Update Casablance Release Notes ------------------------------------------------------------- Issue-ID: POLICY-1162 Change-Id: I816745a20226278cef17dbe02591f7b001efb3a0 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-19Updated policy documentation - vFWSaryu Shah20-3/+7
Updated policy documentation - vFW ------------------------------------------------------------- Change-Id: I65a1fa707f6443d3c947b80c2328ba43c0756aa2 Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-19tutorial_cl, vCPE documentationSaryu Shah8-0/+4
tutorial_cl, vCPE documentation ------------------------------------------------------------- Change-Id: Ibed905fd8f8a27af5e7bae2024b15f5c02fff390 Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-18Merge "Documentation: Eclipse, vCPE, VoLTE, ModTemplate"Jorge Hernandez23-22/+20
2018-10-18Merge "Updated vDNS documentation"Jorge Hernandez4-18/+22
2018-10-18Documentation: Eclipse, vCPE, VoLTE, ModTemplateSaryu Shah23-22/+20
Documentation: Eclipse, vCPE, VoLTE, ModTemplate ------------------------------------------------------------- Issue-ID: POLICY-1169 Change-Id: Id501913db5be23f97e5ea5a635e27511546a042a Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-17Fix exceptions related to invalid db schemaMichael Mokry1-0/+5
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>
2018-10-17XACML PDP Performance TestMichael Mokry6-0/+2456
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>
2018-10-17Updated vDNS documentationSaryu Shah4-18/+22
Updated vDNS documentation ------------------------------------------------------------- Change-Id: I763996f48ae3665dddd8836994f77bed283806ee Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-11Merge "Policy Doc: Removed Beijing Controller"Pamela Dragosh1-1/+0
2018-10-11Merge "Updated the keystore to include pdp wildcard."Pamela Dragosh1-0/+0
2018-10-11Updated the keystore to include pdp wildcard.Jorge Hernandez1-0/+0
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>
2018-10-11Policy Doc: Removed Beijing ControllerSaryu Shah1-1/+0
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>
2018-10-11Updated rst doc for clsimulation.rstSaryu Shah1-195/+351
A short description eg. Updated policy documentation ------------------------------------------------------------- Change-Id: Ibc2426f9b6befc2c750290f2685427a47318e012 Issue-ID: POLICY-1169 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-09Regenerate policy keystore1.3.0Jorge Hernandez1-0/+0
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>
2018-10-09Modify portal properties in PEMichael Mokry2-4/+3
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>
2018-10-09Update local dependency jsonPamela Dragosh1-0/+24
For local testing these need to be added. Issue-ID: POLICY-1190 Change-Id: I2827aebe9faf04ff38e0781376b4553d34c88930 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-10-08Initial Draft of Release NotesSaryu Shah1-0/+172
Initial Draft of Release Notes ------------------------------------------------------------- Change-Id: I76d9c4cdd4cef570a4e4bf6fc149cf28dd447297 Issue-ID: POLICY-1162 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-10-05Fix sonar bugPamela Dragosh1-243/+274
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>
2018-10-05Add SDNC actor to dependencyPamela Dragosh1-0/+8
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>
2018-10-04Fixed issue with springframework dependenciesMichael Mokry2-0/+92
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>
2018-10-02Recreate latest keystore.Jorge Hernandez1-0/+0
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>
2018-09-27Add Sdnr Actor codePamela Dragosh1-0/+8
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>
2018-09-25CADI AAF changes for policy/engineMichael Mokry5-225/+267
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>
2018-09-20BRMSGW HTTPS support for DMaaP/UEB interfacesMichael Mokry1-1/+1
Modified BrmsPush UEB interface implementation to use HTTPS Change-Id: Id8ae68f23ee371142da3f9d8aa0a2b2e7988ff36 Issue-ID: POLICY-942 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-09-20Upgrade javax.mail to 1.6.2Pamela Dragosh1-3/+3
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>
2018-09-18Fixes for oparent upgradePamela Dragosh7-7/+2
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>
2018-09-18Merge "Fixing issue with validation errors"Pamela Dragosh2-500/+736
2018-09-18Merge "Remove override of parent aaf version"Liam Fallon2-2/+5
2018-09-18Merge "Fix Policy GUI Template Issue"Pamela Dragosh1-1/+1
2018-09-18Fixing issue with validation errorsMichael Mokry2-500/+736
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>
2018-09-18Fix Policy GUI Template IssueWang, Frank(gw1218)1-1/+1
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>
2018-09-18Remove override of parent aaf versionPamela Dragosh2-2/+5
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>
2018-09-18Merge "Added validation on matching required fields"Jorge Hernandez2-436/+777