Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for checkMethodBase (0.18 seconds)

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

            // Delete all logs
            final Map<String, Object> requestBody = new HashMap<>();
            checkMethodBase(requestBody).delete(API_PATH + "/all").then().body("response.status", equalTo(0));
            refresh();
    
            // Verify all logs are deleted
            requestBody.put("size", 100);
            String response = checkMethodBase(requestBody).get(API_PATH + "/logs").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            response = checkMethodBase(new HashMap<>()).get("/api/admin/crawlinginfo/log/nonexistent_id").asString();
            assertEquals(1, JsonPath.from(response).getInt("response.status"));
    
            // Test PUT /api/admin/crawlinginfo/logs
            final Map<String, Object> putBody = new HashMap<>();
            putBody.put("size", 10);
            response = checkMethodBase(putBody).put("/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)
  3. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            }
    
            requestBody.put("documents", documents);
    
            // Execute bulk update
            checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(0));
            refresh();
    
            // Verify documents were updated
            response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            searchBody.put("page", 1);
    
            String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 1: {}", page1);
    
            // Get second page
            searchBody.put("page", 2);
            response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/fileconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

        public void testGetFavorites_ok() {
            // First, do a search to get a queryId
            Map<String, String> searchParams = new HashMap<>();
            searchParams.put("q", "*");
            String searchResponse = checkMethodBase(new HashMap<>()).params(searchParams).get("/api/v1/documents").asString();
            String queryId = JsonPath.from(searchResponse).getString("query_id");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        private static final String DOC_INDEX_NAME = "fess.search";
    
        protected static void createJob(final Map<String, Object> requestBody) {
            checkMethodBase(requestBody).post("/api/admin/scheduler/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top