Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for CopyRestApiTask (0.08 seconds)

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

     * This is intended to be be used from {@link RestResourcesPlugin} since the plugin wires up the needed
     * configurations and custom extensions.
     *
     * @see RestResourcesPlugin
     */
    public class CopyRestApiTask extends DefaultTask {
        private static final String REST_API_PREFIX = "rest-api-spec/api";
        private static final String REST_TEST_PREFIX = "rest-api-spec/test";
        private final ListProperty<String> include;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

    /**
     * <p>
     * Gradle plugin to help configure {@link CopyRestApiTask}'s and {@link CopyRestTestsTask} that copies the artifacts needed for the Rest API
     * spec and YAML based rest tests.
     * </p>
     * <strong>Rest API specification:</strong> <br>
     * When the {@link RestResourcesPlugin} has been applied the {@link CopyRestApiTask} will automatically copy the core Rest API specification
    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/InternalYamlRestTestPlugin.java

            // setup the dependencies
            setupTestDependenciesDefaults(project, yamlTestSourceSet);
    
            // setup the copy for the rest resources
            project.getTasks().withType(CopyRestApiTask.class).configureEach(copyRestApiTask -> {
                copyRestApiTask.setSourceResourceDir(
                    yamlTestSourceSet.getResources()
                        .getSrcDirs()
                        .stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

            project.getDependencies().add(bwcMinorConfig.getName(), bwcMinor);
    
            Provider<CopyRestApiTask> copyCompatYamlSpecTask = project.getTasks()
                .register("copyRestCompatApiTask", CopyRestApiTask.class, task -> {
                    task.dependsOn(bwcMinorConfig);
                    task.setConfig(bwcMinorConfig);
                    task.setAdditionalConfig(bwcMinorConfig);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesExtension.java

    import org.gradle.api.Action;
    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.provider.ListProperty;
    
    import javax.inject.Inject;
    
    /**
     * Custom extension to configure the {@link CopyRestApiTask}
     */
    public class RestResourcesExtension {
    
        private final RestResourcesSpec restApi;
        private final XpackRestResourcesSpec restTests;
    
        @Inject
    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)
Back to Top