comparison 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
comparison
equal deleted inserted replaced
2341:f9580b4a105a 2342:f047d5410040
694 694
695 [discoInfos] 695 [discoInfos]
696 async= 696 async=
697 type=method 697 type=method
698 category=core 698 category=core
699 sig_in=sss 699 sig_in=ssbs
700 sig_out=(asa(sss)a{sa(a{ss}as)}) 700 sig_out=(asa(sss)a{sa(a{ss}as)})
701 param_1_default=u'' 701 param_1_default=u''
702 param_2_default=u"@DEFAULT@" 702 param_2_default=True
703 param_3_default=u"@DEFAULT@"
703 doc=Discover infos on an entity 704 doc=Discover infos on an entity
704 doc_param_0=entity_jid: JID to discover 705 doc_param_0=entity_jid: JID to discover
705 doc_param_1=node: node to use 706 doc_param_1=node: node to use
706 doc_param_2=%(doc_profile_key)s 707 doc_param_2=use_cache: use cached data if available
708 doc_param_3=%(doc_profile_key)s
707 doc_return=discovery data: 709 doc_return=discovery data:
708 - list of features 710 - list of features
709 - list of identities (category, type, name) 711 - list of identities (category, type, name)
710 - dictionary of extensions (FORM_TYPE as key), with value of: 712 - dictionary of extensions (FORM_TYPE as key), with value of:
711 - list of field which are: 713 - list of field which are:
718 720
719 [discoItems] 721 [discoItems]
720 async= 722 async=
721 type=method 723 type=method
722 category=core 724 category=core
723 sig_in=sss 725 sig_in=ssbs
724 sig_out=a(sss) 726 sig_out=a(sss)
725 param_1_default=u'' 727 param_1_default=u''
726 param_2_default=u"@DEFAULT@" 728 param_2_default=True
729 param_3_default=u"@DEFAULT@"
727 doc=Discover items of an entity 730 doc=Discover items of an entity
728 doc_param_0=entity_jid: JID to discover 731 doc_param_0=entity_jid: JID to discover
729 doc_param_1=node: node to use 732 doc_param_1=node: node to use
730 doc_param_2=%(doc_profile_key)s 733 doc_param_2=use_cache: use cached data if available
734 doc_param_3=%(doc_profile_key)s
731 doc_return=array of tuple (entity, node identifier, name) 735 doc_return=array of tuple (entity, node identifier, name)
732 736
733 [saveParamsTemplate] 737 [saveParamsTemplate]
734 type=method 738 type=method
735 category=core 739 category=core