summaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
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>
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, Tarun3-11/+76
Amsterdam controller support from brmsgw persepective Issue-Id: POLICY-263 Change-Id: I6b28757128998d3dedb86abada02b1d1ea4d3a8a Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-21Added Junits for POLICY-SDK-APPrb71471-3/+3
Issue-Id: POLICY-52 Change-Id: I439c95736f50fe9140e71cad5a598c5b5239161b Signed-off-by: rb7147 <rb7147@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-16Merge "Remove MojoHaus Maven plug-in"Pamela Dragosh1-27/+4
2017-08-15Remove MojoHaus Maven plug-inITSERVICES\cr056n1-27/+4
Remove MojoHaus Maven plug-in from pom files, BRMSPush.java, and settings.xml comment. Issue-Id: POLICY-116 Change-Id: I15f2d1af1c0e12faf816f0a08ddfdbffa0b47a94 Signed-off-by: Temoc Rodriguez <cr056n@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 Ruijing67-282/+282
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 Velaga5-220/+13
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-12[Policy-20] getConfig & Policy resolved blockersrb71471-1/+5
Change-Id: If08e4c90d419e8d6e1426d817a12dde5b7cafba3 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 Bakkamanthala4-4/+34
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 Bakkamanthala16-51/+672
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\rb714731-131/+859
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-10v1.1.0-SNAPSHOTPamela Dragosh3-3/+3
Change-Id: Ic5ecc20d4024a52e2cd0549c11190d761238c8c6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>