-
Notifications
You must be signed in to change notification settings - Fork 8
Update ElasticsearchClient during application update process #45
Description
Context :
In EaTL , we are storing the “execution trace” records in the profile-collection as “service-record-profile” instance.
Based on the decision from the ApplicationPattern#issues#105 , we have to separate the application date from the configuration data.
Also in EaTL , continuous parallel updation in the profile-collection sometimes makes the application down.
So , we are in a plan to include a database (or) opensource logging framework (or) flat file to store the application data.
Discussion on July 15th SDN application call :
To store the application data , dev team(Martin) is currently analysing about ElasticSearch.
Using the REST interface of ElasticSearch,
- data can be transferred and stored from the EaTL application.
- json data can be stored in the index specifically created for EaTL application.
- data can be retrieved from ElasticSearch for list-records, list-records-of-flow APIs using REST interface.
Open points :
-
Where to store the connection string, username and password for access the ElasticSearch ?
proposals :- Maintaining an application names ElasticSearchAuthProvider(ESAP) to holds the connection details of elastic search. On application approval by RegistryOffice , this ESAP application will communicate the connection details to EaTL.
- Maintaining the connection details in configuration data. During upgradation , old application will transfer the connection details to new application.
-
During bequeath-your-data-and-die , how we are going to transfer the application data ? (From recent mail chain)
Proposal :- EATL-v2 should just use the same index "eatl-records" as EATL-v1. It should just connect to the same ES and not doing any data transfer from EATL-v1 to EATL-v2 via REST API.
