You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2022/01/25 08:29:29 UTC
[shardingsphere] branch master updated (ae45d77 -> 729f634)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from ae45d77 Add compute node label listener watcher (#15050)
add 729f634 [DistSQL] Support `show traffic rules` syntax (#15043)
No new revisions were added by this update.
Summary of changes:
.../src/main/antlr4/imports/Keyword.g4 | 4 +
.../src/main/antlr4/imports/RALStatement.g4 | 8 ++
.../parser/autogen/CommonDistSQLStatement.g4 | 3 +-
.../core/common/CommonDistSQLStatementVisitor.java | 19 ++++-
...atement.java => ShowTrafficRulesStatement.java} | 10 ++-
.../common/show/ShowStatementExecutorFactory.java | 5 ++
.../show/executor/ShowTrafficRulesExecutor.java | 96 ++++++++++++++++++++++
.../common/show/ShowTrafficRulesExecutorTest.java | 80 ++++++++++++++++++
8 files changed, 217 insertions(+), 8 deletions(-)
copy shardingsphere-distsql/shardingsphere-distsql-statement/src/main/java/org/apache/shardingsphere/distsql/parser/statement/ral/common/show/{ShowInstanceModeStatement.java => ShowTrafficRulesStatement.java} (85%)
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/common/show/executor/ShowTrafficRulesExecutor.java
create mode 100644 shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/common/show/ShowTrafficRulesExecutorTest.java