Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for jsonpath (0.99 sec)

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

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(!res.isEmpty());
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, items.size());
            assertEquals(0, status);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. 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);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. LICENSES/vendor/github.com/exponent-io/jsonpath/LICENSE

    = vendor/github.com/exponent-io/jsonpath licensed under: =
    
    The MIT License (MIT)
    
    Copyright (c) 2015 Exponent Labs LLC
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            // Test: access admin api using a new token
            String id = JsonPath.from(response).get("response.id");
            response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString();
            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    @Tag("it")
    public class WebAuthTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "webAuthTest_";
        private static final String API_PATH = "/api/admin/webauth";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response");
            assertTrue(res.containsKey("env_props"));
            assertTrue(res.containsKey("system_props"));
            assertTrue(res.containsKey("fess_props"));
            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top