- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 21 for ObjectNode (0.51 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/InjectAllowedWarnings.java
this.isRegex = isRegex; this.allowedWarnings = allowedWarnings; this.testName = testName; } @Override public void transformTest(ObjectNode doNodeParent) { ObjectNode doNodeValue = (ObjectNode) doNodeParent.get(getKeyToFind()); ArrayNode arrayWarnings = (ArrayNode) doNodeValue.get(getSkipFeatureName()); if (arrayWarnings == null) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 15 08:50:42 GMT 2021 - 3.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java
public RemoveWarnings(Set<String> warnings, String testName) { this.warnings = warnings; this.testName = testName; } @Override public void transformTest(ObjectNode doNodeParent) { ObjectNode doNodeValue = (ObjectNode) doNodeParent.get(getKeyToFind()); ArrayNode arrayWarnings = (ArrayNode) doNodeValue.get("warnings"); if (arrayWarnings == null) { return; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 15 08:50:42 GMT 2021 - 2.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformGlobalSetup.java
import com.fasterxml.jackson.databind.node.ObjectNode; import javax.annotation.Nullable; /** * A type of {@link RestTestTransform} that transformations or adds a global "setup" section. */ public interface RestTestTransformGlobalSetup { /** * @param setupNodeParent The parent of an existing "setup" ObjectNode, null otherwise. If null implementations may create choose toCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 935 bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceKeyInMatch.java
} @Override @Internal public String getKeyToFind() { return "match"; } @Override public void transformTest(ObjectNode matchParent) { ObjectNode matchNode = (ObjectNode) matchParent.get(getKeyToFind()); JsonNode previousValue = matchNode.get(requiredChildKey()); matchNode.remove(requiredChildKey());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/do_/ReplaceKeyInDo.java
} @Override @Internal public String getKeyToFind() { return "do"; } @Override public void transformTest(ObjectNode doParent) { ObjectNode doNode = (ObjectNode) doParent.get(getKeyToFind()); JsonNode previousValue = doNode.get(requiredChildKey()); doNode.remove(requiredChildKey()); doNode.set(getNewChildKey(), previousValue); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceKeyInLength.java
} @Override @Internal public String getKeyToFind() { return "length"; } @Override public void transformTest(ObjectNode lengthParent) { ObjectNode lengthNode = (ObjectNode) lengthParent.get(getKeyToFind()); JsonNode previousValue = lengthNode.get(requiredChildKey()); lengthNode.remove(requiredChildKey());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceValueInLength.java
} @Override @Internal public String getKeyToFind() { return "length"; } @Override public void transformTest(ObjectNode matchParent) { ObjectNode matchNode = (ObjectNode) matchParent.get(getKeyToFind()); matchNode.remove(requiredChildKey()); matchNode.set(getNewChildKey(), getReplacementNode()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 14:44:05 GMT 2021 - 1.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
def transformTask = ":yamlRestTestV${compatibleVersion}CompatTransform" def YAML_FACTORY = new YAMLFactory() def MAPPER = new ObjectMapper(YAML_FACTORY) def READER = MAPPER.readerFor(ObjectNode.class) def WRITER = MAPPER.writerFor(ObjectNode.class) def "yamlRestTestVxCompatTest does nothing when there are no tests"() { given: addSubProject(":distribution:bwc:minor") << """ configurations { checkout }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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java
for (File file : getTestFiles().getFiles()) { YAMLParser yamlParser = YAML_FACTORY.createParser(file); List<ObjectNode> tests = READER.<ObjectNode>readValues(yamlParser).readAll(); List<ObjectNode> transformRestTests; if (skippedFilesWithReason.containsKey(file)) { //skip all the tests in the file
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)