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.
Add metadata transformations with metadata tuples
Signed-off-by: Andre Kurait <[email protected]>
- Loading branch information
1 parent
892990a
commit 488c664
Showing
25 changed files
with
524 additions
and
113 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
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
13 changes: 13 additions & 0 deletions
13
RFS/src/main/java/org/opensearch/migrations/bulkload/models/ComponentTemplate.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,13 @@ | ||
package org.opensearch.migrations.bulkload.models; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AccessLevel; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE) // For Jackson | ||
public class ComponentTemplate extends MigrationItem { | ||
public static final String TYPE = "component_template"; | ||
public ComponentTemplate(final String name, final ObjectNode body) { | ||
super(TYPE, name, body); | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
RFS/src/main/java/org/opensearch/migrations/bulkload/models/Index.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,13 @@ | ||
package org.opensearch.migrations.bulkload.models; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AccessLevel; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE) // For Jackson | ||
public class Index extends MigrationItem { | ||
public final static String TYPE = "index"; | ||
public Index(String name, ObjectNode body) { | ||
super(TYPE, name, body); | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
RFS/src/main/java/org/opensearch/migrations/bulkload/models/IndexTemplate.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,13 @@ | ||
package org.opensearch.migrations.bulkload.models; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AccessLevel; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE) // For Jackson | ||
public class IndexTemplate extends MigrationItem { | ||
public static final String TYPE = "index_template"; | ||
public IndexTemplate(final String name, final ObjectNode body) { | ||
super(TYPE, name, body); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
RFS/src/main/java/org/opensearch/migrations/bulkload/models/LegacyTemplate.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,13 @@ | ||
package org.opensearch.migrations.bulkload.models; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AccessLevel; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE) // For Jackson | ||
public class LegacyTemplate extends MigrationItem { | ||
public final static String TYPE = "template"; | ||
public LegacyTemplate(final String name, final ObjectNode body) { | ||
super(TYPE, name, body); | ||
} | ||
} |
Oops, something went wrong.