Results 1 to 10 of 12

Thread: Plan bundle redeployment

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Bratislava, Slovakia
    Posts
    24

    Default Plan bundle redeployment

    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?
    Ádám Sándor
    Senior developer
    DVSK (www.dvsk.sk)

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    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

  3. #3
    Join Date
    Oct 2009
    Location
    Bratislava, Slovakia
    Posts
    24

    Default

    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.
    Ádám Sándor
    Senior developer
    DVSK (www.dvsk.sk)

  4. #4
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    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

  5. #5
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    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.

  6. #6
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •