private TenantName validateTenant(HttpRequest request) {
        TenantName tenantName = getTenantNameFromRequest(request);
        checkThatTenantExists(tenantRepository, tenantName);
        return tenantName;
    }
* The implementation of the /application/v2 API.


@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/ApplicationApiHandler.java