Age | Commit message (Collapse) | Author | Files | Lines |
|
Project: policy/engine master e67481ed648c419a1645d0fc8b98506fe544a454
Fix policy gui missing schema_info table
Modify docker-install.sh to include db schema update
Change-Id: I75941522ea932e59cd85d7ff9887bf7d4759ae7c
Issue-ID: POLICY-898
Signed-off-by: Joseph Chou <jc2555@att.com>
|
|
Project: policy/engine master 1577c271f66912e13770eb3950a25ae40cf9c4ad
Merge "Set default logger to EELF instead of SYSTEMOUT"
Set default logger to EELF instead of SYSTEMOUT
Change-Id: I3395d3b95b11bf0166190beb454e60cb63de7454
Issue-ID: POLICY-784
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 6eb3c7f44a64cc1aebd4bcef6b081073d91bde7b
Use POLICY_LOGS env variable in logging.properties
Some logger.properties have /var/log/onap hard-coded; changed those
to use $POLICY_LOGS.
Other logger.properties had ${POLICY_LOGS} instead of ${{POLICY_LOGS}};
fixed those, too.
Change-Id: I56faf5982abf520ee364b54a3560313d0f15cc2a
Issue-ID: POLICY-784
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 67de0163434349c52291e49cc7bbeadcba03747c
Merge "Enforce logback version"
Enforce logback version
Some of the projects are being built with logback version, 1.1.3, which
does not support the SizeAndTimeBasedRollingPolicy appender. Updated
the offending pom.xml to force it to use logback 1.2.3 instead.
Change-Id: I3277b28133498f4ad9fbc3ed8b3e9e7e9519bbeb
Issue-ID: POLICY-785
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master c02881e7e7a0a01b5450caa04ef850438e6a299b
Merge "Decryption messages should not be errors"
Decryption messages should not be errors
Modified code to generate INFO messages when decryption fails,
instead of ERROR or WARN. Also modified some of the text in
the afforementioned messages.
Change-Id: I895967cf16b0e5667e1797bc16ea1ede81d6dd7a
Issue-ID: POLICY-785
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 3f1057bf19f3e508ab6a01ad6acc60afac17ba3b
Merge "Remove """ from logback xml files"
Remove """ from logback xml files
Logback complains if %d{} values contain """, but it works fine
without them, thus they have been removed.
Update licenses.
Change-Id: Id1f21d3d51bb2495a92f54fcf5c3ad978612c375
Issue-ID: POLICY-785
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 7b9a19e6c101fd834404774a40be51645992cdd5
Fixed Model Content Validation for API
This fixes the validation of the content of the model to include
validating parent nodes that are required based on the yaml. Prior to
this we were only validating required child nodes and in some cases this
was causing failures to create a policy.
Change-Id: I2bbef4a671cfc7af8b55b3b3c6454b8cea3a88c9
Issue-ID: POLICY-799
Signed-off-by: Michael Mokry <mm117s@att.com>
|
|
Project: policy/engine master e1bec1e7a8e3be989a81507eee81909314550693
Doc Updates: Policy OOM; StateMgmt
Updated policy documentation: Policy OOM; StateMgmt
-------------------------------------------------------------
Change-Id: I6abf933d842ddf9e1c88b8eec714bd7a00e07bf8
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 56a23de5d3f4ab454ef4a0c7c6e65456fbd234ce
Update engine to SNAPSHOT-1.3.0
Snapshot updated for Casablanca.
Change-Id: Ieb2c9a990c0f36f31c974038465e7d38aaa21e5d
Issue-ID: POLICY-875
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/engine master a8f71f9093ad57afe14582803af8a3761ff270ea
Document Security section of the Release Notes
Change-Id: I2b74eb994ec16f47654e84a43a066c3497caca62
Issue-ID: DOC-271
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
|
|
Project: policy/engine master b4e3c54afe5aed8f5ae57b9e59a73dba38acdec6
Update Release Notes
Update Release Notes
-------------------------------------------------------------
Change-Id: I6283bc08bb95d49a343047968049e1cca5f53bf7
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 142ae9408466e78a4509490eb9ffe8bbc19f634a
Sonar fixes for TOSCA Parser
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>
|
|
Project: policy/engine master 2f8ab5851fb070fac82472cf8a3c8542a657ca01
Merge "Replace LOGPATH with LOGSUFFIX"
Replace LOGPATH with LOGSUFFIX
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>
|
|
Project: policy/engine master a08e498c52e5f778ec85cb698ac985488319b9f3
Merge "Fix Issues in TOSCA Parser"
Fix Issues in TOSCA Parser
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>
|
|
Project: policy/engine master 20beb12cad63e778c837eb0f4106acd74019d340
Updated version/date in release notes
Updated version/date in release notes
-------------------------------------------------------------
Change-Id: I3d2fa0f7641074251e97e9f7b75772e9c8abe9f7
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 398142dc1d466c7017222b63fcb2bd9d79186d22
Merge "Update yml to use $POLICY_LOGS"
Update yml to use $POLICY_LOGS
Change-Id: I4fec68b7bd50f8e71e36510bf595126435726677
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 52f36a95b2eedb4a5f897b8a3523bbe0616bd01f
Merge "Update Policy Engine to 1.2.3-SNAPSHOT"
Update Policy Engine to 1.2.3-SNAPSHOT
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>
|
|
Project: policy/engine master ebb254093e0f5cef10ae1f98f85a199aacd8ed56
Updated release notes
Updated release notes
-------------------------------------------------------------
Change-Id: I4f6282d25d177078306954be852a28301eb26c2d
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 1da6b3b6a28f40322a13e6fb5142206f1eefa027
Add braces around property name
In pdplp.conf, changed ${POLICY_LOGS} to ${{POLICY_LOGS}}.
Change-Id: Id952dee7a38b868fea5650f4e54bfccb612bb56c
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 6c3164d2e3383f909f621ec62f4bc1368d699fae
Merge "Upgrade SNAPSHOT to 1.2.2"
Upgrade SNAPSHOT to 1.2.2
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>
|
|
Project: policy/engine master 6f7700a171332f3526fa6630943871a2757f86dc
Merge "Added Release Notes - Known Issues"
Added Release Notes - Known Issues
Added Release Notes - Known Issues
-------------------------------------------------------------
Change-Id: Ie5b1e9499114e09aedb72a95d389f2e07b4f5514
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master fe7d0643ea01cda4826cb3444e47076d2ea9a268
Merge "policy documentation - release notes"
policy documentation - release notes
policy documentation - release notes
-------------------------------------------------------------
Change-Id: Ie480002003725fe6949c631c2a9c50fa7d1665c2
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 52207df5d7419885c7f9c5983d54876eea19e36d
Merge "Documentation edits for pooling"
Documentation edits for pooling
Documentation edits for pooling and locks
-------------------------------------------------------------
Change-Id: I1b594db33437f9c9d43902ec448bcd205093beaf
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master d274c95ba876f5bff40118f870c1f93afada57a7
Merge "SRM, Locking, Pooling documentation"
SRM, Locking, Pooling documentation
SRM, Locking, Pooling documentation
-------------------------------------------------------------
Change-Id: Id66463fc89f2c2c466ad92936816be878cfd77b7
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master ccea7de6a0739463073ba8b1a5387f3ba24953bd
Merge "Documentation edits for OOF"
Documentation edits for OOF
Documentation edits for OOF
-------------------------------------------------------------
Change-Id: I84f9992bd61e10ef9f263b68a28cca100a515437
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 34fc008d21ce6673fe55d0c95f36b408ca27c8c7
Fix BRMS Gateway version on properties
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>
|
|
Project: policy/engine master 2240ded0cd5c8440b6546452752a4d21404971b6
Merge "Documentation OOF Spec"
Documentation OOF Spec
Documentation for Policy Specification and Retrieval for OOF
-------------------------------------------------------------
Change-Id: Idb063b85c8bc3ff45b04d522563cffe33b4224c9
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 366d2b9650d93333c32f8e136f149c63382bd2b8
Merge "Fix POLICY_LOGS property in paplp.conf"
Fix POLICY_LOGS property in paplp.conf
Added extra braces around POLICY_LOGS property.
Change-Id: I4022d00a74971be70dc5b3c2cb435be31d91386c
Issue-ID: POLICY-758
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Project: policy/engine master 8ff87b1ac5c783d84b9f4c8de55d97a679c6e00e
Merge "Change error to warning"
Change error to warning
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>
|
|
Project: policy/engine master d65a0a1e8685be51b78b12b53c14e3c19fa456e7
Policy OOF-HPA documentation
Policy OOF-HPA documentation
-------------------------------------------------------------
Change-Id: I1015b21cb6b5599a48e7914a6fcb97ee4cb63ccd
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 3ffafe7276cf76c779c58dc8224f717eb086bfb5
Merge "fixing NullPointException incase of db exception"
fixing NullPointException incase of db exception
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>
|
|
Project: policy/engine master 72d4e8692753620f8cbe6c7ebb3f9c0b247d7827
Merge "Convert license header to SQL comment"
Convert license header to SQL comment
Changed comment from Java style to SQL style
Change-Id: Ia0ac3991cd58939f5efc0c752148b11931136a4f
Issue-ID: POLICY-773
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/engine master a5c7bf2abe8ae4709f416bb5a1077f8b863f80ee
Remove eclipse toolbuilder file
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>
|
|
Project: policy/engine master fb81296a07d30d230de4050faaffad90ceae4901
Merge "Configuration as argument to BRMS Gateway"
Configuration as argument to BRMS Gateway
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>
|
|
Project: policy/engine master f74bbc97aefb9c7e550b8e123581f1e4fa78f84d
fix PE DB lock timeout problems
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>
|
|
Project: policy/engine master 973929cfd6cd3e5ba3a837fa56d35b210307c9ac
automate dependency.json version population
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>
|
|
Project: policy/engine master fad662d64ab3cb3aa2969fbcb9d7ff14cc1f15f1
Adding rollback for transaction handling
Change-Id: I90887aafdd3cc49940bb4ed4b9283ec8a25aa205
Issue-ID: POLICY-773
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
Project: policy/engine master 833a2096df92eec273dc807cc930aee6e7cbc40e
Updated policy documentation
Updated policy documentation
-------------------------------------------------------------
Change-Id: I840d17df857bb14fdc7e96e3c5f984037944c889
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 94340f3db1026e13b8bdd4ed5e2021144361992f
Merge "Ignore directories created"
Ignore directories created
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>
|
|
Project: policy/engine master 8d530ba1a3697c7b7bb5e4b63d202c3a0523b825
Add INFO.yaml file
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>
|
|
Project: policy/engine master 5ff419848b3fd04dba17ba9088c035848015fd4e
Fix Test fail with variable length memory address
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>
|
|
Project: policy/engine master b0c7e3bd5a3fa546c1f87298ca4312b728a25495
Updated installation documentation
Updated installation documentation
-------------------------------------------------------------
Change-Id: I71d24c0806fc5d53691c505f87425c71e2f0a04f
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 681b47487c22be6dda452501ead10b4c7d7e9c56
Merge "Remove sysout from junit and disable assert."
Remove sysout from junit and disable assert.
Updated BRMS Gateway junit tests to be less strict on hit counts
on queries to Nexus.
Draft version passed build son now submitting as full submission.
Change-Id: Iab81d14be69835faefbb96fb0af17b3f3759575b
Issue-ID: POLICY-756
Signed-off-by: pa834y <pa834y@att.com>
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/engine master 1c022346cd42f3458816ac1e40d49efac9ae5c6b
Updated policy documentation
Fixed typos, Updated release notes, Deleted old release files
-------------------------------------------------------------
Change-Id: I43bb64b7d1829e92b30bfd45ec3f3608a59672cf
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 3eab022023bd68eee6743e30dd7db21c256bf00b
Incorporate Liam code review
Change-Id: I387a54b8bd8c619c521c512258928669a8c1b791
Issue-ID: POLICY-756
Signed-off-by: pa834y <pa834y@att.com>
|
|
Project: policy/engine master 9562f3b5dfc5613629b5119cb629c81005d93431
Merge "Fix typo in documentation"
Fix typo in documentation
Fix typo in documentation
-------------------------------------------------------------
Change-Id: I01b8849c97645e9e5ed81f99768088f2fa439e45
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
|
|
Project: policy/engine master 37eebe9e6c814e4756443bf9d6f10afe9954aef6
Merge "Remove unit test Java version dependency"
Remove unit test Java version dependency
In the unit tests for the direct Sona Nexus Rest Interface, one
of the unit tests only passed on an Oracle Java specific string.
This test is fixed to now work on both Oracle and OpenJDK java
Issue-ID: POLICY-700
Change-Id: Idae1aaf612a10ac003f2a91c0b5a80540152ac95
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/engine master 693138b08a04a8027de64dc093e872bac963630a
cook policy-keystore into pe image
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>
|
|
Project: policy/engine master 5e10681059449e28f0e49a2088cf671e75f42f19
Merge "Add JUnit for direct Sonar Nexus REST interface"
Add JUnit for direct Sonar Nexus REST interface
JUnit tests and changes to the source code to fix issues that were
identified in JUnit testing.
JUnit testing runs tests towards the Nexus server at
https://nexus.onap.org
If that server does not exist then the unit tests will fail
but as the nexus serveir is required for the build to work then
it should be OK to use that server for unit testing. This removes
the need to write complex (and less effective) Mockito type
unit tests.
Issue-ID: POLICY-700
Change-Id: I4aa33a1022033b42bb1fd1fa36785a8e0216b887
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Project: policy/engine master b63b7672e6ba731c53198c69309c0d8e9ee7f138
Add websocket client code.
Change-Id: I2d3939c698a0df6bec068063f08566226f65bfd3
Issue-ID: POLICY-756
Signed-off-by: pa834y <pa834y@att.com>
|