public LocalSession createSessionFromApplicationPackage(File applicationDirectory,
                                                            ApplicationId applicationId,
                                                            TimeoutBudget timeoutBudget,
                                                            DeployLogger deployLogger) {
        LocalSession session = createSessionFromApplication(applicationDirectory, applicationId, false, timeoutBudget,
                                            deployLogger, clock.instant());
        applicationRepo.createApplication(applicationId);
        return session;
    }
Creates a new deployment session from an application package.

@param applicationDirectory a File pointing to an application.
@param applicationId application id for this new session.
@param timeoutBudget Timeout for creating session and waiting for other servers.
@return a new session
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionRepository.java