It would take just a small bit of code on the product startup to ensure that the bundles.info file exists and/or was updated since the product was installed. If not, then exit the product startup with an error message indicating the need to run those scripts before starting the product.
- Neil Neil R. Custer Sr. Systems Engineer/Developer Eagle Technology Group, LLC 618.589.9380 618.531.2559 (mobile) 1728 Corporate Crossing O'Fallon, IL 62269 From: Architecture [mailto:[email protected]] On Behalf Of Ramith Jayasinghe Sent: Monday, October 19, 2015 5:04 AM To: architecture <[email protected]> Cc: Chiranga Alwis <[email protected]> Subject: Re: [Architecture] [C5] Including carbon-tools with product distribution How realistic would that be? :) well, the reality is users comes with different experience, expertise (and we need to support them) so we got, Leanness + shorter startup time at the expense of 'introducing a possibility for user to make a mistake'. I would rather eliminate 'room for error' that reducing start up time (given that this doesn't effect performance critical paths). thoughts? regards Ramith On Mon, Oct 19, 2015 at 3:07 PM, Afkham Azeez <[email protected]<mailto:[email protected]>> wrote: Then those devops should be fired! If they are proper devops people, they should have scripts for everything. On Mon, Oct 19, 2015 at 3:03 PM, Ramith Jayasinghe <[email protected]<mailto:[email protected]>> wrote: My concern is would this become a problem when devops users forget to run these when needed (- might lead to errors that could have been prevented at the penalty of delay in start up sequence.). On Mon, Oct 19, 2015 at 2:32 PM, Afkham Azeez <[email protected]<mailto:[email protected]>> wrote: No need to make the packs bloated by packing in all the patches & adding unnecessary overhead. With C5, leanness & performance are core requirements. On Mon, Oct 19, 2015 at 2:26 PM, Nandika Jayawardana <[email protected]<mailto:[email protected]>> wrote: If the server startup time is the only concern, why not provide an option for the user to disable executing these tools instead. Regards Nandika On Mon, Oct 19, 2015 at 11:52 AM, Ramith Jayasinghe <[email protected]<mailto:[email protected]>> wrote: how would the user experience change due to this? would that impose additional burden on dev ops? On Mon, Oct 19, 2015 at 11:22 AM, Sameera Jayasoma <[email protected]<mailto:[email protected]>> wrote: +1. Yes, running them separately will improve the startup time as well. On Sun, Oct 18, 2015 at 10:49 PM, Afkham Azeez <[email protected]<mailto:[email protected]>> wrote: +1 for running these separately. On Mon, Oct 19, 2015 at 11:17 AM, Kishanthan Thangarajah <[email protected]<mailto:[email protected]>> wrote: Hi, We need to decide on how to include following tools for C5. 1. jar-to-bundle-convertor 2. patching tool In C4, these tools were part of the distribution and they run during the initial stages of server startup before the OSGi runtime is initialized and started. For C5, our idea is *not* to run these tools during server startup, but ask the users to run them separately. One of the reason for this is that they will delay the server startup time. These tools will still be part of the the build/distribution but they will have to be manually executed. For example, the jar-to-bundle-convertor can be run externally and all the converted bundles will be copied in to dropping directory and bundles.info<http://bundles.info> file will also be updated by the tool. Thoughts? -- Kishanthan Thangarajah Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635<tel:%2B94773426635> Blog - http://kishanthan.wordpress.com Twitter - http://twitter.com/kishanthan -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com<http://wso2.com/> Member; Apache Software Foundation; http://www.apache.org/ email: [email protected]<mailto:[email protected]> cell: +94 77 3320919<tel:%2B94%2077%203320919> blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: [email protected]<mailto:[email protected]> blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456<tel:0094776364456> Lean . Enterprise . Middleware [http://c.content.wso2.com/signatures/general.png] _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: [email protected]<mailto:[email protected]> P: +94 777542851<tel:%2B94%20777542851> _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Nandika Jayawardana WSO2 Inc ; http://wso2.com lean.enterprise.middleware _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com<http://wso2.com/> Member; Apache Software Foundation; http://www.apache.org/ email: [email protected]<mailto:[email protected]> cell: +94 77 3320919<tel:%2B94%2077%203320919> blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: [email protected]<mailto:[email protected]> P: +94 777542851<tel:%2B94%20777542851> _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Afkham Azeez Director of Architecture; WSO2, Inc.; http://wso2.com<http://wso2.com/> Member; Apache Software Foundation; http://www.apache.org/ email: [email protected]<mailto:[email protected]> cell: +94 77 3320919<tel:%2B94%2077%203320919> blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: [email protected]<mailto:[email protected]> P: +94 777542851
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
