Invalidate cache on transaction layer on bot update
Closed this issue · 4 comments
chinmoy12c commented
Transaction layer bot cache needs to be invalidated on bot update so that there is no inconsistent data on the transaction layer after an update occurs.
chinmoy12c commented
@pankajjangid05 please attach the curl for invalidating the cache on transaction layer.
pankajjangid05 commented
API for removing caffeine cache from the transaction layer :
curl --location --request DELETE 'http://localhost:9080/cache/caffeine/removeAll' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Authorization_Key'
Currently, this API is working but we are not sending any success or fail response from the transaction layer. So I need to add the success or fail response in this API.
pankajjangid05 commented
Hey @chinmoy12c
chinmoy12c commented
PR has been raised.