Updating APEX base image from policy-jre-alpine to policy-jdk-alpine 39/121039/1
authora.sreekumar <ajith.sreekumar@bell.ca>
Wed, 5 May 2021 10:45:51 +0000 (11:45 +0100)
committerAjith Sreekumar <ajith.sreekumar@bell.ca>
Fri, 7 May 2021 10:44:59 +0000 (10:44 +0000)
The stackoverflow issue is happening only in standalone mode when
RestManager class is called from APEX Javascript logic to post a
JSON body, that too 6-7 out of 10 times.
To identify the exact root cause may need more investigation,
but changing the base image from policy-jre-alpine to policy-jdk-alpine
seems to have fixed the issue during local testing.
(Issue didn't happen 10 out of 10 times)

Change-Id: Ibe718294ff9ab04c70349b3bc52c3c66619f2093
Issue-ID: POLICY-3066
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
(cherry picked from commit f19e437f71b82507e406e96b99b56bb9fbb02b56)

packages/apex-pdp-docker/src/main/docker/Dockerfile

index e1f28eb..f1b0234 100644 (file)
@@ -23,7 +23,7 @@
 #
 # Docker file to build an image that runs APEX on Java 11 or better in alpine
 #
-FROM onap/policy-jre-alpine:2.2.1
+FROM onap/policy-jdk-alpine:2.2.1
 
 LABEL maintainer="Policy Team"