[
https://issues.apache.org/jira/browse/BROOKLYN-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15681483#comment-15681483
]
ASF GitHub Bot commented on BROOKLYN-379:
-----------------------------------------
Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-server/pull/442
@neykov can you review this again please?
> 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)