@Test public void testGetKnoxServices() { mockBlueprintTextProcessor(); Collection<ExposedServiceV4Response> exposedServiceResponses = underTest.getKnoxServices(workspace.getId(), "blueprint"); assertEquals(2L, exposedServiceResponses.size()); mockBlueprintTextProcessor(); exposedServiceResponses = underTest.getKnoxServices(workspace.getId(), "blueprint"); assertEquals(2L, exposedServiceResponses.size()); mockBlueprintTextProcessor(); exposedServiceResponses = underTest.getKnoxServices(workspace.getId(), "blueprint"); assertEquals(2L, exposedServiceResponses.size()); }
public Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName) { Blueprint blueprint = blueprintService.getByNameForWorkspaceId(blueprintName, workspaceId); return getKnoxServices(blueprint); }
ServiceEndpointCollector { public Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName) { Blueprint blueprint = blueprintService.getByNameForWorkspaceId(blueprintName, workspaceId); return getKnoxServices(blueprint); } }
ServiceEndpointCollector { public Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName) { Blueprint blueprint = blueprintService.getByNameForWorkspaceId(blueprintName, workspaceId); return getKnoxServices(blueprint); }  }
ServiceEndpointCollector { public Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName) { Blueprint blueprint = blueprintService.getByNameForWorkspaceId(blueprintName, workspaceId); return getKnoxServices(blueprint); }  Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName); String getManagerServerUrl(Cluster cluster, String managerIp); Map<String, Collection<ClusterExposedServiceV4Response>> prepareClusterExposedServices(Cluster cluster, String managerIp); Map<String, Collection<ClusterExposedServiceView>> prepareClusterExposedServicesViews(Cluster cluster, String managerIp); List<GatewayTopologyV4Response> filterByStackType(StackType stackType, List<GatewayTopologyV4Response> topologies); }
ServiceEndpointCollector { public Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName) { Blueprint blueprint = blueprintService.getByNameForWorkspaceId(blueprintName, workspaceId); return getKnoxServices(blueprint); }  Collection<ExposedServiceV4Response> getKnoxServices(Long workspaceId, String blueprintName); String getManagerServerUrl(Cluster cluster, String managerIp); Map<String, Collection<ClusterExposedServiceV4Response>> prepareClusterExposedServices(Cluster cluster, String managerIp); Map<String, Collection<ClusterExposedServiceView>> prepareClusterExposedServicesViews(Cluster cluster, String managerIp); List<GatewayTopologyV4Response> filterByStackType(StackType stackType, List<GatewayTopologyV4Response> topologies);  }