Java Integration Adapter
So I'm new to writing Integrations, but I've heard they are the way to go in regards to writing jobs that pull data from CSV files and databases and put their CIs into the uCMDB. (Federation is good option as well, but still doesn't work in the uCMDB Browser)
Unfortunately, I'm not sure where to find examples for Java Integrations. I wrote a simple Integration and tried to upload it into uCMDB but I get an error (I think because it fails the call to testConnection()).
Anyways, any tips would be helpful and appreciated to point me in the right direction. I read the chapter about Integrations but haven't seen anything specific to Java or regarding examples I can pull information from.
Right now I have a java class that implements "BasicSourceDataAdapter".
The only function I've modified is the start() function, the rest are untouched (shutdown(), testConnection(), getQueryByName(), and getSupportedQueries().)
Is this close to correct or am I way off on implementing this?
Also I've heard that you don't interface with uCMDB in the same way that you do throught he HP uCMDB API.
For example, you don't pull a Topology with: Topology t = getQueryService().executeQuery(queryDefinition);
Re: Java Integration Adapter
So I've masked the credentials we use to validate on our webservice, but the idea is simple: When it runs it connects to a webservice we maintain. Using the BasicDataAdapter, it has start/shutdown/testConnection as the default created methods. I put the URL connection stuff in the start() function, but don't know what to put in the testConnection() area.
I guess first question is if the "BasicDataAdapter" is the right class to implement for writing adapters?
The federation API jar had a bunch of adapter looking classes but I didn't know the difference between them all.