- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for Then (0.02 sec)
-
PluginTests.java
tions.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0)); L115: } L116: L117: @Test L118: void testAvailable_ok() { L119: checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0)); L120: } L121: L122: @Test L123: void testInstall_ng() { L124: checkPutMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1)); L125: } L126:...github.com/codelibs/fess/src/test/java/org/code...Mon Jul 01 02:20:48 UTC 2024 6.3K bytes -
CrudTestBase.java
{ L196: final String id = getIdList(searchBody).get(0); L197: checkDeleteMethod(getItemEndpointSuffix() + "/" + id.toString()).then().body("response.status", equalTo(0)); L198: refresh(); L199: } L200: L201: // Test: number of settings. L202: checkGetMethod(searchBody, getListEndpointSuffix()).then().body(getJsonPath() + ".size()", equalTo(0)); L203: logger.info("[END] testDelete"); L204: } L205: L206: // ================ L207: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.1K bytes -
before_script.sh
L13:while true ; do L14: status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health") L15: cat ${temp_json_file} L16: if [[ x"${status}" = x200 ]] ; then L17: break L18: else L19: error_count=$((error_count + 1)) L20: fi L21: if [[ ${error_count} -ge 60 ]] ; then L22: echo "Fess is not available." L23: cat ${temp_log_file} ./fess-*/logs/*.log L24: exit 1 L25: fi L26: sleep 1 L27:done L28: L29:pushd /tmp >/dev/null L30:git clone https://g...github.com/codelibs/fess/src/test/resources/bef...Sat Feb 10 03:25:34 UTC 2024 863 bytes -
CrawlerLogTests.java
final List<Map<String, Object>> logList = readJobLog(NAME_PREFIX); L192: logger.info("logList: {}", logList); L193: for (Map<String, Object> elem : logList) { L194: deleteMethod("/api/admin/joblog/log/" + elem.get("id")).then().body("response.status", equalTo(0)); L195: } L196: L197: final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX); L198: assertEquals(0, afterList.size()); // check if logs are successfully deleted L199: } L200:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.1K bytes -
README.md
L107: L108:Run antrun:run to download plugins into the plugins directory: L109: L110: $ mvn antrun:run L111: L112:### Run Fess L113: L114:Run or debug org.codelibs.fess.FessBoot on your IDE, and then access http://localhost:8080/ L115: L116:### Build Package L117: L118:Run the `package` goal and then the release file will be created in target/releases. L119: L120: $ mvn package L121: $ mvn rpm:rpm # .rpm package L122: $ mvn jdeb:jdeb # .deb package L123: L124:### Generate Source Code...github.com/codelibs/fess/README.mdSat Oct 12 07:19:47 UTC 2024 7.3K bytes -
WebAuthTests.java
requestBody.put("interval_time", 1000); L75: requestBody.put("boost", 100.0); L76: requestBody.put("available", true); L77: requestBody.put("sort_order", 1); L78: checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true)) L79: .body("response.status", equalTo(0)); L80: } L81: L82: String getWebConfigId() { L83: final Map<String, Object> searchBody = new HashMap<>(); L84: searchBody.put("name",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
FileAuthTests.java
requestBody.put("interval_time", 1000); L74: requestBody.put("boost", 100.0); L75: requestBody.put("available", true); L76: requestBody.put("sort_order", 1); L77: checkMethodBase(requestBody).put("/api/admin/fileconfig/setting").then().body("response.created", equalTo(true)) L78: .body("response.status", equalTo(0)); L79: } L80: L81: String getFileConfigId() { L82: final Map<String, Object> searchBody = new HashMap<>(); L83: searchBody.put("name",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
run.sh
L1:#!/bin/bash L2: L3:touch $(ls -d ./fess-*/logs)/fess-crawler.log L4:tail -f ./fess-*/logs/*.log & L5: L6:mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201" L7:ret=$? L8: L9:if [ $ret != 0 ] ; then L10: for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do L11: cat $f L12: done L13:fi L14: L15:exit $ret...github.com/codelibs/fess/src/test/resources/run.shSat Feb 10 03:25:34 UTC 2024 353 bytes -
ReqHeaderTests.java
requestBody.put("interval_time", 1000); L75: requestBody.put("boost", 100.0); L76: requestBody.put("available", true); L77: requestBody.put("sort_order", 1); L78: checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true)) L79: .body("response.status", equalTo(0)); L80: } L81: L82: String getWebConfigId() { L83: final Map<String, Object> searchBody = new HashMap<>(); L84: searchBody.put("name",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
AccessTokenTests.java
response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString(); L102: String token = JsonPath.from(response).get("response.setting.token"); L103: checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then() L104: .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name)) L105: .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token)); L106: } L107: L108: @Test L109: void crudTest() { L110: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.7K bytes