Skip to content

Commit

Permalink
Merge pull request #286 from keranbingaa/develop
Browse files Browse the repository at this point in the history
[ISSUE#277]refactor:refactor 'eventmesh-common' package name to org.apache
close #277
  • Loading branch information
xwm1992 authored Apr 21, 2021
2 parents b8a5e80 + 8e12c9c commit 92cf430
Show file tree
Hide file tree
Showing 75 changed files with 208 additions and 210 deletions.
2 changes: 1 addition & 1 deletion eventmesh-common/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#

group=com.webank.eventmesh
group=org.apache.eventmesh
version=1.2.0-SNAPSHOT
defibus_version=1.0.1
jdk=1.7
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

public class Constants {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

public class EventMeshException extends Exception {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

import io.netty.channel.Channel;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

import org.apache.commons.lang3.time.DateFormatUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Executors;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common;
package org.apache.eventmesh.common;

import java.util.concurrent.ThreadLocalRandom;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.command;
package org.apache.eventmesh.common.command;

import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.BaseResponseBody;
import com.webank.eventmesh.common.protocol.http.body.Body;
import com.webank.eventmesh.common.protocol.http.header.BaseResponseHeader;
import com.webank.eventmesh.common.protocol.http.header.Header;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.BaseResponseBody;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.header.BaseResponseHeader;
import org.apache.eventmesh.common.protocol.http.header.Header;
import com.alibaba.fastjson.JSON;
import io.netty.buffer.Unpooled;
import io.netty.handler.codec.http.DefaultFullHttpResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.config;
package org.apache.eventmesh.common.config;

import com.google.common.base.Preconditions;
import org.apache.commons.lang3.StringUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.config;
package org.apache.eventmesh.common.config;

import com.webank.eventmesh.common.ThreadPoolFactory;
import org.apache.eventmesh.common.ThreadPoolFactory;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body;
package org.apache.eventmesh.common.protocol.http.body;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body;
package org.apache.eventmesh.common.protocol.http.body;


import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body;
package org.apache.eventmesh.common.protocol.http.body;


import com.webank.eventmesh.common.protocol.http.body.client.*;
import com.webank.eventmesh.common.protocol.http.common.RequestCode;
import com.webank.eventmesh.common.protocol.http.body.message.PushMessageRequestBody;
import com.webank.eventmesh.common.protocol.http.body.message.ReplyMessageRequestBody;
import com.webank.eventmesh.common.protocol.http.body.message.SendMessageBatchRequestBody;
import com.webank.eventmesh.common.protocol.http.body.message.SendMessageBatchV2RequestBody;
import com.webank.eventmesh.common.protocol.http.body.message.SendMessageRequestBody;
import org.apache.eventmesh.common.protocol.http.body.client.*;
import org.apache.eventmesh.common.protocol.http.common.RequestCode;
import org.apache.eventmesh.common.protocol.http.body.message.PushMessageRequestBody;
import org.apache.eventmesh.common.protocol.http.body.message.ReplyMessageRequestBody;
import org.apache.eventmesh.common.protocol.http.body.message.SendMessageBatchRequestBody;
import org.apache.eventmesh.common.protocol.http.body.message.SendMessageBatchV2RequestBody;
import org.apache.eventmesh.common.protocol.http.body.message.SendMessageRequestBody;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.collections4.MapUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.collections4.MapUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.client;
package org.apache.eventmesh.common.protocol.http.body.client;

import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.apache.commons.collections4.MapUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.Constants;
import com.webank.eventmesh.common.protocol.http.body.Body;
import com.webank.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package com.webank.eventmesh.common.protocol.http.body.message;
package org.apache.eventmesh.common.protocol.http.body.message;

import com.webank.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.commons.collections4.MapUtils;

import java.util.HashMap;
Expand Down
Loading

0 comments on commit 92cf430

Please sign in to comment.