- Introduction
- GEi overall description
- Build and Install
- API Overview
- API Reference
- Testing
- Advanced Topics
This is the code repository for Repository-RI, the reference implementation of the Marketplace.
This project is part of FIWARE. Check also the FIWARE Catalogue entry for Repository-RI!
Any feedback is highly welcome, including bugs, typos or things you think should be included but aren't. You can use GitHub Issues to provide feedback.
You can find the User & Programmer's Manual and the Administration Guide on readthedocs.org
Repository-RI provides a consistent uniform API to access USDL descriptions and associated media files of applications offered in the FIWARE Business Framework. Its functionality includes basic services for create, store and obtain collections and resources which contains rdf descriptions, and a Sparql query service. Besides the core functions, the Repository-RI may offer value because of its "knowledge" about resources descriptions and linked data.
The instructions to install Repository-RI can be found at the Installation Guide. You can install the software in three different ways:
- With the provided script (
install.sh) - With a Docker Container
- Manually
Repository-RI API is very easy. The API is available under the /v2/ path and the available resources are:
- Resources and Collections:
/v2/collec - Sparql:
/v2/service/query
The API is fully RESTful so:
- You can use
POSTrequests to create resources. - Create a resource making a
POSTrequest to/v2/collec/COLLECTIONS - Create a collection a
POSTrequest to/v2/collecor/v2/collec/COLLECTIONS - Execute a Sparql query making a
POSTrequest to/v2/service/query - You can use
PUTrequests to update resources and resources content. - Update a resource making a
PUTrequest to/v2/collec/COLLECTIONS/RESOURCE.meta - Update a resource content making a
PUTrequest to/v2/collec/COLLECTIONS/RESOURCE - You can use
GETrequests to retrieve an entity. - Retrieve a resource making a
GETrequest to/v2/collec/COLLECTIONS/RESOURCE.meta - Retrieve a resource content a
GETrequest to/v2/collec/COLLECTIONS/RESOURCE - Retrieve a collection a
GETrequest to/v2/collec/COLLECTIONS - Execute a Sparql query making a
POSTrequest to/v2/service/query?query=SPARQLQUERY - Retrieve resource content by its url content making a
GETrequest to/v2/service/query/URL_CONTENT - You can use
DELETErequests to delete an entity. - Delete a resource and its content marking a
DELETErequest to/v2/collec/COLLECTIONS/RESOURCES - Delete a collection and its content making a
DELETErequest to/v2/collec/COLLECTIONS
For further documentation, you can check the API Reference available at:
End-to-End tests are described in the Installation Guide
To execute the unit tests, just run:
mvn test
To execute the integration tests, just run:
mvn integration-test
You can also find this documentation on ReadTheDocs