package Ġno . nav . f amil ie . ef . person hen del se . client Ċ Ċ import Ġno . nav . f amil ie . http . client . Abstract RestClient Ċ import Ġno . nav . f amil ie . kon tr ak ter . fel les . Ress urs Ċ import Ġorg . springframework . beans . factory . annotation . Qualifier Ċ import Ġorg . springframework . beans . factory . annotation . Value Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġorg . springframework . web . client . Rest Operations Ċ import Ġorg . springframework . web . util . Uri Components Builder Ċ import Ġjava . net . URI Ċ Ċ @ Component Ċ class ĠS ak Client ( ĊĠĠĠ Ġ@ Qualifier (" azure ") Ġrest Operations : ĠRest Operations , ĊĠĠĠ Ġ@ Value ("\ ${ EF _ SA K _ URL }") ĊĠĠĠ Ġprivate Ġval Ġuri : ĠURI Ċ ) Ġ: ĠAbstract RestClient ( rest Operations , Ġ" f amil ie . ef - sak ") Ġ{ ĊĊĠĠĠ Ġfun Ġhar St Ã¸ nad S iste 1 2 M Ã¥ ned er For Person id enter ( person id enter : ĠSet < String >): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġuri Components Builder Ġ= ĠUri Components Builder . from Uri ( uri ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. path Segment (" api / ek st ern / be handling / har sto en ad / fl ere - id enter ") ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= Ġpost For Entity < Ress urs < Boolean >>( uri Components Builder . build (). to Uri (), Ġperson id enter ) ĊĠĠĠĠĠĠĠ Ġreturn Ġresponse . data Ġ?: Ġerror (" K all Ġmot Ġef - sak Ġfe ilet . ĠStatus =${ response . status } Ġ- Ġ${ response . meld ing }") ĊĠĠĠ Ġ} Ċ } Ċ