Bug 1050014 - Cannot deploy bundle to EAP domain mode

Le 02/07/2014 16:35, Lukas Krejci a écrit :
> IMHO, it would be good to add that to the file-based plugin workflow,
> too. The assumption is that if you deploy something "under" a certain
> resource, new resources might appear underneath it, too. We have no way
> of associating the resource with the bundle deployment but hey - they at
> least appear shortly after the bundle deployment and not 24hrs later.
>

Agreed. But that's not tied to the handover feature so I wouldn't add a 
"triggerDiscovery" parameter to list of optional parameters. Instead, 
I'd like to see a check box in the Bundles UI : "Schedule discovery 
after deploy". And then the discovery would be scheduled from the 
BundleManager agent service, not individual plugin components nor 
specific bundle handlers.

> On that note, the discovery probably should not be immediate (at least
> in the file-based case), because we should assume that the managed
> component will take sometime to process the changes.
>

+1