Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion admin/admin-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<maven-shade-plugin.version>2.3</maven-shade-plugin.version>
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version>
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -256,6 +257,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down Expand Up @@ -342,7 +344,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>3.2.3</version>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
3 changes: 3 additions & 0 deletions admin/hotlist-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<maven.compiler.version>3.9.6</maven.compiler.version>
<central.publishing.maven.plugin.version>0.7.0</central.publishing.maven.plugin.version>
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>

<!-- test -->
<junit.version>4.12</junit.version>
Expand Down Expand Up @@ -243,6 +244,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down Expand Up @@ -437,6 +439,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
4 changes: 3 additions & 1 deletion admin/kernel-masterdata-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<maven.war.plugin.version>3.1.0</maven.war.plugin.version>
<maven.jacoco.version>0.8.11</maven.jacoco.version>
<maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version>
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>

<!-- spring -->
<spring.security.test.version>5.0.5.RELEASE</spring.security.test.version>
Expand Down Expand Up @@ -340,7 +341,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>3.2.3</version>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down Expand Up @@ -529,6 +530,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
6 changes: 5 additions & 1 deletion admin/kernel-syncdata-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,15 @@ COPY ./target/kernel-syncdata-service-*.jar kernel-syncdata-service.jar
# change permissions of file inside working dir
RUN chown -R ${container_user}:${container_user} /home/${container_user}

# One-liner without the JDK debug package
RUN apk add --no-cache bash curl wget vim tcpdump net-tools iputils bind-tools busybox-extras strace lsof \
&& echo 'JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"' >> /etc/profile

# select container user for all tasks
USER ${container_user_uid}:${container_user_gid}

EXPOSE 8089

CMD wget -q --show-progress "${iam_adapter_url_env}" -O "${loader_path_env}"/kernel-auth-adapter.jar; \
java -XX:+ExplicitGCInvokesConcurrent -XX:+UseZGC -XX:+ZGenerational -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+UseStringDeduplication -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseCompressedOops \
-jar -Dloader.path="${loader_path_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" kernel-syncdata-service.jar ; \
-jar -Dloader.path="${loader_path_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" kernel-syncdata-service.jar ; \
3 changes: 3 additions & 0 deletions admin/kernel-syncdata-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version>
<maven.javadoc.version>3.2.0</maven.javadoc.version>
<maven-shade-plugin.version>2.3</maven-shade-plugin.version>
<spring.boot.maven.plugin.version>3.2.3</spring.boot.maven.plugin.version>

<!-- data -->
<h2.version>1.4.197</h2.version>
Expand Down Expand Up @@ -337,6 +338,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down Expand Up @@ -511,6 +513,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.maven.plugin.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
Loading