class BBInputSetupUtils {

    public ServiceInstances getAAIServiceInstancesGloballyByName(String serviceInstanceName) {

        return injectionHelper.getAaiClient()
                .get(ServiceInstances.class, AAIUriFactory.createNodesUri(Types.SERVICE_INSTANCES.getFragment())
                        .queryParam("service-instance-name", serviceInstanceName))
                .orElseGet(() -> {
                    logger.debug("No Service Instance matched by name");
                    return null;
                });
    }

}