- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for httpPort (0.26 sec)
-
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) -
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) -
pkg/test/framework/components/authz/kubelocal.go
return map[string]any{ "httpName": s.httpName(), "grpcName": s.grpcName(), "httpHost": s.httpHost(), "grpcHost": s.grpcHost(), "httpPort": httpPort, "grpcPort": grpcPort, } } func (s *localServerImpl) installProviders(ctx resource.Context) error { // Update the mesh config extension provider for the ext-authz service.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.1K bytes - Viewed (0) -
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) -
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) -
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) -
samples/extauthz/cmd/extauthz/main.go
return &ExtAuthzServer{ grpcV2: &extAuthzServerV2{}, grpcV3: &extAuthzServerV3{}, httpPort: make(chan int, 1), grpcPort: make(chan int, 1), } } func main() { flag.Parse() s := NewExtAuthzServer() go s.run(fmt.Sprintf(":%s", *httpPort), fmt.Sprintf(":%s", *grpcPort)) defer s.stop() // Wait for the process to be shutdown. sigs := make(chan os.Signal, 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
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) -
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) -
platforms/documentation/docs/src/docs/dsl/org.gradle.play.tasks.PlayRun.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.5K bytes - Viewed (0)