apm_one_package_load_libraries_dependencies (private)
apm_one_package_load_libraries_dependencies package_key
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Generate a list of package keys in library load dependency order.
- Parameters:
- package_key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [info exists ::apm_visited_package_keys($package_key)] } { return } set ::apm_visited_package_keys($package_key) 1 set package_key_list "" foreach dependency [db_list get_dependencies {}] { apm_one_package_load_libraries_dependencies $dependency } lappend ::apm_package_load_libraries_order $package_keyGeneric XQL file: <fullquery name="apm_one_package_load_libraries_dependencies.get_dependencies"> <querytext> select apd.service_uri from apm_package_versions apv, apm_package_dependencies apd where apv.package_key = :package_key and apv.installed_p = 't' and apd.version_id = apv.version_id and apd.dependency_type in ('requires', 'embeds', 'extends') order by apd.dependency_id desc </querytext> </fullquery>packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-procs-oracle.xql