use of com.yahoo.vespa.hosted.controller.api.integration.organization.MockOrganization in project vespa by vespa-engine.
the class ControllerTester method createController.
private static Controller createController(ControllerDb db, CuratorDb curator, RotationsConfig rotationsConfig, ConfigServerClientMock configServerClientMock, ManualClock clock, GitHubMock gitHubClientMock, ZoneRegistryMock zoneRegistryMock, AthenzDbMock athensDb, MemoryNameService nameService, ArtifactRepository artifactRepository, EntityService entityService) {
Controller controller = new Controller(db, curator, rotationsConfig, gitHubClientMock, entityService, new MockOrganization(clock), new MemoryGlobalRoutingService(), zoneRegistryMock, configServerClientMock, new NodeRepositoryClientMock(), new MockMetricsService(), nameService, new MockRoutingGenerator(), new ChefMock(), clock, new AthenzClientFactoryMock(athensDb), artifactRepository);
controller.updateVersionStatus(VersionStatus.compute(controller));
return controller;
}
Aggregations