I've created a plan and put the bundles in the repositories/usr directory. Everything works fine, but when I try to redeploy some bundle that is included in the plan nothing happens. Is it possible to redeploy bundles that are part of a plan?
I've created a plan and put the bundles in the repositories/usr directory. Everything works fine, but when I try to redeploy some bundle that is included in the plan nothing happens. Is it possible to redeploy bundles that are part of a plan?
The current support for refresh does not cover all artifact types in all scenarios.
In fact we have a meeting today to discuss the design of refresh in the context of plans.
In the scenario you describe, I wonder how you are attempting to "redeploy" a bundle of the plan. Did you replace the bundle in repository/usr? What next?
You see simply changing the contents of a repository won't provoke dm Server to refresh anything.
Glyn Normington
SpringSource
Yeah, I thought it would work like the pickup folder, because it is set as a 'watched' folder in the configuration. If this is not the case, then maybe I'll implement my own bundle that will be checking the usr directory for changes. I certainly need my bundles to be updated automatically.
Fair enough.
I'm sure other users may get the wrong impression too. We need to make it abundantly clear that, from dm Server's perspective, repositories are simply places from which to install artifacts. Repositories have differing semantics in terms of how they keep their content up to date, but repositories never "push" content into dm Server.
The rationale behind this is that we don't want to overload dm Server. In general, we want to load just the artifacts that the user has requested to be deployed plus their dependencies so the runtime overhead is minimal.
Glyn Normington
SpringSource
I too am very interested on this feature and looking forward for it.
Feature hear i mean is updating a bundle inside plan.
I don mind triggering this individual bundle update in the respective dm server admin.
But my question is , why do you want to live it the developer , can a option be given in the propertyfile of individual dm servers to automatically update this bundle or not based on refresh interval.?
This will be helpful in production environments when we have cluster of many DM servers.
We don't have such a user story on our backlog, so feel free to add one.
Of course, it would be possible for a user to to deploy a bundle which periodically did an update of other bundles using the JMX interface.
Glyn Normington
SpringSource