Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
d3b96ad1
Commit
d3b96ad1
authored
Apr 12, 2025
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt/control 国产化 - 中创中间件inforsuite V10.0.2.3替换springboot内置tomcat
parent
4ce9e837
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
34 deletions
+75
-34
bootstrap-docker.yaml
...-control-service/src/main/resources/bootstrap-docker.yaml
+2
-1
application-docker.properties
...-service/src/main/resources/application-docker.properties
+7
-6
pom.xml
signal-optimize-service/pom.xml
+64
-26
bootstrap-docker.yaml
...optimize-service/src/main/resources/bootstrap-docker.yaml
+2
-1
No files found.
signal-control-service/src/main/resources/bootstrap-docker.yaml
View file @
d3b96ad1
...
@@ -21,4 +21,5 @@ feign:
...
@@ -21,4 +21,5 @@ feign:
readTimeout
:
500000
readTimeout
:
500000
inforsuite
:
inforsuite
:
license-path
:
D:\\license
# license-path: D:\\license
\ No newline at end of file
license-path
:
/data/license
\ No newline at end of file
signal-feign-service/src/main/resources/application-docker.properties
View file @
d3b96ad1
utc.service.url
=
http://
127.0.0.1
:32000/utc
utc.service.url
=
http://
37.8.219.195
:32000/utc
utc.dt.service.url
=
http://
127.0.0.1
:39002/utc-dt
utc.dt.service.url
=
http://
37.8.219.195
:39002/utc-dt
utc.hisense.service.url
=
http://
127.0.0.1
:39003/utc-hisense
utc.hisense.service.url
=
http://
37.8.219.195
:39003/utc-hisense
control.url
=
http://
127.0.0.1
:32001/web
control.url
=
http://
37.8.219.195
:32001/web
ehualu.url
=
http://
127.0.0.1
:30015
ehualu.url
=
http://
37.8.219.195
:30015
#inforsuite.license-path=D:\\license
#inforsuite.license-path=D:\\license
inforsuite.license-path
=
/license
#inforsuite.license-path=/license
\ No newline at end of file
inforsuite.license-path
=
/data/license
\ No newline at end of file
signal-optimize-service/pom.xml
View file @
d3b96ad1
...
@@ -266,63 +266,101 @@
...
@@ -266,63 +266,101 @@
<!-- mvn clean package -Dmaven.test.skip=true jib:build -DsendCredentialsOverHttp=true -->
<!-- mvn clean package -Dmaven.test.skip=true jib:build -DsendCredentialsOverHttp=true -->
<!-- 使用jib 无需深入学习docker, 无需编写Dockerfile -->
<!-- 使用jib 无需深入学习docker, 无需编写Dockerfile -->
<plugin>
<
!--<
plugin>
<groupId>com.google.cloud.tools</groupId>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<artifactId>jib-maven-plugin</artifactId>
<version>2.5.2</version>
<version>2.5.2</version>
<!-- 将jib与mvn构建的生命周期绑定 -->
<executions>
<execution>
<id>
build-image
</id>
<phase>
install
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
<configuration>
<configuration>
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
<!–from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字–>
<from>
<from>
<!--使用harbor上的openjdk镜像-->
<!–使用harbor上的openjdk镜像–>
<image>
${harbor.ip.port}/xinkong/openjdk:8-alpine3.9
</image>
<!–<image>${harbor.ip.port}/xinkong/openjdk:8-alpine3.9</image>–>
<!--harbor服务器的登录信息-->
<image>${harbor.ip.port}/xinkong/centos7-jdk8-rpm:1.0</image>
<!–harbor服务器的登录信息–>
<auth>
<auth>
<username>admin</username>
<username>admin</username>
<password>Wanji300552</password>
<password>Wanji300552</password>
</auth>
</auth>
</from>
</from>
<to>
<to>
<image>
${harbor.ip.port}/xinkong/${artifactId}:${version}
${maven.build.timestamp}
</image>
<image>${harbor.ip.port}/xinkong/${artifactId}:${version}</image>
<auth>
<auth>
<username>admin</username>
<username>admin</username>
<password>Wanji300552</password>
<password>Wanji300552</password>
</auth>
</auth>
</to>
</to>
<container>
<container>
<!--配置jvm虚拟机参数-->
<!–配置jvm虚拟机参数–>
<jvmFlags>
<jvmFlags>
<jvmFlag>-Xms512m</jvmFlag>
<jvmFlag>-Xms512m</jvmFlag>
<jvmFlag>
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1511
9
</jvmFlag>
<jvmFlag>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1511
7
</jvmFlag>
</jvmFlags>
</jvmFlags>
<!--配置使用的时区-->
<!–添加RPM包–>
<!–rpm -i /rpms/glibc-common-2.17-326.el7_9.3.x86_64.rpm --force &&–>
<!–rpm -i /rpms/nspr-4.35.0-1.el7_9.x86_64.rpm --force &&–>
<!–rpm -i /rpms/nss-util-3.90.0-1.el7_9.x86_64.rpm --force &&–>
<!–rpm -i /rpms/glibc-2.17-326.el7_9.3.i686.rpm --force &&–>
<!–rpm -i /rpms/glibc-2.17-326.el7_9.3.x86_64.rpm --force &&–>
<!–rpm -i /rpms/glibc-headers-2.17-326.el7_9.3.x86_64.rpm --force &&–>
<!–rpm -i /rpms/glibc-devel-2.17-326.el7_9.3.x86_64.rpm --force &&–>
<!–rpm -i /rpms/nss-softokn-freebl-3.90.0-6.el7_9.i686.rpm --force &&–>
<!–rpm -i /rpms/nss-softokn-freebl-3.90.0-6.el7_9.x86_64.rpm --force &&–>
<!–rpm -i /rpms/zlib-1.2.7-21.el7_9.i686.rpm --force &&–>
<!–rpm -i /rpms/libpng-1.5.13-8.el7.i686.rpm --force &&–>
<!–rpm -i /rpms/bzip2-libs-1.0.6-13.el7.i686.rpm --force &&–>
<!–rpm -i /rpms/libuuid-2.23.2-65.el7_9.1.i686.rpm --force &&–>
<!–rpm -i /rpms/expat-2.1.0-15.el7_9.i686.rpm --force &&–>
<!–rpm -i /rpms/freetype-2.8-14.el7_9.1.i686.rpm --force &&–>
<!–<entrypoint>–>
<!–<shell>sh</shell>–>
<!–<option>-c</option>–>
<!–<arg>–>
<!–rpm localinstall /rpms/fontconfig-2.13.0-4.3.el7.i686.rpm --nogpgcheck &&–>
<!–rpm localinstall /rpms/fontconfig-2.13.0-4.3.el7.x86_64.rpm --nogpgcheck &&–>
<!–rpm localinstall /rpms/dejavu-sans-fonts-2.33-6.el7.noarch.rpm --nogpgcheck–>
<!–</arg>–>
<!–</entrypoint>–>
<!–配置使用的时区–>
<environment>
<environment>
<TZ>Asia/Shanghai</TZ>
<TZ>Asia/Shanghai</TZ>
<spring.profiles.active>dev</spring.profiles.active>
<spring.profiles.active>dev</spring.profiles.active>
<LANG>en_US.UTF-8</LANG>
</environment>
</environment>
<!--要暴露的端口-->
<!–要暴露的端口–>
<ports>
<ports>
<port>39001</port>
<port>39001</port>
<port>15117</port>
<port>15117</port>
</ports>
</ports>
<!-- <creationTime>2022-10-14T10:08:59.304+08:00</creationTime>-->
<!– <creationTime>2022-10-14T10:08:59.304+08:00</creationTime>–>
<creationTime>${maven.build.timestamp}</creationTime>
<creationTime>${maven.build.timestamp}</creationTime>
<mainClass>net.wanji.opt.SignalOptimizeApplication</mainClass>
<mainClass>net.wanji.opt.SignalOptimizeApplication</mainClass>
</container>
</container>
<!--可以进行HTTP-->
<extraDirectories>
<paths>
<path>
<from>src/main/resources/rpms/</from>
<into>/rpms/</into>
</path>
</paths>
</extraDirectories>
<!–可以进行HTTP–>
<allowInsecureRegistries>true</allowInsecureRegistries>
<allowInsecureRegistries>true</allowInsecureRegistries>
</configuration>
</configuration>
</plugin>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>-->
<!-- maven 打包方式-->
<!-- maven 打包方式-->
<plugin>
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<artifactId>
maven-resources-plugin
</artifactId>
...
@@ -339,7 +377,7 @@
...
@@ -339,7 +377,7 @@
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/bin
</outputDirectory>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/bin
</outputDirectory>
<resources>
<resources>
<resource>
<resource>
<directory>
src/main/bin
</directory>
<directory>
src/main/
resources/
bin
</directory>
<filtering>
false
</filtering>
<filtering>
false
</filtering>
</resource>
</resource>
</resources>
</resources>
...
@@ -403,14 +441,14 @@
...
@@ -403,14 +441,14 @@
</archive>
</archive>
<excludes>
<excludes>
<exclude>
*.**
</exclude>
<exclude>
*.**
</exclude>
<exclude>
*/*.xml
</exclude>
<exclude>
*/**/*.xml
</exclude>
<!--<exclude>configs/**/**</exclude>-->
</excludes>
</excludes>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/lib
</outputDirectory>
<outputDirectory>
${project.parent.basedir}/assembly/${project.name}/lib
</outputDirectory>
<classesDirectory>
<classesDirectory>
</classesDirectory>
</classesDirectory>
</configuration>
</configuration>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
...
...
signal-optimize-service/src/main/resources/bootstrap-docker.yaml
View file @
d3b96ad1
...
@@ -15,4 +15,5 @@ spring:
...
@@ -15,4 +15,5 @@ spring:
allow-circular-references
:
true
allow-circular-references
:
true
inforsuite
:
inforsuite
:
license-path
:
D:\\license
# license-path: D:\\license
\ No newline at end of file
license-path
:
/license
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment