Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for gcs (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

                assertNull(responseData);
            }
            try (final ResponseData responseData = gcsClient.doHead("gcs://fess/dir1/dir2/")) {
                assertNull(responseData);
            }
            try (final ResponseData responseData = gcsClient.doHead("gcs://fess/dir3/")) {
                assertNull(responseData);
            }
            try (final ResponseData responseData = gcsClient.doHead("gcs://fess/none")) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * @return true if the URL uses a file path protocol (smb, smb1, file, ftp, s3, gcs)
         */
        public boolean isFilePathProtocol(final String url) {
            return url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("file:") || url.startsWith("ftp:")
                    || url.startsWith("s3:") || url.startsWith("gcs:");
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            super.setUp();
            new StandardCrawlerContainer();
        }
    
        /**
         * Test that the gcs protocol is correctly recognized.
         */
        public void test_protocol() throws Exception {
            URL url = new URL("gcs://bucket/object");
            assertEquals("gcs", url.getProtocol());
        }
    
        /**
         * Test URL parsing with bucket and object path.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

                return StorageType.S3;
            }
    
            final String lowerEndpoint = endpoint.toLowerCase(Locale.ROOT);
    
            // GCS patterns
            if (lowerEndpoint.contains("storage.googleapis.com") || lowerEndpoint.contains(".storage.cloud.google.com")) {
                return StorageType.GCS;
            }
    
            // S3 patterns
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

    import com.google.cloud.storage.StorageOptions;
    
    /**
     * Handler for the "gcs" protocol, allowing access to objects stored in Google Cloud Storage.
     * This handler extends {@link URLStreamHandler} to provide a way to open connections to GCS objects
     * using URLs with the "gcs" protocol.
     *
     * <p>
     * The URL format is expected to be: {@code gcs://bucketName/objectName}.
     * The bucket name and object name are extracted from the URL.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            }
    
            isInit = true;
            if (logger.isInfoEnabled()) {
                logger.info("GCS client initialized successfully: projectId={}, endpoint={}", projectId,
                        endpoint != null ? endpoint : "default");
            }
        }
    
        /**
         * Processes a GCS request with timeout management.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        /**
         * Storage type for cloud storage (s3, gcs, auto).
         * Determines which storage client to use.
         */
        @Size(max = 20)
        public String storageType;
    
        /**
         * Storage region for S3.
         * AWS region where the S3 bucket is located.
         */
        @Size(max = 100)
        public String storageRegion;
    
        /**
         * GCS project ID.
         * Google Cloud project ID for GCS storage.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

        private final Storage storage;
        private final String bucket;
    
        /**
         * Creates a new GcsStorageClient instance.
         *
         * @param projectId the GCS project ID
         * @param bucket the bucket name
         * @param endpoint the custom endpoint URL (optional, for fake-gcs-server etc.)
         * @param credentialsPath the path to the credentials JSON file (optional)
         */
    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-lasta/src/main/resources/crawler/client.xml

    		class="org.codelibs.fess.crawler.client.s3.S3Client" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="gcsClient"
    		class="org.codelibs.fess.crawler.client.gcs.GcsClient" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="crawlerClientCreator"
    		class="org.codelibs.fess.crawler.client.CrawlerClientCreator">
    	</component>
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/storage/StorageType.java

     */
    package org.codelibs.fess.storage;
    
    /**
     * Enum for supported storage types.
     */
    public enum StorageType {
    
        /** Amazon S3 */
        S3,
    
        /** Google Cloud Storage */
        GCS,
    
        /** S3-compatible storage (MinIO, etc.) */
        S3_COMPAT
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 864 bytes
    - Viewed (0)
Back to top