- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for replaceValueInMatch (0.15 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceValueInMatch.java
*/ public class ReplaceValueInMatch extends ReplaceByKey { public ReplaceValueInMatch(String replaceKey, JsonNode replacementNode) { this(replaceKey, replacementNode, null); } public ReplaceValueInMatch(String replaceKey, JsonNode replacementNode, String testName) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java
* @param value the value used in the replacement. For example "bar" */ public void replaceValueInMatch(String subKey, Object value) { transformations.add(new ReplaceValueInMatch(subKey, MAPPER.convertValue(value, JsonNode.class))); } /**
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 22.3K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
tasks.named("yamlRestTestV${compatibleVersion}CompatTransform").configure({ task -> task.skipTest("test/test/two", "This is a test to skip test two") task.replaceValueInMatch("_type", "_doc") task.replaceValueInMatch("_source.values", ["z", "x", "y"], "one") task.removeMatch("_source.blah") task.removeMatch("_source.junk", "two")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0)