Gitlab - Argos ALM by PALO IT

Commit 8b4183c4 authored by Ioan Mircea Pop's avatar Ioan Mircea Pop

latest changes

parent dc5e69a7
#FROM maven:3.9.3-eclipse-temurin-17-alpine
FROM maven:3.9.3-amazoncorretto-17 FROM maven:3.9.3-amazoncorretto-17
MAINTAINER Palo-IT MAINTAINER Palo-IT
...@@ -5,9 +6,11 @@ WORKDIR /app ...@@ -5,9 +6,11 @@ WORKDIR /app
COPY pom.xml . COPY pom.xml .
COPY src ./src COPY src ./src
COPY redisca.crt .
RUN mvn package -Dmaven.test.skip=true RUN keytool -keystore /usr/lib/jvm/java-17-amazon-corretto/lib/security/cacerts -storepass changeit -noprompt -trustcacerts -importcert -file redisca.crt \
&& mvn package -Dmaven.test.skip=true \
RUN cp target/**SNAPSHOT.jar ./app.jar && cp target/**SNAPSHOT.jar ./app.jar \
&& rm -rf src pom.xml target redisca.crt
CMD ["java", "-jar", "app.jar"] CMD ["java", "-jar", "app.jar"]
-----BEGIN CERTIFICATE-----
MIIDDzCCAfegAwIBAgIJANEH58y2/kzHMA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNV
BAMME0lCTSBDbG91ZCBEYXRhYmFzZXMwHhcNMTgwNjI1MTQyOTAwWhcNMjgwNjIy
MTQyOTAwWjAeMRwwGgYDVQQDDBNJQk0gQ2xvdWQgRGF0YWJhc2VzMIIBIjANBgkq
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8lpaQGzcFdGqeMlmqjffMPpIQhqpd8qJ
Pr3bIkrXJbTcJJ9uIckSUcCjw4Z/rSg8nnT13SCcOl+1to+7kdMiU8qOWKiceYZ5
y+yZYfCkGaiZVfazQBm45zBtFWv+AB/8hfCTdNF7VY4spaA3oBE2aS7OANNSRZSK
pwy24IUgUcILJW+mcvW80Vx+GXRfD9Ytt6PRJgBhYuUBpgzvngmCMGBn+l2KNiSf
weovYDCD6Vngl2+6W9QFAFtWXWgF3iDQD5nl/n4mripMSX6UG/n6657u7TDdgkvA
1eKI2FLzYKpoKBe5rcnrM7nHgNc/nCdEs5JecHb1dHv1QfPm6pzIxwIDAQABo1Aw
TjAdBgNVHQ4EFgQUK3+XZo1wyKs+DEoYXbHruwSpXjgwHwYDVR0jBBgwFoAUK3+X
Zo1wyKs+DEoYXbHruwSpXjgwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC
AQEAJf5dvlzUpqaix26qJEuqFG0IP57QQI5TCRJ6Xt/supRHo63eDvKw8zR7tlWQ
lV5P0N2xwuSl9ZqAJt7/k/3ZeB+nYwPoyO3KvKvATunRvlPBn4FWVXeaPsG+7fhS
qsejmkyonYw77HRzGOzJH4Zg8UN6mfpbaWSsyaExvqknCp9SoTQP3D67AzWqb1zY
doqqgGIZ2nxCkp5/FXxF/TMb55vteTQwfgBy60jVVkbF7eVOWCv0KaNHPF5hrqbN
i+3XjJ7/peF3xMvTMoy35DcT3E2ZeSVjouZs15O90kI3k2daS2OHJABW0vSj4nLz
+PQzp/B9cQmOO8dCe049Q3oaUA==
-----END CERTIFICATE-----
...@@ -28,7 +28,7 @@ spring.jackson.visibility.is-getter=none ...@@ -28,7 +28,7 @@ spring.jackson.visibility.is-getter=none
spring.cloud.stream.bindings.measureProducer.destination=measure spring.cloud.stream.bindings.measureProducer.destination=measure
# Stream # Stream
spring.cloud.stream.kafka.binder.brokers=localhost:9092 spring.cloud.stream.kafka.binder.brokers=${SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS}
spring.cloud.function.definition=measureConsumer spring.cloud.function.definition=measureConsumer
spring.cloud.stream.kafka.binder.configuration.key.serializer=org.apache.kafka.common.serialization.StringSerializer spring.cloud.stream.kafka.binder.configuration.key.serializer=org.apache.kafka.common.serialization.StringSerializer
...@@ -37,9 +37,13 @@ spring.cloud.stream.bindings.measureConsumer-in-0.destination=measure ...@@ -37,9 +37,13 @@ spring.cloud.stream.bindings.measureConsumer-in-0.destination=measure
spring.cloud.stream.bindings.measureConsumer-in-0.group=measureGroup spring.cloud.stream.bindings.measureConsumer-in-0.group=measureGroup
# Redis # Redis
spring.data.redis.host=localhost #spring.data.redis.host=localhost
spring.data.redis.port=6379 #spring.data.redis.port=6379
spring.data.redis.password=pa55word #spring.data.redis.password=pa55word
spring.data.redis.jedis.pool.max-active=15 spring.data.redis.jedis.pool.max-active=15
spring.data.redis.jedis.pool.min-idle=3 spring.data.redis.jedis.pool.min-idle=3
spring.cache.redis.time-to-live=1m spring.cache.redis.time-to-live=1m
#SSL
ssl.keystore.location=/opt/java/openjdk/lib/security/cacerts
ssl.keystore.password=changeit
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment