rest - Handle bulk operations rollback on RESTful product -


the product have using spring data rest, , wishes follow architecture teeth, product required handle updates on n resources, single operation user. in scenario this, have think, in case have trouble in nth update operation, , rollback, user have backup to-be-updated data, in case of such trouble, , update n-1 resources backup data. there possibility during rollback might have trouble, , whole rollback might fail, causing many problems.

how can these handled user without abandoning restful crud endpoints of spring data rest (meaning not create custom batch endpoints break architecture)?

my question ideas on how safely handle above scenario user of uncustomized spring data rest product.

i think this answers question regarding making controller endpoints transactional, if want arbitrarily related updates transactional, aren't talking restful api.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -