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
71aa5287
Commit
71aa5287
authored
May 26, 2025
by
zhaowenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat] 1. 增加demo部署配置
parent
ed0a98f2
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
996 additions
and
1 deletion
+996
-1
pom.xml
pom.xml
+5
-0
pom-demo.xml
signal-control-service/pom-demo.xml
+309
-0
bootstrap-demo.yaml
...al-control-service/src/main/resources/bootstrap-demo.yaml
+15
-0
application-demo.properties
...gn-service/src/main/resources/application-demo.properties
+4
-0
pom-demo.xml
signal-optimize-service/pom-demo.xml
+296
-0
bootstrap-demo.yaml
...l-optimize-service/src/main/resources/bootstrap-demo.yaml
+15
-0
pom-demo.xml
signal-utc-service/pom-demo.xml
+285
-0
RedisConfig.java
...rvice/src/main/java/net/wanji/utc/config/RedisConfig.java
+1
-1
bootstrap-demo.yaml
signal-utc-service/src/main/resources/bootstrap-demo.yaml
+15
-0
pom.xml
wj-common/pom.xml
+28
-0
pom.xml
wj-databus/pom.xml
+23
-0
No files found.
pom.xml
View file @
71aa5287
...
...
@@ -289,6 +289,11 @@
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>
com.google.cloud.tools
</groupId>
<artifactId>
jib-maven-plugin
</artifactId>
<version>
3.4.5
</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
...
...
signal-control-service/pom-demo.xml
0 → 100644
View file @
71aa5287
This diff is collapsed.
Click to expand it.
signal-control-service/src/main/resources/bootstrap-demo.yaml
0 → 100644
View file @
71aa5287
spring
:
application
:
# dubbo启动需要程序名称
name
:
web
cloud
:
nacos
:
config
:
server-addr
:
10.102.1.163:8848
file-extension
:
yaml
group
:
signal
namespace
:
signal
username
:
nacos
password
:
Wgzonal0sowQjm9
main
:
allow-circular-references
:
true
\ No newline at end of file
signal-feign-service/src/main/resources/application-demo.properties
0 → 100644
View file @
71aa5287
utc.service.url
=
http://fuzhujuece-signal-utc-service:32000/utc
utc.dt.service.url
=
http://10.102.1.182:39002/utc-dt
utc.hisense.service.url
=
http://10.102.1.182:39003/utc-hisense
control.url
=
http://10.102.1.182:32001/web
signal-optimize-service/pom-demo.xml
0 → 100644
View file @
71aa5287
This diff is collapsed.
Click to expand it.
signal-optimize-service/src/main/resources/bootstrap-demo.yaml
0 → 100644
View file @
71aa5287
spring
:
cloud
:
nacos
:
config
:
server-addr
:
10.102.1.163:8848
file-extension
:
yaml
group
:
signal
namespace
:
signal
username
:
nacos
password
:
Wgzonal0sowQjm9
application
:
# dubbo启动需要程序名称
name
:
signal-optimize-service
main
:
allow-circular-references
:
true
signal-utc-service/pom-demo.xml
0 → 100644
View file @
71aa5287
This diff is collapsed.
Click to expand it.
signal-utc-service/src/main/java/net/wanji/utc/config/RedisConfig.java
View file @
71aa5287
...
...
@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport {
@Bean
public
Jedis
jedis
()
{
Jedis
jedis
=
new
Jedis
(
redisHost
,
redisPort
);
jedis
.
auth
(
"Wanji300552"
);
jedis
.
auth
(
password
);
return
jedis
;
}
...
...
signal-utc-service/src/main/resources/bootstrap-demo.yaml
0 → 100644
View file @
71aa5287
spring
:
application
:
# dubbo启动需要程序名称
name
:
utc
main
:
allow-circular-references
:
true
cloud
:
nacos
:
config
:
server-addr
:
10.102.1.163:8848
file-extension
:
yaml
group
:
signal
namespace
:
signal
username
:
nacos
password
:
Wgzonal0sowQjm9
\ No newline at end of file
wj-common/pom.xml
View file @
71aa5287
...
...
@@ -558,4 +558,32 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
com.google.cloud.tools
</groupId>
<artifactId>
jib-maven-plugin
</artifactId>
<configuration>
<!-- we don't want jib to execute on this module -->
<skip>
true
</skip>
</configuration>
</plugin>
<!-- we want this library to be built reproducibly -->
<plugin>
<groupId>
io.github.zlika
</groupId>
<artifactId>
reproducible-build-maven-plugin
</artifactId>
<version>
0.11
</version>
<executions>
<execution>
<id>
run-when-packaged
</id>
<goals>
<goal>
strip-jar
</goal>
</goals>
<phase>
package
</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
wj-databus/pom.xml
View file @
71aa5287
...
...
@@ -44,6 +44,29 @@
<build>
<plugins>
<plugin>
<groupId>
com.google.cloud.tools
</groupId>
<artifactId>
jib-maven-plugin
</artifactId>
<configuration>
<!-- we don't want jib to execute on this module -->
<skip>
true
</skip>
</configuration>
</plugin>
<!-- we want this library to be built reproducibly -->
<plugin>
<groupId>
io.github.zlika
</groupId>
<artifactId>
reproducible-build-maven-plugin
</artifactId>
<version>
0.11
</version>
<executions>
<execution>
<id>
run-when-packaged
</id>
<goals>
<goal>
strip-jar
</goal>
</goals>
<phase>
package
</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
...
...
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