Dmytro Sen created AMBARI-8605:
----------------------------------
Summary: 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
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)