- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 148 for session1 (0.06 seconds)
-
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
// Execute without setting session ID String result = crawlJob.execute(); assertNotNull(crawlJob.sessionId); // Check format: yyyyMMddHHmmss assertEquals(14, crawlJob.sessionId.length()); assertTrue(crawlJob.sessionId.matches("\\d{14}")); assertTrue(result.contains("Session Id: " + crawlJob.sessionId)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
} resultBuf.append("Session Id: ").append(sessionId).append("\n"); if (jobExecutor != null) { jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId)); } final TimeoutTask timeoutTask = createTimeoutTask(); try { executePython(); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
final PrintWriter writer = new PrintWriter(stringWriter); chatApiManager.sendSseEvent(writer, "session", Map.of("sessionId", "abc-123")); final String output = stringWriter.toString(); assertTrue(output.contains("event: session")); assertTrue(output.contains("\"sessionId\":\"abc-123\"")); } @Test public void test_sendSseEvent_phase() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java
final CrawlingInfoPager pager = new CrawlingInfoPager(); pager.sessionId = "test-session-123"; assertEquals("test-session-123", pager.sessionId); } @Test public void test_crawlingInfoPager_setId() { final CrawlingInfoPager pager = new CrawlingInfoPager(); pager.id = "crawling-id-456"; assertEquals("crawling-id-456", pager.id); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @param parentUrl the parent URL to get encoding for * @param sessionId the session ID for the crawling session * @return the character encoding, or null if not found */ default String getParentEncoding(final String parentUrl, final String sessionId) { final String key = sessionId + ":" + parentUrl; String enc = parentEncodingMap.get(key); if (enc != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
return this; } /** * Sets the session ID for this job execution. * * @param sessionId the unique session identifier * @return this ExecJob instance for method chaining */ public ExecJob sessionId(final String sessionId) { this.sessionId = sessionId; return this; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
// The result should contain Session Id with the generated session ID assertNotNull(thumbnailJob.sessionId); assertTrue(result.contains("Session Id:")); // The test cannot actually start the process since it requires many dependencies // The execute method catches the exception and returns the session ID } // Test execute with custom session ID @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
@Test public void test_execute_withCustomSessionId() { pythonJob.filename("test.py"); pythonJob.sessionId = "custom-session-123"; testProcessHelper.exitValue = 0; String result = pythonJob.execute(); assertTrue(result.contains("Session Id: custom-session-123")); assertEquals("custom-session-123", pythonJob.sessionId); }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) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
ThumbnailGenerator.Options options = new ThumbnailGenerator.Options(); options.sessionId = "test-session"; options.name = "test-name"; options.propertiesPath = "/path/to/props"; options.numOfThreads = 5; String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]"; assertEquals(expected, options.toString()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
writeJsonResponse(response, HttpServletResponse.SC_OK, createSuccessResponse(sessionId, "Session cleared", null)); } else { if (logger.isDebugEnabled()) { logger.debug("Session not found or not owned. sessionId={}, userId={}", sessionId, clearUserId); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0)