[
https://issues.apache.org/jira/browse/OAK-8840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18068214#comment-18068214
]
Julian Reschke edited comment on OAK-8840 at 3/25/26 8:53 AM:
--------------------------------------------------------------
(updated, after having a POC ready)
- copy the source code into oak-blob (that's the only place where the
dependency chain starts)
- remove anything unused
- move package names into Oak space (so that we don't differing code in the
same package name space, and can actually remove stuff, and use proper
versioning)
- mark all migrated interfaces as "internal"
- refactor to use an Oak package name
That is (was) mostly mechanical.
The only piece that was a bit tricky was oak-upgrade, which uses both Jackabbit
APIs and Oak APIs, in this case, a small adaptor/delegator was needed)
Note that from Oak's POV (except oak-upgrade), jackrabbit-data isn't used
anymore. That's why it's gone from dependencies and OSGi configs, In a few
cases, a dependency to oak-blob was added instead.
was (Author: reschke):
(updated, after having a POC ready)
- copy the source code into oak-blob (that's the only place where the
dependency chain starts)
- remove anything unused
- move package names into Oak space (so that we don't differing code in the
same package name space, and can actually remove stuff, and use proper
versioning)
- mark all migrated interfaces as "internal" (except the one which is not)
- refactor to use an Oak package name
That is (was) mostly mechanical.
The only piece that was a bit tricky was oak-upgrade, which uses both Jackabbit
APIs and Oak APIs, in this case, a small adaptor/delegator was needed)
Note that from Oak's POV (except oak-upgrade), jackrabbit-data isn't used
anymore. That's why it's gone from dependencies and OSGi configs, In a few
cases, a dependency to oak-blob was added instead.
> copy jackrabbit-data into Oak
> -----------------------------
>
> Key: OAK-8840
> URL: https://issues.apache.org/jira/browse/OAK-8840
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: blob
> Reporter: Julian Reschke
> Priority: Major
>
> jackrabbit-data is one of the few remaining dependencies on Jackrabbit. It
> would be good to move this into the Oak project, so it can evolve at Oak's
> speed.
> [~amitj], [~mreutegg], [~mattvryan] - what do you think?
> In particular, are there parts in jackrabbit-data which should stay over
> there? For instance, I assumed that DB-backed data stores aren't used in Oak,
> but then found out about {{DbDataStoreService}}. Maybe a cleanup is needed
> first?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)