Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for includeXpack (0.09 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesExtension.java

            private final ListProperty<String> includeXpack;
    
            XpackRestResourcesSpec(ObjectFactory objects) {
                includeCore = objects.listProperty(String.class);
                includeXpack = objects.listProperty(String.class);
            }
    
            public void includeCore(String... include) {
                this.includeCore.addAll(include);
            }
    
            public void includeXpack(String... include) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * restResources {
     *   restApi {
     *     includeCore 'index', 'cat'
     *     includeXpack 'enrich'
     *   }
     * }
     * </pre>
     * <br>
     * <strong>Rest YAML tests :</strong> <br>
     * When the {@link RestResourcesPlugin} has been applied the {@link CopyRestTestsTask} will copy the Rest YAML tests if explicitly
     * configured with `includeCore` or `includeXpack` through the `restResources.restTests` extension.
     * <i>For example:</i>
     * <pre>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestTestsTask.java

        }
    
        @SkipWhenEmpty
        @InputFiles
        public FileTree getInputDir() {
            FileTree coreFileTree = null;
            FileTree xpackFileTree = null;
            if (includeXpack.get().isEmpty() == false) {
                xpackPatternSet.setIncludes(includeXpack.get().stream().map(prefix -> prefix + "*/**").collect(Collectors.toList()));
                xpackFileTree = xpackConfigToFileTree.apply(xpackConfig).matching(xpackPatternSet);
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

                apply plugin: 'elasticsearch.java'
                apply plugin: 'elasticsearch.rest-resources'
    
                restResources {
                    restTests {
                        includeCore 'foo'
                        includeXpack 'bar'
                    }
                }
            """
            String apiCore1 = "foo1.json"
            String apiCore2 = "foo2.json"
            String apiXpack = "xpack.json"
            String coreTest = "foo/10_basic.yml"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
Back to Top