Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for checkMethodBase (0.5 sec)

  1. 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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. 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));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

                deleteMethod("/api/admin/failurelog/log/" + elem.get("id"));
            }
    
            final Map<String, Object> requestBody = new HashMap<>();
            requestBody.put("q", "CodeLibs");
            checkMethodBase(requestBody).delete("/api/admin/searchlist/query");
            refresh();
    
            for (String sId : getSchedulerIds(NAME_PREFIX)) {
                deleteMethod("/api/admin/scheduler/setting/" + sId);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. 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));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. 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));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. 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));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            Response response = checkMethodBase(body).get(getApiPath() + "/" + path);
            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkPostMethod(final Map<String, Object> body, final String path) {
            Response response = checkMethodBase(body).post(getApiPath() + "/" + path);
            // logger.debug(response.asString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/ITBase.java

        }
    
        public static String getEsUrl() {
            return System.getProperty("test.search_engine.url", DEFAULT_SEARCH_ENGINE_URL);
        }
    
        protected static RequestSpecification checkMethodBase(final Map<String, Object> body) {
            return given().contentType("application/json")
                    .header("Authorization", getTestToken())
                    .body(body, ObjectMapperType.JACKSON_2)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

                refresh();
            }
    
            checkUpdate();
        }
    
        @Override
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString();
            final List<Map<String, Object>> results = JsonPath.from(response).getList("response.docs");
            return results;
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top