Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for connect0 (0.04 sec)

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

            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
        }
    
        /**
         * Test thread-safety of connect() method.
         * Multiple threads should be able to call connect() concurrently without issues.
         */
    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

             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
                final String projectId = System.getenv("GCS_PROJECT_ID");
                final String endpoint = System.getenv("GCS_ENDPOINT");
    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/net/protocol/s3/Handler.java

             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
                final String endpoint = System.getenv().get("S3_ENDPOINT");
                final String accessKey = System.getenv().get("S3_ACCESS_KEY");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
                final String endpoint = System.getenv().get("STORAGE_ENDPOINT");
                final String accessKey = System.getenv().get("STORAGE_ACCESS_KEY");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        /**
         * Checks if the client is connected to OpenSearch.
         *
         * @return true if connected, false otherwise.
         */
        public boolean connected() {
            return connected;
        }
    
        /**
         * Connects to the OpenSearch cluster.
         * Creates a new client and waits for cluster health to be yellow or better.
         */
        public void connect() {
            destroy();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                }
                ThreadUtil.sleep(200L);
            }
            if (!connected) {
                throw new IllegalStateException("Could not connect to the Samba server");
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            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.
         * Multiple threads should be able to call connect() concurrently without issues.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                }
                ThreadUtil.sleep(200L);
            }
            if (!connected) {
                throw new IllegalStateException("Could not connect to the Samba server");
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        }
    
        /**
         * Test: Verify connected flag is set correctly
         */
        @Test
        public void testConnectedFlag() {
            assertFalse("Initially not connected", fesenClient.connected());
    
            // After destroy, should be disconnected
            fesenClient.destroy();
            assertFalse("Should be disconnected after destroy", fesenClient.connected());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
        /** Configuration key for OpenID Connect token server URL. */
        protected static final String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
    
        /** Configuration key for OpenID Connect client secret. */
        protected static final String OIC_CLIENT_SECRET = "oic.client.secret";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top