Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently cartridge agent consists of several modules: event-publisher, event-subscriber and health-publisher. In this model it is difficult to synchronize the work-flow among different products. Therefore it would be better to implement a single product which could handle all the features.
Work Flow:
1. Configure Cartridge Agent, provide mb-ip, mb-port, cep-ip, cep-port, payload-file-path.
2. Start Cartridge Agent.
3. Publish instance started event.
4. Wait for application ports to be active.
5. If no artifact repository given send instance activated event.
6. If artifact repository given, wait for artifact update event sent by Stratos Manager.
7. Once artifact update event is received, checkout artifacts.
8. Once artifacts are checked out send instance activated event.
9. If another artifact update event is received, checkout artifacts.