apm_one_package_inherit_order (public)
apm_one_package_inherit_order package_key
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Returns a list of package keys in package inheritance 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 foreach dependency [db_list get_dependencies {}] { apm_one_package_inherit_order $dependency } lappend ::apm_package_inherit_order $package_keyGeneric XQL file: <fullquery name="apm_one_package_inherit_order.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 ('extends', 'embeds') 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