Skip to content
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

Merged
merged 25 commits into from
Dec 13, 2021
Merged

feature: init the console basic code #4134

merged 25 commits into from
Dec 13, 2021

Conversation

lightClouds917
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. 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

@slievrly slievrly added this to the 1.5.0 milestone Nov 18, 2021
@lightClouds917 lightClouds917 changed the title feature:init the console basic code 【WIP】feature:init the console basic code Nov 30, 2021
@lightClouds917 lightClouds917 changed the title 【WIP】feature:init the console basic code [WIP]feature:init the console basic code Nov 30, 2021
@lgtm-com
Copy link

lgtm-com bot commented Nov 30, 2021

This pull request introduces 7 alerts when merging 4a76e86 into 87d773f - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2021

This pull request introduces 7 alerts when merging 096c141 into 57789c2 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2021

This pull request introduces 7 alerts when merging 30f0511 into 57789c2 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2021

This pull request introduces 7 alerts when merging 89570e9 into 57789c2 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2021

This pull request introduces 7 alerts when merging 8dc0aba into 57789c2 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2021

Codecov Report

Merging #4134 (ca0c274) into develop (a3f8dce) will decrease coverage by 0.26%.
The diff coverage is 4.16%.

Impacted file tree graph

@@              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     
Impacted Files Coverage Δ
...ava/io/seata/core/constants/ConfigurationKeys.java 0.00% <ø> (ø)
...a/core/store/db/sql/lock/AbstractLockStoreSql.java 80.00% <0.00%> (-8.89%) ⬇️
...ta/core/store/db/sql/log/AbstractLogStoreSqls.java 91.66% <0.00%> (-8.34%) ⬇️
...ava/io/seata/core/store/db/vo/BranchSessionVO.java 0.00% <0.00%> (ø)
...n/java/io/seata/core/store/db/vo/GlobalLockVO.java 0.00% <0.00%> (ø)
...ava/io/seata/core/store/db/vo/GlobalSessionVO.java 0.00% <0.00%> (ø)
...er/console/impl/db/BranchSessionDBServiceImpl.java 0.00% <0.00%> (ø)
...erver/console/impl/db/GlobalLockDBServiceImpl.java 0.00% <0.00%> (ø)
...er/console/impl/db/GlobalSessionDBServiceImpl.java 0.00% <0.00%> (ø)
...sole/impl/redis/BranchSessionRedisServiceImpl.java 0.00% <0.00%> (ø)
... and 24 more

@lgtm-com
Copy link

lgtm-com bot commented Dec 4, 2021

This pull request introduces 7 alerts when merging d5c2653 into 57789c2 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lightClouds917 lightClouds917 changed the title [WIP]feature:init the console basic code feature:init the console basic code Dec 5, 2021
@lightClouds917 lightClouds917 changed the title feature:init the console basic code feature: init the console basic code Dec 5, 2021
@lightClouds917
Copy link
Contributor Author

lightClouds917 commented Dec 6, 2021

控制台基础代码pr概览:
主要是mvc结构,本pr主要是提供基础的框架,未做过多的具体接口实现:
1.db,redis,file三种模式下的branchSession,globalSession,lock的controller,service和serviceImpl框架;
2.2个具体的接口jdbc原生方式实现样例;
3.单个返回对象和分页列表返回对象统一包装类的基础代码实现;
4.bean选择使用springboot的@ConditionalOnExpression(SPEL)的简单方式,支持多个条件生效;
5.2中具体实现接口的sql;
6.上次会议中确定的6个基础的接口预留;
7.返回的实体类对象及转化方法;

@funky-eyes funky-eyes added module/server server module type: feature Category issues or prs related to feature request. labels Dec 6, 2021
@lgtm-com
Copy link

lgtm-com bot commented Dec 6, 2021

This pull request introduces 7 alerts when merging ab22d50 into 0a3b496 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 7, 2021

This pull request introduces 7 alerts when merging f6a13bd into 0a3b496 - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 8, 2021

This pull request introduces 7 alerts when merging d28810f into a3f8dce - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2021

This pull request introduces 7 alerts when merging 9be069d into a3f8dce - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2021

This pull request introduces 7 alerts when merging ac8aa69 into a3f8dce - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2021

This pull request introduces 7 alerts when merging ca0c274 into a3f8dce - view on LGTM.com

new alerts:

  • 7 for Query built from user-controlled sources

@funky-eyes funky-eyes merged commit 4e2b199 into apache:develop Dec 13, 2021
@@ -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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
if I config service-port , this line will not execute

 server:
    service-port: 8091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/console module/server server module type: feature Category issues or prs related to feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants