Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2018-02-15 Thread Afkham Azeez
Yeah get rid of it! On Thu, Feb 15, 2018 at 7:11 PM, Sagara Gunathunga wrote: > > It seems -Dsetup is broken in some products, the correct action should be > get rid of this non-production feature instead of fixing. Going forward we > will remove relevant doc content from IS 5.0.0 and will try t

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2018-02-15 Thread Sagara Gunathunga
It seems -Dsetup is broken in some products, the correct action should be get rid of this non-production feature instead of fixing. Going forward we will remove relevant doc content from IS 5.0.0 and will try to remove code from next release. Thanks ! On Fri, May 6, 2016 at 1:31 PM, Isuru Perera

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Isuru Perera
Hi Sameera, Thanks for confirming! So, the products also should not try to implement this feature. (This is what I wanted to confirm. Not just implementing -Dsetup support in C5). On Fri, May 6, 2016 at 1:24 PM, Sameera Jayasoma wrote: > Hi Isuru, > > As I've explained earlier. We will not imp

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Sameera Jayasoma
Hi Isuru, As I've explained earlier. We will not implement -Dsetup support in C5. Thanks, Sameera. On Fri, May 6, 2016 at 1:11 PM, Isuru Perera wrote: > Yes. -Dsetup is easier, but let's avoid setting up database from the > server. In Wiki, we can give instructions on setting up databases for

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-06 Thread Isuru Perera
Yes. -Dsetup is easier, but let's avoid setting up database from the server. In Wiki, we can give instructions on setting up databases for each vendor. Carbon Team, could you please let us know your conclusion on this? On Wed, May 4, 2016 at 4:55 PM, Isuru Haththotuwa wrote: > Hi Sagara, > > On

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-04 Thread Isuru Haththotuwa
Hi Sagara, On Fri, Apr 29, 2016 at 5:31 PM, Sagara Gunathunga wrote: > > > On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera wrote: > >> Hi Sameera, >> >> As Thilini mentioned, most of the products need a database to keep data. >> With -Dsetup we could execute scripts based on the vendor. We need s

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-05-03 Thread Isuru Perera
+1. I also think that we can remove the support for -Dsetup in C5 products and I agree with Sagara's points. I just wanted to check what we should do about the missing feature when migrating the metrics code to C5 based products. Shall we send a mail to architecture@ and tell that we will no long

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Aruna Karunarathna
On Fri, Apr 29, 2016 at 5:31 PM, Sagara Gunathunga wrote: > > > On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera wrote: > >> Hi Sameera, >> >> As Thilini mentioned, most of the products need a database to keep data. >> With -Dsetup we could execute scripts based on the vendor. We need some way >> o

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Sagara Gunathunga
On Fri, Apr 29, 2016 at 4:21 PM, Isuru Perera wrote: > Hi Sameera, > > As Thilini mentioned, most of the products need a database to keep data. > With -Dsetup we could execute scripts based on the vendor. We need some way > of setting up the database in C5 as well. > > I'm sorry I couldn't create

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Sameera Jayasoma
Hi All, If we provide necessary scripts, wouldn't that be enough. When you are setting up a deployment, users anyway populate tables using our DB scripts. -Dsetup is good enough only during the development period. When you are setting up production deployments, I don't think users utilize the -D

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Isuru Perera
Hi Sameera, As Thilini mentioned, most of the products need a database to keep data. With -Dsetup we could execute scripts based on the vendor. We need some way of setting up the database in C5 as well. I'm sorry I couldn't create a JIRA for $subject yet. In C5, what is the recommended way to se

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Thilini Cooray
Hi, In many of our carbon 4.x.x based products, we use -Dsetup option allowing users to create databases on their preferred vendor (instead of our inbuilt H2 database). Without this option, users will have to run database scripts against each of the databases by themselves prior to server startup.

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-29 Thread Sameera Jayasoma
Hi Isuru, Can you explain the need to have a -Dsetup option? Can we simply remove this in C5? Thanks, Sameera. On Fri, Mar 25, 2016 at 1:45 PM, Isuru Perera wrote: > Hi, > > In Carbon 4.x.x, we extend [1] > org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the same > in Carbo

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-12 Thread Kishanthan Thangarajah
Can you create a jira for this, so that will track and add it to kernel/platform? On Thu, Apr 7, 2016 at 5:37 PM, Isuru Perera wrote: > Hi Carbon team, > > When will this feature be implemented in Carbon? As I understand, most of > the products need this feature. > > Thanks! > > On Tue, Mar 29,

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-07 Thread Isuru Perera
Hi Carbon team, When will this feature be implemented in Carbon? As I understand, most of the products need this feature. Thanks! On Tue, Mar 29, 2016 at 11:51 AM, Asitha Nanayakkara wrote: > +1 for having this as a common feature. MB will also be using this feature > to create the database sc

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-03-28 Thread Asitha Nanayakkara
+1 for having this as a common feature. MB will also be using this feature to create the database schema based on the database vendor. On Tue, Mar 29, 2016 at 11:09 AM, Isuru Perera wrote: > Hi Aruna, > > I think this feature will be important for other products as most of the > products will ev

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-03-28 Thread Isuru Perera
Hi Aruna, I think this feature will be important for other products as most of the products will eventually need to create the database schema based on the database vendor. I hope MB team will also need this feature soon and it would be good if this feature can be supported in next platform relea

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-03-25 Thread Aruna Karunarathna
On Fri, Mar 25, 2016 at 1:45 PM, Isuru Perera wrote: > Hi, > > In Carbon 4.x.x, we extend [1] > org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the same > in Carbon 5? > Hi Isuru, There is no such feature planned or available ATM for hamming platform release. Regards, Aruna

[Dev] How to create database tables with -Dsetup in Carbon 5?

2016-03-25 Thread Isuru Perera
Hi, In Carbon 4.x.x, we extend [1] org.wso2.carbon.utils.dbcreator.DatabaseCreator [2]. How can we do the same in Carbon 5? Thanks! [1] https://github.com/search?l=&q=DatabaseCreator++user%3Awso2&ref=advsearch&type=Code&utf8=%E2%9C%93 [2] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org