package Ġch . max ant . k dc . mf . contracts . adapter Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonIgnore Ċ import Ġorg . eclipse . micro profile . metrics . Metric Units Ċ import Ġorg . eclipse . micro profile . metrics . annotation . Timed Ċ import Ġorg . eclipse . micro profile . rest . client . inject . Register RestClient Ċ import Ġjava . util .* Ċ import Ġjavax . ws . rs .* Ċ import Ġjavax . ws . rs . core . MediaType Ċ Ċ @ Path ("/ organisation ") Ċ @ Register RestClient Ċ @ Cons umes ( MediaType . APPLICATION _ JSON ) Ċ @ Produces ( MediaType . APPLICATION _ JSON ) Ċ interface ĠOrgan isation Adapter Ġ{ ĊĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġ@ Path ("/ staff By Partner Id /{ partner Id }") ĊĠĠĠ Ġ@ Timed ( unit Ġ= ĠMetric Units . MILLISECONDS ) ĊĠĠĠ Ġfun Ġget Staff By Partner Id (@ Path Param (" partner Id ") Ġpartner Id : ĠUUID ): ĠStaff ĊĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġ@ Timed ( unit Ġ= ĠMetric Units . MILLISECONDS ) ĊĠĠĠ Ġfun Ġget Organ isation (): ĠO U Ċ } Ċ Ċ data Ġclass ĠStaff ( ĊĠĠĠ Ġval Ġpartner Id : ĠUUID , ĊĠĠĠ Ġval Ġun : ĠString Ċ ) Ċ Ċ data Ġclass ĠO U ( val Ġstaff : ĠList < Staff >, Ġval Ġchildren : ĠList < OU >) Ċ