Skip to content

Commit

Permalink
[RHPAM-3805] - Missing kie dependencies in Kie Server ocp image (#524)
Browse files Browse the repository at this point in the history
Signed-off-by: spolti <fspolti@redhat.com>
  • Loading branch information
spolti authored Jul 21, 2021
1 parent ab46e4b commit 7dfb1cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 12 additions & 3 deletions kieserver/modules/kieserver/install
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ if [[ -f "${SOURCES_DIR}/${BUSINESS_CENTRAL_DISTRIBUTION_ZIP}" ]] && [[ "${JBPM_
fi
fi

chown -R jboss:root ${JBOSS_HOME}
chmod 0755 ${JBOSS_HOME}
chmod -R g+rwX ${JBOSS_HOME}
# Dir for optional deps
mkdir -p /opt/kie/dependencies/{jbpm-clustering,jbpm-kafka}

cp ${SOURCES_DIR}/jbpm-event-emitters-kafka-*.jar /opt/kie/dependencies/jbpm-kafka/
cp ${SOURCES_DIR}/kie-server-services-jbpm-cluster-*.jar /opt/kie/dependencies/jbpm-clustering/

# Necessary to permit running with a randomised UID
for dir in ${JBOSS_HOME} /opt/kie; do
chown -R jboss:root ${dir}
chmod 0755 ${dir}
chmod -R g+rwX ${dir}
done

2 changes: 0 additions & 2 deletions kieserver/modules/kieserver/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ artifacts:
# slf4j-simple-1.7.22.redhat-2.jar
md5: "62cc6eeb72e2738e3acc8957ca95f37b"
- name: "kie-server-services-jbpm-cluster-7.52.0.Final-redhat-00008.jar"
dest: "/opt/kie/dependencies/jbpm-clustering"
md5: "f5d788195957937ef2bf9a1a58561f96"
- name: "jbpm-event-emitters-kafka-7.52.0.Final-redhat-00008.jar"
dest: "/opt/kie/dependencies/jbpm-kafka"
md5: "19a21e71a4f1ed33aea5e1dd682efe9c"
run:
user: 185
Expand Down

0 comments on commit 7dfb1cf

Please sign in to comment.