[forge-issues] [JBoss JIRA] (FURNACE-112) Separate deploy/enable/disable methods from AddonRepository/MutableAddonRepository

Sergei Egorov (JIRA) issues at jboss.org
Sun May 15 07:04:00 EDT 2016


     [ https://issues.jboss.org/browse/FURNACE-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergei Egorov updated FURNACE-112:
----------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/furnace/pull/33


> Separate deploy/enable/disable methods from AddonRepository/MutableAddonRepository
> ----------------------------------------------------------------------------------
>
>                 Key: FURNACE-112
>                 URL: https://issues.jboss.org/browse/FURNACE-112
>             Project: Forge: Furnace
>          Issue Type: Enhancement
>          Components: Addon Manager
>    Affects Versions: 2.23.4.Final
>            Reporter: Sergei Egorov
>
> Hi! 
> Looks like AddonRepository is doing two different jobs - addons repository *and* storing the state. But if one wants to store the state of deployed & enabled addons, there is no interface to implement to keep filesystem storage of artifacts, but having state somewhere else (DB, in memory data grid, just in memory, not the file system)
> I think following methods should have their own interface:
> isEnabled()
> listAll()
> listEnabled()
> listEnabledCompatibleWithVersion()
> enable()
> disable()
> it will make it possible to provide non-FS implementation of the state storage.
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list