[
https://issues.apache.org/jira/browse/AMBARI-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288078#comment-14288078
]
Hudson commented on AMBARI-8605:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #1570 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1570/])
AMBARI-8605 Query predicate .matches doesn't work for stacks endpoint with
passed logical OR (dsen) (dsen:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f77be4c4df25aef336f00a7aa9bc0591b347dfb6)
*
ambari-server/src/test/java/org/apache/ambari/server/api/predicate/QueryLexerTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/api/predicate/QueryLexer.java
AMBARI-8605 Query predicate .matches doesn't work for stacks endpoint with
passed logical OR(URL-encoding) (dsen) (dsen:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0edce3c4f275b2ebca042e1fd8fb877acb7c5336)
*
ambari-server/src/main/java/org/apache/ambari/server/api/services/StacksService.java
*
ambari-server/src/main/java/org/apache/ambari/server/api/services/ResultPostProcessorImpl.java
*
ambari-server/src/test/java/org/apache/ambari/server/api/services/StacksServiceTest.java
> Query predicate .matches doesn't work for stacks endpoint with passed logical
> OR
> --------------------------------------------------------------------------------
>
> Key: AMBARI-8605
> URL: https://issues.apache.org/jira/browse/AMBARI-8605
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Fix For: 2.0.0
>
> Attachments: LexerWithComplexValueSupport.patch
>
>
> Stacks endpoint returns java exception for query predicate which use .matches
> and logical OR, for example:
> {noformat}
> /api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&StackConfigurations/property_type.matches((.*USER.*)|(.*GROUP.*))
> /api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations?fields=*&(StackConfigurations/property_type.matches(.*USER.*)|StackConfigurations/property_type.matches(.*GROUP.*))
> {noformat}
> Regexp grouping with () doesn't work
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)