Skip to content

Commit

Permalink
Upgrade image to 7.1.3 (removed http.endpoint)
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed May 6, 2024
1 parent 19a0f6d commit 0e4916b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

# Specify JARs version here.
env:
JARS_VERSION: '7.1.2'
JARS_VERSION: '7.1.3'

jobs:
publish:
Expand Down
8 changes: 1 addition & 7 deletions collector/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ loadApiParameters() {
if [ -z "$CYFACE_API_HOST" ]; then
CYFACE_API_HOST="localhost"
fi

if [ -z $CYFACE_API_ENDPOINT ]; then
echo "Unable to find API Endpoint. Please set the environment variable CYFACE_API_ENDPOINT to an appropriate value! API will not start!"
exit 1
fi
}

loadAuthParameters() {
Expand Down Expand Up @@ -171,7 +166,6 @@ loadConfig() {
},\
\"http.port\":$CYFACE_API_PORT,\
\"http.host\":\"$CYFACE_API_HOST\",\
\"http.endpoint\":\"$CYFACE_API_ENDPOINT\",\
\"metrics.enabled\":$METRICS_ENABLED,\
\"upload.expiration\":$UPLOAD_EXPIRATION_TIME_MILLIS,\
\"measurement.payload.limit\":$MEASUREMENT_PAYLOAD_LIMIT_BYTES,\
Expand Down Expand Up @@ -214,7 +208,7 @@ waitForDependency() {

startApi() {
echo
echo "Starting $SERVICE_NAME at $CYFACE_API_HOST:$CYFACE_API_PORT$CYFACE_API_ENDPOINT"
echo "Starting $SERVICE_NAME at $CYFACE_API_HOST:$CYFACE_API_PORT"
java -Dvertx.cacheDirBase=/tmp/vertx-cache \
-Dlogback.configurationFile=/app/logback.xml \
-jar $JAR_FILE \
Expand Down

0 comments on commit 0e4916b

Please sign in to comment.