aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/main/java/org/onap/policy/std/AutoClientEnd.java
AgeCommit message (Collapse)AuthorFilesLines
2018-10-26Fix random failures in ManualClientEndTest3.0.0-ONAPJim Hahn1-12/+12
Don't know if this is the cause of the intermittent failures, but it could be, and it is certainly a bug: the classes manipulate data, that isn't marked volatile, from more than one thread at a time. Updated licenses. Change-Id: Ifca84cf8f915ec703a9ce8980db2475dacf97980 Issue-ID: POLICY-1092 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-05-01Remove sysout from junit and disable assert.pa834y1-1/+3
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>
2018-04-26Incorporate Liam code reviewpa834y1-28/+36
Change-Id: I387a54b8bd8c619c521c512258928669a8c1b791 Issue-ID: POLICY-756 Signed-off-by: pa834y <pa834y@att.com>
2018-04-24Add websocket client code.pa834y1-232/+204
Change-Id: I2d3939c698a0df6bec068063f08566226f65bfd3 Issue-ID: POLICY-756 Signed-off-by: pa834y <pa834y@att.com>
2018-04-18Remove insecure dependency on PolicyEngineAPIliamfallon1-13/+38
The insecure dependency tyrus-container-grizzly-client is part of Tyrus, a Java web socket implementation library. A direct substitution of this library is not available so the code in AutoClientEnd.java and ManualClientEnd.java was adapted to work with the library org.java-websocket.Java-WebSocket that does not seem to have any vulnerabilities when tested with the org.owasp.dependency-check-maven plugin. The purpose of this submission is to see if the new library does indeed remove the vulnerability. If so, the implementation in AutoClientEnd and ManualClientEnd must be cleaned up. Change-Id: I961635aaea42c2f847edf11ee77e2961cdfb097b Issue-ID: POLICY-744 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-03-08ClientEndpoint needs to be instantiabepa834y1-4/+0
Issue-ID: POLICY-660 Change-Id: I0d377eb9d500218933217faeb224929548da0e5a Signed-off-by: pa834y <pa834y@att.com>
2018-03-05Remove auto generated rule to the drlpa834y1-2/+2
Issue-ID: POLICY-488 Change-Id: Id6915407a6f030b77ae2d18ad3665af9d0feb34b Signed-off-by: pa834y <pa834y@att.com>
2018-03-01Adding fix for BRMSGW issueMichael Mokry1-1/+1
This should fix the issue with the BRMSGW getting notification to create the rules jar Change-Id: Ie575a0b4717c999b8ab9deecc667ceaba99e7327 Issue-ID: POLICY-660 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-02-01Reduce technical debt and add JUnitPamela Dragosh1-72/+80
* Addressed some very simple cyclic complexity * Added simple JUnit tests and finished others * Removed useless assignments Issue-ID: POLICY-477 Change-Id: Ic919bbf78ad2732a430c32f1feb3c88678be710d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-08-23Fixes for sonar critical issuesTej, Tarun1-23/+14
Fixes for critical and blocker issues reported in sonar. Issue-Id: POLICY-113 Change-Id: I50969fe93a94b0497f3fb30864a6c45e63208fe6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing1-0/+248
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>