data-transfer-project icon indicating copy to clipboard operation
data-transfer-project copied to clipboard

Switch use from `JacksonFactory` to `GsonFactory`.

Open Capstan opened this issue 3 years ago • 8 comments

This is mirroring a global change we're making in the monorepo to reduce concerns from security.

Capstan avatar Jun 23 '22 04:06 Capstan

Gradle is strangely reporting a seemingly-unrelated Guava error when I build with these changes:

> Task :portability-transfer:compileJava FAILED
/usr/local/google/home/nherring/github/data-transfer-project/portability-transfer/src/main/java/org/datatransferproject/transfer/WorkerModule.java:18: error: cannot find symbol
import static com.google.common.collect.MoreCollectors.onlyElement;
                                       ^
  symbol:   class MoreCollectors
  location: package com.google.common.collect
/usr/local/google/home/nherring/github/data-transfer-project/portability-transfer/src/main/java/org/datatransferproject/transfer/WorkerModule.java:18: error: static import only from classes and interfaces
import static com.google.common.collect.MoreCollectors.onlyElement;
^
2 errors

I cannot tell if my depends are perturbing something in the Guava version resolution machine.

Capstan avatar Jun 23 '22 04:06 Capstan

/cc @jzacsh

Capstan avatar Jun 24 '22 23:06 Capstan

Gradle is strangely reporting a seemingly-unrelated Guava error when I build with these changes:

Huh that's indeed confusing given your PR. What gradle task you running exactly? (or perhaps just share your whole commandline?)

jzacsh avatar Jun 27 '22 22:06 jzacsh

./gradlew test from the root is what I was running.

Capstan avatar Jun 28 '22 00:06 Capstan

And the demo-server build.gradle blanket overrides the guava version for all artifacts, which doesn't work for the versioning scheme for listenablefuture or failureaccess.

Capstan avatar Jun 28 '22 00:06 Capstan

Ugh. git rebase -i is not my friend. I redid the edits three different times and still managed to drop them on the floor. :(

Capstan avatar Jul 21 '22 16:07 Capstan

Adding Will and Jonathon for one final review from maintainers before submitting.

Will if you have no concerns, feel free to merge after your review

seehamrun avatar Aug 04 '22 14:08 seehamrun

Is this waiting on an affirmative review by @jzacsh and/or @wmorland, or was that advisory only? In the latter case, how long until it's worth merging and dealing with potential aftermath of a late review (if any) later?

Capstan avatar Aug 10 '22 19:08 Capstan

Still waiting on a review.

Capstan avatar Aug 16 '22 01:08 Capstan