diff src/bridge/bridge_constructor/bridge_template.ini @ 2342:f047d5410040

core (memory/disco): added use_cache parameter to discoInfos/discoItems (set to False to ignore cache)
author Goffi <goffi@goffi.org>
date Tue, 22 Aug 2017 22:12:57 +0200
parents 255830fdb80b
children 81a45e7886c9
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Aug 20 17:37:43 2017 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Tue Aug 22 22:12:57 2017 +0200
@@ -696,14 +696,16 @@
 async=
 type=method
 category=core
-sig_in=sss
+sig_in=ssbs
 sig_out=(asa(sss)a{sa(a{ss}as)})
 param_1_default=u''
-param_2_default=u"@DEFAULT@"
+param_2_default=True
+param_3_default=u"@DEFAULT@"
 doc=Discover infos on an entity
 doc_param_0=entity_jid: JID to discover
 doc_param_1=node: node to use
-doc_param_2=%(doc_profile_key)s
+doc_param_2=use_cache: use cached data if available
+doc_param_3=%(doc_profile_key)s
 doc_return=discovery data:
  - list of features
  - list of identities (category, type, name)
@@ -720,14 +722,16 @@
 async=
 type=method
 category=core
-sig_in=sss
+sig_in=ssbs
 sig_out=a(sss)
 param_1_default=u''
-param_2_default=u"@DEFAULT@"
+param_2_default=True
+param_3_default=u"@DEFAULT@"
 doc=Discover items of an entity
 doc_param_0=entity_jid: JID to discover
 doc_param_1=node: node to use
-doc_param_2=%(doc_profile_key)s
+doc_param_2=use_cache: use cached data if available
+doc_param_3=%(doc_profile_key)s
 doc_return=array of tuple (entity, node identifier, name)
 
 [saveParamsTemplate]