Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
oceanbase
oblogclient
提交
44c57a82
O
oblogclient
项目概览
oceanbase
/
oblogclient
1 年多 前同步成功
通知
5
Star
15
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oblogclient
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
未验证
提交
44c57a82
编写于
12月 12, 2022
作者:
H
He Wang
提交者:
GitHub
12月 12, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update maven plugin check & format (#66)
上级
c853eba4
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
33 addition
and
41 deletion
+33
-41
.github/workflows/maven_build_master.yml
.github/workflows/maven_build_master.yml
+2
-2
.github/workflows/maven_build_pr.yml
.github/workflows/maven_build_pr.yml
+22
-0
.github/workflows/maven_publish_snapshot.yml
.github/workflows/maven_publish_snapshot.yml
+0
-34
README.md
README.md
+1
-1
README_CN.md
README_CN.md
+1
-1
oblogclient-logproxy/src/main/java/com/oceanbase/clogproxy/client/connection/ClientHandlerV01.java
...eanbase/clogproxy/client/connection/ClientHandlerV01.java
+1
-1
oblogclient-logproxy/src/main/java/com/oceanbase/clogproxy/client/exception/LogProxyClientException.java
...e/clogproxy/client/exception/LogProxyClientException.java
+2
-1
pom.xml
pom.xml
+4
-1
未找到文件。
.github/workflows/maven_build.yml
→
.github/workflows/maven_build
_master
.yml
浏览文件 @
44c57a82
name
:
Maven Build
name
:
Maven Build
on Master Branch
on
:
pu
ll_request
:
pu
sh
:
branches
:
-
master
...
...
.github/workflows/maven_build_pr.yml
0 → 100644
浏览文件 @
44c57a82
name
:
Maven Build on Pull Request
on
:
pull_request
:
paths-ignore
:
-
'
docs/**'
-
'
**.md'
-
'
.*'
jobs
:
build
:
name
:
Maven Build
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up JDK
8
uses
:
actions/setup-java@v2
with
:
java-version
:
'
8'
distribution
:
'
zulu'
-
name
:
Build with Maven
run
:
mvn clean install
.github/workflows/maven_publish_snapshot.yml
已删除
100644 → 0
浏览文件 @
c853eba4
name
:
Maven Publish Snapshot
on
:
push
:
branches
:
-
master
paths-ignore
:
-
'
.github/**'
-
'
docs/**'
-
'
scripts/**'
-
'
**.md'
-
'
.*'
jobs
:
publish-snapshot
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Setup Apache Maven Central
uses
:
actions/setup-java@v2
with
:
java-version
:
'
8'
distribution
:
'
zulu'
server-id
:
sonatype-nexus-snapshots
server-username
:
MAVEN_USERNAME
server-password
:
MAVEN_PASSWORD
gpg-passphrase
:
GPG_PASSPHRASE
gpg-private-key
:
${{ secrets.GPG_PRIVATE_KEY }}
-
name
:
Publish to Apache Maven Central
run
:
mvn clean verify gpg:sign install:install deploy:deploy
env
:
MAVEN_USERNAME
:
${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD
:
${{ secrets.OSSRH_PASSWORD }}
GPG_PASSPHRASE
:
${{ secrets.GPG_PASSPHRASE }}
README.md
浏览文件 @
44c57a82
...
...
@@ -3,7 +3,7 @@ OceanBase Log Client
English |
[
简体中文
](
README_CN.md
)
[
![Build Status
](
https://github.com/oceanbase/oblogclient/actions/workflows/maven_
publish_snapshot.yml/badge.svg?branch=master
)
](https://github.com/oceanbase/oblogclient/actions/workflows/maven_publish_snapshot
.yml)
[
![Build Status
](
https://github.com/oceanbase/oblogclient/actions/workflows/maven_
build_master.yml/badge.svg?branch=master
)
](https://github.com/oceanbase/oblogclient/actions/workflows/maven_build_master
.yml)
[
![Release
](
https://img.shields.io/github/release/oceanbase/oblogclient.svg
)
](https://github.com/oceanbase/oblogclient/releases)
[
![License
](
https://img.shields.io/badge/license-Mulan%20PSL%20v2-green.svg
)
](LICENSE)
...
...
README_CN.md
浏览文件 @
44c57a82
...
...
@@ -3,7 +3,7 @@ OceanBase 日志客户端
[
English
](
README.md
)
| 简体中文
[
![Build Status
](
https://github.com/oceanbase/oblogclient/actions/workflows/maven_
publish_snapshot.yml/badge.svg?branch=master
)
](https://github.com/oceanbase/oblogclient/actions/workflows/maven_publish_snapshot
.yml)
[
![Build Status
](
https://github.com/oceanbase/oblogclient/actions/workflows/maven_
build_master.yml/badge.svg?branch=master
)
](https://github.com/oceanbase/oblogclient/actions/workflows/maven_build_master
.yml)
[
![Release
](
https://img.shields.io/github/release/oceanbase/oblogclient.svg
)
](https://github.com/oceanbase/oblogclient/releases)
[
![License
](
https://img.shields.io/badge/license-Mulan%20PSL%20v2-green.svg
)
](LICENSE)
...
...
oblogclient-logproxy/src/main/java/com/oceanbase/clogproxy/client/connection/ClientHandlerV01.java
浏览文件 @
44c57a82
...
...
@@ -31,7 +31,7 @@ import org.apache.commons.lang3.Conversion;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
/*
Compatita
ble for legacy V0 and V1 only, however you should not use */
/*
* Compati
ble for legacy V0 and V1 only, however you should not use */
public
class
ClientHandlerV01
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
ClientHandlerV01
.
class
);
...
...
oblogclient-logproxy/src/main/java/com/oceanbase/clogproxy/client/exception/LogProxyClientException.java
浏览文件 @
44c57a82
...
...
@@ -10,6 +10,7 @@ See the Mulan PSL v2 for more details. */
package
com.oceanbase.clogproxy.client.exception
;
import
com.oceanbase.clogproxy.client.enums.ErrorCode
;
/**
...
...
@@ -93,7 +94,7 @@ public class LogProxyClientException extends RuntimeException {
* @param needStop The flag of whether the client should stop the stream.
*/
public
LogProxyClientException
(
ErrorCode
code
,
String
message
,
Throwable
throwable
,
boolean
needStop
)
{
ErrorCode
code
,
String
message
,
Throwable
throwable
,
boolean
needStop
)
{
super
(
message
,
throwable
);
this
.
code
=
code
;
this
.
needStop
=
needStop
;
...
...
pom.xml
浏览文件 @
44c57a82
...
...
@@ -188,6 +188,9 @@ See the Mulan PSL v2 for more details.
<goals>
<goal>
jar
</goal>
</goals>
<configuration>
<failOnWarnings>
true
</failOnWarnings>
</configuration>
</execution>
</executions>
</plugin>
...
...
@@ -261,7 +264,7 @@ See the Mulan PSL v2 for more details.
<id>
spotless-check
</id>
<phase>
validate
</phase>
<goals>
<goal>
apply
</goal>
<goal>
check
</goal>
</goals>
</execution>
</executions>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录