SQWareProduction:mysql:lib:sqwmys UpdateGLPI.lib: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
m Updated by BatchUser
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
Functions explanation:
Functions explanation:
<pre>
<pre>
gfsqw_InsertIndicatorsSql | tee ${gvsqw_TmpFile}
gfsqw_BeginningCom
lfsqw_ExecSql =>  
lfsqw_ExecSql =>  
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB"  
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB"  
Line 10: Line 10:
lfsqw_ExecSqlTrap =>  
lfsqw_ExecSqlTrap =>  
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
lfsqw_GatherFile
lfsqw_GatherFile =>  
lfsqw_GatherFile =>  
lfsqw_GenUpdateRdbmsType
lfsqw_GenUpdateRdbmsType
lfsqw_GenUpdateRdbmsType =>  
lfsqw_GenUpdateRdbmsType =>  
lfsqw_InsertGLPIDatabase
lfsqw_InsertGLPIDatabase =>  
lfsqw_InsertGLPIDatabase =>  
lfsqw_Main =>
lfsqw_UpdateGLPIDatabase
lfsqw_UpdateGLPIDatabase =>  
lfsqw_UpdateGLPIDatabase =>  
lfsqw_UpdateGLPIDatabase_CustAfter
lfsqw_UpdateGLPIDatabase_CustAfter

Latest revision as of 19:21, 24 January 2023

shell functions library $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib:
lib for sqwmys_Update$lvsqw_DbName.ksh
Functions explanation:

gfsqw_BeginningCom
lfsqw_ExecSql => 
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB" 
lfsqw_ExecSql "insert/update/delete instances"
lfsqw_ExecSqlTrap => 
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile}
lfsqw_GatherFile
lfsqw_GatherFile => 
lfsqw_GenUpdateRdbmsType
lfsqw_GenUpdateRdbmsType => 
lfsqw_InsertGLPIDatabase
lfsqw_InsertGLPIDatabase => 
lfsqw_Main => 
lfsqw_UpdateGLPIDatabase
lfsqw_UpdateGLPIDatabase => 
lfsqw_UpdateGLPIDatabase_CustAfter
lfsqw_UpdateGLPIDatabase_CustAfter => 
lfsqw_UpdateGLPIDatabase_CustBefore
lfsqw_UpdateGLPIDatabase_CustBefore => 


Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_UpdateGLPI.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_UpdateGLPI.lib specifically for this user .