Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for session_id (0.07 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // Test with session ID filter
            if (!logList.isEmpty()) {
                final String sessionId = (String) logList.get(0).get("session_id");
                final Map<String, Object> filterBody = new HashMap<>();
                filterBody.put("session_id", sessionId);
                response = checkMethodBase(filterBody).get("/api/admin/crawlinginfo/logs").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            String result = pythonJob.execute();
    
            assertNotNull(result);
            assertTrue(result.contains("Session Id:"));
            assertNotNull(pythonJob.sessionId);
            assertTrue(pythonJob.sessionId.length() >= 10);
    
            // The test doesn't actually call the real process since ServletContext.getRealPath returns null in test
            // and causes an exception which is caught and added to result
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/Constants.java

        /** Info map key for data index size. */
        public static final String DATA_INDEX_SIZE = "DataIndexSize";
    
        /** Session identifier key. */
        public static final String SESSION_ID = "sessionId";
    
        /** Crawling information identifier key. */
        public static final String CRAWLING_INFO_ID = "crawlingInfoId";
    
        /** Indexing target identifier key. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            if (options.sessionId != null) {
                options.sessionId = options.sessionId.replaceAll("-", "_");
            }
    
            // Check that sessionId was sanitized (hyphens replaced with underscores)
            assertEquals("test_session_123", options.sessionId);
        }
    
        @Test
        public void test_process_withPropertiesPath() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/entity/ChatSession.java

         *
         * @return the session ID
         */
        public String getSessionId() {
            return sessionId;
        }
    
        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID
         */
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        /**
         * Gets the user ID.
         *
         * @return the user ID
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test with blank name
            crawlingInfoHelper.updateParams(sessionId, "", -1);
    
            // Test with null name
            crawlingInfoHelper.updateParams(sessionId, null, -1);
        }
    
        @Test
        public void test_updateParams_noSession() {
            final String sessionId = "non-existent-session";
    
            ComponentUtil.register(new CrawlingInfoService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

            if (logger.isDebugEnabled()) {
                logger.debug("[RAG] Starting chat request. sessionId={}, userId={}, userMessage={}", sessionId, userId, userMessage);
            }
    
            final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId);
            // Extract history snapshot before adding current user message to avoid duplication
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        public void test_execute_withCustomSessionId() {
            thumbnailJob.sessionId = "custom-session-456";
            thumbnailJob.cleanup();
    
            testProcessHelper.exitValue = 0;
    
            String result = thumbnailJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-456"));
            assertEquals("custom-session-456", thumbnailJob.sessionId);
        }
    
        // Test execute with process failure
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isBlank(options.sessionId)) {
                // use a default session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                options.sessionId = sdf.format(new Date());
            } else {
                options.sessionId = options.sessionId.replace('-', '_');
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            assertNull(options.sessionId);
            assertNull(options.name);
            assertNull(options.propertiesPath);
        }
    
        // Test Options class with null values
        @Test
        public void test_Options_nullValues() {
            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = null;
            options.propertiesPath = null;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top