-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: init the console basic code #4134
feature: init the console basic code #4134
Conversation
server/src/main/java/io/seata/server/console/manager/BranchSessionServiceManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/result/Result.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/service/GlobalSessionService.java
Outdated
Show resolved
Hide resolved
This pull request introduces 7 alerts when merging 4a76e86 into 87d773f - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging 096c141 into 57789c2 - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging 30f0511 into 57789c2 - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging 89570e9 into 57789c2 - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging 8dc0aba into 57789c2 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## develop #4134 +/- ##
=============================================
- Coverage 49.37% 49.11% -0.27%
- Complexity 3763 3775 +12
=============================================
Files 700 718 +18
Lines 23664 23927 +263
Branches 2925 2925
=============================================
+ Hits 11685 11752 +67
- Misses 10780 10973 +193
- Partials 1199 1202 +3
|
This pull request introduces 7 alerts when merging d5c2653 into 57789c2 - view on LGTM.com new alerts:
|
控制台基础代码pr概览: |
server/src/main/java/io/seata/server/console/controller/BranchSessionController.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/controller/GlobalLockController.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/controller/GlobalSessionController.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java
Outdated
Show resolved
Hide resolved
This pull request introduces 7 alerts when merging ab22d50 into 0a3b496 - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging f6a13bd into 0a3b496 - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging d28810f into a3f8dce - view on LGTM.com new alerts:
|
server/src/main/java/io/seata/server/ServerApplicationListener.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/BranchSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/console/impl/db/GlobalLockDBServiceImpl.java
Outdated
Show resolved
Hide resolved
This pull request introduces 7 alerts when merging 9be069d into a3f8dce - view on LGTM.com new alerts:
|
This pull request introduces 7 alerts when merging ac8aa69 into a3f8dce - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request introduces 7 alerts when merging ca0c274 into a3f8dce - view on LGTM.com new alerts:
|
@@ -94,6 +96,12 @@ public void onApplicationEvent(ApplicationEvent event) { | |||
} | |||
String servicePort = String.valueOf(Integer.parseInt(serverPort) + SERVICE_OFFSET_SPRING_BOOT); | |||
setTargetPort(environment, servicePort, true); | |||
|
|||
// Load by priority | |||
System.setProperty("sessionMode", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ⅰ. Describe what this PR did
feature:init the console basic code
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews