Skip to content

upcloo/upcloo-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UpCloo Java SDK

The java SDK is actually completely unstable and you have to consider this library as it is, unstable.

Example of usage

In the example below we get the singleton instance for UpCloo manager.

Manager manager = Manager.getInstance();
manager.setCredential("username", "password", "sitekey");

Indexing contents

Consider that document is an instace of com.upcloo.client.model.indexer.Doc.

Doc document = new Doc();
document.setId("35897");
document.setTitle("This is the title");

manager.index(document);

Retriving contents

Consider that documents is an instance of com.upcloo.client.model.getter.Docs

Docs documents  = manager.get("35897");

Requirements

This library needs different library listed below.

  • Apache HTTP Client

Under lib folder you can see the complete dependency list.

Running tests

If you want run tests simply using junit. All tests are under tests folder.

About

The upcloo sdk for java baseline application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages