Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize: server compatible io.seata package #6310

Merged
merged 33 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c26015a
optimize: change the groupId to org.apache.seata
funky-eyes Jan 23, 2024
d348013
init
funky-eyes Jan 23, 2024
eab9d43
bugfix
funky-eyes Jan 23, 2024
bf98561
Merge branch '2.x' of github.com:seata/seata into 0123-2
funky-eyes Jan 24, 2024
d9a4b38
change seata-server package to org.apache.seata
funky-eyes Jan 24, 2024
83e3db7
change seata-server package to org.apache.seata
funky-eyes Jan 24, 2024
9aab346
optimize: repackage name to org.apache.seata
slievrly Jan 24, 2024
28b8538
revert some files
slievrly Jan 24, 2024
0624efa
fix test
slievrly Jan 24, 2024
c0508fd
fix import
slievrly Jan 24, 2024
c6e043d
fix version not found
slievrly Jan 25, 2024
6ddc1a5
fix style
slievrly Jan 25, 2024
82a9d49
update
funky-eyes Jan 25, 2024
e684d6a
fix import
slievrly Jan 25, 2024
243784c
fix import
slievrly Jan 25, 2024
5cdb1b4
fix import
slievrly Jan 25, 2024
d71d801
fix import
slievrly Jan 25, 2024
24a8d92
fix style suppressions
slievrly Jan 25, 2024
0907a79
fix license checker
slievrly Jan 25, 2024
cb5b5f3
optimize import
slievrly Jan 25, 2024
7a0cc91
add change
slievrly Jan 25, 2024
2a0b904
update
funky-eyes Jan 25, 2024
aabed18
update
funky-eyes Jan 25, 2024
890ea12
update
funky-eyes Jan 25, 2024
1aad5c5
update
funky-eyes Jan 25, 2024
c7f7571
Merge branch '2.x' of github.com:seata/seata into 0123-2
funky-eyes Jan 25, 2024
fa692ba
Update changes/zh-cn/2.x.md
funky-eyes Jan 25, 2024
d8a22cf
Update changes/en-us/2.x.md
funky-eyes Jan 25, 2024
1e48e90
Merge branch '2.x' of github.com:seata/seata into 0123-2
funky-eyes Jan 25, 2024
3ad3a48
Merge remote-tracking branch 'origin/0123-2' into 0123-2
funky-eyes Jan 25, 2024
58c57f0
update
funky-eyes Jan 25, 2024
377272f
update
funky-eyes Jan 25, 2024
bfcb186
Merge branch '2.x' into 0123-2
funky-eyes Jan 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions changes/en-us/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6294](https://github.com/apache/incubator-seata/pull/6294)] split the frontend resource build process into separate profiles
- [[#6297](https://github.com/apache/incubator-seata/pull/6297)] fix problem of `maven-pmd-plugin`
- [[#6298](https://github.com/apache/incubator-seata/pull/6298)] repackage name to org.apache.seata
<<<<<<< HEAD
=======
- [[#6304](https://github.com/apache/incubator-seata/pull/6304)] disable Publish OSSRH workflow
>>>>>>> 5412202ee622104c925b5e26c35193062e7f09a7
funky-eyes marked this conversation as resolved.
Show resolved Hide resolved

### security:
- [[#6069](https://github.com/apache/incubator-seata/pull/6069)] Upgrade Guava dependencies to fix security vulnerabilities
Expand Down
3 changes: 3 additions & 0 deletions changes/zh-cn/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
- [[#6294](https://github.com/apache/incubator-seata/pull/6294)] 拆分前端资源打包流程到单独的profile
- [[#6297](https://github.com/apache/incubator-seata/pull/6297)] 修复 `maven-pmd-plugin` 相关的问题
- [[#6298](https://github.com/apache/incubator-seata/pull/6298)] 重命名包名为 org.apache.seata
<<<<<<< HEAD
=======
- [[#6304](https://github.com/apache/incubator-seata/pull/6304)] 禁用 OSSRH 发布工作流
>>>>>>> 5412202ee622104c925b5e26c35193062e7f09a7
funky-eyes marked this conversation as resolved.
Show resolved Hide resolved

### security:
- [[#6069](https://github.com/apache/incubator-seata/pull/6069)] 升级Guava依赖版本,修复安全漏洞
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import java.time.Duration;

/**
*/
public interface DefaultValues {
int DEFAULT_CLIENT_LOCK_RETRY_INTERVAL = 10;
int DEFAULT_TM_DEGRADE_CHECK_ALLOW_TIMES = 10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.exception;

/**
*/

public class JsonParseException extends RuntimeException {

public JsonParseException(String message) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.metadata;

/**
*/

public enum ClusterRole {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
import org.apache.seata.common.store.StoreMode;
import org.apache.seata.common.util.StringUtils;

/**
*/

public class Metadata {

private final Map<String/*vgroup*/, Map<String/*raft-group*/, Node>> leaders = new ConcurrentHashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

import java.util.List;

/**
*/

public class MetadataResponse {

List<Node> nodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import java.util.HashMap;
import java.util.Map;

/**
*/

public class Node {

Map<String, Object> metadata = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
import java.util.Base64;
import javax.crypto.Cipher;

/**
*/

public class ConfigTools {

// generate key pair
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
import java.time.format.DateTimeParseException;
import java.util.regex.Pattern;

/**
*/

public class DurationUtil {

public static final Duration DEFAULT_DURATION = Duration.ofMillis(-1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
*/

public class HttpClientUtil {

private static final Logger LOGGER = LoggerFactory.getLogger(HttpClientUtil.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.util;

/**
*/

public class IOUtil {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import java.util.Random;
import java.util.concurrent.atomic.AtomicLong;

/**
*/

public class IdWorker {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.util;

/**
*/

public class SizeUtil {
private static final long RADIX = 1024;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.util;

/**
*/

public class StringFormatUtils {
private static final char MINUS = '-';
private static final char UNDERLINE = '_';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class AuthenticationFailedExceptionTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class JsonParseExceptionTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class RedisExceptionTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class RetryableExceptionTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

/**
*/

public class ObjectHolderTest {

@BeforeEach
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class FileLoaderTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class ExtensionDefinitionTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package org.apache.seata.common.loader;

/**
*/

public interface Hello2 {
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
*/
package org.apache.seata.common.loader;

/**
*/

@LoadLevel(name = "JapaneseHello", order = Integer.MAX_VALUE)
public class JapaneseHello implements Hello2{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class ClusterRoleTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
import java.util.ArrayList;
import java.util.List;

/**
*/

public class MetadataTest {

private static Metadata metadata;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

import java.util.HashMap;

/**
*/

public class NodeTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

import org.junit.jupiter.api.Test;

/**
*/

public class NamedThreadFactoryTest {
private static final int THREAD_TOTAL_SIZE = 3;
private static final int DEFAULT_THREAD_PREFIX_COUNTER = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class ArrayUtilsTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

import java.nio.ByteBuffer;

/**
*/

public class BufferUtilsTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class ConfigToolsTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class CycleDependencyHandlerTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class DateUtilTest {
@Test
public void testGetCurrentDate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import java.io.IOException;
import java.util.HashMap;

/**
*/

public class HttpClientUtilTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class IOUtilTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

/**
*/

public class LowerCaseLinkHashMapTest {

private static final Map<String, Object> lowerCaseLinkHashMap = new LowerCaseLinkHashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class MapUtilTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
*/

public class NumberUtilsTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import org.apache.seata.common.loader.LoadLevel;
import org.apache.seata.core.compressor.Compressor;

/**
*/

@LoadLevel(name = "DEFLATER")
public class DeflaterCompressor implements Compressor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import java.util.zip.Deflater;
import java.util.zip.Inflater;

/**
*/

public class DeflaterUtil {

private DeflaterUtil() {
Expand Down
Loading
Loading