SAP-samples / cf-mta-examples

The repository contains multitarget application (MTA) examples for SAP BTP, Cloud Foundry environment. Examples demonstrate how to achieve different goals using MTAs and show the capabilities of MTA deployment service in the Cloud Foundry environment.
Apache License 2.0
112 stars 44 forks source link

Example for: Triggering Tasks at deploy process events (Hooks feature) #9

Open ddonchev opened 4 years ago

ddonchev commented 4 years ago

Hooks feature documentation: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b9245ba90aa14681a416065df8e8c593.html

TLDR: Run a CF task before/after an app get's started or on other steps of the deploy-process in order to achieve capabilities as triggering long graceful shutdown, pre-processing data in DB etc.

gregorwolf commented 8 months ago

I think this could be closed @ddonchev as https://github.com/SAP-samples/cf-mta-examples/tree/main/hooks describes it or?