aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndTest.java
AgeCommit message (Collapse)AuthorFilesLines
2019-02-15Reformat PolicyEngineAPI test caseskaihlavi1-9/+11
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs to 4 spaces Samsung modifications copyrights added Change-Id: Ic161ef7b36a1b83624a832208905b5324b013c59 Issue-ID: POLICY-1506 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2018-11-16Don't run test until ws.start() completesJim Hahn1-17/+30
Allocate server port via port=0 method. Replace tabs with spaces. Use logback-test to log test output only to stdout. Only wait for latch a finite amount of time. Update license date in new logback-test. Tabs => spaces in logback-test. More tabs => spaces in logback-test. Remove extra attributes from logback-test "configuration" element. Change-Id: I5608a4736c0b08d86a0687034eac6a65e3e77972 Issue-ID: POLICY-1092 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-26Fix random failures in ManualClientEndTest3.0.0-ONAPJim Hahn1-20/+17
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-3/+1
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-9/+7
Change-Id: I387a54b8bd8c619c521c512258928669a8c1b791 Issue-ID: POLICY-756 Signed-off-by: pa834y <pa834y@att.com>
2018-04-24Add websocket client code.pa834y1-95/+80
Change-Id: I2d3939c698a0df6bec068063f08566226f65bfd3 Issue-ID: POLICY-756 Signed-off-by: pa834y <pa834y@att.com>
2018-04-18Remove insecure dependency on PolicyEngineAPIliamfallon1-3/+7
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>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing1-0/+126
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>