GraphFraming Service
Github repository: https://github.com/ATTX-project/graphframing-service
Table of Contents
Overview
The Graph Framing REST API has the following endpoints:
health- checks if the application is running.
Current version: 0.2 (URL for the endpoint should take into consideration for the API http://host:4303/version/endpoint)
Building Graph Framing Service
In order to work with the service start with:
- Graph Framing Service source - contains information on building both the project and the Docker image and testing from the source code;
- short tutorial on Gradle.
Graph Manager Service Connection
The Graph Framing Service requires a connection with Graph Manager Service such a connection is required to retrieve graph with a given URI from the Graph Store, graphs that will be used along side an JSON-LD frame.
Message Broker Connection
Provenance Service needs RabbitMQ Message Broker in order for the communication with UV plugins.
Environment Variables
MHOST- container name or address for the MessageBroker-RabbitMQ database (defaults tolocalhost);MUSER- user name for MessageBroker (defaults touser);MPROVQUEUE- provenance queue in the MessageBroker (defaults toprovenance.inbox);MRPCQUEUE- RPC Queue for responding to messages received by the GraphManager Queue (defaults toattx.ldframe.inbox);GMHOST- GraphManager container name or address (defaults tolocalhost);GMVER- API version of the GraphManager (defaults to0.2);GMPORT- GraphManager port (defaults to4302)DATADIR- data directory for storing results from graph store (defaults to/attx-sb-shared).
Service API Endpoints
health Endpoint
healthGET API:- simple: http://localhost:4303/health reponds with
200in order for other applications to know the service is running.
- simple: http://localhost:4303/health reponds with