- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for BODY (0.18 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); } // PUT /api/admin/elevateword/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final ElevateWord entity = getElevateWord(body).orElseGet(() -> { throwValidationErrorApi(messages -> {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
} // PUT /api/admin/keymatch/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final KeyMatch keyMatch = getKeyMatch(body).map(entity -> { try { keyMatchService.store(entity); } catch (final Exception e) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
return; } final String body = toSlackMessage(discloser); StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> { try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { if (response.getHttpStatusCode() == 200) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java
} // PUT /api/admin/boostdoc/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final BoostDocumentRule boostDoc = getBoostDocumentRule(body).map(entity -> { try { boostDocumentRuleService.store(entity); } catch (final Exception e) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/ITBase.java
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) .when(); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.3K 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/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/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) -
src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java
// xapth.<field>=<value> } // config.* public static class Config { public static final String KEEP_ORIGINAL_BODY = "keep.original.body"; public static final String CLEANUP_ALL = "cleanup.all"; public static final String CLEANUP_URL_FILTERS = "cleanup.urlFilters"; public static final String JCIFS_PREFIX = "jcifs.";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
public JsonResponse<ApiResult> post$setting(final EditBody body) { validateApi(body, messages -> {}); validateAttributes(body.attributes, this::throwValidationErrorApi); body.crudMode = CrudMode.EDIT; final Group entity = getGroup(body).orElseGet(() -> { throwValidationErrorApi(messages -> { messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id); }); return null;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0)