Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for restApi (0.04 seconds)

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

        private final RestResourcesSpec restApi;
        private final XpackRestResourcesSpec restTests;
    
        @Inject
        public RestResourcesExtension(ObjectFactory objects) {
            restApi = new RestResourcesSpec(objects);
            restTests = new XpackRestResourcesSpec(objects);
        }
    
        void restApi(Action<? super RestResourcesSpec> spec) {
            spec.execute(restApi);
        }
    
    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

     * declared to be copied.
     * <br>
     * <i>For example:</i>
     * <pre>
     * restResources {
     *   restApi {
     *     includeXpack 'enrich'
     *   }
     * }
     * </pre>
     * Will copy the entire core Rest API specifications (assuming the project has tests) and any of the the X-pack specs starting with enrich*.
    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/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

            given:
            internalBuild()
            buildFile << """
                apply plugin: 'elasticsearch.java'
                apply plugin: 'elasticsearch.rest-resources'
    
                restResources {
                    restApi {
                        include 'foo', 'xpackfoo'
                    }
                }
            """
            String apiFoo = "foo.json"
            String apiXpackFoo = "xpackfoo.json"
            String apiBar = "bar.json"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
  4. cmd/http-tracer_test.go

    				stats.Inc("TestAPI")
    			}
    		}(i)
    	}
    
    	for i := range numGoroutines / 2 {
    		wg.Add(1)
    		go func(id int) {
    			defer wg.Done()
    			for range opsPerGoroutine / 2 {
    				_ = stats.Load(false)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	finalStats := stats.Load(false)
    	expected := numGoroutines * opsPerGoroutine
    	actual := finalStats["TestAPI"]
    	if actual != expected {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. okhttp-coroutines/build.gradle.kts

      api(libs.square.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
Back to Top