Skip to content

Conversation

@phlox-sec
Copy link
Contributor

(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 before opening a pull request.

@risdenk risdenk requested review from lmccay and risdenk May 22, 2019 13:47
@risdenk risdenk self-assigned this May 22, 2019
Copy link
Contributor

@risdenk risdenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me. Not sure if there are existing tests for any of the HTTP methods?

@lmccay thoughts?

@risdenk
Copy link
Contributor

risdenk commented May 22, 2019

Checked and this looks similar to the HEAD patch that fixed that issue. Planning to merge.

@risdenk risdenk merged commit c80ad98 into apache:master May 22, 2019
twmarshall pushed a commit to twmarshall/knox that referenced this pull request Aug 27, 2019
… with HTTP PATCH method (apache#91)

Change-Id: I23f147b76d965b357c350c1b38761d9886e5572c
Signed-off-by: Kevin Risden <krisden@cloudera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants