summaryrefslogtreecommitdiff
path: root/src-py/rhizi_api.py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-09 12:18:47 +0200
committerLV-426 <lv-426@taproot.org.il>2014-11-09 12:18:47 +0200
commit2f460418e342c378e575a5693b38ae4b3c8ff254 (patch)
treed02a886ba178645fc3f445a08eb312f1562f44bb /src-py/rhizi_api.py
parent8e6eeb0db8616b79211f0c03472074bc36885658 (diff)
match_node_set_by_attr_filter_map
Diffstat (limited to 'src-py/rhizi_api.py')
-rw-r--r--src-py/rhizi_api.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src-py/rhizi_api.py b/src-py/rhizi_api.py
index 53edf8f5..b88a1ff2 100644
--- a/src-py/rhizi_api.py
+++ b/src-py/rhizi_api.py
@@ -93,6 +93,16 @@ def __load_node_set_by_id_attr_common(id_set):
log.exception(e)
return __common_resp_handle(error='unable to load node with ids: {0}'.format(id_set))
+@webapp.route("/match/node-set", methods=['POST'])
+def match_node_set_by_attr_filter_map(attr_filter_map):
+ """
+ @param attr_filter_map
+
+ @return: a set of node DB id's
+ """
+ op = dbc.DBO_match_node_id_set(attr_filter_map)
+ return __common_exec(op)
+
@webapp.route("/load/link-set/by_link_ptr_set", methods=['POST'])
def load_link_set_by_link_ptr_set():