[
https://issues.apache.org/jira/browse/FINERACT-1942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihaly Dallos updated FINERACT-1942:
------------------------------------
Labels: PepperSoup (was: )
> Graceful shutdown of Fineract
> -----------------------------
>
> Key: FINERACT-1942
> URL: https://issues.apache.org/jira/browse/FINERACT-1942
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Mihaly Dallos
> Priority: Minor
> Labels: PepperSoup
>
> h3. API:
> The APIs in Fineract should be able to shut down gracefully, i.e. not
> accepting any more HTTP requests upon receiving the SIGTERM signal but
> finishing all in-flight HTTP requests.
> *Notes:* Spring Boot has built-in support for this. See:
> [!https://docs.spring.io/favicon.ico!Spring Boot Reference
> Documentation|https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#web.graceful-shutdown]
> *APIs not concerned* (OK either way)
> * Asynchronous APIs (only available on batch manager instance)
> * Jobs APIs (only available on batch manager instance)
> * Only batch manager relevant APIs
> {panel}
> *Acceptance criteria*
> * Upon receiving the SIGTERM signal, the application should stop accepting
> new HTTP requests
> * Upon receiving the SIGTERM signal, the application should finish any
> in-flight HTTP request
> {panel}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)