use of com.yahoo.config.model.application.provider.FilesApplicationPackage in project vespa by vespa-engine.
the class ApplicationRepositoryTest method prepareAndActivateApp.
private PrepareResult prepareAndActivateApp(File application) throws IOException {
FilesApplicationPackage appDir = FilesApplicationPackage.fromFile(application);
long sessionId = applicationRepository.createSession(tenant, timeoutBudget, appDir.getAppDir(), "testapp");
return applicationRepository.prepareAndActivate(tenant, sessionId, prepareParams(), false, false, Instant.now());
}
Aggregations