class MsoRequest {

    protected String getTenantNameFromAAI(ServiceInstancesRequest servInsReq) {
        String tenantName = null;
        if (servInsReq.getRequestDetails() != null && servInsReq.getRequestDetails().getCloudConfiguration() != null
                && servInsReq.getRequestDetails().getCloudConfiguration().getTenantId() != null) {
            Tenant tenant = aaiDataRet.getTenant(servInsReq.getRequestDetails().getCloudConfiguration().getCloudOwner(),
                    servInsReq.getRequestDetails().getCloudConfiguration().getLcpCloudRegionId(),
                    servInsReq.getRequestDetails().getCloudConfiguration().getTenantId());
            if (tenant != null) {
                tenantName = tenant.getTenantName();
            }
        }
        return tenantName;
    }

}