site-wide-procs.tcl

Handling of site_wide packages, mostly for testing and administration of the full site.

Location:
packages/acs-admin/tcl/site-wide-procs.tcl
Created:
13 Feb 2020
Author:
Gustaf Neumann

Procedures in this file

Detailed information

acs_admin::require_site_wide_package (public)

 acs_admin::require_site_wide_package -package_key package_key \
    [ -node_name node_name ] [ -package_name package_name ] \
    [ -parameters parameters ] \
    [ -configuration_command configuration_command ]

Require a package under the site-wide subsite. If such a package does not exist, it is created with the provided parameters. When a configuration command is passed-in it will be called with "-package_id $package_id" of the new instance appended.

Switches:
-package_key (required)
of the required package
-node_name (optional)
name of the mount point (defaults to the package_key)
-package_name (optional)
name of the package_instance (defaults to the package_key)
-parameters (optional)
package parameter for initialization of the package
-configuration_command (optional)
when a configuratio
Returns:
package_id of the required package

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_admin_require_site_wide acs_admin_require_site_wide (test acs-admin) acs_admin::require_site_wide_package acs_admin::require_site_wide_package test_acs_admin_require_site_wide->acs_admin::require_site_wide_package acs_admin::require_site_wide_subsite acs_admin::require_site_wide_subsite (public) acs_admin::require_site_wide_package->acs_admin::require_site_wide_subsite parameter::set_value parameter::set_value (public) acs_admin::require_site_wide_package->parameter::set_value site_node::exists_p site_node::exists_p (public) acs_admin::require_site_wide_package->site_node::exists_p site_node::get site_node::get (public) acs_admin::require_site_wide_package->site_node::get site_node::get_from_object_id site_node::get_from_object_id (public) acs_admin::require_site_wide_package->site_node::get_from_object_id

Testcases:
acs_admin_require_site_wide

acs_admin::require_site_wide_subsite (public)

 acs_admin::require_site_wide_subsite

Require the site_wide subsite for administration and testing purposes. If the subsite does not exist, create it.

Returns:
package_id of the site_wide subsite

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_admin_require_site_wide acs_admin_require_site_wide (test acs-admin) acs_admin::require_site_wide_subsite acs_admin::require_site_wide_subsite test_acs_admin_require_site_wide->acs_admin::require_site_wide_subsite site_node::exists_p site_node::exists_p (public) acs_admin::require_site_wide_subsite->site_node::exists_p site_node::get site_node::get (public) acs_admin::require_site_wide_subsite->site_node::get site_node::instantiate_and_mount site_node::instantiate_and_mount (public) acs_admin::require_site_wide_subsite->site_node::instantiate_and_mount acs_admin::require_site_wide_package acs_admin::require_site_wide_package (public) acs_admin::require_site_wide_package->acs_admin::require_site_wide_subsite

Testcases:
acs_admin_require_site_wide
[ show source ]