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

mybatis-plugin export mapperstatements #713

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c58acb6
release docean version
shanwb Sep 12, 2023
99264a2
release hera-trace version
shanwb Sep 12, 2023
c8ca8ef
update
shanwb Sep 12, 2023
12907af
update plugin to release jar
shanwb Sep 13, 2023
32b9023
update nginx
Sep 13, 2023
478132a
update nginx (#714)
IiiinSea Sep 13, 2023
fd3bbde
update
goodjava Sep 14, 2023
befd4bc
update http client (#717)
IiiinSea Sep 14, 2023
49f1c4e
translate markdown
wodiwudi Sep 18, 2023
14c3e60
Update README.md
wodiwudi Sep 18, 2023
dea8ba0
The code of the file module is aligned with the Java 20 version. #723
goodjava Sep 20, 2023
79bcddb
The code of the file module is aligned with the Java 20 version. #723…
sadadw1 Sep 21, 2023
dda0ee2
fix mvc request method (#749)
shanwb Nov 1, 2023
0c01d02
update
Nov 28, 2023
7ac49f5
update docker apiInfo detail (#751)
wangmin9 Jan 8, 2024
cde9274
fix mvc request method (#749) (#750)
shanwb Jan 10, 2024
2eeb2ff
Merge branch 'XiaoMi:jdk8' into jdk8
shanwb Jan 10, 2024
58f8807
fix: k8s plugin #773 (#774)
shanwb Jan 12, 2024
5978602
[update], 支持java使用mockjs生成mock数据源
Feb 27, 2024
83279bb
[update], 支持java使用mockjs生成mock数据源 (#795)
IiiinSea Feb 27, 2024
d0af282
[update], 函数型数据源
Feb 28, 2024
832ddf1
[update], 增加随机数函数
Feb 28, 2024
92abfaa
[update], 加例子
Feb 28, 2024
e4b866e
add common func for mimeter (#796)
IiiinSea Feb 28, 2024
a776c23
[fix], 循环获取,保证按要求数量获取
Feb 29, 2024
4107845
update
Mar 1, 2024
394e232
Merge remote-tracking branch 'upstream/jdk8' into jdk8
Mar 1, 2024
b422e6c
update jcommon mockjs (#799)
IiiinSea Mar 1, 2024
126295c
[fix], 使用线程安全的list
Mar 4, 2024
7d795da
[fix], 使用线程安全的list (#802)
IiiinSea Mar 4, 2024
8e52c2b
add SerializerFactory when use hessian
caochengxiang Mar 11, 2024
35f47e3
add SerializerFactory when use hessian (#808)
caochengxiang Mar 11, 2024
3ab688f
feat:add sysFunction
wangyandong33 Apr 1, 2024
c21df60
feat:add sysFunction (#817)
IiiinSea Apr 1, 2024
dfe24f9
fix field access
shanwb Apr 9, 2024
39dbd00
[bug] fix field access (#821)
sadadw1 Apr 9, 2024
ceee5a8
Add exclusion functionality to the random string method in SysFuncUtils
wangyandong33 Jul 29, 2024
2e1a60b
Add exclusion functionality to the random string method in SysFuncUti…
IiiinSea Jul 29, 2024
18d9e33
chore: update multiple files without content changes
caochengxiang Nov 7, 2024
7fa322f
feat: mesh streaming response support (#896)
caochengxiang Nov 7, 2024
63e2145
test: add UdsTest.java
caochengxiang Nov 7, 2024
eea7932
feat: mesh streaming response support (#897)
caochengxiang Nov 7, 2024
fd49a9b
chore: update UdsClient.java without any changes
caochengxiang Nov 8, 2024
b9f950b
feat: mesh streaming response support (#898)
caochengxiang Nov 8, 2024
eabc7e3
[fix] mesh remote 问题修复 (#899)
goodjava Nov 9, 2024
4223009
[fix] ReflectUtils String 优化 (#900)
goodjava Nov 9, 2024
e55e2a0
chore: update UdsClient.java without any changes
caochengxiang Nov 11, 2024
16fb8a3
chore: update UdsClient.java without any changes
caochengxiang Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hera-all/hera-prometheus-agent/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# 概述
# 概述
## hera-prometheus-agent
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ public void testFeishuInterfaceAlertCard() {
try {
String content = FreeMarkerUtil.getContent("/feishu", "feishuInterfalCart.ftl", map);
System.out.println(content);
FeiShu feiShu = new FeiShu("cli_9ef18a2d8c74500e", "58eASBLGw9IqBFyds5m93m4GmTDYBMMt");
feiShu.sendCardByEmail("zhangxiaowei6@xiaomi.com", content);
FeiShu feiShu = new FeiShu("xx", "xx");
feiShu.sendCardByEmail("x@x.com", content);
} catch (Exception e) {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public void testAntlr2() {
}



@Test
public void testAntlr3() {
String str = "111";
Expand All @@ -114,6 +115,72 @@ public void testAntlr4() {
System.out.println(data.get("name"));
}

@Test
public void testAntlr5() {
String str = "{\n" +
" \"code\": 0,\n" +
" \"status\": \"success\",\n" +
" \"result\": {\n" +
" \"list\": [\n" +
" {\n" +
" \"group_id\": \"231116031247010100000142\",\n" +
" \"group_name\": \"幻境\",\n" +
" \"cover_url\": \"\",\n" +
" \"introduce\": \"----\",\n" +
" \"homepage_display\": 1,\n" +
" \"status\": 11\n" +
" },\n" +
" {\n" +
" \"group_id\": \"231116031734010100000142\",\n" +
" \"group_name\": \"空间\",\n" +
" \"cover_url\": \"\",\n" +
" \"introduce\": \"----\",\n" +
" \"homepage_display\": 1,\n" +
" \"status\": 11\n" +
" }\n" +
" ],\n" +
" \"count\": 7\n" +
" },\n" +
" \"msg\": \"backend_toast_public_success\"\n" +
"}";
Object res = Expr.params(str, "params.json().get(result).get(list).toList()[0].get(group_id)");
Object res1 = Expr.params(str, "params.toMap(){result}{list::[0]}{group_id}");

System.out.println(res);
}

@Test
public void testAntlr6() {
String str = "{\n" +
" \"code\": 0,\n" +
" \"status\": \"success\",\n" +
" \"list\": {\n" +
" \"list\": [\n" +
" {\n" +
" \"group_id\": \"231116031247010100000142\",\n" +
" \"group_name\": \"幻境\",\n" +
" \"cover_url\": \"\",\n" +
" \"introduce\": \"----\",\n" +
" \"homepage_display\": 1,\n" +
" \"status\": 11\n" +
" },\n" +
" {\n" +
" \"group_id\": \"231116031734010100000142\",\n" +
" \"group_name\": \"空间\",\n" +
" \"cover_url\": \"\",\n" +
" \"introduce\": \"----\",\n" +
" \"homepage_display\": 1,\n" +
" \"status\": 11\n" +
" }\n" +
" ],\n" +
" \"count\": 7\n" +
" },\n" +
" \"msg\": \"backend_toast_public_success\"\n" +
"}";
Object res = Expr.params(str, "params.toMap(){list}{list::[0]}{group_id}");
System.out.println(res);
}


@Test
public void testList() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.xiaomi.data.push.uds.processor;

/**
* @author [email protected]
* @date 2024/11/7 11:56
*/
public interface StreamCallback {

void onContent(String content);

void onComplete();

void onError(Throwable error);

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ public interface UdsProcessor<Request, Response> {

Response processRequest(Request request);

// 新增:判断是否为流式处理器
default boolean isStreamProcessor() {
return false;
}

// 新增:流式处理方法
default void processStream(Request request, StreamCallback callback) {
throw new UnsupportedOperationException("Stream processing not supported");
}


default String cmd() {
return "";
Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-akka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-aop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-cat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-classloader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-configuration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -20,7 +20,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -21,7 +21,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

</dependencies>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-datasource/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -17,7 +17,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
4 changes: 1 addition & 3 deletions jcommon/docean-plugin/docean-plugin-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,13 +16,11 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-datasource</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>


Expand Down
8 changes: 2 additions & 6 deletions jcommon/docean-plugin/docean-plugin-dmesh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -17,19 +17,17 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean</artifactId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</dependency>

<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-api</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand All @@ -41,15 +39,13 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-mybatis</artifactId>
<version>1.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>


<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-db</artifactId>
<version>1.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-dubbo-serverless/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -21,7 +21,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>docean-plugin-dubbo</artifactId>
Expand All @@ -14,7 +14,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/docean-plugin-es-antlr4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>run.mone</groupId>
<artifactId>docean-plugin</artifactId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>

<artifactId>docean-plugin-es-antlr4</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-es/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,7 +16,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-etcd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -17,7 +17,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
3 changes: 1 addition & 2 deletions jcommon/docean-plugin/docean-plugin-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>docean-plugin</artifactId>
<groupId>run.mone</groupId>
<version>1.4-SNAPSHOT</version>
<version>1.4.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -34,7 +34,6 @@
<dependency>
<groupId>run.mone</groupId>
<artifactId>docean-plugin-config</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>


Expand Down
Loading
Loading