OVE Persistence Service - In-Memory¶
This service provides persistence for the OVE framework using an in-memory storage implementation. This is also the most straightforward persistence service implementation and is not highly available.
Registering a Persistence Service¶
All persistence services for OVE implements a common API and can be registered in the same way. However, the persistence services may have their own configurations, concerning their underlying storage implementations. Such configuration should be made according to the respective persistence service’s documentation.
A persistence service can be registered with OVE or any OVE App using the following API:
Linux/Mac:
curl --header "Content-Type: application/json" --request POST --data '{"url": "http://OVE_PERSISTENCE_SERVICE_HOST:PORT"}' http://OVE_CORE_OR_APP_HOST:PORT/persistence
Windows:
curl --header "Content-Type: application/json" --request POST --data "{\"url\": \"http://OVE_PERSISTENCE_SERVICE_HOST:PORT\"}" http://OVE_CORE_OR_APP_HOST:PORT/persistence
A persistence service can be unregistered from OVE or any OVE App using the following API:
Linux/Mac/Windows:
curl --header "Content-Type: application/json" --request DELETE http://OVE_CORE_OR_APP_HOST:PORT/persistence