Skip to content

Commit

Permalink
Refactor package name
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Dec 12, 2017
1 parent 05461a4 commit 55a68a3
Show file tree
Hide file tree
Showing 38 changed files with 132 additions and 109 deletions.
27 changes: 10 additions & 17 deletions dubbo-demo/dubbo-demo-consumer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,6 @@
<artifactId>dubbo</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo-qos</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
Expand All @@ -76,5 +59,15 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.35.Final</version>
</dependency>
</dependencies>
</project>
27 changes: 10 additions & 17 deletions dubbo-demo/dubbo-demo-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,6 @@
<artifactId>dubbo</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo-qos</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</dependency>
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
Expand All @@ -76,5 +59,15 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.35.Final</version>
</dependency>
</dependencies>
</project>
6 changes: 6 additions & 0 deletions dubbo-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@
<version>1.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
1 change: 0 additions & 1 deletion dubbo-plugin/dubbo-qos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.35.Final</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

import com.alibaba.dubbo.common.extension.SPI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

import io.netty.channel.Channel;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.alibaba.qos.command.CommandImpl;
package com.alibaba.dubbo.qos.command.CommandImpl;

import com.alibaba.qos.command.BaseCommand;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.annotation.Cmd;
import com.alibaba.qos.command.util.CommandHelper;
import com.alibaba.qos.textui.TTable;
import com.alibaba.dubbo.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.annotation.Cmd;
import com.alibaba.dubbo.qos.command.util.CommandHelper;
import com.alibaba.dubbo.qos.textui.TTable;

import java.util.Collections;
import java.util.Comparator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.alibaba.qos.command.CommandImpl;
package com.alibaba.dubbo.qos.command.CommandImpl;

import com.alibaba.dubbo.config.model.ApplicationModel;
import com.alibaba.dubbo.config.model.ConsumerModel;
import com.alibaba.dubbo.config.model.ProviderModel;
import com.alibaba.dubbo.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.annotation.Cmd;
import com.alibaba.dubbo.qos.textui.TTable;
import com.alibaba.dubbo.registry.support.ConsumerInvokerWrapper;
import com.alibaba.dubbo.registry.support.ProviderConsumerRegTable;
import com.alibaba.dubbo.registry.support.ProviderInvokerWrapper;
import com.alibaba.qos.command.BaseCommand;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.annotation.Cmd;
import com.alibaba.qos.textui.TTable;

import java.util.Collection;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package com.alibaba.qos.command.CommandImpl;
package com.alibaba.dubbo.qos.command.CommandImpl;

import com.alibaba.dubbo.common.extension.ExtensionLoader;
import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.dubbo.config.model.ApplicationModel;
import com.alibaba.dubbo.config.model.ProviderModel;
import com.alibaba.dubbo.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.annotation.Cmd;
import com.alibaba.dubbo.registry.Registry;
import com.alibaba.dubbo.registry.RegistryFactory;
import com.alibaba.dubbo.registry.support.ProviderConsumerRegTable;
import com.alibaba.dubbo.registry.support.ProviderInvokerWrapper;
import com.alibaba.qos.command.BaseCommand;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.annotation.Cmd;

import java.util.List;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package com.alibaba.qos.command.CommandImpl;
package com.alibaba.dubbo.qos.command.CommandImpl;

import com.alibaba.dubbo.common.extension.ExtensionLoader;
import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.dubbo.config.model.ApplicationModel;
import com.alibaba.dubbo.config.model.ProviderModel;
import com.alibaba.dubbo.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.annotation.Cmd;
import com.alibaba.dubbo.registry.Registry;
import com.alibaba.dubbo.registry.RegistryFactory;
import com.alibaba.dubbo.registry.support.ProviderInvokerWrapper;
import com.alibaba.dubbo.registry.support.ProviderConsumerRegTable;
import com.alibaba.qos.command.BaseCommand;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.annotation.Cmd;
import com.alibaba.dubbo.registry.support.ProviderInvokerWrapper;

import java.util.List;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.alibaba.qos.command.CommandImpl;
package com.alibaba.dubbo.qos.command.CommandImpl;

import com.alibaba.qos.command.BaseCommand;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.annotation.Cmd;
import com.alibaba.qos.common.Constants;
import com.alibaba.dubbo.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.annotation.Cmd;
import com.alibaba.dubbo.qos.common.Constants;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

import com.alibaba.dubbo.common.extension.ExtensionLoader;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command;
package com.alibaba.dubbo.qos.command;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.command.annotation;
package com.alibaba.dubbo.qos.command.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.alibaba.qos.command.decoder;
package com.alibaba.dubbo.qos.command.decoder;

import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.CommandContextFactory;

import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.CommandContextFactory;
import io.netty.handler.codec.http.HttpMethod;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.QueryStringDecoder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.alibaba.qos.command.decoder;
package com.alibaba.dubbo.qos.command.decoder;

import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.CommandContextFactory;

import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.CommandContextFactory;
import org.apache.commons.lang3.StringUtils;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.alibaba.qos.command.util;
package com.alibaba.dubbo.qos.command.util;

import com.alibaba.dubbo.common.extension.ExtensionLoader;
import com.alibaba.qos.command.BaseCommand;
import com.alibaba.dubbo.qos.command.BaseCommand;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.common;
package com.alibaba.dubbo.qos.common;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.server;
package com.alibaba.dubbo.qos.server;

/**
* @author qinliujie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package com.alibaba.qos.server;
package com.alibaba.dubbo.qos.server;

import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.dubbo.common.utils.ConfigUtils;
import com.alibaba.qos.common.Constants;
import com.alibaba.qos.server.handler.QosProcessHandler;
import com.alibaba.dubbo.qos.common.Constants;
import com.alibaba.dubbo.qos.server.handler.QosProcessHandler;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package com.alibaba.qos.server.handler;
package com.alibaba.dubbo.qos.server.handler;

import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.CommandExecutor;
import com.alibaba.qos.command.DefaultCommandExecutor;
import com.alibaba.qos.command.NoSuchCommandException;
import com.alibaba.qos.command.decoder.HttpCommandDecoder;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.CommandExecutor;
import com.alibaba.dubbo.qos.command.DefaultCommandExecutor;
import com.alibaba.dubbo.qos.command.NoSuchCommandException;
import com.alibaba.dubbo.qos.command.decoder.HttpCommandDecoder;

import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
*
*/
package com.alibaba.qos.server.handler;
package com.alibaba.dubbo.qos.server.handler;


import com.alibaba.dubbo.common.utils.ConfigUtils;
import com.alibaba.qos.common.Constants;
import com.alibaba.dubbo.qos.common.Constants;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFutureListener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.server.handler;
package com.alibaba.dubbo.qos.server.handler;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.alibaba.qos.server.handler;
package com.alibaba.dubbo.qos.server.handler;


import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.alibaba.qos.command.CommandContext;
import com.alibaba.qos.command.CommandExecutor;
import com.alibaba.qos.command.DefaultCommandExecutor;
import com.alibaba.qos.command.NoSuchCommandException;
import com.alibaba.qos.command.decoder.TelnetCommandDecoder;
import com.alibaba.qos.common.Constants;
import com.alibaba.dubbo.qos.command.CommandContext;
import com.alibaba.dubbo.qos.command.CommandExecutor;
import com.alibaba.dubbo.qos.command.DefaultCommandExecutor;
import com.alibaba.dubbo.qos.command.NoSuchCommandException;
import com.alibaba.dubbo.qos.command.decoder.TelnetCommandDecoder;
import com.alibaba.dubbo.qos.common.Constants;

import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.textui;
package com.alibaba.dubbo.qos.textui;

/**
* 命令行控件<br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.textui;
package com.alibaba.dubbo.qos.textui;

import org.apache.commons.lang3.StringUtils;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.textui;
package com.alibaba.dubbo.qos.textui;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.textui;
package com.alibaba.dubbo.qos.textui;

import org.apache.commons.lang3.StringUtils;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.qos.textui;
package com.alibaba.dubbo.qos.textui;

import org.apache.commons.lang3.StringUtils;

Expand Down
Loading

0 comments on commit 55a68a3

Please sign in to comment.