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
Post a Comment