You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2017/12/04 15:09:00 UTC
[jira] [Updated] (OAK-7023) Replacement for DocumentMK.Builder
[ https://issues.apache.org/jira/browse/OAK-7023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-7023:
----------------------------------
Attachment: OAK-7023.patch
Proposed changes in [^OAK-7023.patch].
The patch introduced three replacement classes for {{DocumentMK.Builder}}:
- {{DocumentNodeStoreBuilder}}: this is a generic builder with a default in-memory backend, primarily used for testing.
- {{MongoDocumentNodeStoreBuilder}}: this is a builder for the MongoDB backend, extending {{DocumentNodeStoreBuilder}}. It adds MongoDB specific methods to the base builder.
- {{RDBDocumentNodeStoreBuilder}}: this is a builder for the RDB backend, extending {{DocumentNodeStoreBuilder}}. It adds RDB specific methods to the base builder.
Usages of {{DocumentMK.Builder}} are replaced in production classes but test classes still use the now deprecated {{DocumentMK.Builder}}. The plan is to move the builder to test as well after the 1.8 release and at the same time remove the deprecation again.
> Replacement for DocumentMK.Builder
> ----------------------------------
>
> Key: OAK-7023
> URL: https://issues.apache.org/jira/browse/OAK-7023
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: documentmk
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 1.8
>
> Attachments: OAK-7023.patch
>
>
> In order to move the class {{DocumentMK}} to test, the enclosed {{Builder}} must be replaced.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)