Hi there,
I attached an implementation for this issue and some unit testing. Any comments on this? Evaristo ________________________________ De: Jordan Zimmerman <[email protected]> Para: Evaristo José Camarero <[email protected]> CC: "[email protected]" <[email protected]> Enviado: Lunes 13 de Mayo de 2013 7:17 Asunto: Re: PersistentEphemeralNode recipe I've created a Jira for this - https://issues.apache.org/jira/browse/CURATOR-25 Please attach implementations to that issue. -JZ On May 10, 2013, at 2:24 PM, Evaristo José Camarero <[email protected]> wrote: Hi there, > > >I attach the files with the proposal for the PersistentEphemeralNode evolved >from your original code (https://gist.github.com/4047093). > > > >The proposal adds the possibility to replace the data in the Persistent >Ephemeral Node during its lifecycle. > > >I have also added a coupled of test cases. > > >Please provide me some feedback (both proposal and test cases), and I can >further develop the code. > > >Regards, > > >Evaristo > > > >________________________________ > De: Jordan Zimmerman <[email protected]> >Para: [email protected]; Evaristo José Camarero ><[email protected]> >Enviado: Sábado 4 de Mayo de 2013 18:32 >Asunto: Re: PersistentEphemeralNode recipe > > > >I'd really like to see this recipe available. So, please go ahead. > > >-JZ > > >On May 4, 2013, at 1:01 AM, Evaristo José Camarero ><[email protected]> wrote: > >Hi there, >> >> >>Some months ago there was a suggestion to implement Curator recipe to >>maintain an epehemeral node after session / connection problems >>(https://github.com/Netflix/curator/pull/201) >> >> >>This is a common use case in our application and I could help to properly >>test the current implementation proposed by Jordan >>(https://gist.github.com/4047093), in order to add the recipe to the Apache >>Curator distribution >> >> >>Something I am missing in the proposed implementation is the ability to >>change the reported data in the ephemeral node during the ephemeral node life >>cycle. >> >> >>Let me know if you believe is an interesting idea to introduce this recipe in >>the Apache Curator distribution. >> >> >>Regards, >> >> >>Evaristo > > ><TestPersistentEphemeralNode.java><PersistentEphemeralNode.java>
