The diagram below explains the flow involved in uploading an artifact to a cartridge instance automatically. A Webhook needs to be added to the remote Git repository for the Deployment Synchronization process to take place automatically.
The flow involved in uploading an artifact to a cartridge instance automatically will be as follows:
- When a tenant user needs to upload an artifact, they will push the artifact into their remote Git repository by issuing a
- This will make the GitRepo send a
pushevent to Stratos Manager (SM).
- When a
git pushtriggers the Artifact Distribution Coordinator (ADC), it will publish a
Artifact Updateevent to the
Instance Notifiertopic, which is within the Message Broker (MB).
- Thereafter, the relevant cartridge instances will subscribe to the
Update Artifactevent and update its artifacts by issuing a
git pullto the tenant user's remote Git repository.