Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
154 views

Push Database Adapter

I'm trying to develop a push adapter to push ucmdb data into an oracle database. 

Is there any documentation on the complex mapping available? I only see 1 example in the developer guide.

Currently I'm trying to push CPU into the oracle database. While I got most attribute to push fine, I can't seem to get root_container to push. It would alway return a null value. 

Is there a way to push this?

jvm 4    |       <Object mode="update_else_insert" name="cpu" operation="add" mamId="Database+ITA+Push%0Acpu%0A1%0AID%3DSTRING%3D1251%0A" id="Database+ITA+Push%0Acpu%0A1%0AID%3DSTRING%3D1251%0A">
jvm 4    |         <field name="global_id" key="true" datatype="STRING" length="">4ec8c53ca0b9e4f5abf249cfc72c5553</field>
jvm 4    |         <field name="name" key="false" datatype="STRING" length="">Intel(R) Xeon(R) CPU X5680 @ 3.33GHz</field>
jvm 4    |         <field name="ROOT_CONTAINER" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="CI_TYPE" key="false" datatype="STRING" length="">cpu</field>
jvm 4    |         <field name="CPU_SPEED" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="CPU_USAGE" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="CORE_NUMBER" key="false" datatype="number" length="">4</field>
jvm 4    |         <field name="CPU_CLOCK_SPEED" key="false" datatype="STRING" length="">3333</field>
jvm 4    |         <field name="CPU_ID" key="false" datatype="STRING" length="">CPU0</field>
jvm 4    |         <field name="CPU_VENDOR" key="false" datatype="STRING" length="">GenuineIntel</field>
jvm 4    |         <field name="DESCRIPTION" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="DATA_NOTE" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="CORE_NUMBER" key="false" datatype="STRING" length="">4</field>
jvm 4    |         <field name="SERIAL_NUMBER" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="CPU_SPECIFIER" key="false" datatype="STRING" length="">104</field>
jvm 4    |         <field name="CPU_TYPE" key="false" datatype="STRING" length="" />
jvm 4    |         <field name="LOGICAL_CPU_COUNT" key="false" datatype="STRING" length="">4</field>
jvm 4    |       </Object>

I also tried to the childattr complex mapping but it doesn't seem to work. Not sure if I'm doing it correctly since there are no example in the developer reference. 

Have anyone tried something similiar and got root_container to push?

0 Likes
1 Reply
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Push Database Adapter

Hello ,

We suggest to follow the guide suggestions and If you have more concerns you may open a support ticket .

 

Best Regards,

Melissa Carranza Mejias
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation. “
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.