protected void resolvePropertyReplacements(Api api) {
        if (api == null) {
            return;
        }
        String endpoint = api.getEndpoint();
        endpoint = resolveProperties(endpoint);
        api.setEndpoint(endpoint);

        Map<String, String> properties = api.getEndpointProperties();
        for (Entry<String, String> entry : properties.entrySet()) {
            String value = entry.getValue();
            value = resolveProperties(value);
            entry.setValue(value);
        }

        resolvePropertyReplacements(api.getApiPolicies());
    }
protected void resolvePropertyReplacements ( Api api ) { if ( api == null ) { return ; } String endpoint = api . getEndpoint ( ) ; endpoint = resolveProperties ( endpoint ) ; api . setEndpoint ( endpoint ) ; Map < String , String > properties = api . getEndpointProperties ( ) ; for ( Entry < String , String > entry : properties . entrySet ( ) ) { String value = entry . getValue ( ) ; value = resolveProperties ( value ) ; entry . setValue ( value ) ; } resolvePropertyReplacements ( api . getApiPolicies ( ) ) ; }
Response API property replacements