How to modify orm.xml file?
I integrated DDMI and UCMDB sucessfully by OOTB integration. But I can't get "discovered_model" data in UCMDB from DDMi. But i noticed this data can be populated from Model.Model_name fileds of DDMi. But in DDMIAdapter, as Device.device_id is inherited key in orm.xml, but Model_id isn’t.
DDMi information :In the Device table, there is a field Model_ID. There is a table "Model" which has two fields"Model_ID" and "Model_Name". We need use this "Model_ID" field to match the two tables device & model tables and get the "Model_Name" from the "Model" table and display that in the "discovered_model" field in ucmdb.
For details,please see the screenshot of the tables information: DDMI tables.JPG
we tried modifying it like this by adding the following lines in orm.xml file, but it didn't work: