Skip to content

Commit

Permalink
Move package of YamlRuleRepositoryTupleSwapperEngineTest (apache#34811)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Feb 27, 2025
1 parent 427cdad commit 65301ff
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@
* limitations under the License.
*/

package org.apache.shardingsphere.mode.node.rule;
package org.apache.shardingsphere.mode.node.rule.tuple;

import org.apache.shardingsphere.infra.yaml.config.pojo.rule.YamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.RuleRepositoryTuple;
import org.apache.shardingsphere.mode.node.rule.tuple.YamlRuleRepositoryTupleSwapperEngine;
import org.apache.shardingsphere.mode.node.rule.fixture.leaf.GlobalLeafYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.fixture.leaf.LeafYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.fixture.node.NodeYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.fixture.node.NodeYamlRuleConfigurationEnum;
import org.apache.shardingsphere.mode.node.rule.fixture.none.NoneYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf.GlobalLeafYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf.LeafYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.node.NodeYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.node.NodeYamlRuleConfigurationEnum;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.none.NoneYamlRuleConfiguration;
import org.junit.jupiter.api.Test;

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

package org.apache.shardingsphere.mode.node.rule.fixture.leaf;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf;

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

package org.apache.shardingsphere.mode.node.rule.fixture.leaf;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf;

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

package org.apache.shardingsphere.mode.node.rule.fixture.leaf;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf;

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

package org.apache.shardingsphere.mode.node.rule.fixture.leaf;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf;

import org.apache.shardingsphere.infra.yaml.config.swapper.rule.YamlRuleConfigurationSwapper;

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

package org.apache.shardingsphere.mode.node.rule.fixture.node;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.node;

import lombok.Getter;
import lombok.Setter;
Expand All @@ -25,7 +25,7 @@
import org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleRepositoryTupleField;
import org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleRepositoryTupleField.Type;
import org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleRepositoryTupleKeyListNameGenerator;
import org.apache.shardingsphere.mode.node.rule.fixture.leaf.LeafYamlRuleConfiguration;
import org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf.LeafYamlRuleConfiguration;

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

package org.apache.shardingsphere.mode.node.rule.fixture.node;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.node;

public enum NodeYamlRuleConfigurationEnum {

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

package org.apache.shardingsphere.mode.node.rule.fixture.node;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.node;

import org.apache.shardingsphere.mode.node.rule.tuple.annotation.RuleRepositoryTupleKeyListNameGenerator;

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

package org.apache.shardingsphere.mode.node.rule.fixture.none;
package org.apache.shardingsphere.mode.node.rule.tuple.fixture.none;

import org.apache.shardingsphere.infra.config.rule.RuleConfiguration;
import org.apache.shardingsphere.infra.yaml.config.pojo.rule.YamlRuleConfiguration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# limitations under the License.
#

org.apache.shardingsphere.mode.node.rule.fixture.leaf.LeafYamlRuleConfigurationSwapper
org.apache.shardingsphere.mode.node.rule.tuple.fixture.leaf.LeafYamlRuleConfigurationSwapper

0 comments on commit 65301ff

Please sign in to comment.