Hi, If we ship pre-populated h2 as Hasitha mentioned then we will be able to demo the analytics capabilities of PC as well. So we need to have pre-populated h2 db with processes,packages(bars) and some analytics then users can use those data to understand complete use case of PC . Here we have following options.
1. Set the populated h2 db as default h2 db. Users do not need to do any prerequisites to enable samples(Ex. Enterprise store has some example gadgets when you start fresh pack). So users can download fresh pack,start PC and work with pre-populated data. Users can just delete the database and start -Dsetup if they do not need samples. 2. Default db will not be changed.Users can start the server in demo mode and Pc will point to the pre-populated database. One drawback of the pre-populated database is if databases schemas changed(PC use registry db), then we need to manage those changes. There may be options to create the pre-populated database during product build process. Other option is to add sample process archives as Chathura mentioned . Once user starts the server in demo mode, those samples will be exported and some analytics will be generated using sample client. Or we can provide a script which exports the archives and generates sample analytics data. Thanks, Waruna On Tue, Aug 9, 2016 at 3:28 PM, Chathura Ekanayake <chath...@wso2.com> wrote: > Yes, it is helpful to have a collection of samples for PC. PC has an > import/export feature where processes and related artifacts can be exported > into an archive and imported later. One option is to use this feature to > ship a set of samples. Some other process repositories are also using > similar methods to ship samples. > > On Tue, Aug 9, 2016 at 3:21 PM, Hasitha Aravinda <hasi...@wso2.com> wrote: > >> Hi team, >> >> Most of our products (ESB, BPS etc) have sample start up scripts to start >> product in sample/demo mode. >> >> Idea is to ship another pre-populated h2 db with PC, in addition to >> default db. When you start server in demo mode, PC will start pointing to >> pre-populated database. >> >> This will be helpful for the first time users to understand capabilities >> of PC. WDYT ? >> >> Thanks, >> Hasitha. >> >> -- >> -- >> Hasitha Aravinda, >> Associate Technical Lead, >> WSO2 Inc. >> Email: hasi...@wso2.com >> Mobile : +94 718 210 200 >> > > -- Regards, Waruna Lakshitha Jayaweera Senior Software Engineer WSO2 Inc; http://wso2.com phone: +94713255198
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev