GithubHelp home page GithubHelp logo

isabella232 / repository-ri Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conwetlab/repository-ri

0.0 0.0 0.0 29.04 MB

License: Other

Shell 2.78% Java 79.05% CSS 0.41% API Blueprint 17.76%

repository-ri's Introduction

Repository-RI

License Docs Docker Support Build Status

Introduction

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

GEi overall description

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.

Build and Install

The instructions to install Repository-RI can be found at the Installation Guide. You can install the software in three different ways:

API Overview

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 POST requests to create resources.
  • Create a resource making a POST request to /v2/collec/COLLECTIONS
  • Create a collection a POST request to /v2/collec or /v2/collec/COLLECTIONS
  • Execute a Sparql query making a POST request to /v2/service/query
  • You can use PUT requests to update resources and resources content.
  • Update a resource making a PUT request to /v2/collec/COLLECTIONS/RESOURCE.meta
  • Update a resource content making a PUT request to /v2/collec/COLLECTIONS/RESOURCE
  • You can use GET requests to retrieve an entity.
  • Retrieve a resource making a GET request to /v2/collec/COLLECTIONS/RESOURCE.meta
  • Retrieve a resource content a GET request to /v2/collec/COLLECTIONS/RESOURCE
  • Retrieve a collection a GET request to /v2/collec/COLLECTIONS
  • Execute a Sparql query making a POST request to /v2/service/query?query=SPARQLQUERY
  • Retrieve resource content by its url content making a GET request to /v2/service/query/URL_CONTENT
  • You can use DELETE requests to delete an entity.
  • Delete a resource and its content marking a DELETE request to /v2/collec/COLLECTIONS/RESOURCES
  • Delete a collection and its content making a DELETE request to /v2/collec/COLLECTIONS

API Reference

For further documentation, you can check the API Reference available at:

Testing

End-to-End tests

End-to-End tests are described in the Installation Guide

Unit tests

To execute the unit tests, just run:

mvn test

Integration tests

To execute the integration tests, just run:

mvn integration-test

Advanced Topics

You can also find this documentation on ReadTheDocs

repository-ri's People

Contributors

aarranz avatar anklei avatar drleidig avatar fdelavega avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.