You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by DEBROUX Lionel <Li...@atos.net> on 2011/10/10 09:09:24 UTC

RE : Deploying bundles across "equal" nodes...

Hello,

Thanks Richard for your reply :)

> Ultimately, you will need a "custom" solution as you suggest at the
> bottom, but it can still be based on OBR to some degree or the other.
OK :)

> The OBR API allows you to provide repositories, so you just need to
> define your own which don't have to be XML based. Then you can pass
> them to the OBR resolver. As far as deployment, you'd have to handle
> any additional work you need, but you can inspect the resolved
> result to know what bundles will be deployed when you call
> deploy()...
Indeed.

> the only trick is that the deploy() method tries to update in some
> cases and install in others and I don't think it tells you in
> advance which it is going to do (it actually calculates if an update
> is possible during deployment).
Yup.
That said, due to other constraints I didn't mention earlier, most of
the time, I'd rather have deploy() method not update bundles.
I'm thinking of adding a new flag for deployment, and patching
void deploy(int flags) so that it doesn't update if this flag is set.
I'll make some tests.

> You could always write your own code to do the deployment based on
> the resolver result. Regardless, what you want to do is possible,
> but will require you to do a bit more work since it is not the use
> case that OBR specifically targeted.
Understood.


Thanks,
Lionel.
________________________________


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.