apm_dependency_add (public)
apm_dependency_add [ -callback callback ] \ [ -dependency_id dependency_id ] dependency_type version_id \ dependency_uri dependency_version
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Add a dependency to a version.
- Switches:
- -callback (optional, defaults to
"apm_dummy_callback"
)- -dependency_id (optional)
- Parameters:
- dependency_type (required)
- version_id (required)
- dependency_uri (required)
- dependency_version (required)
- Returns:
- The id of the new dependency.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_exec_plsql dependency_add {}]Generic XQL file: packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: <fullquery name="apm_dependency_add.dependency_add"> <querytext> select apm_package_version__add_dependency( :dependency_type, :dependency_id, :version_id, :dependency_uri, :dependency_version ); </querytext> </fullquery>packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: <fullquery name="apm_dependency_add.dependency_add"> <querytext> begin :1 := apm_package_version.add_dependency( dependency_type => :dependency_type, dependency_id => :dependency_id, version_id => :version_id, dependency_uri => :dependency_uri, dependency_version => :dependency_version ); end; </querytext> </fullquery>packages/acs-tcl/tcl/apm-procs-oracle.xql