Page 1 of 1

Integrate with Rest Services

Posted: Tue Dec 23, 2014 10:00 pm
by kbraaja
Can any one give me a sample code in integrating with REST services..?

I have a requirement to work with Cassandra database.. Cassandra DB exposes listing, reading, writing through a REST services. How do we make listing documents from the REST services ..?

Appreciate your help.

Re: Integrate with Rest Services

Posted: Wed Dec 24, 2014 11:13 am
by sorin_ristache
What kind of sample code? In what language?

Where and how would you call that code in the Oxygen application?

Re: Integrate with Rest Services

Posted: Wed Dec 31, 2014 8:47 pm
by kbraaja
Java is language. Below is what we are doing, please provide is anything is available to use for us.

In our requirement, we have REST services created that will give us list of file names, and when a user click a file name, will read the file via another REST service, and when saving a document, gets saved via third REST service.

So, based on this, we are developing a custom plugin to integrate with workspace.. Right now, we have developed custom protocol plugin to read the file (Streaming from REST). WE made a JAR and deployed inside plugin folder, but when we start oxygen application we are getting exception - java class not found for the protocolURLhandler ..but they are available in the JAR. Though plugin.xml have them configured..

Two classes are created - CassandraProtocolHandler and CassandraProtocolURLHandlerExtension. Do i miss anything here?

Re: Integrate with Rest Services

Posted: Mon Jan 05, 2015 4:42 pm
by alex_jitianu
Hello,

I got the chance to look at the plugin package you sent on the support list. The package is not correct. Please make sure to create it using the Run as->Maven install action from the project contextual menu in Eclipse. The package is created inside the target folder and it's named in this manner *-plugin.jar.

Best regards,
Alex