forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Nied <[email protected]>
- Loading branch information
Showing
27 changed files
with
141 additions
and
429 deletions.
There are no files selected for viewing
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
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
3 changes: 2 additions & 1 deletion
3
RFS/src/main/java/com/rfs/version_es_7_10/GlobalMetadataData_ES_7_10.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
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
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
29 changes: 24 additions & 5 deletions
29
coreUtilities/src/main/java/org/opensearch/migrations/transformation/CanApplyResult.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 |
---|---|---|
@@ -1,7 +1,26 @@ | ||
package org.opensearch.migrations.transformation; | ||
|
||
public enum CanApplyResult { | ||
YES, | ||
NO, | ||
UNSUPPORTED; | ||
} | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
/** | ||
* The result after checking if a transformer can be applied to an entity | ||
*/ | ||
public abstract class CanApplyResult { | ||
public final static CanApplyResult YES = new Yes(); | ||
public final static CanApplyResult NO = new No(); | ||
|
||
|
||
public static final class Yes extends CanApplyResult { | ||
} | ||
|
||
public static final class No extends CanApplyResult { | ||
} | ||
|
||
/** If the transformation should apply but there is an issue that would prevent it from being applied corrrectly, return a reason */ | ||
@RequiredArgsConstructor | ||
@Getter | ||
public static final class Unsupported extends CanApplyResult { | ||
private final String reason; | ||
} | ||
} |
7 changes: 0 additions & 7 deletions
7
...Utilities/src/main/java/org/opensearch/migrations/transformation/TransformationGroup.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
58 changes: 0 additions & 58 deletions
58
coreUtilities/src/main/java/org/opensearch/migrations/transformation/Version.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
coreUtilities/src/main/java/org/opensearch/migrations/transformation/VersionRange.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
coreUtilities/src/main/java/org/opensearch/migrations/transformation/entity/Cluster.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
coreUtilities/src/main/java/org/opensearch/migrations/transformation/entity/Doc.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.