Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for endPoint (0.08 sec)

  1. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

            // Utility class
        }
    
        /**
         * Auto-detect storage type from endpoint URL.
         *
         * @param endpoint the storage endpoint URL
         * @return detected storage type
         */
        public static StorageType detectStorageType(final String endpoint) {
            if (StringUtil.isBlank(endpoint)) {
                // Default to S3 if no endpoint (uses AWS default)
                return StorageType.S3;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. tests/test_pydantic_v1_error.py

            @app.post("/param")
            def endpoint(data: ParamModelV1):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_return_type() -> None:
        class ReturnModelV1(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.get("/return")
            def endpoint() -> ReturnModelV1:  # pragma: no cover
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            // In this test, we expect IOException when endpoint is blank
            try {
                conn.connect();
                fail("Should throw IOException when endpoint is not set");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
            }
        }
    
        /**
         * Test thread-safety of connect() method.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            // For non-AWS endpoints (MinIO, etc.), set custom endpoint with path-style access
            if (StringUtil.isNotBlank(endpoint)) {
                builder.endpointOverride(URI.create(endpoint)).forcePathStyle(true);
            }
    
            this.s3Client = builder.build();
        }
    
        private String getRegion(final String region) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. tests/test_dependency_wrapped.py

    @app.get("/wrapped-class-dependency/")
    async def get_wrapped_class_dependency(value: ClassDep = Depends(wrapped_class_dep)):
        return value.value
    
    
    @app.get("/wrapped-endpoint/")
    @noop_wrap
    def get_wrapped_endpoint():
        return True
    
    
    @app.get("/async-wrapped-endpoint/")
    @noop_wrap
    async def get_async_wrapped_endpoint():
        return True
    
    
    # Async wrapper
    
    
    @noop_wrap_async
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. tests/test_wrapped_method_forward_reference.py

        references.
        """
        app = FastAPI()
        client = TestClient(app)
        app.post("/endpoint")(passthrough(forwardref_method))
        app.post("/endpoint2")(passthrough(passthrough(forwardref_method)))
        with client:
            response = client.post("/endpoint", json={"input": {"x": 0}})
            response2 = client.post("/endpoint2", json={"input": {"x": 0}})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

                return;
            }
    
            super.init();
    
            final String endpoint = getInitParameter("endpoint", null, String.class);
            if (StringUtil.isBlank(endpoint)) {
                throw new CrawlingAccessException(
                        "S3 endpoint is blank. Please set the S3_ENDPOINT environment variable or endpoint parameter.");
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            }
    
            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            final String endpoint = getInitParameter("endpoint", null, String.class);
            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

            String bucketName = "fess";
            Integer mappedPort = minioServer.getFirstMappedPort();
            Testcontainers.exposeHostPorts(mappedPort);
            String endpoint = String.format("http://%s:%s", minioServer.getContainerIpAddress(), mappedPort);
            logger.info("endpoint: {}", endpoint);
    
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top