This is an automated email from the ASF dual-hosted git repository. guoshoujing pushed a commit to branch rename-pkg in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git
commit 349a6a8096fd1db164ce0e6e817c9a98afe91cc7 Author: 枫川 <[email protected]> AuthorDate: Mon Oct 24 19:16:52 2022 +0800 rename package --- .../org/apache/hugegraph/computer/core/graph/value/ListValue.java | 3 ++- .../apache/hugegraph/computer/k8s/operator/OperatorEntrypoint.java | 2 +- computer-k8s-operator/src/main/resources/log4j2.xml | 2 +- computer-test/conf/log4j2-test.xml | 2 +- .../org/apache/hugegraph/computer/algorithm/AlgorithmTestSuite.java | 4 ++-- .../java/org/apache/hugegraph/computer/driver/DriverTestSuite.java | 2 +- .../apache/hugegraph/computer/suite/integrate/IntegrateTestSuite.java | 4 ++-- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/computer-api/src/main/java/org/apache/hugegraph/computer/core/graph/value/ListValue.java b/computer-api/src/main/java/org/apache/hugegraph/computer/core/graph/value/ListValue.java index ed2f1d64..9fe716ad 100644 --- a/computer-api/src/main/java/org/apache/hugegraph/computer/core/graph/value/ListValue.java +++ b/computer-api/src/main/java/org/apache/hugegraph/computer/core/graph/value/ListValue.java @@ -37,7 +37,8 @@ import org.apache.hugegraph.computer.core.io.RandomAccessInput; import org.apache.hugegraph.computer.core.io.RandomAccessOutput; import com.baidu.hugegraph.util.E; -public class ListValue<T extends Value.Tvalue<?>> implements Value.Tvalue<List<Object>> { +public class ListValue<T extends Value.Tvalue<?>> + implements Value.Tvalue<List<Object>> { private final GraphFactory graphFactory; private ValueType elemType; diff --git a/computer-k8s-operator/src/main/java/org/apache/hugegraph/computer/k8s/operator/OperatorEntrypoint.java b/computer-k8s-operator/src/main/java/org/apache/hugegraph/computer/k8s/operator/OperatorEntrypoint.java index 8f766e9a..95b3ebd9 100644 --- a/computer-k8s-operator/src/main/java/org/apache/hugegraph/computer/k8s/operator/OperatorEntrypoint.java +++ b/computer-k8s-operator/src/main/java/org/apache/hugegraph/computer/k8s/operator/OperatorEntrypoint.java @@ -83,7 +83,7 @@ public class OperatorEntrypoint { static { OptionSpace.register( "computer-k8s-operator", - "com.baidu.hugegraph.computer.k8s.operator.config.OperatorOptions" + "org.apache.hugegraph.computer.k8s.operator.config.OperatorOptions" ); } diff --git a/computer-k8s-operator/src/main/resources/log4j2.xml b/computer-k8s-operator/src/main/resources/log4j2.xml index e4d760c4..faa6fe4d 100644 --- a/computer-k8s-operator/src/main/resources/log4j2.xml +++ b/computer-k8s-operator/src/main/resources/log4j2.xml @@ -25,7 +25,7 @@ <appender-ref ref="console"/> <appender-ref ref="file"/> </root> - <Logger name="com.baidu.hugegraph" level="${env:LOG_LEVEL:-INFO}" additivity="false"> + <Logger name="org.apache.hugegraph" level="${env:LOG_LEVEL:-INFO}" additivity="false"> <appender-ref ref="console"/> <appender-ref ref="file"/> </Logger> diff --git a/computer-test/conf/log4j2-test.xml b/computer-test/conf/log4j2-test.xml index d100684b..91ca6abc 100644 --- a/computer-test/conf/log4j2-test.xml +++ b/computer-test/conf/log4j2-test.xml @@ -18,7 +18,7 @@ <appender-ref ref="console"/> <appender-ref ref="file"/> </root> - <logger name="com.baidu.hugegraph" level="INFO" additivity="false"> + <logger name="org.apache.hugegraph" level="INFO" additivity="false"> <appender-ref ref="console"/> <appender-ref ref="file"/> </logger> diff --git a/computer-test/src/main/java/org/apache/hugegraph/computer/algorithm/AlgorithmTestSuite.java b/computer-test/src/main/java/org/apache/hugegraph/computer/algorithm/AlgorithmTestSuite.java index af4a1de8..fad521ec 100644 --- a/computer-test/src/main/java/org/apache/hugegraph/computer/algorithm/AlgorithmTestSuite.java +++ b/computer-test/src/main/java/org/apache/hugegraph/computer/algorithm/AlgorithmTestSuite.java @@ -54,9 +54,9 @@ public class AlgorithmTestSuite { public static void setup() throws ClassNotFoundException { // Don't forget to register options OptionSpace.register("computer", - "com.baidu.hugegraph.computer.core.config." + + "org.apache.hugegraph.computer.core.config." + "ComputerOptions"); OptionSpace.register("computer-rpc", - "com.baidu.hugegraph.config.RpcOptions"); + "org.apache.hugegraph.config.RpcOptions"); } } diff --git a/computer-test/src/main/java/org/apache/hugegraph/computer/driver/DriverTestSuite.java b/computer-test/src/main/java/org/apache/hugegraph/computer/driver/DriverTestSuite.java index 4c798f7a..fd020770 100644 --- a/computer-test/src/main/java/org/apache/hugegraph/computer/driver/DriverTestSuite.java +++ b/computer-test/src/main/java/org/apache/hugegraph/computer/driver/DriverTestSuite.java @@ -35,7 +35,7 @@ public class DriverTestSuite { @BeforeClass public static void setup() { OptionSpace.register("computer-driver", - "com.baidu.hugegraph.computer.driver.config" + + "org.apache.hugegraph.computer.driver.config" + ".ComputerOptions"); } } diff --git a/computer-test/src/main/java/org/apache/hugegraph/computer/suite/integrate/IntegrateTestSuite.java b/computer-test/src/main/java/org/apache/hugegraph/computer/suite/integrate/IntegrateTestSuite.java index dcaa9135..bc9b2984 100644 --- a/computer-test/src/main/java/org/apache/hugegraph/computer/suite/integrate/IntegrateTestSuite.java +++ b/computer-test/src/main/java/org/apache/hugegraph/computer/suite/integrate/IntegrateTestSuite.java @@ -43,10 +43,10 @@ public class IntegrateTestSuite { // Don't forget to register options OptionSpace.register("computer", - "com.baidu.hugegraph.computer.core.config." + + "org.apache.hugegraph.computer.core.config." + "ComputerOptions"); OptionSpace.register("computer-rpc", - "com.baidu.hugegraph.config.RpcOptions"); + "org.apache.hugegraph.config.RpcOptions"); Whitebox.setInternalState(ComputerOptions.BSP_ETCD_ENDPOINTS, "defaultValue", "http://localhost:2579");
