Skip to content

rspace-os/rspace-client-java

rspace-client-java

The project contains Java code that demonstrates how to make calls to RSpace API.

Check the code examples, or the implementation code and model.

The examples are written as JUnit tests, and can be run without any extra setup. By default they'll connect to a test account at RSpace Community server.

To run the unit tests from the command line:

$ mvn -U clean test

To enable API access for a particular user you need to 'Regenerate API key' at 'My Profile' page in RSpace.

To run the examples for a different user, or different RSpace server, update the apiKey property in config.properties file to the API Key of your User. You should also update the testDocId property to an ID of a document in your own account, or the RetrieveDocumentAndAttachments test will fail.

The test FindDocumentsTest.advancedSearch will FAIL if run as sysadmin as Syadmin is not allowed to do wildcard searches - Minimum version of RSpace required: 1.80

Minimum version of Java required: 1.18

Minimum Maven version required 3.8.1

About

Example Java client code for the RSpace API

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages