/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClustersResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeNetworkInterfacesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeCacheClustersResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeReplicationTasksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeVpnConnectionsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeCacheClustersResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeReplicationGroupsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeVpnConnectionsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeReplicationGroupsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeTargetHealthResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeVolumesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStacksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStacksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStacksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAll(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeReplicationTasksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }