[
https://issues.apache.org/jira/browse/KNOX-1864?focusedWorklogId=246310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-246310
]
ASF GitHub Bot logged work on KNOX-1864:
----------------------------------------
Author: ASF GitHub Bot
Created on: 21/May/19 18:58
Start Date: 21/May/19 18:58
Worklog Time Spent: 10m
Work Description: bvanhaute2 commented on pull request #91: KNOX-1864:
Implement PATCH method
URL: https://github.com/apache/knox/pull/91
(It is very **important** that you created an Apache Knox JIRA for this
change and that the PR title/commit message includes the Apache Knox JIRA ID!)
## What changes were proposed in this pull request?
the PATCH http method was not implemented and is necessary for certain REST
api's (e.g. Apache Metron) to function.
## How was this patch tested?
It was tested by manually replacing the gateway-spi jar by the newly built
one and validating if the expected functionality works properly.
Before the patch, Knox would return a 405 http error when a patch request
was submitted. After the patch, a 200 OK is returned as expected.
Please review [Knox Contributing
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
before opening a pull request.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 246310)
Time Spent: 10m
Remaining Estimate: 0h
> Knox returns HTTP 405 Method Not Allowed error with HTTP PATCH method
> ---------------------------------------------------------------------
>
> Key: KNOX-1864
> URL: https://issues.apache.org/jira/browse/KNOX-1864
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Bob Van Haute
> Assignee: Bob Van Haute
> Priority: Major
> Fix For: 1.3.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Apache Metron's API and probably other rest API's use the PATCH http method
> to partially update objects. When trying to route these patch requests
> through Knox, it returns an HTTP 405 method not allowed error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)