@Test public void should_load_all_routes_from_path() throws IOException { final IstioAssistant istioAssistant = new IstioAssistant(istioClient); final List<IstioResource> istioResources = istioAssistant.deployIstioResources(Paths.get(".","src", "test", "resources")); assertThat(istioResources) .hasSize(3); }
public List<IstioResource> deployIstioResources(final InputStream inputStream) { return istioClient.registerCustomResources(inputStream); }
IstioAssistant { public List<IstioResource> deployIstioResources(final InputStream inputStream) { return istioClient.registerCustomResources(inputStream); } }
IstioAssistant { public List<IstioResource> deployIstioResources(final InputStream inputStream) { return istioClient.registerCustomResources(inputStream); } IstioAssistant(IstioClient istioClient); }
IstioAssistant { public List<IstioResource> deployIstioResources(final InputStream inputStream) { return istioClient.registerCustomResources(inputStream); } IstioAssistant(IstioClient istioClient); List<IstioResource> deployIstioResources(final InputStream inputStream); void undeployIstioResources(final List<IstioResource> istioResources); List<IstioResource> deployIstioResources(final URL...urls); List<IstioResource> deployIstioResourcesFromClasspathPattern(String pattern); List<IstioResource> deployIstioResources(final Path directory); List<IstioResource> deployIstioResources(String content); void await(final URL url, Function<Response, Boolean> checker); void await(final Request request, Function<Response, Boolean> checker); }
IstioAssistant { public List<IstioResource> deployIstioResources(final InputStream inputStream) { return istioClient.registerCustomResources(inputStream); } IstioAssistant(IstioClient istioClient); List<IstioResource> deployIstioResources(final InputStream inputStream); void undeployIstioResources(final List<IstioResource> istioResources); List<IstioResource> deployIstioResources(final URL...urls); List<IstioResource> deployIstioResourcesFromClasspathPattern(String pattern); List<IstioResource> deployIstioResources(final Path directory); List<IstioResource> deployIstioResources(String content); void await(final URL url, Function<Response, Boolean> checker); void await(final Request request, Function<Response, Boolean> checker);  }