summaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2018-05-11Merge "Fix POLICY_LOGS property in paplp.conf"v1.2.1Jorge Hernandez1-2/+2
2018-05-10Fix POLICY_LOGS property in paplp.confJim Hahn1-2/+2
Added extra braces around POLICY_LOGS property. Change-Id: I4022d00a74971be70dc5b3c2cb435be31d91386c Issue-ID: POLICY-758 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-10Change error to warningJim Hahn1-0/+1
Changed ERROR about decryption to WARNING. Added POLICY_LOGS to base.conf (for non-docker). Change-Id: If32965f1c37b36102c12371e739e1a155bb255f0 Issue-ID: POLICY-758 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-08Convert license header to SQL commentliamfallon10-196/+186
Changed comment from Java style to SQL style Change-Id: Ia0ac3991cd58939f5efc0c752148b11931136a4f Issue-ID: POLICY-773 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-07automate dependency.json version populationJorge Hernandez2-1/+8
This avoids error-prone manual version changes to configuration files. Change-Id: I1a991ef9a8eb4cc7dd5fe26d9952286d8b5c0115 Issue-ID: POLICY-766 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-25cook policy-keystore into pe imageJorge Hernandez3-4/+20
OOM team reported issues with ONAP installation in terms of config map sizes. After discussion with OOM team, one solution is to cook it in the docker image itself. This will solve the size issue on the OOM side. Change-Id: I2ca20bdc3aa8ee959c5e4c1d07483fe5f0c14607 Issue-ID: POLICY-747 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-04-19Add license to policy-engine filesJim Hahn20-0/+400
Added license to various files. Updated XACMLPolicyScanner to work even when license comment is added to the Policy.xml file. Moved DOCTYPE before license in html files. Removed license from css files, as many are generated or come from third-party software. Removed license from other generated files. Change-Id: I9d98ca9f552a6eae17e80ef27fc7045cc4f27b8e Issue-ID: POLICY-741 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-04-13Upgrade to SNAPSHOT 1.2.1Pamela Dragosh4-4/+4
Issue-ID: POLICY-736 Change-Id: If5c959aa1c0a123c7fd9eee281e39e1d646b6b03 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-10Modified DB Upgrade script for OptimizationModelsMichael Mokry1-1/+1
Changed the incorrect column 'dataorder' to 'dataorderinfo' Made changes to pom and AAF client code per AAF API changes in new depedency. Change-Id: Ic9bf0edec8282cc0f96d6fedd62fa9253d52070f Issue-ID: POLICY-731 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-04-04ONAP log files consolidationChou, Joseph (JC2555)2-1/+3
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp Change-Id: I5b51368f8fed2d0ede848f1aa7f2f70c866dfe8b Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-04-03Merge "ONAP log files consolidation"Jorge Hernandez20-32/+271
2018-04-03Update docker script for tomcat installPamela Dragosh2-1/+6
Issue-ID: POLICY-507 Change-Id: I14278865429dc0ccd0515ef5c84012b43b366c9a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-03ONAP log files consolidationChou, Joseph (JC2555)20-32/+271
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-04-02Merge "Support CSIT tests for OOF Policy"Pamela Dragosh1-0/+3
2018-04-02Upgrade tomcat to resolve security issuePamela Dragosh1-2/+2
Tomcat resulted in 30+ CLM errors level 7-8. Issue-ID: POLICY-507 Change-Id: If055426a9b3fd464063fb84f8105f35213e2701a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-02Support CSIT tests for OOF PolicyMichael Mokry1-0/+3
I added an INSERT to the sql upgrade file and some sonar fixes and Junits Change-Id: I37139d5a8ad78d9d46ee01f81c2edd052672712e Issue-ID: POLICY-639 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-03-28POM changes to centralize test scope depsbobbymander1-9/+1
Issue-ID: POLICY-600 Change-Id: I870317bbd125c6016818ec435ea7a406123c66c1 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-28Merge "ONAP code change for log files consolidation"Jorge Hernandez16-75/+24
2018-03-28ONAP code change for log files consolidationChou, Joseph (JC2555)16-75/+24
Undo the change so this would not block other test activity Change-Id: I4f7dd2e14f30034eefbf958be3c912af2962e8a2 Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-03-27Change default argument path for logs directoryJorge Hernandez1-1/+1
To align with the implementation Change-Id: Ia32123e2bf87537e758ecc9fac8f14b6ca4ae562 Issue-ID: POLICY-533 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-26Merge "New Optimization Policy"Pamela Dragosh3-0/+78
2018-03-26New Optimization PolicyMichael Mokry3-0/+78
This is the new Optimization Policy to support the Integration of the OOF Policy Model into the Policy Platform. Added changes from Frank Wang to fix the following issues with existing Model Parser: 1. TOSCA Rendering issues 2. Matching Attributes support 3. ImportModelAPI to support TOSCA model upload via REST API Running local Sonar tonight to start fixing Sonar issues Added changes per review comments and fixed Sonar issues Change-Id: Ia8ce09c28a718ce4460475e76a750caef774bd6b Issue-ID: POLICY-622 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-03-23ONAP code change for log files consolidationChou, Joseph (JC2555)16-29/+80
Code change for log files consolidation of PAP, PDP, BRMSGW, Console and db script Issue-ID: POLICY-562 Change-Id: I416ba7748b841bb2b1a31682e2b1631e279549e8 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
2018-03-19Fix Another Typo in dependency.jsondc443y1-1/+1
Unresolveable maven coordinates when building the rules jar caused by a missing s in drools-applications. Issue-ID: POLICY-660 Change-Id: I3e78fec9c9e58c10f2a9366d15447e8a3998d343 Signed-off-by: dc443y <dc443y@att.com>
2018-03-16Fix type in dependency.jsondc443y1-1/+1
The BRMSGW was unable to generate rules artifacts during docker installation due to an unresolved dependency. A typo was discovered in the problematic dependency which was causing the error. Issue-ID: POLICY-660 Change-Id: If4dbe5e640f10d063fa5643112338b10fd29187d Signed-off-by: Daniel Cruz <dc443y@att.com>
2018-03-08Change default log location per logging guidelinesJorge Hernandez1-1/+1
Change-Id: Ib45bbede0330c6bf5dd6461b2642321d8fdb49ad Issue-ID: POLICY-554 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-08Merge "configurable logs dir and creation as root"Pamela Dragosh1-1/+4
2018-03-08Remove filtering from packages/docker/pommmis1-1/+0
Filtering should not be applied in the maven-resources-plugin execution as this incorecttly modifes the scripts copied by this plugin Issue-ID: POLICY-652 Change-Id: I92c73af6830f81ee3fbcdda68333a67378ce08a2 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-08configurable logs dir and creation as rootJorge Hernandez1-1/+4
Change-Id: I9d5d1dcf97e8951c2c8a700b301bcc33410dd839 Issue-ID: POLICY-562 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-03-07Copy files for docker image in packages/docker/pommmis1-2/+49
Copying the files in the pom removes the need to do the copying in various locations the docker build is executed from and allows the docker image be built without building the entire repo (as the install.zip can be pulled from nexus) Issue-ID: POLICY-652 Change-Id: I90498f7e0c00e63381d746f80f937b31b3f7199d Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-05Update Dockerfile and docker_*.shmmis1-1/+30
Correction to previous commit "Move docker_*.sh scripts into policy/engine" as attempt to build docker image will result in failure to pull the policy-base image from nexus The policy-base and policy-os images are removed in favour of including the contents of those images directly in the policy-pe image Issue-ID: POLICY-624 Change-Id: Ie4a12407d4cb5a1d663cd11136c282a53f496ca3 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-03-02Move docker_*.sh scripts into policy/enginemmis7-0/+941
Add files for building policy-pe docker image Issue-ID: POLICY-614 Change-Id: Id3e999e652c7c7c6092eb9bde76709cfa1c06c7b Signed-off-by: mmis <michael.morris@ericsson.com>
2018-02-27remove mariadb superuser sql statementsJorge Hernandez1-4/+1
PE installation as part of data upgrade invokes "set global" statements that are typically used by priviledged accounts as the "root" mariadb user. As part of the effort to clean up the mariadb docker install, only permissions to a regular mariadb user (policy_user by default) are given in 3 databases: onap_sdk, log, and support. This account cannot do changes outside those. In any case the usage of the global timeouts is questionable. We should keep an eye if there's any potential bad side effect, and correct it if it doesn't. It's preferable to keep "policy_user" with a restricted set of privileges, instead of being a superuser (otherwise can plainly user the root account). Change-Id: I17b1a6a2cb62a319464e1db4b3aafbc1dbf20d78 Issue-ID: POLICY-650 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-02-19Rename maven modules in drools-applicationsliamfallon1-26/+26
All found references to drools-applications module names changed to new names Issue-ID: POLICY-238 Change-Id: I3cd453c91194699434a71c1a12d2dcccfa5df234 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-02-08MS Model Input ValidationMichael Mokry1-2/+2
- Provides validation for MS policy input content body that matches the GUI validations when create/update MS policy from API - Added changes to satisfy review comments and updated copywright headers for modified and new files Change-Id: I02bfa639bffb48520badd0e4fa34eb36418547ae Issue-ID: POLICY-377 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-01-17Resolved Security Vulnerability issuesrb71473-1/+67
Issue-ID: POLICY-553 Change-Id: I3e0e6a31226e561cef9ec578790659d57b2f65f4 Signed-off-by: rb7147 <rb7147@att.com>
2018-01-16Restrict file upload size in policy editorMagnusen, Drew (dm741q)1-1/+4
Restrict file upload size in Policy Editory using a configurable value (in bytes) set in xacml.admin.properties. Default value is 30MB. Issue-ID: POLICY-538 Change-Id: I4d8539ab33320446aed250ea4fdc51de585d5f2a Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-12-14Policy Elastic Search Validation Enhancementsrb71471-0/+5
Issue-ID: POLICY-497 Change-Id: If97fe30706bcdbeeafaf28e5cca8fae31998cb7c Signed-off-by: rb7147 <rb7147@att.com>
2017-12-12Add ELK SecurityTemoc Rodriguez1-3/+3
Add security to ELk such that only localhost is able to access ELK. All other hosts will be denied service. This fixes the open elastic serach security vulnerability. Issue-ID: POLICY-495 Change-Id: I7f5d6fef5963f984c2bce6933c8b214c0bd3be2b Signed-off-by: Temoc Rodriguez <cr056n@att.com>
2017-11-21Bump minor versionJessica Wagantall3-3/+3
Bump minor version in preparation for Amsterdam branching. Change-Id: I61e0ae91e3ece54ed09a88dad9b8dac173ccae07 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Update to v1.1.2-SNAPSHOTPamela Dragosh3-3/+3
Release 1.1.1, moving patch to 1.1.2 Issue-ID: POLICY-436 Change-Id: Iabde3e56c04c68ca966efde09b5780e6275cb8a8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-08Update SNAPSHOT versionPamela Dragosh4-4/+4
Releasing v1.1.0 so need to update to v1.1.1 Issue-ID: POLICY-436 Change-Id: Ic575e75d0321c3de2074f8e23d2d0bbd11f6a229 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-11-03Added build.info to Policy Engine packagesrb71471-0/+23
Issue-ID: POLICY-406 Change-Id: I9420668e4380aa00c0ef5c7fe63796215c52634a Signed-off-by: rb7147 <rb7147@att.com>
2017-11-02Updated the MicroService Model in db scriptsrb71471-1/+1
Issue-ID: POLICY-412 Change-Id: I361839d70c5c53868040f07013db159ff60daab3 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-26Updated the DB Script with New TOSCA modelrb71471-1/+1
Added the caching issue while uploading the model to db. Issue-ID: POLICY-372 Change-Id: I10bfcead0a5cbcb1484858a79976b7c86fba3ece Signed-off-by: rb7147 <rb7147@att.com>
2017-10-20Removed old prebuilt policiesrb71476-428/+0
Issue-ID: POLICY-309 Change-Id: I43111162109b957085be216b621ed32c6bc8a6e9 Signed-off-by: rb7147 <rb7147@att.com>
2017-10-19Resolved the License issue in Policyrb71471-5/+0
Updated epsdk version from 1.1.0 to 1.3.1 to resolve the flexslider. Added Exclusions to resolve the mysql and iText. Issue-ID: POLICY-355 Change-Id: Iffb052bee37aa3c10f634db1b5bdb2985e9f176b Signed-off-by: rb7147 <rb7147@att.com>
2017-10-10Fixing policy build issuesTej, Tarun1-2/+2
Reverting back the changes made to properties and removing javax.json version which is build on jdk9 Issue-Id: POLICY-295 Change-Id: I1dfbd6be94f3f845d64c9aa96107138f23b34158 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-10-05changes to fix settings.xml and propertiesTej, Tarun2-2/+36
Changes to settings.xml file to point to ONAP repos and xacml pdp properties changes to point to proper class. Issue-Id: POLICY-295 Change-Id: I7d501fc76a457b513353e51287dd39302051ea22 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-28Revert the SDK propertiesrb71472-4/+4
Changed the portal properties from onap to ecomp. Issue-Id: POLICY-273 Change-Id: I4c62bb1df2c181c6d506e4e4894b0f9e4a44e5cc Signed-off-by: rb7147 <rb7147@att.com>