Good,
I try to follow this thread http://www.cmdbuild.org/forum/forum-in-english/335519738?set_language=en&cl=en . To create a storage procedure in postgresql and publish it in the rest api of cmdbuild. I check this endpoint "/services/rest/v2/functions" and I can not see my procedure. I only see these 6:
{u'data': [{u'_id': 345687,
u'description': u'cmf_active_cards_for_class',
u'metadata': None,
u'name': u'cmf_active_cards_for_class'},
{u'_id': 345688,
u'description': u'cmf_count_active_cards',
u'metadata': None,
u'name': u'cmf_count_active_cards'},
{u'_id': 345689,
u'description': u'_cm_create_class_default_order_indexes',
u'metadata': None,
u'name': u'_cm_create_class_default_order_indexes'},
{u'_id': 345690,
u'description': u'_bim_carddata_from_globalid',
u'metadata': None,
u'name': u'_bim_carddata_from_globalid'},
{u'_id': 345691,
u'description': u'cm_attribute_exists',
u'metadata': None,
u'name': u'cm_attribute_exists'},
{u'_id': 345697,
u'description': u'_graph_get_related_classes',
u'metadata': None,
u'name': u'_graph_get_related_classes'}],
u'meta': {u'positions': {}, u'references': {}, u'total': 6}}