Base policy-jdk image on onap-python image

The onap-java image only installs the java jre, but policy needs the
jdk, thus we have been uninstalling the jre and then installing the jdk.
Unfortunately, this means that the policy-jdk image does not use the
latest ONAP-specified point release for either the java jdk OR python.

With this change, the policy-jdk image will start with the onap-python
image instead, thus python, at least will be up to date, even if the jdk
is not.

Note: tried using the latest adoptjdk image, but apparently there's
something different about that image that triggers a stack overflow in
apex-pdp.  Consequently, we'll stay with the openjdk installed via
alpine "apk".  This is still java 11, which satisfies ONAP requirements,
it just isn't the point release that is preferred.

Issue-ID: POLICY-3486
Change-Id: I0959c7048a38e30927b37b58deb887cc961a2150
Signed-off-by: Jim Hahn <jrh3@att.com>
1 file changed
tree: c30c623ecd443e900396f802f945021d28751540
  1. csit/
  2. helm/
  3. policy-db-migrator/
  4. policy-jdk/
  5. policy-jre/
  6. releases/
  7. .env
  8. .gitignore
  9. .gitreview
  10. INFO.yaml
  11. LICENSE.txt
  12. pom.xml
  13. README.md
  14. version.properties
README.md

Copyright 2018-2019 AT&T Intellectual Property. 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 legacy docker-compose configurations used for CSIT tests, and ONAP Heat instantiations.

Additionally, the policy-base/ and policy-common/ projects are used to generate the OS base for policy images.

Helm directory is added to include the helm chart for policy-models-simulators. To spin the kubernetes pod up:

  1. Execute the below commands: helm upgrade -i <release_name> policy-models-simulator