Has anyone been successful in running JAVA API to update CI Attribute in RTSM or UCMDB?
If you can share, it would be greatly appreciated.
The use of this API set requires the file ucmdb-api.jar. You can download the file by entering https://<localhost>:8443 in a Web browser where
localhost is the machine where UCMDB is installed and clicking the API Client Download link.
Put the .jar file in the classpath before compiling or running your application.
// Create a CI (create client-side representation of CI's. // They do not actually create them in the Ucmdb.) CI updateCI = addData.addCI(CIID, CITYPE); updateCI.setStringProperty("attribute", "value"); // Add the data to the UCMDB, in case that the object exists it will be updated topologyUpdateService.create(addData, CreateMode.UPDATE_EXISTING);