Oleg Nechiporenko created AMBARI-17882:
------------------------------------------
Summary: Add new macros for collections
Key: AMBARI-17882
URL: https://issues.apache.org/jira/browse/AMBARI-17882
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.4.0
Reporter: Oleg Nechiporenko
Assignee: Oleg Nechiporenko
Fix For: trunk
||Macros Name||Description||Has Alias for tests||
|someByKey|A computed property that returns true of some collection's item has
property with needed value.
Needed value is stored in the another property|✔|
|everyByKey|A computed property that returns true of all collection's items
have property with needed value.
Needed value is stored in the another property|✔|
|filterByKey|A computed property that returns array with collection's items
that have needed property value.
Needed value is stored in the another property|✔|
|findByKey|A computed property that returns first collection's item that has
needed property value.
Needed value is stored in the another property|✔|
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)