User Tools
onboarding:elastic-replicator:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onboarding:elastic-replicator:start [2022/10/04 14:24] – 10.91.110.100 | onboarding:elastic-replicator:start [2024/08/29 11:28] (current) – 10.91.129.119 | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| **Individual: | **Individual: | ||
| - | - GET http:// | + | - GET http:// |
| - | - GET http:// | + | - GET http:// |
| - | - GET http:// | + | - GET http:// |
| - | - GET http:// | + | - GET http:// |
| - | - GET http:// | + | - GET http:// |
| + | |||
| + | **Limited individual** | ||
| + | - GET " | ||
| + | |||
| + | to limit to 1 month back. | ||
| **Bulk:** | **Bulk:** | ||
| Line 70: | Line 75: | ||
| - | ===== SSE ===== | + | ===== SSE(Server Sent Events Process) |
| + | The SSE subscription drives real time update receipt in the angular ems-nova front end application. | ||
| + | Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server via an HTTP connection, and describes how servers can initiate data transmission towards clients once an initial client connection has been established. | ||
| + | |||
| + | In this case nova subscribes to the idms-proxy sse endpoint and listens for updates: | ||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | The SSE touchpoints for processing are as follows(see also diagram below): | ||
| + | - Gorm listener events for ticket, alarm, element inserts or updates are pushed from Ticketer and SnmpManager onto rabbitmq. | ||
| + | - Elastic Replicator consumes messages from these queues, processes them using the sql queries and updates or inserts new records into elastic search. It also pushes the events onto a queue which is consumed by idms-proxy. | ||
| + | - idms-proxy consumes a queue which receives event messages from elastic-replicator. | ||
| + | - Nova front end is subscribed to proxies sse endpoint /replicator and receives messages for real time page updates. | ||
| + | |||
| + | |||
| + | {{ : | ||
| * Analysis document: https:// | * Analysis document: https:// | ||
| * Requirements document: https:// | * Requirements document: https:// | ||
| ===== Development Configuration ===== | ===== Development Configuration ===== | ||
| - | Project can be pointed at local or server deployed version of all api endpoints listed above. | + | Project can be pointed at local or server deployed version of all /bulk api endpoints listed above in the import section. |
| See src/ | See src/ | ||
onboarding/elastic-replicator/start.1664889859.txt.gz · Last modified: 2022/10/04 14:24 by 10.91.110.100