> On Jan. 22, 2015, 1:57 p.m., Nate Cole wrote: > > ambari-server/src/main/java/org/apache/ambari/server/api/services/StacksService.java, > > lines 437-439 > > <https://reviews.apache.org/r/30164/diff/1/?file=829788#file829788line437> > > > > This seems very wrong. What is the purpose of this change?
I think this is because it was decided that the names should be 'services', 'components' and 'operating_systems' to be consistent with other APIs, but we wanted to maintain backwards compatibility. So either name will work but the "old" names are used internally and the "new" names get translated. - Tom ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30164/#review69175 ----------------------------------------------------------- On Jan. 22, 2015, 1:07 p.m., Dmytro Sen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30164/ > ----------------------------------------------------------- > > (Updated Jan. 22, 2015, 1:07 p.m.) > > > Review request for Ambari, John Speidel, Nate Cole, and Tom Beerbower. > > > Bugs: AMBARI-8605 > https://issues.apache.org/jira/browse/AMBARI-8605 > > > Repository: ambari > > > Description > ------- > > Stacks endpoint returns java exception for query predicate which use .matches > and logical OR, for example: > /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.*)) > > Regexp grouping with () doesn't work > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/api/services/ResultPostProcessorImpl.java > 8d17846 > > ambari-server/src/main/java/org/apache/ambari/server/api/services/StacksService.java > 366accf > > ambari-server/src/test/java/org/apache/ambari/server/api/services/StacksServiceTest.java > e5be477 > > Diff: https://reviews.apache.org/r/30164/diff/ > > > Testing > ------- > > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Main ....................................... SUCCESS [3.287s] > [INFO] Apache Ambari Project POM ......................... SUCCESS [0.436s] > [INFO] Ambari Web ........................................ SUCCESS [42.942s] > [INFO] Ambari Views ...................................... SUCCESS [2.247s] > [INFO] Ambari Admin View ................................. SUCCESS [10.312s] > [INFO] Ambari Server ..................................... SUCCESS > [31:07.912s] > [INFO] Ambari Agent ...................................... SUCCESS [6.565s] > [INFO] Ambari Client ..................................... SUCCESS [0.042s] > [INFO] Ambari Python Client .............................. SUCCESS [0.558s] > [INFO] Ambari Groovy Client .............................. SUCCESS [10.233s] > [INFO] Ambari Shell ...................................... SUCCESS [0.032s] > [INFO] Ambari Python Shell ............................... SUCCESS [0.048s] > [INFO] Ambari Groovy Shell ............................... SUCCESS [6.478s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > > > Thanks, > > Dmytro Sen > >
