update item concode_field_sep IInventoryRepo itemsRepo concode_field_sep Inventory getById concode_elem_sep List<Inventory> getByName concode_elem_sep String create concode_elem_sep String check concode_elem_sep Iterable<Inventory> getInventory concode_elem_sep List<Inventory> getByPrice concode_elem_sep String tripCircuitBreaker concode_elem_sep String delete concode_elem_sep String failGood
String function ( @ PathVariable long arg0 , @ RequestBody Inventory arg1 ) { try { if ( itemsRepo . exists ( arg0 ) ) { arg1 . setId ( arg0 ) ; itemsRepo . save ( arg1 ) ; } else return "srini_string" ; } catch ( Exception loc0 ) { return "srini_string" + loc0 . toString ( ) ; } return "srini_string" ; }