- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 63 for body (0.17 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { try {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
String response = checkGetMethod(body, getListEndpointSuffix()).asString(); return JsonPath.from(response).getList(getJsonPath()); } protected List<String> getIdList(final Map<String, Object> body) { return getPropList(body, getIdKey()); } protected List<String> getPropList(final Map<String, Object> body, final String prop) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
// GET /api/admin/joblog/logs @Execute public JsonResponse<ApiResult> logs(final SearchBody body) { validateApi(body, messages -> {}); final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class); final List<JobLog> list = jobLogService.getJobLogList(pager);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java
@Execute public JsonResponse<ApiResult> get$index() { final SuggestBody body = new SuggestBody(); body.totalWordsNum = suggestHelper.getAllWordsNum(); body.documentWordsNum = suggestHelper.getDocumentWordsNum(); body.queryWordsNum = suggestHelper.getQueryWordsNum(); return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); } // DELETE /api/admin/suggest/all
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java
requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getWebConfigId() { final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("name", "test_webconfig");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java
// GET /api/admin/crawlinginfo/logs // POST /api/admin/crawlinginfo/logs @Execute public JsonResponse<ApiResult> logs(final SearchBody body) { validateApi(body, messages -> {}); final CrawlingInfoPager pager = copyBeanToNewBean(body, CrawlingInfoPager.class); final List<CrawlingInfo> list = crawlingInfoService.getCrawlingInfoList(pager);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java
// GET /api/admin/failureurl/logs // POST /api/admin/failureurl/logs @Execute public JsonResponse<ApiResult> logs(final SearchBody body) { validateApi(body, messages -> {}); final FailureUrlPager pager = copyBeanToNewBean(body, FailureUrlPager.class); final List<FailureUrl> list = failureUrlService.getFailureUrlList(pager);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java
String token = JsonPath.from(response).get("response.setting.token"); checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then() .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name)) .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token)); } @Test void crudTest() { testCreate(); testRead(); testUpdate();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getWebConfigId() { final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("name", "test_webconfig");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
protected static void createJob(final Map<String, Object> requestBody) { checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } protected static void startJob(final String namePrefix) { for (int i = 0; i < 30; i++) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0)