You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

Services #106229/HEAD / v60
Tags:  not added yet

ERams 2 Services

Services within ERams 2 exist at the integration level. They might talk to a Database; Marshall data into Redis; or Execute Models within CSIP.

Services are accessed through either Django Views as RESTful resources or through a data graph built on Graphene.

Sharing Configuration

Services should live within an application's services module. Services can poll other installed applications by asking for their delegates.

A service module has a delegate when:

  • it contains a variable that is a subclass of the base delegate class


e.g.

# /er2_app/services/__init__.py
from .login import CustomLoginDelegate
from .schema import CustomSchemaDelegate