Skip to content

Instantly share code, notes, and snippets.

Senario.
A support app which has some rest api's for
Tickets ,Contacts , User Settings -> (Workflow,users,department,profiles and roles based authorisation) ,other-services
integrated data api
We are trying to define Oauth scopes for these .The main questions we are finding difficulty with are :
- How fine granined should OAuth scopes be and what are the trade off's of fine granied vs coarse granied scopes.
[ticket micro service] ---> ticket stream --> [automation micro service ] ---> ?
[ticket micro service] - produces a steam of ticket events
[automation micro service] - need to validate a certian critera and if it matches needs to send some mail , update ticket based on user config.
How can the automation micro service write back into the ticket stream or should it produce a new steam ?
runRequestWrokflow(DataObject workFlowConfig,DataObject requestDao){
}
runRequestWrokflow(DataObject workFlowConfig,DataObject requestDao){
}
runRequestWrokflow(DataObject workFlowConfig,DataObject requestDao){
}