+1, also like the idea of it being in brooklyn.properties. On a related topic, when running Brooklyn from an IDE using the BrooklynJavascriptGuiLauncher, any program arguments are ignored [1] so it's not possible to set persistence (or other) behaviour. Would be a good time to fix this too
Cheers M [1]: https://github.com/apache/incubator-brooklyn/blob/master/usage/jsgui/src/test/java/org/apache/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncher.java#L48-L58 On 20 October 2015 at 23:30, John McCabe <[email protected]> wrote: > +1 > > agree with adding it to brooklyn.properties, currently having to add the > persistence options to the systemd unit file I'm using, would be far > cleaner to have the option to keep everything in the properties file. > > On Tue, Oct 20, 2015 at 10:43 PM, Ciprian Ciubotariu <[email protected]> > wrote: > > > +1 > > > > Defaulting to disabled seems more of a development option. > > > > As a note, when figuring out persistence I was expecting this to be an > > option > > in brooklyn.properties. Could such an option help during development? > > > > On Tuesday 20 October 2015 22:26:49 Aled Sage wrote: > > > Hi all, > > > > > > I'd like us to change Brooklyn so it defaults to persistence "auto" - > > > i.e. so that it "will rebind to any existing state, or start up fresh > if > > > no state". > > > > > > Currently in the CLI it defaults to "disabled" [1]. > > > > > > Aled > > > > > > [1] > > > > > > https://github.com/apache/incubator-brooklyn/blob/0.8.0-incubating/usage/cli > > > /src/main/java/org/apache/brooklyn/cli/Main.java#L345 > > > > > -- Martin Harris Lead Software Engineer Cloudsoft Corporation Ltd www.cloudsoftcorp.com Mobile: +44 (0)7989 047-855 -- Cloudsoft Corporation Limited, Registered in Scotland No: SC349230. Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Cloudsoft Corporation Limited does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Cloudsoft Corporation Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate.
