architecture - HTTP method to represent "fire and forget" actions in RESTful service -
thinking rest, it's relatively easy map http methods crud actions: post create, read, etc. "fire , forget" actions? http method best represent fire , forget action such triggering batch job (in no response sent caller)?
post spring mind, think appropriate method because 99% of time supply bunch of parameters these types of actions. think?
post spring mind, think more appropriate method because 99% of time supply bunch of parameters these types of actions. think?
external state
i think number of parameters use has nothing verb use. key issue changing externally visible state?
batchjob resources
in example, if batch job not affect externally visible state of object implement batch job. model batch job resource associated resource container.
you use post create new batchjob resource , allow user see progress of job far. on resource container list of running batch jobs, possibly calling delete kill one.
Comments
Post a Comment