Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GCS_PROJECT_ID (1.84 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                final String projectId = System.getenv("GCS_PROJECT_ID");
                final String endpoint = System.getenv("GCS_ENDPOINT");
                final String credentialsFile = System.getenv("GCS_CREDENTIALS_FILE");
    
                // Validate projectId before attempting connection
                if (StringUtil.isBlank(projectId)) {
                    throw new IOException("GCS_PROJECT_ID is blank.");
                }
    
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            if (StringUtil.isBlank(projectId)) {
                throw new CrawlingAccessException(
                        "GCS project ID is blank. Please set the GCS_PROJECT_ID environment variable or projectId parameter.");
            }
    
            final StorageOptions.Builder builder = StorageOptions.newBuilder().setProjectId(projectId);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top