package Ġno . nav . t pts . mot tak Ċ Ċ private Ġfun Ġget PropertyValue By Environment ( dev Value : ĠString , Ġprod Value : ĠString ): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġwhen Ġ( System . getenv (" NA IS _ CLUSTER _ NAME ")) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" dev - gcp " Ġ-> Ġdev Value ĊĠĠĠĠĠĠĠ Ġ" prod - gcp " Ġ-> Ġprod Value ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġdev Value ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun ĠgetS af Url (): ĠString Ġ= Ġget PropertyValue By Environment ( ĊĠĠĠ Ġdev Value Ġ= Ġ" https :// saf . dev - f ss - pub . na is . io ", ĊĠĠĠ Ġprod Value Ġ= Ġ" https :// saf . prod - f ss - pub . na is . io " Ċ ) Ċ Ċ fun Ġtopic Name (): ĠString Ġ= Ġget PropertyValue By Environment ( ĊĠĠĠ Ġdev Value Ġ= Ġ" team d okument hand ter ing . a ap en - dok - journal fo ering - q 1 ", ĊĠĠĠ Ġprod Value Ġ= Ġ" team d okument hand ter ing . a ap en - dok - journal fo ering " Ċ ) Ċ Ċ object ĠAuth Config Ġ{ ĊĠĠĠ Ġval Ġissuer Ġ= ĠSystem . getenv (" AZURE _ IS SU ER ") ĊĠĠĠ Ġval Ġj w ks Uri Ġ= ĠSystem . getenv (" AZURE _ JW KS _ URI ") ĊĠĠĠ Ġval ĠclientId Ġ= ĠSystem . getenv (" AZURE _ APP _ CLIENT _ ID ") Ċ } Ċ