From 47a28d2ce835e61522885000829cac745ac9bc9b Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Fri, 22 Jan 2021 10:37:47 +0800 Subject: [PATCH] [WFLY-13122]:Add_Json_Merge_Patch_support --- ...AP7-1494_Add_Json_Merge_Patch_support.adoc | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 jaxrs/WFLY-13122_EAP7-1494_Add_Json_Merge_Patch_support.adoc diff --git a/jaxrs/WFLY-13122_EAP7-1494_Add_Json_Merge_Patch_support.adoc b/jaxrs/WFLY-13122_EAP7-1494_Add_Json_Merge_Patch_support.adoc new file mode 100644 index 000000000..ebcbafa88 --- /dev/null +++ b/jaxrs/WFLY-13122_EAP7-1494_Add_Json_Merge_Patch_support.adoc @@ -0,0 +1,63 @@ += Add Json Merge Patch support +:author: Jim Ma +:email: ema@redhat.com +:toc: left +:icons: font +:keywords: json merge patch,resteasy,jaxrs +:idprefix: +:idseparator: - +:issue-base-url: https://issues.jboss.org/browse + +== Overview +This feature is to support JSON Merge Patch spec as described in: https://tools.ietf.org/html/rfc7386 +With Json merge patch support, the client can send a json http request with Content-Type "application/merge-patch+json", +and the json merge request will be directly apply to the target resource with the merge function as spec described. + + +== Issue Metadata + +=== Issue + +* {issue-base-url}/EAP7-1494 [EAP7-1494] +* {issue-base-url}/WFLY-13412 [WFLY-13412] + +=== Related Issues + +* {issue-base-url}/RESTEASY-2567 [RESTEASY-2567] + +=== Dev Contacts + +* mailto:ema@redhat.com[Jim Ma] + +=== QE Contacts + +* Petr Kremensky + +=== Testing By + +[ ] Engineering + +[x] QE + +=== Affected Projects or Components + +* RESTEasy, Wildfly + +=== Other Interested Projects +https://tools.ietf.org/html/rfc7386 + +== Requirements + +=== Hard Requirements + +* RESTEasy includes this feature support and is installed in WFLY/EAP +* The PatchMethodFilter is enabled (not explicitly set resteasy.patchfilter.disabled to true) + +== Test Plan + +The feature is tested in RESTEasy codebase. It can be checked with running the latest RESTEasy release +testsuite against target WildFly container. + +== Community Documentation + +The RESTEasy user guide has the section "JSON Patch and JSON Merge Patch" to explain the usage.