aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-29Update Release Notesv1.2.32.0.0-ONAP2.0.0-ONAPSaryu Shah1-3/+12
Update Release Notes ------------------------------------------------------------- Change-Id: I6283bc08bb95d49a343047968049e1cca5f53bf7 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-25Sonar fixes for TOSCA ParserMichael Mokry1-6/+10
I fixed the sonar blocker in regards to nullPointerException and few other majors that I found and were easy to fix. I ran my local sonar and the blocker was removed after the changes. Change-Id: I7dcd7584fc955e1b520235a8e1376cf871761d21 Issue-ID: POLICY-776 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-05-24Merge "Replace LOGPATH with LOGSUFFIX"Pamela Dragosh13-20/+39
2018-05-24Merge "Fix Issues in TOSCA Parser"Pamela Dragosh3-10/+65
2018-05-23Fix Issues in TOSCA ParserWang,Frank(gw1218)3-10/+65
Fixed a bug and added some new validations in TOSCA Parser Issue-ID: POLICY-776 Change-Id: I2dc1b5b38cd137efc5c24ccf55b19de9f47c44da Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
2018-05-23Replace LOGPATH with LOGSUFFIXJim Hahn14-21/+40
docker-install.sh does not expand ${{xxx}} values in .conf files before using them to update target files. Consequently, replaced LOGPATH with LOGSUFFIX in .conf files and updated target files to use ${{POLICY_LOGS}}${{LOGSUFFIX}} instead. Replace "${POLICY_HOME}/logs" in auxiliary files (e.g., logrotate) with "${POLICY_LOGS}/policy". Update license dates. In .sh files, changed ${{POLICY_LOGS}} to ${POLICY_LOGS}, and ensured that env.sh is sourced. Use hard-coded paths in conf files instead of replacing LOGPATH with LOGSUFFIX. Update license dates. Repoint path for IntegrityMonitor.log, as we cannot easily move since it's in common. Replace hard-coded log path in docker-install.sh. Undo hard-coded log paths where possible, and modify scripts to pass $POLICY_LOGS to JVM. Change-Id: I027d8d2173ae97fef73b0daff1d6a87452857f93 Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-22Updated version/date in release notesSaryu Shah1-2/+2
Updated version/date in release notes ------------------------------------------------------------- Change-Id: I3d2fa0f7641074251e97e9f7b75772e9c8abe9f7 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-22Merge "Update yml to use $POLICY_LOGS"Pamela Dragosh1-1/+1
2018-05-22Merge "Update Policy Engine to 1.2.3-SNAPSHOT"Jorge Hernandez23-45/+45
2018-05-22Update yml to use $POLICY_LOGSJim Hahn1-1/+1
Change-Id: I4fec68b7bd50f8e71e36510bf595126435726677 Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-21Updated release notesSaryu Shah1-4/+5
Updated release notes ------------------------------------------------------------- Change-Id: I4f6282d25d177078306954be852a28301eb26c2d Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-21Update Policy Engine to 1.2.3-SNAPSHOTliamfallon23-45/+45
These reviews must be merged in order because of layering. This review should be merged FOURTH. Change-Id: Ifca8e33b79085a4032164b44dae3401f8179f5f6 Issue-ID: POLICY-844 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-18Add braces around property nameJim Hahn1-2/+2
In pdplp.conf, changed ${POLICY_LOGS} to ${{POLICY_LOGS}}. Change-Id: Id952dee7a38b868fea5650f4e54bfccb612bb56c Issue-ID: POLICY-759 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-16Merge "Upgrade SNAPSHOT to 1.2.2"v1.2.2Pamela Dragosh24-48/+48
2018-05-16Merge "Added Release Notes - Known Issues"Pamela Dragosh1-3/+10
2018-05-16Added Release Notes - Known IssuesSaryu Shah1-3/+10
Added Release Notes - Known Issues ------------------------------------------------------------- Change-Id: Ie5b1e9499114e09aedb72a95d389f2e07b4f5514 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-16Upgrade SNAPSHOT to 1.2.2liamfallon24-48/+48
These reviews must be merged in order because of layering. This review should be merged SECOND Note: In order to get past the following layering problems, there are temporary chages to the following POMs to temporarily use 1.2.1-SNAPSHOT for those dependencies. They are ONAP-PAP-REST/pom.xml org.onap.policy.drools-applications.controlloop.common.policy-yaml ONAP-PDP/pom.xml org.onap.policy.drools-pdp.policy-endpoints A separate review will be used to restore these dependencies to 1.2.2-SNAPSHOT once the drools-pdp and drools-applications reviews are submitted and merged PLD added version.properties Issue-ID: POLICY-798 Change-Id: Id7e83f2ba12181c63cc8845b7eeccf2004d2bab9 Signed-off-by: liamfallon <liam.fallon@ericsson.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-16Merge "policy documentation - release notes"Jorge Hernandez1-18/+18
2018-05-16policy documentation - release notesSaryu Shah1-18/+18
policy documentation - release notes ------------------------------------------------------------- Change-Id: Ie480002003725fe6949c631c2a9c50fa7d1665c2 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-16Merge "Documentation edits for pooling"Pamela Dragosh2-6/+6
2018-05-15Documentation edits for poolingSaryu Shah2-6/+6
Documentation edits for pooling and locks ------------------------------------------------------------- Change-Id: I1b594db33437f9c9d43902ec448bcd205093beaf Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-15Merge "SRM, Locking, Pooling documentation"Jorge Hernandez14-3/+648
2018-05-15Merge "Documentation edits for OOF"Jorge Hernandez2-65/+127
2018-05-15SRM, Locking, Pooling documentationSaryu Shah14-3/+648
SRM, Locking, Pooling documentation ------------------------------------------------------------- Change-Id: Id66463fc89f2c2c466ad92936816be878cfd77b7 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-15Fix BRMS Gateway version on propertiesliamfallon1-1/+1
Incorrect snapshot version showed up on scan of source code for snapshots Issue-ID: POLICY-780 Change-Id: I7fb838a88fc50ce8b566aa9b9ad0b4b7e3188b3a Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-14Documentation edits for OOFSaryu Shah2-65/+127
Documentation edits for OOF ------------------------------------------------------------- Change-Id: I84f9992bd61e10ef9f263b68a28cca100a515437 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-12Merge "Documentation OOF Spec"Pamela Dragosh4-1/+743
2018-05-12Documentation OOF SpecSaryu Shah4-1/+743
Documentation for Policy Specification and Retrieval for OOF ------------------------------------------------------------- Change-Id: Idb063b85c8bc3ff45b04d522563cffe33b4224c9 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-11Merge "Fix POLICY_LOGS property in paplp.conf"v1.2.1Jorge Hernandez1-2/+2
2018-05-11Merge "Change error to warning"Jorge Hernandez2-2/+3
2018-05-10Policy OOF-HPA documentationSaryu Shah6-0/+267
Policy OOF-HPA documentation ------------------------------------------------------------- Change-Id: I1015b21cb6b5599a48e7914a6fcb97ee4cb63ccd Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
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 Hahn2-2/+3
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-08Merge "fixing NullPointException incase of db exception"Jorge Hernandez3-405/+409
2018-05-08Merge "Convert license header to SQL comment"Jorge Hernandez10-196/+186
2018-05-08fixing NullPointException incase of db exceptionwaqas.ikram3-405/+409
Making changes for NullPointerException it was triggered by - SQL Query Failed in PAP return unhandled reponse code > activeVersion variable is set to null > if statement in DeletePolicyService (!activeVersion.equalsIgnoreCase("0") result into NullPointerException Change-Id: Iad9de0d31b6cf16d1eafd6175d1c355b07481db9 Issue-ID: POLICY-773 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-08Remove eclipse toolbuilder filePamela Dragosh1-7/+0
This file should not be in gerrit. Removing prior to release of artifacts. Issue-ID: POLICY-780 Change-Id: Ib950a6033ec3069263e9fd44628fb9d2181c9c44 Signed-off-by: Pamela Dragosh <pdragosh@research.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-08Merge "Configuration as argument to BRMS Gateway"Pamela Dragosh7-12/+90
2018-05-08Configuration as argument to BRMS Gatewayliamfallon7-12/+90
Added the ability specify the parameter file for the BRMS Gateway as a argument to allow different configurations to be used during unit test. This will allow more thorought unit tests to be written. Replaced System.exit() calls with exeception throws becasue System.exit() call bring down the entire JVM during testing, terminating the test at that point. Changed the package path on four unit test files to the correct path for unit tests for the BRMS gateway. Added a unit test for sanity test of the configuraiton file argument. Issue-ID: POLICY-773 Change-Id: Ic095a5131ddb846eaf3b11157853fab71908c629 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-07fix PE DB lock timeout problemsJorge Hernandez4-7/+7
see companion docker review. The failOverReadOnly .. flags should only be used when a DB high availability environment is used, such as a master/slave configuration. As they are the jdbc parameters have caused bad interactions with the underlying persistence libraries rendering the PAP useless. It is thought that this may perhaps solve POLICY-773, POLICY-775, POLICY-779, and perhaps POLICY-776. Change-Id: Icb69a3afc0a19969a34af40d960fa8e1b94aabc0 Issue-ID: POLICY-777 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-07automate dependency.json version populationJorge Hernandez5-13/+20
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-05-04Adding rollback for transaction handlingwaqas.ikram3-93/+128
Change-Id: I90887aafdd3cc49940bb4ed4b9283ec8a25aa205 Issue-ID: POLICY-773 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-03Updated policy documentationSaryu Shah4-19/+20
Updated policy documentation ------------------------------------------------------------- Change-Id: I840d17df857bb14fdc7e96e3c5f984037944c889 Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-02Merge "Ignore directories created"Jorge Hernandez1-0/+5
2018-05-01Add INFO.yaml fileJessica Wagantall1-0/+37
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Iab302b1e24c08980e3073d3fa34d53e4e81cabad Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-05-01Ignore directories createdPamela Dragosh1-0/+5
Clean up some outstanding logging side effects in .gitignore Issue-ID: POLICY-708 Change-Id: Ia3f268f0adf5615a11a109cb0d7d029a069b4520 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-01Fix Test fail with variable length memory addressliamfallon1-1/+2
The unit test class PIPConfigurationTest.java has a test that checks a configuration string for length. However, the length of the "piptype" field in that string can vary, causing the test to intermittently fail. Field that passes: piptype=org.onap.policy.rest.jpa.PIPType@71b3bc45 Field that fails: piptype=org.onap.policy.rest.jpa.PIPType@a8c1f44 This fix removes the memory address from the "piptype" field, so that the configuration string will now always be 323 characters in length. Change-Id: Ib3640ec6f69ac7d691dcc989c44a7822bcc9b7f7 Issue-ID: POLICY-765 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-05-01Updated installation documentationSaryu Shah5-54/+1028
Updated installation documentation ------------------------------------------------------------- Change-Id: I71d24c0806fc5d53691c505f87425c71e2f0a04f Issue-ID: POLICY-536 Signed-off-by: Saryu Shah <ss3917@att.com>
2018-05-01Merge "Remove sysout from junit and disable assert."Pamela Dragosh5-27/+19