You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Svetoslav Neykov (JIRA)" <ji...@apache.org> on 2017/06/09 14:43:18 UTC

[jira] [Created] (BROOKLYN-517) Can't hot-reload jclouds providers

Svetoslav Neykov created BROOKLYN-517:
-----------------------------------------

             Summary: Can't hot-reload jclouds providers
                 Key: BROOKLYN-517
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-517
             Project: Brooklyn
          Issue Type: Project
    Affects Versions: 0.11.0
            Reporter: Svetoslav Neykov


In karaf, uninstalling and then installing a jclouds provider results in unpredictable behaviour.
The provider itself is correctly re-loaded and used. The problem is with {{jclouds-locations}} which has references to classes inside the providers. When the bundle is re-installed brooklyn still uses references from the old bundle.  Things like {{templateOptions}} where we use {{instanceof NovaTemplateOptions}} stop working.

{{jclouds-locations}} shouldn't have hardcoded references to specific providers or unloading one of the providers should refresh the {{jclouds-locations}} bundle.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)