Fix hanging tests in JavascritExecutor

Added tests to check threads start, execute, and stop correctly and
fixed JavescriptExecutor class to handle startup and shutdown correctly
without hanging.

Issue-ID: POLICY-2106
Change-Id: I9ab41023aae2ab1cbcaea53fdf5d48eccd90a2f1
Signed-off-by: liamfallon <liam.fallon@est.tech>
6 files changed
tree: df180a72a0f957791f655ae17631fd2da6da85cc
  1. auth/
  2. client/
  3. context/
  4. core/
  5. examples/
  6. model/
  7. packages/
  8. plugins/
  9. releases/
  10. services/
  11. src/
  12. testsuites/
  13. tools/
  14. .gitignore
  15. .gitreview
  16. BUILD.adoc
  17. docker_build.sh
  18. docker_merge.sh
  19. docker_verify.sh
  20. INFO.yaml
  21. LICENSE.txt
  22. pom.xml
  23. README.md
  24. version.properties
README.md

Copyright (C) 2016-2018 Ericsson. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy APEX PDP Engine code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.

To build it using Maven 3, run: mvn clean install