You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/10/03 21:38:36 UTC

[jira] [Closed] (GEODE-5355) Refactor backup code to unify it as one API and make it testable

     [ https://issues.apache.org/jira/browse/GEODE-5355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nabarun closed GEODE-5355.
--------------------------

> Refactor backup code to unify it as one API and make it testable
> ----------------------------------------------------------------
>
>                 Key: GEODE-5355
>                 URL: https://issues.apache.org/jira/browse/GEODE-5355
>             Project: Geode
>          Issue Type: Improvement
>          Components: persistence
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> BackupUtil and BackupDataStoreHelper are collections of static methods that aren't easy to test with mocks. 
> JMX, GFSH and the deprecated Admin API treat BackupUtil and BackupDataStoreHelper as entry points to the Backup API whereas BackupService is presented to the User as the only API. We should have one class (BackupService) be the single entry point to performing a Backup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)