UCMDB API CIs to Record Set

Hi,

I am trying to pull the information from UCMDB using the api(Version 8). This extract needs to be stored in a database. I am able to connect to the server and then iterate thru each of the topology. But all topology CI's have 0 properties.

Please let me know how to read the Topology to convert it to a recorset. I wanted somthing like the way we export it to CSV, so we can store it as a database base.

 

 

P.S. This thread has been moevd from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum. - Hp Forum Moderator

Parents
  • Hi,

    The examples (you should use the one from page 406 on the pdf) are for 8.0 and up, and shuold complie and run with no issues with the correct jar.

    make sure you follow this step:

    Retrieve the API Jar File
    Get the ucmdb-api.jar from a BAC or UCMDB server installation. Extract the
    jar file from ucmdb-api.war, found in the AppServer\webapps directory on
    the server. Inside the war archive, ucmdb-api.jar is located in
    theWEB-INF\lib directory.
    Compile and run your application with ucmdb-api.jar in the classpath.



Reply
  • Hi,

    The examples (you should use the one from page 406 on the pdf) are for 8.0 and up, and shuold complie and run with no issues with the correct jar.

    make sure you follow this step:

    Retrieve the API Jar File
    Get the ucmdb-api.jar from a BAC or UCMDB server installation. Extract the
    jar file from ucmdb-api.war, found in the AppServer\webapps directory on
    the server. Inside the war archive, ucmdb-api.jar is located in
    theWEB-INF\lib directory.
    Compile and run your application with ucmdb-api.jar in the classpath.



Children
No Data