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
8f3c9f20
Commit
8f3c9f20
authored
Apr 18, 2025
by
duanruiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add] 增加test文件
parent
61c864e5
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
7 deletions
+26
-7
application-test.properties
...gn-service/src/main/resources/application-test.properties
+5
-5
CommandFaildTask.java
...ce/src/main/java/net/wanji/utc/task/CommandFaildTask.java
+2
-0
SignalCommandSyncTask.java
...c/main/java/net/wanji/utc/task/SignalCommandSyncTask.java
+1
-1
SignalStatusTask.java
...ce/src/main/java/net/wanji/utc/task/SignalStatusTask.java
+3
-1
bootstrap-test.yaml
signal-utc-service/src/main/resources/bootstrap-test.yaml
+15
-0
No files found.
signal-feign-service/src/main/resources/application-test.properties
View file @
8f3c9f20
utc.service.url
=
http://173.17.0.1:32000/utc
utc.dt.service.url
=
http://173.17.0.1:39002/utc-dt
utc.hisense.service.url
=
http://173.17.0.1:39003/utc-hisense
control.url
=
http://173.17.0.1:32001/web
ehualu.url
=
http://173.17.0.1:30015
\ No newline at end of file
utc.service.url
=
http://37.12.182.29:32000/utc
utc.dt.service.url
=
http://37.12.182.29:39002/utc-dt
utc.hisense.service.url
=
http://37.12.182.29:39003/utc-hisense
control.url
=
http://37.12.182.29:32001/web
ehualu.url
=
http://37.12.182.29:30015
\ No newline at end of file
signal-utc-service/src/main/java/net/wanji/utc/task/CommandFaildTask.java
View file @
8f3c9f20
...
...
@@ -19,6 +19,7 @@ import net.wanji.utc.common.typeenum.BasicEnum;
import
net.wanji.utc.service.control.ControlCommandService
;
import
net.wanji.utc.service.control.ControlCommandStrategyService
;
import
net.wanji.utc.util.StringUtils
;
import
org.springframework.context.annotation.Profile
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
...
...
@@ -34,6 +35,7 @@ import java.util.concurrent.ConcurrentHashMap;
*/
@Component
@Slf4j
@Profile
(
"docker"
)
@SuppressWarnings
(
"all"
)
public
class
CommandFaildTask
{
@Resource
...
...
signal-utc-service/src/main/java/net/wanji/utc/task/SignalCommandSyncTask.java
View file @
8f3c9f20
This diff is collapsed.
Click to expand it.
signal-utc-service/src/main/java/net/wanji/utc/task/SignalStatusTask.java
View file @
8f3c9f20
...
...
@@ -40,6 +40,7 @@ import org.elasticsearch.common.xcontent.XContentType;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.context.annotation.Profile
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
;
import
org.springframework.stereotype.Component
;
...
...
@@ -58,8 +59,9 @@ import java.util.concurrent.CopyOnWriteArrayList;
* @author Kent HAN
* @date 2022/11/21 9:01
*/
//
@Component
@Component
@Slf4j
@Profile
(
"docker"
)
@SuppressWarnings
(
"all"
)
public
class
SignalStatusTask
{
@Autowired
...
...
signal-utc-service/src/main/resources/bootstrap-test.yaml
0 → 100644
View file @
8f3c9f20
spring
:
application
:
# dubbo启动需要程序名称
name
:
utc
main
:
allow-circular-references
:
true
cloud
:
nacos
:
config
:
server-addr
:
37.12.182.29:8848
file-extension
:
yaml
group
:
signal
namespace
:
signal
username
:
nacos
password
:
nacos
\ 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