Aled Sage created BROOKLYN-379:
----------------------------------

             Summary: Rebind error when entity type references pre-installed 
OSGi bundle
                 Key: BROOKLYN-379
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-379
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Aled Sage


When persisting an entity whose type is in an OSGi bundle (pre-installed in 
Karaf), using the OSGi symbolic name prefix in the {{type: ...}} declaration, 
it fails to deserialize.

For example, if you deploy the blueprint below and then try to restart 
Brooklyn, it fails because it can't load the class {{com.example.MyEntityImpl}} 
(note the absence of the OSGi bundle prefix).

{noformat}
services:
- type: com.example.my_osgi_bundle_name:com.example.MyEntity
{noformat}

See [~svet]'s example test in 
https://github.com/apache/brooklyn-server/pull/396.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to