Page 1 of 1

CMDB.Synch.Augment.Database TPL

Posted: Thu Oct 03, 2019 8:18 am
by hudatolah
tpl 1.5 module CMDB.Extension.Database_Augment_CTI;


metadata
origin := 'BlackholeSurfer';
tree_path := 'BlackholeSurfer','CMDB sync','Database';
end metadata;

from CMDB.Database import Database 2.3;

syncmapping Database_Augment 2.0
"""
Describe what this does for those that will need
it and what it depends on.
"""

overview
tags CMDB, Extension;
end overview;

mapping from Databas.database_node as database_node
end mapping

body

if database_node.type = "Oracle Database" or database_node.type = "SQL Server Database" then
database_ci := Database.database_ci;
database_ci.SerialNumber := "%database_node.serial%";
end if;

end body

end syncmapping