Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for httpPort (0.25 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/RunningPlayApp.groovy

            }
    
            if (standalone) {
                httpPort = regexParseHttpPortStandalone(output.call(), occurrence)
            } else {
                httpPort = regexParseHttpPortFromGradle(output.call(), occurrence)
            }
            return httpPort
        }
    
    
        static int regexParseHttpPortStandalone(output, int occurrence) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. samples/jwt-server/src/main.go

    func NewJwtServer(certificate string, key string) *JWTServer {
    	return &JWTServer{
    		httpPort:          make(chan int, 1),
    		httpsPort:         make(chan int, 1),
    		serverCertificate: certificate,
    		serverPrivateKey:  key,
    	}
    }
    
    func main() {
    	flag.Parse()
    	s := NewJwtServer(*serverCert, *serverkey)
    	go s.runHTTP(fmt.Sprintf(":%s", *httpPort))
    	if s.serverCertificate != "" && s.serverPrivateKey != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/jwt/kube.go

    	return fmt.Sprintf("%s.%s.svc.cluster.local", serviceName, s.ns.Name())
    }
    
    func (s *serverImpl) HTTPPort() int {
    	return httpPort
    }
    
    func (s *serverImpl) HTTPSPort() int {
    	return httpsPort
    }
    
    func (s *serverImpl) JwksURI() string {
    	uri := fmt.Sprintf("http://%s:%d/jwks", s.FQDN(), s.HTTPPort())
    	return uri
    }
    
    func (s *serverImpl) ID() resource.ID {
    	return s.id
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 22 23:45:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. pkg/test/framework/components/authz/kube.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	httpName = "ext-authz-http"
    	grpcName = "ext-authz-grpc"
    	httpPort = 8000
    	grpcPort = 9000
    
    	providerTemplate = `
    extensionProviders:
    - name: "{{ .httpName }}"
      envoyExtAuthzHttp:
        service: "{{ .fqdn }}"
        port: {{ .httpPort }}
        headersToUpstreamOnAllow: ["x-ext-authz-*"]
        headersToDownstreamOnDeny: ["x-ext-authz-*"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GrettySmokeTest.groovy

                    httpPort = new ServerSocket(0).withCloseable { socket -> socket.getLocalPort() }
                    integrationTestTask = 'checkContainerUp'
                    servletContainer = '${grettyConfig.servletContainer}'
                }
    
                task checkContainerUp {
                    doLast {
                        URL url = new URL("http://localhost:\${gretty.httpPort}/quickstart")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/AbstractPlayExternalContinuousBuildIntegrationTest.groovy

        TestFile getPlayRunBuildFile() {
            buildFile
        }
    
        def writeSources() {
            playApp.writeSources(testDirectory)
    
            playRunBuildFile << """
                runPlay {
                    httpPort = 0
                    ${jpmsForkOptions()}
                }
            """
    
            settingsFile << """
                rootProject.name = '${playApp.name}'
            """
        }
    
        void appIsRunningAndDeployed() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.play.tasks.PlayRun.xml

                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>forkOptions</td>
                </tr>
                <tr>
                    <td>httpPort</td>
                </tr>
                <tr>
                    <td>applicationJar</td>
                </tr>
                <tr>
                    <td>assetsJar</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. samples/jwt-server/src/main_test.go

    	go server.runHTTP("localhost:0")
    	// Prepare the HTTP request.
    	httpClient := &http.Client{}
    	httpReq, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://localhost:%d/jwtkeys", <-server.httpPort), nil)
    	if err != nil {
    		t.Fatalf(err.Error())
    	}
    	resp, err := httpClient.Do(httpReq)
    	if err != nil {
    		t.Fatalf(err.Error())
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 23 16:58:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. samples/extauthz/cmd/extauthz/main_test.go

    	go server.run("localhost:0", "localhost:0")
    
    	// Prepare the HTTP request.
    	httpClient := &http.Client{}
    	httpReq, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://localhost:%d/check", <-server.httpPort), nil)
    	if err != nil {
    		t.Fatalf(err.Error())
    	}
    
    	// Prepare the gRPC request.
    	conn, err := grpc.Dial(fmt.Sprintf("localhost:%d", <-server.grpcPort), grpc.WithTransportCredentials(insecure.NewCredentials()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 23 16:58:02 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ExcludeRuleMergingPerformanceTest.groovy

            runner.minimumBaseVersion = '5.6.4'
        }
    
        def "merge exclude rules"() {
            startServer()
    
            given:
            runner.tasksToRun = ['resolveDependencies']
            runner.args = ['-PuseHttp', "-PhttpPort=${serverPort}", "-Dorg.gradle.parallel=false"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            cleanup:
            stopServer()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top