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)

Reply via email to