summaryrefslogtreecommitdiffstats
path: root/packages/base/src/files
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-08Update SNAPSHOT versionPamela Dragosh1-1/+1
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-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>
2017-09-27Added R1 MS Tosca templaterb714710-2721/+3
Added the MS Tosca template to db scripts and cleaned up old policies. Issue-Id: POLICY-264 Change-Id: I0ee5cffbb78d1f7df0379b71fe0f3368587aa9a6 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-27New controller support from BRMSGWTej, Tarun2-7/+74
Amsterdam controller support from brmsgw persepective Issue-Id: POLICY-263 Change-Id: I6b28757128998d3dedb86abada02b1d1ea4d3a8a Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-15Adding Junits for policy engineTej, Tarun1-0/+2
Adding Junits to Policy Engine Utils project, removed duplicates, fixed few defects along the way and fixes to projects. Issue-Id: POLICY-52 Change-Id: Ia0598300f9bd60f5372b9ef7d8984657478a1611 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Health check issue fixesTej, Tarun2-2/+2
Fixes to PDP log parser failure issues and sonar fixes Issue-Id: POLICY-211 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab452ae7 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-30Add a new cleanup processcookiewang2-4/+8
Created a new cleanup process to delete all the old data from SystemLogDB table Issue-ID:POLICY-193 Change-Id: Id17539e68ac70be20857b071ffb3700a85bcb817 Signed-off-by: cookiewang <gw1218@att.com>
2017-08-14Fixes for eclipse warnings unused variablesTarun Tej Velaga1-4/+1
Removed unused code in PAP REST caused eclipse warnings Issue-Id: POLICY-154 Change-Id: I376a2a96cb0fffd1dc89af6088362c60158e9256 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-08-10Fix console issuesTej, Tarun1-1/+1
Reverted package names to org.openecomp to fix portal issues Issue-ID: POLICY-144 Change-Id: Ie108db431b9d211b15c59a29e564517c785e0da5 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing60-239/+239
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-25[Policy-52, Policy-92, Policy-93] Policy Enhancements and bugfixesTarun Tej Velaga4-220/+12
Change-Id: I5675cf4527e17963b3142cf7184c0df31a766197 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-11[POLICY-22] Changes to Policy Rule PackagesTarun Tej Velaga4-105/+105
Changes as per re-organized code to refer to the proper packages and not break integration tests Change-Id: I37b6162d18a6a8fb7ebb7040ebc9522a5da65bd8 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-10[POLICY-67] Add new Rainy Day Decision PolicyMichael Mokry2-0/+50
Change-Id: I8fb730e4363c885ccbe3a05ae971c5de5608d70c Signed-off-by: Michael Mokry <mm117s@att.com>
2017-06-20[Policy-24,Policy-27] Resolved PushPolicy Issuerb71471-1/+1
Autowired the Hibernate Session Factory. Removed the Wait timeout and interactive timeout variables from sql script. Updated the fwTagpicker sql error. Change-Id: I567e845f7ba3153241178687310cb734095e8771 Signed-off-by: rb7147 <rb7147@att.com>
2017-06-16[Policy-24] Updated the Database Configurationrb71471-0/+10
Change-Id: Ie358df4bfef5fb9cfe136f52a9d35f119c55bc97 Signed-off-by: rb7147 <rb7147@att.com>
2017-06-15[Policy-8 ,Policy-23] Updated Matchid for policiesrb71476-35/+108
Commit includes Resolved Sonar blokcers Included the 1707 database scripts. Change-Id: I2ffdfce57e6dee0892b272b23283bf246204599a Signed-off-by: rb7147 <rb7147@att.com>
2017-06-07Fixed the Policy API issues and BugfixesRavindra Bakkamanthala10-486/+94
Change-Id: I6e8b54442421b6ebd0ff88426fc6e5f3a36b0690 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-31[Policy-17] Removed the sql scripts from sdk appRavindra Bakkamanthala3-3/+33
Change-Id: I5b017aad569014c7f12eab35e1dbd1c215f90ebe Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-24Added ElK component to policy start up scriptRavindra Bakkamanthala1-0/+12
Change-Id: I3bfaf766d4f0d5075ed8cb636f63b539b1d4b324 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-23Commit includes ControlLoopPolicy API and bugfixesRavindra Bakkamanthala11-18/+667
Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-15Policy TestSuite EnabledRavindra Bakkamanthala3-7/+49
Change-Id: I9f98c7dcdcf98713d73544956d873a84fc82adf7 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
2017-05-09Policy 1707 Second commitITSERVICES\rb71479-138/+135
Change-Id: I18f5b142238733d17280cf17c3d1dd28204d34e9 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
2017-05-03Policy 1707 commit to LFITSERVICES\rb714727-104/+856
Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
2017-04-19removing unused db filePamela Dragosh1-0/+0
Change-Id: I4510d6f8055bb0db03938fbf7229b2647a21aae3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-14cherry-pick release-1.0.0 changesPamela Dragosh6-13/+13
Change-Id: Ibaac4da670cc8c800582aaffbb8a42c60d00e6f9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-03update hardcoded policies with latest template.Pamela Dragosh7-24/+88
Change-Id: Ic57aae242f8a038527e3b4eeac98f3cf3f7f1b0b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-14Initial OpenECOMP policy/engine commitPamela Dragosh62-0/+13781
Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>