Skip to content
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

remove datanucleus #480

Merged
merged 2 commits into from
Feb 10, 2019
Merged

remove datanucleus #480

merged 2 commits into from
Feb 10, 2019

Conversation

elharo
Copy link
Contributor

@elharo elharo commented Sep 24, 2018

Fixes #478 @chingor13

  • Tests pass
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 24, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 24, 2018
@elharo
Copy link
Contributor Author

elharo commented Oct 29, 2018

Ping @chingor13

@chingor13
Copy link
Collaborator

I was holding off because I don't know the implications of removing datanucleus. It rewrites to bytecode to provide the JDO interface, so I'm not sure if we can remove it (or perhaps we no longer want to provide the jdo artifact?).

@elharo
Copy link
Contributor Author

elharo commented Oct 30, 2018

We really, really don't want to be providing or depending on datanucleus in 2018. The version we have here is old, broken, and busted. I don't think there's anywhere we are, but if I missed something please point me at it so I can figure out how to remove or replace it too.

@elharo
Copy link
Contributor Author

elharo commented Oct 30, 2018

Also worth noting that all tests passed while removing these dependencies. Thus if we are depending on this in some way, the test suite is very incomplete.

@chingor13
Copy link
Collaborator

Correct, we are not using this artifact or JDO features ourselves. google-http-client-jdo is an extension utility to provide a JDO interface. DataNucleus is currently enhancing classes in

via annotations. We are definitely missing tests to ensure this functionality is present.

I recently updated the data nucleus versions, but we are hamstrung by our support of Java 6. We should be able to update the version again when we drop Java 6 support early 2019.

Is there an alternative to data nucleus that we could consider?

@elharo
Copy link
Contributor Author

elharo commented Oct 30, 2018

What's the context in which this is expected to be used? App Engine recommends the Datastore API or Objectify:

https://cloud.google.com/appengine/docs/standard/java/datastore/jdo/overview-dn2

@chingor13
Copy link
Collaborator

If that's the case, then let's deprecate the artifact and stop releasing it.

@elharo
Copy link
Contributor Author

elharo commented Oct 31, 2018

I can find only a couple of usages of this artifact and that's all in old, abandoned, and deprecates code.

@chingor13 chingor13 self-assigned this Dec 28, 2018
@chingor13 chingor13 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 3, 2019
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Feb 7, 2019
@sduskis sduskis requested a review from a team as a code owner February 10, 2019 15:19
@elharo elharo merged commit 7e99da2 into googleapis:master Feb 10, 2019
@elharo elharo deleted the datanucleus branch February 10, 2019 15:54
elharo pushed a commit that referenced this pull request Feb 10, 2019
@yoshi-automation yoshi-automation removed the 🚨 This issue needs some love. label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataNucleus
6 participants