private ApplicationPackage createApplication(File configApplicationDir,
                                                 ApplicationId applicationId,
                                                 long sessionId,
                                                 Optional<Long> currentlyActiveSessionId,
                                                 boolean internalRedeploy,
                                                 Optional<DeployLogger> deployLogger) {
        long deployTimestamp = System.currentTimeMillis();
        DeployData deployData = new DeployData(applicationId, deployTimestamp, internalRedeploy,
                                               sessionId, currentlyActiveSessionId.orElse(nonExistingActiveSessionId));
        FilesApplicationPackage app = FilesApplicationPackage.fromFileWithDeployData(configApplicationDir, deployData);
        validateFileExtensions(applicationId, deployLogger, app);

        return app;
    }
A session for which we don't have a watcher, i.e. hitherto unknown to us.

@param sessionId session id for the new session
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionRepository.java