jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-7023) Replacement for DocumentMK.Builder
Date Mon, 04 Dec 2017 15:09:00 GMT

     [ 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)

Mime
View raw message