Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 19 of 19 for checkMethodBase (0.21 seconds)

  1. 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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", name);
            labelBody.put("value", value);
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. 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
        @AfterEach
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. 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)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", CRAWL_LABEL);
            labelBody.put("value", CRAWL_LABEL);
            labelBody.put("included_paths", ".*");
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/LogTests.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
        @AfterEach
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            return ITEM_ENDPOINT_SUFFIX + "/" + dictId;
        }
    
        @BeforeEach
        protected void initializeDictId() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        protected String getDeleteEndpointSuffix() {
            return DELETE_ENDPOINT_SUFFIX;
        }
    
        protected Response checkDeleteMethod(final Map<String, Object> body) {
            return checkMethodBase(body).delete(getApiPath() + "/");
        }
    
        @Test
        void testInstalled_ok() {
            checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top