private String getSlaUrl ( String envSlaUrl , UriInfo uriInfo ) { String baseUrl = uriInfo . getBaseUri ( ) . toString ( ) ; if ( envSlaUrl == null ) { envSlaUrl = "" ; } String result = ( "" . equals ( envSlaUrl ) ) ? baseUrl : envSlaUrl ; logger . debug ( "getSlaUrl(env={}, supplied={}) = {}" , envSlaUrl , baseUrl , result ) ; return result ; }
Returns base url of the sla core .