Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for jsondata (0.05 seconds)

  1. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            String response = checkMethodBase(requestBody).post("/api/admin/webconfig/setting").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.getString("response.id");
        }
    
        protected static List<String> getWebConfigIds(final String namePrefix) {
    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)
  2. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        protected static void deleteLabel(String 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)
  3. src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java

                    .when()
                    .get("/api/v1/suggest-words")
                    .asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            assertTrue(jsonPath.getInt("page_size") >= 0);
            assertTrue(jsonPath.getLong("query_time") >= 0);
        }
    
        @Test
        public void testSuggestWords_pageSizeDefault() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertEquals(0, jsonPath.getInt("response.status"));
            List<Map<String, Object>> logs = jsonPath.getList("response.logs");
            assertTrue(logs.size() >= 1);
    
            // Test with pagination
            searchBody.put("size", 10);
    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)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        private static String createCrawlLabel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        private static void deleteLabel(final String id) {
    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)
  7. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");
    
            logger.info("Failure URL logs: {}", logs);
            assertTrue(logs.size() > 0, "Should have at least one failure URL log");
    
            // Verify response structure
            Integer status = JsonPath.from(response).get("response.status");
            assertEquals(0, status);
    
    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)
  8. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            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
    - 3.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response");
            assertNotNull(res, "Response should not be null");
    
            // Verify status code
            Integer status = JsonPath.from(response).get("response.status");
            assertEquals(Integer.valueOf(0), status, "Status should be 0");
    
            // Verify version field exists
            String version = JsonPath.from(response).get("response.version");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top