splits qos-api pkg (#11853)
* init * add licence * fix path name * add api for depall * add bom pom --------- Co-authored-by: x-shadow-man <1494445739@qq.com>
This commit is contained in:
parent
ec9eecfc82
commit
06605365c5
|
|
@ -17,10 +17,10 @@
|
|||
|
||||
package com.alibaba.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
|
||||
@Deprecated
|
||||
public interface BaseCommand extends org.apache.dubbo.qos.command.BaseCommand {
|
||||
public interface BaseCommand extends org.apache.dubbo.qos.api.BaseCommand {
|
||||
|
||||
String execute(com.alibaba.dubbo.qos.command.CommandContext commandContext, String[] args);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
package com.alibaba.dubbo.qos.command;
|
||||
|
||||
@Deprecated
|
||||
public class CommandContext extends org.apache.dubbo.qos.command.CommandContext {
|
||||
public class CommandContext extends org.apache.dubbo.qos.api.CommandContext {
|
||||
|
||||
public CommandContext(org.apache.dubbo.qos.command.CommandContext context) {
|
||||
public CommandContext(org.apache.dubbo.qos.api.CommandContext context) {
|
||||
super(context.getCommandName(), context.getArgs(), context.isHttp());
|
||||
setRemote(context.getRemote());
|
||||
setOriginRequest(context.getOriginRequest());
|
||||
|
|
|
|||
|
|
@ -236,6 +236,13 @@
|
|||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos</artifactId>
|
||||
|
|
@ -522,6 +529,7 @@
|
|||
<include>org.apache.dubbo:dubbo-monitor-api</include>
|
||||
<include>org.apache.dubbo:dubbo-monitor-default</include>
|
||||
<include>org.apache.dubbo:dubbo-qos</include>
|
||||
<include>org.apache.dubbo:dubbo-qos-api</include>
|
||||
<include>org.apache.dubbo:dubbo-security</include>
|
||||
<include>org.apache.dubbo:dubbo-reactive</include>
|
||||
<include>org.apache.dubbo:dubbo-spring-security</include>
|
||||
|
|
@ -823,7 +831,7 @@
|
|||
<transformer
|
||||
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
||||
<resource>
|
||||
META-INF/dubbo/internal/org.apache.dubbo.qos.command.BaseCommand
|
||||
META-INF/dubbo/internal/org.apache.dubbo.qos.api.BaseCommand
|
||||
</resource>
|
||||
</transformer>
|
||||
<transformer
|
||||
|
|
|
|||
|
|
@ -304,6 +304,11 @@
|
|||
<artifactId>dubbo-security</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos</artifactId>
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@
|
|||
<transformer
|
||||
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
||||
<resource>
|
||||
META-INF/dubbo/internal/org.apache.dubbo.qos.command.BaseCommand
|
||||
META-INF/dubbo/internal/org.apache.dubbo.qos.api.BaseCommand
|
||||
</resource>
|
||||
</transformer>
|
||||
<transformer
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos</artifactId>
|
||||
<artifactId>dubbo-qos-api</artifactId>
|
||||
<version>${project.parent.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
|||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.JsonUtils;
|
||||
import org.apache.dubbo.metrics.report.MetricsReporter;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,46 @@
|
|||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-plugin</artifactId>
|
||||
<version>${revision}</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>dubbo-qos-api</artifactId>
|
||||
<name>dubbo-qos-api</name>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<skip_maven_deploy>false</skip_maven_deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-remoting-netty4</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-common</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.dubbo.qos.command;
|
||||
package org.apache.dubbo.qos.api;
|
||||
|
||||
import org.apache.dubbo.common.extension.ExtensionScope;
|
||||
import org.apache.dubbo.common.extension.SPI;
|
||||
|
|
@ -14,9 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.dubbo.qos.command.annotation;
|
||||
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
package org.apache.dubbo.qos.api;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
|
|
@ -14,9 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
package org.apache.dubbo.qos.api;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.dubbo.qos.permission;
|
||||
package org.apache.dubbo.qos.api;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
|
||||
|
|
@ -14,16 +14,15 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.dubbo.qos.common;
|
||||
package org.apache.dubbo.qos.api;
|
||||
|
||||
import org.apache.dubbo.common.utils.NetUtils;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.Arrays;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import org.apache.dubbo.common.utils.NetUtils;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
|
||||
public class QosConfiguration {
|
||||
private String welcome;
|
||||
private boolean acceptForeignIp;
|
||||
|
|
@ -70,5 +70,10 @@
|
|||
<artifactId>dubbo-serialization-fastjson2</artifactId>
|
||||
<version>${project.parent.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo-qos-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
|
||||
public class CommandContextFactory {
|
||||
public static CommandContext newInstance(String commandName) {
|
||||
return new CommandContext(commandName);
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.exception.NoSuchCommandException;
|
||||
import org.apache.dubbo.qos.command.exception.PermissionDenyException;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,13 +19,15 @@ package org.apache.dubbo.qos.command;
|
|||
import io.netty.channel.Channel;
|
||||
import org.apache.dubbo.common.logger.Logger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.command.exception.NoSuchCommandException;
|
||||
import org.apache.dubbo.qos.command.exception.PermissionDenyException;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
import org.apache.dubbo.qos.permission.DefaultAnonymousAccessPermissionChecker;
|
||||
import org.apache.dubbo.qos.permission.PermissionChecker;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import io.netty.handler.codec.http.QueryStringDecoder;
|
|||
import io.netty.handler.codec.http.multipart.Attribute;
|
||||
import io.netty.handler.codec.http.multipart.HttpPostRequestDecoder;
|
||||
import io.netty.handler.codec.http.multipart.InterfaceHttpData;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.CommandContextFactory;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.decoder;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.CommandContextFactory;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.Logger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.registry.Registry;
|
||||
import org.apache.dubbo.registry.RegistryFactory;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.Logger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.registry.Registry;
|
||||
import org.apache.dubbo.registry.RegistryFactory;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.Exporter;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol;
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
import org.apache.dubbo.remoting.telnet.support.TelnetUtils;
|
||||
import org.apache.dubbo.remoting.utils.PayloadDropper;
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.profiler.ProfilerSwitch;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.QOS_PROFILER_DISABLED;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.cluster.router.RouterSnapshotSwitcher;
|
||||
import org.apache.dubbo.rpc.model.ConsumerModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.profiler.ProfilerSwitch;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.QOS_PROFILER_DISABLED;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.profiler.ProfilerSwitch;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.QOS_PROFILER_ENABLED;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.cluster.router.RouterSnapshotSwitcher;
|
||||
import org.apache.dubbo.rpc.model.ConsumerModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.profiler.ProfilerSwitch;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.QOS_PROFILER_ENABLED;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,10 +32,10 @@ import org.apache.dubbo.config.ServiceConfigBase;
|
|||
import org.apache.dubbo.config.SslConfig;
|
||||
import org.apache.dubbo.config.context.ConfigManager;
|
||||
import org.apache.dubbo.config.context.ModuleConfigManager;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ModuleModel;
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.cluster.router.RouterSnapshotSwitcher;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.cluster.router.RouterSnapshotSwitcher;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.constants.CommonConstants;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.registry.Registry;
|
||||
import org.apache.dubbo.registry.client.migration.MigrationInvoker;
|
||||
import org.apache.dubbo.rpc.cluster.Directory;
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.command.util.CommandHelper;
|
||||
import org.apache.dubbo.qos.textui.TTable;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ import org.apache.dubbo.common.utils.CollectionUtils;
|
|||
import org.apache.dubbo.common.utils.JsonUtils;
|
||||
import org.apache.dubbo.common.utils.ReflectUtils;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.AppResponse;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.MethodDescriptor;
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.constants.CommonConstants;
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.probe.LivenessProbe;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.logger.Level;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
@Cmd(name = "loggerInfo", summary = "Print logger info", example = {
|
||||
"loggerInfo"
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.command.util.ServiceCheckUtils;
|
||||
import org.apache.dubbo.qos.textui.TTable;
|
||||
import org.apache.dubbo.rpc.model.ConsumerModel;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ProviderModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.UrlUtils;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ProviderModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.UrlUtils;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ProviderModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
@Cmd(name = "online", summary = "online app addresses", example = {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
|
||||
import org.apache.dubbo.common.utils.UrlUtils;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ProviderModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.UrlUtils;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ProviderModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.remoting.exchange.ExchangeChannel;
|
||||
import org.apache.dubbo.remoting.exchange.ExchangeServer;
|
||||
import org.apache.dubbo.rpc.ProtocolServer;
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@ import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
|||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.threadpool.manager.FrameworkExecutorRepository;
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.registry.client.metadata.ServiceInstanceMetadataUtils;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
|
||||
@Cmd(name = "quit", summary = "quit telnet console", requiredPermissionLevel = PermissionLevel.PUBLIC)
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.constants.CommonConstants;
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.probe.ReadinessProbe;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.common.utils.CollectionUtils;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ import java.util.Map;
|
|||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.dubbo.common.utils.JsonUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.command.util.SerializeCheckUtils;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ import java.util.Map;
|
|||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.dubbo.common.utils.JsonUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.command.util.SerializeCheckUtils;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.profiler.ProfilerSwitch;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.QOS_PROFILER_WARN_PERCENT;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@ package org.apache.dubbo.qos.command.impl;
|
|||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.constants.CommonConstants;
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.probe.StartupProbe;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.logger.Level;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.logger.Level;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
@Cmd(name = "switchLogger", summary = "Switch logger", example = {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
@Cmd(name = "version", summary = "version command(show dubbo version)", example = {
|
||||
"version"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.util;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.permission;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ package org.apache.dubbo.qos.permission;
|
|||
|
||||
import org.apache.dubbo.common.extension.ExtensionScope;
|
||||
import org.apache.dubbo.common.extension.SPI;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
|
||||
// qosPermissionChecker=xxx.xxx.xxxPermissionChecker
|
||||
@SPI(scope = ExtensionScope.FRAMEWORK)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import org.apache.dubbo.common.extension.Activate;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
import org.apache.dubbo.qos.pu.QosWireProtocol;
|
||||
import org.apache.dubbo.qos.server.Server;
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ package org.apache.dubbo.qos.pu;
|
|||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.extension.Activate;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.server.DubboLogo;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.qos.server.handler.QosProcessHandler;
|
||||
import org.apache.dubbo.remoting.ChannelHandler;
|
||||
import org.apache.dubbo.remoting.api.AbstractWireProtocol;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.pu;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.decoder.TelnetCommandDecoder;
|
||||
import org.apache.dubbo.remoting.api.ProtocolDetector;
|
||||
import org.apache.dubbo.remoting.buffer.ChannelBuffer;
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ package org.apache.dubbo.qos.server;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.qos.server.handler.QosProcessHandler;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import java.net.InetSocketAddress;
|
|||
import java.util.function.Predicate;
|
||||
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
|
|||
|
|
@ -18,13 +18,13 @@ package org.apache.dubbo.qos.server.handler;
|
|||
|
||||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.CommandExecutor;
|
||||
import org.apache.dubbo.qos.command.DefaultCommandExecutor;
|
||||
import org.apache.dubbo.qos.command.exception.NoSuchCommandException;
|
||||
import org.apache.dubbo.qos.command.exception.PermissionDenyException;
|
||||
import org.apache.dubbo.qos.command.decoder.HttpCommandDecoder;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import io.netty.buffer.Unpooled;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.server.handler;
|
||||
|
||||
import org.apache.dubbo.common.utils.ExecutorUtil;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@ package org.apache.dubbo.qos.server.handler;
|
|||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.CommandExecutor;
|
||||
import org.apache.dubbo.qos.command.DefaultCommandExecutor;
|
||||
import org.apache.dubbo.qos.command.exception.NoSuchCommandException;
|
||||
import org.apache.dubbo.qos.command.exception.PermissionDenyException;
|
||||
import org.apache.dubbo.qos.command.decoder.TelnetCommandDecoder;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import io.netty.channel.ChannelFutureListener;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.hamcrest.Matchers;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
|
|
@ -53,4 +54,4 @@ class CommandContextTest {
|
|||
assertFalse(context.isHttp());
|
||||
assertThat(context.getRemote(), is(channel));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@
|
|||
|
||||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.qos.command.exception.NoSuchCommandException;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@
|
|||
package org.apache.dubbo.qos.command;
|
||||
|
||||
import org.apache.dubbo.common.utils.ArrayUtils;
|
||||
import org.apache.dubbo.qos.command.annotation.Cmd;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.Cmd;
|
||||
|
||||
|
||||
@Cmd(name = "greeting", summary = "greeting message", example = {"greeting dubbo",})
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.decoder;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.Unpooled;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.decoder;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
|
@ -33,4 +33,4 @@ class TelnetCommandDecoderTest {
|
|||
assertThat(context.isHttp(), is(false));
|
||||
assertThat(context.getArgs(), arrayContaining("a", "b"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.extension.ExtensionLoader;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoService;
|
||||
import org.apache.dubbo.rpc.Invoker;
|
||||
import org.apache.dubbo.rpc.Protocol;
|
||||
|
|
@ -124,4 +124,4 @@ class ChangeTelnetTest {
|
|||
String result = change.execute(mockCommandContext, new String[]{"/"});
|
||||
assertEquals("Cancelled default service org.apache.dubbo.rpc.protocol.dubbo.support.DemoService.", result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.extension.ExtensionLoader;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.command.impl.channel.MockNettyChannel;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoService;
|
||||
import org.apache.dubbo.remoting.telnet.support.TelnetUtils;
|
||||
|
|
@ -118,4 +118,4 @@ class CountTelnetTest {
|
|||
return TelnetUtils.toTable(header, table);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.apache.dubbo.config.RegistryConfig;
|
|||
import org.apache.dubbo.config.ServiceConfig;
|
||||
import org.apache.dubbo.config.SslConfig;
|
||||
import org.apache.dubbo.metadata.MetadataService;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ModuleModel;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.config.bootstrap.DubboBootstrap;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoService;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoServiceImpl;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import org.apache.dubbo.common.utils.ClassUtils;
|
|||
import org.apache.dubbo.config.ReferenceConfig;
|
||||
import org.apache.dubbo.qos.DemoService;
|
||||
import org.apache.dubbo.qos.DemoServiceImpl;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.AsyncMethodInfo;
|
||||
import org.apache.dubbo.rpc.model.ConsumerModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import org.apache.dubbo.common.URL;
|
|||
import org.apache.dubbo.common.utils.ClassUtils;
|
||||
import org.apache.dubbo.qos.DemoService;
|
||||
import org.apache.dubbo.qos.DemoServiceImpl;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.registry.RegistryService;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ModuleServiceRepository;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import org.apache.dubbo.common.URL;
|
|||
import org.apache.dubbo.common.utils.ClassUtils;
|
||||
import org.apache.dubbo.qos.DemoService;
|
||||
import org.apache.dubbo.qos.DemoServiceImpl;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.registry.RegistryService;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
import org.apache.dubbo.rpc.model.ModuleServiceRepository;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ package org.apache.dubbo.qos.command.impl;
|
|||
|
||||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.utils.NetUtils;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoService;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
import org.apache.dubbo.remoting.exchange.ExchangeClient;
|
||||
|
|
@ -108,4 +108,4 @@ class PortTelnetTest {
|
|||
String result = port.execute(mockCommandContext, new String[]{"-l", "20880"});
|
||||
assertEquals("No such port 20880", result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
@ -74,4 +74,4 @@ class PwdTelnetTest {
|
|||
String result = pwdTelnet.execute(mockCommandContext, new String[]{"test"});
|
||||
assertEquals("Unsupported parameter [test] for pwd.", result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.common.QosConstants;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
|
@ -32,4 +32,4 @@ class QuitTest {
|
|||
String output = quit.execute(Mockito.mock(CommandContext.class), null);
|
||||
assertThat(output, equalTo(QosConstants.CLOSE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import org.apache.dubbo.common.deploy.ModuleDeployer;
|
|||
import org.apache.dubbo.common.extension.ExtensionLoader;
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.config.context.ConfigManager;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.probe.ReadinessProbe;
|
||||
import org.apache.dubbo.qos.probe.impl.DeployerReadinessProbe;
|
||||
import org.apache.dubbo.qos.probe.impl.ProviderReadinessProbe;
|
||||
|
|
@ -89,4 +89,4 @@ class ReadyTest {
|
|||
Assertions.assertEquals("false", result);
|
||||
Assertions.assertEquals(commandContext.getHttpCode(), 503);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.config.bootstrap.DubboBootstrap;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoService;
|
||||
import org.apache.dubbo.qos.legacy.service.DemoServiceImpl;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
|
|
@ -144,4 +144,4 @@ class SelectTelnetTest {
|
|||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.SerializeSecurityManager;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.common.utils.SerializeSecurityManager;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.command.impl;
|
||||
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.remoting.RemotingException;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
|
|
@ -66,4 +66,4 @@ class ShutdownTelnetTest {
|
|||
assertTrue(result.contains("Application has shutdown successfully"), result);
|
||||
assertTrue((end - start) >= sleepTime, "sleepTime: " + sleepTime + ", execTime: " + (end - start));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import org.apache.dubbo.common.deploy.ModuleDeployer;
|
|||
import org.apache.dubbo.common.extension.ExtensionLoader;
|
||||
import org.apache.dubbo.config.ApplicationConfig;
|
||||
import org.apache.dubbo.config.context.ConfigManager;
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.probe.StartupProbe;
|
||||
import org.apache.dubbo.qos.probe.impl.DeployerStartupProbe;
|
||||
import org.apache.dubbo.rpc.model.ApplicationModel;
|
||||
|
|
@ -80,4 +80,4 @@ class StartupTest {
|
|||
Assertions.assertEquals("false", result);
|
||||
Assertions.assertEquals(commandContext.getHttpCode(), 503);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,17 +16,17 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.permission;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
import org.apache.dubbo.qos.command.CommandContext;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import io.netty.channel.Channel;
|
||||
import org.apache.dubbo.qos.api.CommandContext;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
class DefaultAnonymousAccessPermissionCheckerTest {
|
||||
@Test
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ package org.apache.dubbo.qos.protocol;
|
|||
|
||||
import org.apache.dubbo.common.URL;
|
||||
import org.apache.dubbo.common.constants.CommonConstants;
|
||||
import org.apache.dubbo.qos.command.BaseCommand;
|
||||
import org.apache.dubbo.qos.api.BaseCommand;
|
||||
import org.apache.dubbo.qos.server.Server;
|
||||
import org.apache.dubbo.rpc.Invoker;
|
||||
import org.apache.dubbo.rpc.Protocol;
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ import io.netty.channel.ChannelFuture;
|
|||
import io.netty.channel.ChannelFutureListener;
|
||||
import io.netty.channel.ChannelHandlerContext;
|
||||
import org.apache.dubbo.common.utils.StringUtils;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.ArgumentCaptor;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
*/
|
||||
package org.apache.dubbo.qos.server.handler;
|
||||
|
||||
import org.apache.dubbo.qos.common.QosConfiguration;
|
||||
import org.apache.dubbo.qos.permission.PermissionLevel;
|
||||
import org.apache.dubbo.qos.api.QosConfiguration;
|
||||
import org.apache.dubbo.qos.api.PermissionLevel;
|
||||
import org.apache.dubbo.rpc.model.FrameworkModel;
|
||||
|
||||
import io.netty.channel.ChannelFuture;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue