This project adds to OpenFlexo HTTP capabilities. It includes:
- an HTTP server which is able to serve:
- all resources and specific API for each technology adapter and
- FML models as dynamic APIs.
- an HTTP technology adapter to connect to HTTP services via ReST or XML-RPC APIs,
The HTTP server is a service that starts an HTTP server (based on Vert.x) with 2 distinct capabilities:
- serving all accessible resources and technology adapter specific models: the federation server.
- serving API described using FML model acting as contracts: the chameleon server.
This part of the OpenFlexo HTTP server is defined by the OpenFlexo community and provides a ReST API to access to resources and technology adapter specific models.
Documentation:
- Getting Started to get started with the server and it's capabilities.
- API Description describes the server REST API.
- Complement Technology Adapter presents the server extension capabilities.
- Demo Server
TODO:
- Resources
- Connie service using WebSockets
- Technology adapters:
- FML and FML@RT
- Gina
- Diana
- ...
The chameleon server allows an OpenFlexo user create an HTTP API by defining a contract using FML.
TODO
Not started yet.
The HTTP technology adapter provides the capability to connect a distant HTTP API and access it throught VirtualModel
and FlexoConcept
instances.
An HTTP model slot is configured with a VirtualModel
acting as a contract where abstract properties, HTTP properties and HTTP behaviours are resolve using HTTP connections.
TODO:
- HTTP ModelSlot
- Simple abstract properties
- Behaviours to retreive instances
- Properties to retreive instances
- Several response format:
- JSON
- XML
- HTTP Methods
- GET
- POST
- PUT
- UPDATE / PATCH
- DELETE
And more