-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Idea
We are planning to do some major changes in the relaton toolchain, and the main idea with this is to have everything centralized as a service and have the relaton library communicate with this. So, the major components are
- Relaton Service / API
- Relaton Library communicating with the API
- Relaton CLI
Relaton API / Service:
The API/Service is an application that will work as a hub of everything, and it will take care of all the heavy lifting and provide a clear API for the user. some of the major tasks it will handles are
- Fetch standard documents from supported sources
- Parse this fetched documents to the relaton model
- Maintain a global documents cache (complying with copyright)
- API endpoints to serve all document request
- Web interface that allows a user to browse/maintain documents
Relaton Library
The relaton library is mainly responsible for communicating with the Relaton API, Here are some of the major task it should handle.
- Communicating with service API and serialize the response
- Maintain a local cache for the user's requested documents
Relaton CLI
The relaton CLI would be something that wraps around the relaton library, and also provide some common utility tasks. This could also include some functionalities that we are doing suing some makefile at the moment.
cc: @ronaldtse