package Ġcom . tester um . web _ backend . controllers . steps Ċ Ċ import Ġcom . tester um . model . infrastructure . path . Path Ċ import Ġcom . tester um . model . step . Basic Step Def Ċ import Ġcom . tester um . model . step . filter . Steps Tree Filter Ċ import Ġcom . tester um . web _ backend . services . steps . Basic Steps Frontend Service Ċ import Ġorg . springframework . web . bind . annotation .* Ċ Ċ @ RestController Ċ @ RequestMapping ("/ steps / basic ") Ċ class ĠBasic Step Controller ( private Ġval Ġbasic Steps Frontend Service : ĠBasic Steps Frontend Service ) Ġ{ ĊĊĠĠĠ Ġ@ RequestMapping ( method Ġ= Ġ[ Request Method . POST ], Ġpath Ġ= Ġ[ "" ]) ĊĠĠĠ Ġ@ ResponseBody ĊĠĠĠ Ġfun Ġget Basic Steps (@ RequestBody Ġfilter : ĠSteps Tree Filter ): ĠList < Basic Step Def > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġbasic Steps Frontend Service . get Basic Steps ( filter ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ RequestMapping ( method Ġ= Ġ[ Request Method . GET ], Ġpath Ġ= Ġ[ "" ], Ġparams Ġ= Ġ[" path "]) ĊĠĠĠ Ġ@ ResponseBody ĊĠĠĠ Ġfun Ġget Basic Step At Path (@ RequestParam ( value Ġ= Ġ" path ") Ġpath : ĠString ): ĠBasic Step Def ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġbasic Steps Frontend Service . get Basic Step At Path ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPath . create Instance ( path ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ