public AllocatedHosts getAllocatedHostsOf(ApplicationId applicationId) {
        Optional<Session> session = applicationRepository.getActiveSession(tenant(applicationId), applicationId);
        return session.orElseThrow(() -> new IllegalArgumentException("No active session for " + applicationId)).getAllocatedHosts();
    }
Do the initial "deploy" with the existing API-less code as the deploy API doesn't support first deploys yet.
configserver/src/test/java/com/yahoo/vespa/config/server/deploy/DeployTester.java