apm_unregister_disinherited_params (public)

 apm_unregister_disinherited_params package_key dependency_id

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

Remove parameters for package_key that have been disinherited (i.e., the dependency that caused them to be inherited have been removed). Called only by the APM and keep it that way, please.

Parameters:
package_key
dependency_id

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/apm/version-dependency-remove.tcl packages/acs-admin/ www/apm/version-dependency-remove.tcl apm_unregister_disinherited_params apm_unregister_disinherited_params packages/acs-admin/www/apm/version-dependency-remove.tcl->apm_unregister_disinherited_params apm_parameter_unregister apm_parameter_unregister (public) apm_unregister_disinherited_params->apm_parameter_unregister db_list db_list (public) apm_unregister_disinherited_params->db_list

Testcases:
No testcase defined.
Source code:
    foreach parameter_id [db_list get_parameter_ids {}] {
        apm_parameter_unregister $parameter_id
    }
Generic XQL file:
<fullquery name="apm_unregister_disinherited_params.get_parameter_ids">
    <querytext>
    select ap.parameter_id
    from apm_parameters ap
    where ap.package_key = :package_key
      and exists (select 1
                  from apm_parameters ap2, apm_package_dependencies apd
                  where ap2.package_key = apd.service_uri
                    and ap2.parameter_name = ap.parameter_name
                    and apd.dependency_id = :dependency_id)
  </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: