-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(zjsonpatch): move io.fabric8:zjsonpatch as a module in Fabric8 kubernetes Client #6276
Conversation
9272d1d
to
23f3ea0
Compare
After migrating to the upstream Adding back the |
3e03b82
to
ef75950
Compare
ef75950
to
24acd0e
Compare
} | ||
|
||
public static JsonNode asJson(final JsonNode source, final JsonNode target) { | ||
return com.flipkart.zjsonpatch.JsonDiff.asJson(source, target); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to reintroduce this class due to #6276 (comment)
24acd0e
to
5ea368e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @rohanKanojia
Let's discuss this tomorrow. I'm not sure about the current approach and how does this might converge with users relying on commons-collections on their projects. |
5ea368e
to
c4e71e8
Compare
zjsonpatch/src/main/java/io/fabric8/zjsonpatch/internal/collections4/ListUtils.java
Show resolved
Hide resolved
848e90f
to
a3ac63b
Compare
io.fabric8:zjsonpatch
as a module in Fabric8 kubernetes Client
614e77b
to
c86a4bf
Compare
…d of fabric8io fork + Add a new module zjsonpatch that would directly include `com.flipkart.zjsonpatch:zjsonpatch` dependency excluding `org.apache.commons:commons-collections4`. + Port required method `ListUtils.longestCommonSubsequence` and related classes inside zjsonpatch module Signed-off-by: Rohan Kumar <[email protected]>
io.fabric8:zjsonpatch
as a module in Fabric8 kubernetes ClientSince we're already copying most of the codebase, let's just remove the dependency. Signed-off-by: Marc Nuri <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
Description
Fix #5480
Fix #3489
Supersedes closes #4700
Currently, we rely on outdated
io.fabric8:zjsonpatch
dependency instead of the upstreamcom.flipkart.zjsonpatch:zjsonpatch
dependency. The main issue is that the upstream repository depends onorg.apache.commons:commons-collections4
.zjsonpatch
that would directly includecom.flipkart.zjsonpatch:zjsonpatch
dependency excludingorg.apache.commons:commons-collections4
.ListUtils.longestCommonSubsequence
and relatedclasses inside zjsonpatch module
Type of change
test, version modification, documentation, etc.)
Checklist