-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand target support to OpenSearch v1.3 (#1074)
* Expand target support to OpenSearch v1.3 - Updated the java end to end test cases to read from the same list for target platforms. - Update ParallelDocumentMigrationsTest to verify behavior on all supported target cluster types Signed-off-by: Peter Nied <peternied@hotmail.com> Signed-off-by: Peter Nied <petern@amazon.com>
- Loading branch information
Showing
7 changed files
with
81 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...hotMigration/src/test/java/org/opensearch/migrations/bulkload/SupportedTargetCluster.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
RFS/src/testFixtures/java/org/opensearch/migrations/bulkload/SupportedClusters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.opensearch.migrations.bulkload; | ||
|
||
import java.util.List; | ||
|
||
import org.opensearch.migrations.bulkload.framework.SearchClusterContainer; | ||
import org.opensearch.migrations.bulkload.framework.SearchClusterContainer.ContainerVersion; | ||
|
||
import lombok.experimental.UtilityClass; | ||
|
||
/** | ||
* Defines all supported clusters | ||
*/ | ||
@UtilityClass | ||
public class SupportedClusters { | ||
|
||
public static List<ContainerVersion> sources() { | ||
return List.of( | ||
SearchClusterContainer.ES_V6_8_23, | ||
SearchClusterContainer.ES_V7_10_2, | ||
SearchClusterContainer.ES_V7_17, | ||
SearchClusterContainer.OS_V1_3_16 | ||
); | ||
} | ||
|
||
public static List<ContainerVersion> targets() { | ||
return List.of( | ||
SearchClusterContainer.OS_V1_3_16, | ||
SearchClusterContainer.OS_V2_14_0 | ||
); | ||
} | ||
} |