[ANALYTICS-468] Implement the analytics health check validation rest endpoint call Created: 22/Jan/21 Updated: 23/Aug/23 |
|
| Status: | Open |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Laura Delnevo | Assignee: | Alberto Soto |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | Connectors Health-checks | ||||||||||||||||||||
| Team: | |||||||||||||||||||||
| Description |
ContextTo have visibility and a health check for the connector pack, we need to integrate a Health check for analytics. The process need to generate an structure for the validator of analytics, use that structure in some endpoints and have these endpoints to be executed regularly by jenkins. Check details on related linked tasks. Acceptance criteriaGenerate an unique endpoint with delivery API or healthcheck API that executes the validation included in ANALYTICS-490 Endpoints should be at this references for example
The response server code could be, as expected:
Also include the stacktrace.
Otherwise, Response.Ok should be enough Development notesAs an additional module which is going to be included in addons-pack we can use a light module approach, using static resources The endpoints could make use of magnolia delivery endpoints in order to be reachable without additional credentials https://docs.magnolia-cms.com/product-docs/6.2/Developing/API/Delivery-API.html In case of using the java implementation https://docs.magnolia-cms.com/product-docs/6.2/Developing/Development-how-tos/How-to-create-a-custom-Java-based-REST-endpoint.html ensure credentials are setup properly in the module. |