package Ġbr . com . gui ab ol so . connector . controller Ċ Ċ import Ġbr . com . gui ab ol so . events . server . Event Processor Ċ import Ġorg . springframework . beans . factory . annotation . Qualifier Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġro . pi pp o . controller . Controller Ċ import Ġro . pi pp o . controller . POST Ċ import Ġro . pi pp o . controller . Path Ċ import Ġro . pi pp o . controller . Produces Ċ Ċ @ Path ("/") Ċ @ Component Ċ class ĠEvent Controller ( ĊĠĠĠ Ġ@ Qualifier (" partner Event Processor ") Ġprivate Ġval Ġpartner Event Processor : ĠEvent Processor , ĊĠĠĠ Ġ@ Qualifier (" user Event Processor ") Ġprivate Ġval Ġuser Event Processor : ĠEvent Processor Ċ ) Ġ: ĠController () Ġ{ ĊĊĠĠĠ Ġ@ POST ("/ partner / events /") ĊĠĠĠ Ġ@ Produces ( Produces . JSON ) ĊĠĠĠ Ġfun Ġpartner EventHandler (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpartner Event Processor . process Event ( request . body ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ POST ("/ gb Connect / events /") ĊĠĠĠ Ġ@ Produces ( Produces . JSON ) ĊĠĠĠ Ġfun Ġo Auth EventHandler (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġuser Event Processor . process Event ( request . body ) ĊĠĠĠ Ġ} Ċ } Ċ