install::xml::action::set-join-policy (public)

 install::xml::action::set-join-policy node

Defined in packages/acs-tcl/tcl/install-procs.tcl

Set the join policy of a group.

Parameters:
node (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_invoke_install_proc apm_invoke_install_proc (public) apm_required_attribute_value apm_required_attribute_value (public) group::update group::update (public) xml_node_get_children xml_node_get_children (public) install::xml::action::set-join-policy install::xml::action::set-join-policy install::xml::action::set-join-policy->apm_invoke_install_proc install::xml::action::set-join-policy->apm_required_attribute_value install::xml::action::set-join-policy->group::update install::xml::action::set-join-policy->xml_node_get_children

Testcases:
No testcase defined.
Source code:
    set join_policy [apm_required_attribute_value $node join-policy]

    set objects [xml_node_get_children [lindex $node 0]]

    foreach object $objects {
        set group_id [apm_invoke_install_proc -type object_id -node $object]
        group::update -group_id $group_id [list join_policy $join_policy]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: