You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by Josh Thompson <jo...@ncsu.edu> on 2010/06/01 17:27:11 UTC

Re: Reg: JIRA issue VCL-202

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kiran,

Wow - that's a lot of changes.  We're in need of more committers, and it 
sounds like you've done a lot of work already.  So, this could be very 
beneficial.

As I read this, I realized we (the Apache VCL community) don't have any 
guidelines in place for contributing modifications that affect large portions 
of the code.  I just composed another message to this list titled "guidelines 
for contributing large modifications" to establish some guidelines.

Before discussing your contributions further, lets wait on that process to get 
worked out so that this can be contributed in a way that most benefits the 
community.

Thanks,
Josh

On Friday May 28, 2010, Kiran N wrote:
> Hello All,
> I have been studying VCL code and I want to be a contributor to the VCL
> development. I will identify my work as related to JIRA issue VCL-202(in
> database) started by Milen Paskov. There are few things I have been working
> on and would like to share here.
> 
>    - Modified vcl.sql script to connect to Apache derby database and create
>    the database with the tables and data as in mysql. Please find the
>    vcl-derby.sql attached with this email.
>    - I have been working on the PHP front end code so that it can connect
>  to both mysql and Apache derby database. I am not sure if I need to
>  contibute to this by creating a new JIRA issue number. Please advise on
>  this. - Regarding changes to the PHP front end, I have coded a new
>  'param.php' file which changes the database data fetch or update
>  statements based on the type of database. I also assigns/creates some
>  global variables. As stated in JIRA issue VCL-202 , there are certain
>  keywords ('user', 'end', 'order' and 'key')which cannot be used as
>  database columns or table names in derby , I have created global variables
>  which store the values of these keyword based on mysql/derby.
>    - Apart from this in the code there are some small changes like
>    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in derby.
>  So they have been changed accordingly. I am working on a document to
>  provide the complete list of changes between mysql and derby from the PHP
>  front end code perspective.
>    - Regarding connecting PHP to Apache derby, db2 runtime client with
>    ibm_db2 extension is used. PDO_ODBC is the data access interface for PHP
>    which compiles directly against DB2 librraries for native access to DB2.
>  PHP is complied with ibm_db2 extension and configured accordingly. Please
>  refer to below links for better understanding.
> 
> References:
> http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> http://www.db2ude.com/?q=node/81
> 
> I am working on providing more explanatory documents which would help doing
> the setup for testing and checking the connection of PHP with derby but
>  this is the initial idea that i shared. Presently, I have done the setup
>  and working on the PHP front end code. I will be sharing that also with
>  you probably sometime next week.
> Please provide me feedback and suggestions on this! Let me know for any
> questions.
> 
- -- 
- -------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

Josh_Thompson@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
=FrTq
-----END PGP SIGNATURE-----

Re: Reg: JIRA issue VCL-202

Posted by Kiran N <ki...@gmail.com>.
Aaron,
I am not very familiar with the back end code yet but what I can understand
from what you are saying is that the perl files have changed due to changes
in the database side and they need to be tested again. rite?
So, does that mean that I cant test the php front end completely along with
the reservation process till the back end is fixed and updated? If yes, i
wil try to look into that and see how extensive are the changes.

Josh, you said that 2 computers would be sufficient to do the testing part.
So, can that be setup at your end for me to start testing the code.

On Thu, Jun 3, 2010 at 9:06 AM, Aaron Peeler <aa...@ncsu.edu> wrote:

> On 6/2/10 2:15 PM, Kiran N wrote:
>
>> Thank you Josh! Let me see if I can work that out.
>> At this point I also had 2 questions.
>> There are some sql statements in the perl scripts running in the back end
>> on
>> managment node rite? So in case the back end perl scripts are not
>> modified,
>> that would  be using mysql and php would be getting data from derby
>> database.
>> As an initial phase of testing would this option work for testing front
>> end
>> when making a reservation?
>>
>>
>
> Kiran,
> I not sure I completely understand the question/statement. But to clarify,
> yes there are a number of sql statements on the backend perl side. The
> previous work that Milan did for the backend is likely not working anymore
> to support derby, as the schema and the backend datastructure has
> changed/extended since he worked on it. Which highlights the issue of
> continued support for this multiple databases and that we need to backup and
> bit and really design this out on the best way to build in support for
> multiple databases.
>
> If I mis-read the question/statement, please let me know.
> Aaron
>
>
>
>  Secondly, the option Manage images->Edit image grouping  and
>> Manage images ->  Edit emage mapping
>> These 2 options dont fetch any results/data basically when I try to do
>> fetch
>> groups the page just hangs(mysql db). Also, the UI expands outside the
>> footer of the page. Do I need to get any new php files which has this
>> issue
>> fixed.
>>
>>
>> On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson<josh_thompson@ncsu.edu
>> >wrote:
>>
>>
>
>


-- 
Thanks,
Kiran

Re: Reg: JIRA issue VCL-202

Posted by Aaron Peeler <aa...@ncsu.edu>.
On 6/2/10 2:15 PM, Kiran N wrote:
> Thank you Josh! Let me see if I can work that out.
> At this point I also had 2 questions.
> There are some sql statements in the perl scripts running in the back end on
> managment node rite? So in case the back end perl scripts are not modified,
> that would  be using mysql and php would be getting data from derby
> database.
> As an initial phase of testing would this option work for testing front end
> when making a reservation?
>    

Kiran,
I not sure I completely understand the question/statement. But to 
clarify, yes there are a number of sql statements on the backend perl 
side. The previous work that Milan did for the backend is likely not 
working anymore to support derby, as the schema and the backend 
datastructure has changed/extended since he worked on it. Which 
highlights the issue of continued support for this multiple databases 
and that we need to backup and bit and really design this out on the 
best way to build in support for multiple databases.

If I mis-read the question/statement, please let me know.
Aaron


> Secondly, the option Manage images->Edit image grouping  and
> Manage images ->  Edit emage mapping
> These 2 options dont fetch any results/data basically when I try to do fetch
> groups the page just hangs(mysql db). Also, the UI expands outside the
> footer of the page. Do I need to get any new php files which has this issue
> fixed.
>
>
> On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson<jo...@ncsu.edu>wrote:
>    


Re: Reg: JIRA issue VCL-202

Posted by Kiran N <ki...@gmail.com>.
Thank you Josh! Let me see if I can work that out.
At this point I also had 2 questions.
There are some sql statements in the perl scripts running in the back end on
managment node rite? So in case the back end perl scripts are not modified,
that would  be using mysql and php would be getting data from derby
database.
As an initial phase of testing would this option work for testing front end
when making a reservation?

Secondly, the option Manage images->Edit image grouping  and
Manage images -> Edit emage mapping
These 2 options dont fetch any results/data basically when I try to do fetch
groups the page just hangs(mysql db). Also, the UI expands outside the
footer of the page. Do I need to get any new php files which has this issue
fixed.


On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Really, just about all of the web code could be tested using two desktops
> or
> even laptops.  You would just need to install the web, database, and
> management node software on one, and vmware free server and some VMs on the
> other.  That would at least be easier than finding and setting up blade
> servers.
>
> Josh
>
> On Wednesday June 02, 2010, Kiran N wrote:
> > Thanks Josh for your suggestion !
> > Even I am wondering about  the best possible way to get it tested.
> > In case there is no other option then I would be needing a set of blades
> >  and some pool of computers rite?
> > Meanwhile, in case anyone else has known of a better option pls suggest.
> >
> > On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson
> <jo...@ncsu.edu>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Kiran,
> > >
> > > Unfortunately, we don't actually have a default set of images
> available.
> > >  The
> > > entries that come in the image table are there as examples for when
> > > people are
> > > creating their own base images.  We probably should remove them and put
> > > examples online somewhere instead.  What do others on the list think
> > > about this?
> > >
> > > We don't currently have a good solution for the fact that you really
> need
> > > a full VCL install to do much useful development, and doing a full
> > > install isn't
> > > a simple thing.
> > >
> > > Josh
> > >
> > > On Tuesday June 01, 2010, Kiran N wrote:
> > > > Thank you Josh!
> > > > The plan sounds good to me since there are actually lot of code
> changes
> > >
> > > and
> > >
> > > > its important we document that correctly.
> > > >
> > > > I have a suggestion that while we are waiting for that , there are
> few
> > > > things I need access to:
> > > > There are some set of default images in database image table. I
> wanted
> > > > to initiate the process of making a reservation on any one of those
> > > > images. I needed that to test New reservation, Block reservation. So,
> > > > in case
> > >
> > > there
> > >
> > > > is any captured image which is used by VCL for testing purposes
> please
> > >
> > > let
> > >
> > > > me know.This would in turn also need some computer table entries too.
> > > > Overall, I would be needing some additional test data for me to test
> > > > all the php files.
> > > > Please let me know what can be done on that!
> > > >
> > > > Also I have submitted the ICLA form
> > > > http://www.apache.org/licenses/#clas
> > >
> > > .
> > >
> > > > Please let me know if there is anything else I am supposed to do!
> > > > Any suggestions are welcome!
> > > >
> > > > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> > >
> > > <jo...@ncsu.edu>wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Kiran,
> > > > >
> > > > > Wow - that's a lot of changes.  We're in need of more committers,
> and
> > >
> > > it
> > >
> > > > > sounds like you've done a lot of work already.  So, this could be
> > > > > very beneficial.
> > > > >
> > > > > As I read this, I realized we (the Apache VCL community) don't have
> > > > > any guidelines in place for contributing modifications that affect
> > > > > large portions
> > > > > of the code.  I just composed another message to this list titled
> > > > > "guidelines
> > > > > for contributing large modifications" to establish some guidelines.
> > > > >
> > > > > Before discussing your contributions further, lets wait on that
> > > > > process to get
> > > > > worked out so that this can be contributed in a way that most
> > > > > benefits the community.
> > > > >
> > > > > Thanks,
> > > > > Josh
> > > > >
> > > > > On Friday May 28, 2010, Kiran N wrote:
> > > > > > Hello All,
> > > > > > I have been studying VCL code and I want to be a contributor to
> the
> > >
> > > VCL
> > >
> > > > > > development. I will identify my work as related to JIRA issue
> > > > > > VCL-202(in database) started by Milen Paskov. There are few
> things
> > > > > > I have been
> > > > >
> > > > > working
> > > > >
> > > > > > on and would like to share here.
> > > > > >
> > > > > >    - Modified vcl.sql script to connect to Apache derby database
> > > > > > and
> > > > >
> > > > > create
> > > > >
> > > > > >    the database with the tables and data as in mysql. Please find
> > > > > > the vcl-derby.sql attached with this email.
> > > > > >    - I have been working on the PHP front end code so that it can
> > > > > > connect to both mysql and Apache derby database. I am not sure if
> I
> > > > > > need to contibute to this by creating a new JIRA issue number.
> > > > > > Please advise on this. - Regarding changes to the PHP front end,
> I
> > > > > > have
> > >
> > > coded
> > >
> > > > > > a new 'param.php' file which changes the database data fetch or
> > >
> > > update
> > >
> > > > > > statements based on the type of database. I also assigns/creates
> > > > > > some global variables. As stated in JIRA issue VCL-202 , there
> are
> > > > > > certain keywords ('user', 'end', 'order' and 'key')which cannot
> be
> > > > > > used as database columns or table names in derby , I have created
> > > > > > global
> > > > >
> > > > > variables
> > > > >
> > > > > >  which store the values of these keyword based on mysql/derby.
> > > > > >    - Apart from this in the code there are some small changes
> like
> > > > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized
> in
> > > > > > derby. So they have been changed accordingly. I am working on a
> > > > > > document to provide the complete list of changes between mysql
> and
> > > > > > derby from the
> > > > >
> > > > > PHP
> > > > >
> > > > > >  front end code perspective.
> > > > > >    - Regarding connecting PHP to Apache derby, db2 runtime client
> > >
> > > with
> > >
> > > > > >    ibm_db2 extension is used. PDO_ODBC is the data access
> interface
> > >
> > > for
> > >
> > > > > PHP
> > > > >
> > > > > >    which compiles directly against DB2 librraries for native
> access
> > >
> > > to
> > >
> > > > > DB2.
> > > > >
> > > > > >  PHP is complied with ibm_db2 extension and configured
> accordingly.
> > > > >
> > > > > Please
> > > > >
> > > > > >  refer to below links for better understanding.
> > > > > >
> > > > > > References:
> > > > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > > > http://www.db2ude.com/?q=node/81
> > > > > >
> > > > > > I am working on providing more explanatory documents which would
> > > > > > help
> > > > >
> > > > > doing
> > > > >
> > > > > > the setup for testing and checking the connection of PHP with
> derby
> > >
> > > but
> > >
> > > > > >  this is the initial idea that i shared. Presently, I have done
> the
> > > > > > setup and working on the PHP front end code. I will be sharing
> that
> > > > > > also with you probably sometime next week.
> > > > > > Please provide me feedback and suggestions on this! Let me know
> for
> > >
> > > any
> > >
> > > > > > questions.
> > > > >
> > > > > - --
> > > > > - -------------------------------
> > > > > Josh Thompson
> > > > > Systems Programmer
> > > > > Advanced Computing | VCL Developer
> > > > > North Carolina State University
> > > > >
> > > > > Josh_Thompson@ncsu.edu
> > > > > 919-515-5323
> > > > >
> > > > > my GPG/PGP key can be found at pgp.mit.edu
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v2.0.14 (GNU/Linux)
> > > > >
> > > > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > > > =FrTq
> > > > > -----END PGP SIGNATURE-----
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > Josh_Thompson@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.14 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> > > utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> > > =NlXI
> > > -----END PGP SIGNATURE-----
> >
> - --
> - -------------------------------
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> Josh_Thompson@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEARECAAYFAkwGmccACgkQV/LQcNdtPQPoUwCeMR3g6EZKcda19XwEM0NBZtwZ
> VdgAmgKehhKzj/gN8cOYrnji1TYVFezi
> =XUmI
> -----END PGP SIGNATURE-----
>



-- 
Thanks,
Kiran

Re: Reg: JIRA issue VCL-202

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kiran,

I don't have the time to set up a test environment for you.

Milen is the only person I'm aware of that has done anything with getting the 
backend to work with derby.  So, if he hasn't updated it to work with the 
latest code, then I doubt anyone has.

Josh

On Wednesday June 09, 2010, Kiran N wrote:
> Josh,
> Are there any updates on setting up 2 desktops/laptops/blades so that i can
> set up the VCL for testing.
> Also, as suggested by Aaron the perl code has been changed to some extent
>  so has anyone incorporated Milen's changes to new version for connecting
>  to Derby database.
> Please let me know since I am willing to test the VCL code with derby and I
> need the updated perl modules.
> 
> On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson <jo...@ncsu.edu>wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Really, just about all of the web code could be tested using two desktops
> > or
> > even laptops.  You would just need to install the web, database, and
> > management node software on one, and vmware free server and some VMs on
> > the other.  That would at least be easier than finding and setting up
> > blade servers.
> >
> > Josh
> >
> > On Wednesday June 02, 2010, Kiran N wrote:
> > > Thanks Josh for your suggestion !
> > > Even I am wondering about  the best possible way to get it tested.
> > > In case there is no other option then I would be needing a set of
> > > blades and some pool of computers rite?
> > > Meanwhile, in case anyone else has known of a better option pls
> > > suggest.
> > >
> > > On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson
> >
> > <jo...@ncsu.edu>wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Kiran,
> > > >
> > > > Unfortunately, we don't actually have a default set of images
> >
> > available.
> >
> > > >  The
> > > > entries that come in the image table are there as examples for when
> > > > people are
> > > > creating their own base images.  We probably should remove them and
> > > > put examples online somewhere instead.  What do others on the list
> > > > think about this?
> > > >
> > > > We don't currently have a good solution for the fact that you really
> >
> > need
> >
> > > > a full VCL install to do much useful development, and doing a full
> > > > install isn't
> > > > a simple thing.
> > > >
> > > > Josh
> > > >
> > > > On Tuesday June 01, 2010, Kiran N wrote:
> > > > > Thank you Josh!
> > > > > The plan sounds good to me since there are actually lot of code
> >
> > changes
> >
> > > > and
> > > >
> > > > > its important we document that correctly.
> > > > >
> > > > > I have a suggestion that while we are waiting for that , there are
> >
> > few
> >
> > > > > things I need access to:
> > > > > There are some set of default images in database image table. I
> >
> > wanted
> >
> > > > > to initiate the process of making a reservation on any one of those
> > > > > images. I needed that to test New reservation, Block reservation.
> > > > > So, in case
> > > >
> > > > there
> > > >
> > > > > is any captured image which is used by VCL for testing purposes
> >
> > please
> >
> > > > let
> > > >
> > > > > me know.This would in turn also need some computer table entries
> > > > > too. Overall, I would be needing some additional test data for me
> > > > > to test all the php files.
> > > > > Please let me know what can be done on that!
> > > > >
> > > > > Also I have submitted the ICLA form
> > > > > http://www.apache.org/licenses/#clas
> > > >
> > > > .
> > > >
> > > > > Please let me know if there is anything else I am supposed to do!
> > > > > Any suggestions are welcome!
> > > > >
> > > > > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> > > >
> > > > <jo...@ncsu.edu>wrote:
> > > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > > Hash: SHA1
> > > > > >
> > > > > > Kiran,
> > > > > >
> > > > > > Wow - that's a lot of changes.  We're in need of more committers,
> >
> > and
> >
> > > > it
> > > >
> > > > > > sounds like you've done a lot of work already.  So, this could be
> > > > > > very beneficial.
> > > > > >
> > > > > > As I read this, I realized we (the Apache VCL community) don't
> > > > > > have any guidelines in place for contributing modifications that
> > > > > > affect large portions
> > > > > > of the code.  I just composed another message to this list titled
> > > > > > "guidelines
> > > > > > for contributing large modifications" to establish some
> > > > > > guidelines.
> > > > > >
> > > > > > Before discussing your contributions further, lets wait on that
> > > > > > process to get
> > > > > > worked out so that this can be contributed in a way that most
> > > > > > benefits the community.
> > > > > >
> > > > > > Thanks,
> > > > > > Josh
> > > > > >
> > > > > > On Friday May 28, 2010, Kiran N wrote:
> > > > > > > Hello All,
> > > > > > > I have been studying VCL code and I want to be a contributor to
> >
> > the
> >
> > > > VCL
> > > >
> > > > > > > development. I will identify my work as related to JIRA issue
> > > > > > > VCL-202(in database) started by Milen Paskov. There are few
> >
> > things
> >
> > > > > > > I have been
> > > > > >
> > > > > > working
> > > > > >
> > > > > > > on and would like to share here.
> > > > > > >
> > > > > > >    - Modified vcl.sql script to connect to Apache derby
> > > > > > > database and
> > > > > >
> > > > > > create
> > > > > >
> > > > > > >    the database with the tables and data as in mysql. Please
> > > > > > > find the vcl-derby.sql attached with this email.
> > > > > > >    - I have been working on the PHP front end code so that it
> > > > > > > can connect to both mysql and Apache derby database. I am not
> > > > > > > sure if
> >
> > I
> >
> > > > > > > need to contibute to this by creating a new JIRA issue number.
> > > > > > > Please advise on this. - Regarding changes to the PHP front
> > > > > > > end,
> >
> > I
> >
> > > > > > > have
> > > >
> > > > coded
> > > >
> > > > > > > a new 'param.php' file which changes the database data fetch or
> > > >
> > > > update
> > > >
> > > > > > > statements based on the type of database. I also
> > > > > > > assigns/creates some global variables. As stated in JIRA issue
> > > > > > > VCL-202 , there
> >
> > are
> >
> > > > > > > certain keywords ('user', 'end', 'order' and 'key')which cannot
> >
> > be
> >
> > > > > > > used as database columns or table names in derby , I have
> > > > > > > created global
> > > > > >
> > > > > > variables
> > > > > >
> > > > > > >  which store the values of these keyword based on mysql/derby.
> > > > > > >    - Apart from this in the code there are some small changes
> >
> > like
> >
> > > > > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized
> >
> > in
> >
> > > > > > > derby. So they have been changed accordingly. I am working on a
> > > > > > > document to provide the complete list of changes between mysql
> >
> > and
> >
> > > > > > > derby from the
> > > > > >
> > > > > > PHP
> > > > > >
> > > > > > >  front end code perspective.
> > > > > > >    - Regarding connecting PHP to Apache derby, db2 runtime
> > > > > > > client
> > > >
> > > > with
> > > >
> > > > > > >    ibm_db2 extension is used. PDO_ODBC is the data access
> >
> > interface
> >
> > > > for
> > > >
> > > > > > PHP
> > > > > >
> > > > > > >    which compiles directly against DB2 librraries for native
> >
> > access
> >
> > > > to
> > > >
> > > > > > DB2.
> > > > > >
> > > > > > >  PHP is complied with ibm_db2 extension and configured
> >
> > accordingly.
> >
> > > > > > Please
> > > > > >
> > > > > > >  refer to below links for better understanding.
> > > > > > >
> > > > > > > References:
> > > > > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > > > > http://www.db2ude.com/?q=node/81
> > > > > > >
> > > > > > > I am working on providing more explanatory documents which
> > > > > > > would help
> > > > > >
> > > > > > doing
> > > > > >
> > > > > > > the setup for testing and checking the connection of PHP with
> >
> > derby
> >
> > > > but
> > > >
> > > > > > >  this is the initial idea that i shared. Presently, I have done
> >
> > the
> >
> > > > > > > setup and working on the PHP front end code. I will be sharing
> >
> > that
> >
> > > > > > > also with you probably sometime next week.
> > > > > > > Please provide me feedback and suggestions on this! Let me know
> >
> > for
> >
> > > > any
> > > >
> > > > > > > questions.
> > > > > >
> > > > > > - --
> > > > > > - -------------------------------
> > > > > > Josh Thompson
> > > > > > Systems Programmer
> > > > > > Advanced Computing | VCL Developer
> > > > > > North Carolina State University
> > > > > >
> > > > > > Josh_Thompson@ncsu.edu
> > > > > > 919-515-5323
> > > > > >
> > > > > > my GPG/PGP key can be found at pgp.mit.edu
> > > > > > -----BEGIN PGP SIGNATURE-----
> > > > > > Version: GnuPG v2.0.14 (GNU/Linux)
> > > > > >
> > > > > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > > > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > > > > =FrTq
> > > > > > -----END PGP SIGNATURE-----
> > > >
> > > > - --
> > > > - -------------------------------
> > > > Josh Thompson
> > > > Systems Programmer
> > > > Advanced Computing | VCL Developer
> > > > North Carolina State University
> > > >
> > > > Josh_Thompson@ncsu.edu
> > > > 919-515-5323
> > > >
> > > > my GPG/PGP key can be found at pgp.mit.edu
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v2.0.14 (GNU/Linux)
> > > >
> > > > iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> > > > utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> > > > =NlXI
> > > > -----END PGP SIGNATURE-----
> >
> > - --
> > - -------------------------------
> > Josh Thompson
> > Systems Programmer
> > Advanced Computing | VCL Developer
> > North Carolina State University
> >
> > Josh_Thompson@ncsu.edu
> > 919-515-5323
> >
> > my GPG/PGP key can be found at pgp.mit.edu
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.14 (GNU/Linux)
> >
> > iEYEARECAAYFAkwGmccACgkQV/LQcNdtPQPoUwCeMR3g6EZKcda19XwEM0NBZtwZ
> > VdgAmgKehhKzj/gN8cOYrnji1TYVFezi
> > =XUmI
> > -----END PGP SIGNATURE-----
> 
- -- 
- -------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

Josh_Thompson@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkwRL2gACgkQV/LQcNdtPQNs6wCeM4Qvz0DkMp8Be+zkQiMj2weW
t7UAnRKwcqqcLNhrub/yJJTbCxUZ5GQA
=ZB0M
-----END PGP SIGNATURE-----

Re: Reg: JIRA issue VCL-202

Posted by Kiran N <ki...@gmail.com>.
Josh,
Are there any updates on setting up 2 desktops/laptops/blades so that i can
set up the VCL for testing.
Also, as suggested by Aaron the perl code has been changed to some extent so
has anyone incorporated Milen's changes to new version for connecting to
Derby database.
Please let me know since I am willing to test the VCL code with derby and I
need the updated perl modules.


On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Really, just about all of the web code could be tested using two desktops
> or
> even laptops.  You would just need to install the web, database, and
> management node software on one, and vmware free server and some VMs on the
> other.  That would at least be easier than finding and setting up blade
> servers.
>
> Josh
>
> On Wednesday June 02, 2010, Kiran N wrote:
> > Thanks Josh for your suggestion !
> > Even I am wondering about  the best possible way to get it tested.
> > In case there is no other option then I would be needing a set of blades
> >  and some pool of computers rite?
> > Meanwhile, in case anyone else has known of a better option pls suggest.
> >
> > On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson
> <jo...@ncsu.edu>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Kiran,
> > >
> > > Unfortunately, we don't actually have a default set of images
> available.
> > >  The
> > > entries that come in the image table are there as examples for when
> > > people are
> > > creating their own base images.  We probably should remove them and put
> > > examples online somewhere instead.  What do others on the list think
> > > about this?
> > >
> > > We don't currently have a good solution for the fact that you really
> need
> > > a full VCL install to do much useful development, and doing a full
> > > install isn't
> > > a simple thing.
> > >
> > > Josh
> > >
> > > On Tuesday June 01, 2010, Kiran N wrote:
> > > > Thank you Josh!
> > > > The plan sounds good to me since there are actually lot of code
> changes
> > >
> > > and
> > >
> > > > its important we document that correctly.
> > > >
> > > > I have a suggestion that while we are waiting for that , there are
> few
> > > > things I need access to:
> > > > There are some set of default images in database image table. I
> wanted
> > > > to initiate the process of making a reservation on any one of those
> > > > images. I needed that to test New reservation, Block reservation. So,
> > > > in case
> > >
> > > there
> > >
> > > > is any captured image which is used by VCL for testing purposes
> please
> > >
> > > let
> > >
> > > > me know.This would in turn also need some computer table entries too.
> > > > Overall, I would be needing some additional test data for me to test
> > > > all the php files.
> > > > Please let me know what can be done on that!
> > > >
> > > > Also I have submitted the ICLA form
> > > > http://www.apache.org/licenses/#clas
> > >
> > > .
> > >
> > > > Please let me know if there is anything else I am supposed to do!
> > > > Any suggestions are welcome!
> > > >
> > > > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> > >
> > > <jo...@ncsu.edu>wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Kiran,
> > > > >
> > > > > Wow - that's a lot of changes.  We're in need of more committers,
> and
> > >
> > > it
> > >
> > > > > sounds like you've done a lot of work already.  So, this could be
> > > > > very beneficial.
> > > > >
> > > > > As I read this, I realized we (the Apache VCL community) don't have
> > > > > any guidelines in place for contributing modifications that affect
> > > > > large portions
> > > > > of the code.  I just composed another message to this list titled
> > > > > "guidelines
> > > > > for contributing large modifications" to establish some guidelines.
> > > > >
> > > > > Before discussing your contributions further, lets wait on that
> > > > > process to get
> > > > > worked out so that this can be contributed in a way that most
> > > > > benefits the community.
> > > > >
> > > > > Thanks,
> > > > > Josh
> > > > >
> > > > > On Friday May 28, 2010, Kiran N wrote:
> > > > > > Hello All,
> > > > > > I have been studying VCL code and I want to be a contributor to
> the
> > >
> > > VCL
> > >
> > > > > > development. I will identify my work as related to JIRA issue
> > > > > > VCL-202(in database) started by Milen Paskov. There are few
> things
> > > > > > I have been
> > > > >
> > > > > working
> > > > >
> > > > > > on and would like to share here.
> > > > > >
> > > > > >    - Modified vcl.sql script to connect to Apache derby database
> > > > > > and
> > > > >
> > > > > create
> > > > >
> > > > > >    the database with the tables and data as in mysql. Please find
> > > > > > the vcl-derby.sql attached with this email.
> > > > > >    - I have been working on the PHP front end code so that it can
> > > > > > connect to both mysql and Apache derby database. I am not sure if
> I
> > > > > > need to contibute to this by creating a new JIRA issue number.
> > > > > > Please advise on this. - Regarding changes to the PHP front end,
> I
> > > > > > have
> > >
> > > coded
> > >
> > > > > > a new 'param.php' file which changes the database data fetch or
> > >
> > > update
> > >
> > > > > > statements based on the type of database. I also assigns/creates
> > > > > > some global variables. As stated in JIRA issue VCL-202 , there
> are
> > > > > > certain keywords ('user', 'end', 'order' and 'key')which cannot
> be
> > > > > > used as database columns or table names in derby , I have created
> > > > > > global
> > > > >
> > > > > variables
> > > > >
> > > > > >  which store the values of these keyword based on mysql/derby.
> > > > > >    - Apart from this in the code there are some small changes
> like
> > > > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized
> in
> > > > > > derby. So they have been changed accordingly. I am working on a
> > > > > > document to provide the complete list of changes between mysql
> and
> > > > > > derby from the
> > > > >
> > > > > PHP
> > > > >
> > > > > >  front end code perspective.
> > > > > >    - Regarding connecting PHP to Apache derby, db2 runtime client
> > >
> > > with
> > >
> > > > > >    ibm_db2 extension is used. PDO_ODBC is the data access
> interface
> > >
> > > for
> > >
> > > > > PHP
> > > > >
> > > > > >    which compiles directly against DB2 librraries for native
> access
> > >
> > > to
> > >
> > > > > DB2.
> > > > >
> > > > > >  PHP is complied with ibm_db2 extension and configured
> accordingly.
> > > > >
> > > > > Please
> > > > >
> > > > > >  refer to below links for better understanding.
> > > > > >
> > > > > > References:
> > > > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > > > http://www.db2ude.com/?q=node/81
> > > > > >
> > > > > > I am working on providing more explanatory documents which would
> > > > > > help
> > > > >
> > > > > doing
> > > > >
> > > > > > the setup for testing and checking the connection of PHP with
> derby
> > >
> > > but
> > >
> > > > > >  this is the initial idea that i shared. Presently, I have done
> the
> > > > > > setup and working on the PHP front end code. I will be sharing
> that
> > > > > > also with you probably sometime next week.
> > > > > > Please provide me feedback and suggestions on this! Let me know
> for
> > >
> > > any
> > >
> > > > > > questions.
> > > > >
> > > > > - --
> > > > > - -------------------------------
> > > > > Josh Thompson
> > > > > Systems Programmer
> > > > > Advanced Computing | VCL Developer
> > > > > North Carolina State University
> > > > >
> > > > > Josh_Thompson@ncsu.edu
> > > > > 919-515-5323
> > > > >
> > > > > my GPG/PGP key can be found at pgp.mit.edu
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v2.0.14 (GNU/Linux)
> > > > >
> > > > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > > > =FrTq
> > > > > -----END PGP SIGNATURE-----
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > Josh_Thompson@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.14 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> > > utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> > > =NlXI
> > > -----END PGP SIGNATURE-----
> >
> - --
> - -------------------------------
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> Josh_Thompson@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEARECAAYFAkwGmccACgkQV/LQcNdtPQPoUwCeMR3g6EZKcda19XwEM0NBZtwZ
> VdgAmgKehhKzj/gN8cOYrnji1TYVFezi
> =XUmI
> -----END PGP SIGNATURE-----
>



-- 
Thanks,
Kiran

Re: Reg: JIRA issue VCL-202

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Really, just about all of the web code could be tested using two desktops or 
even laptops.  You would just need to install the web, database, and 
management node software on one, and vmware free server and some VMs on the 
other.  That would at least be easier than finding and setting up blade 
servers.

Josh

On Wednesday June 02, 2010, Kiran N wrote:
> Thanks Josh for your suggestion !
> Even I am wondering about  the best possible way to get it tested.
> In case there is no other option then I would be needing a set of blades
>  and some pool of computers rite?
> Meanwhile, in case anyone else has known of a better option pls suggest.
> 
> On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson 
<jo...@ncsu.edu>wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Kiran,
> >
> > Unfortunately, we don't actually have a default set of images available.
> >  The
> > entries that come in the image table are there as examples for when
> > people are
> > creating their own base images.  We probably should remove them and put
> > examples online somewhere instead.  What do others on the list think
> > about this?
> >
> > We don't currently have a good solution for the fact that you really need
> > a full VCL install to do much useful development, and doing a full
> > install isn't
> > a simple thing.
> >
> > Josh
> >
> > On Tuesday June 01, 2010, Kiran N wrote:
> > > Thank you Josh!
> > > The plan sounds good to me since there are actually lot of code changes
> >
> > and
> >
> > > its important we document that correctly.
> > >
> > > I have a suggestion that while we are waiting for that , there are few
> > > things I need access to:
> > > There are some set of default images in database image table. I wanted
> > > to initiate the process of making a reservation on any one of those
> > > images. I needed that to test New reservation, Block reservation. So,
> > > in case
> >
> > there
> >
> > > is any captured image which is used by VCL for testing purposes please
> >
> > let
> >
> > > me know.This would in turn also need some computer table entries too.
> > > Overall, I would be needing some additional test data for me to test
> > > all the php files.
> > > Please let me know what can be done on that!
> > >
> > > Also I have submitted the ICLA form
> > > http://www.apache.org/licenses/#clas
> >
> > .
> >
> > > Please let me know if there is anything else I am supposed to do!
> > > Any suggestions are welcome!
> > >
> > > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> >
> > <jo...@ncsu.edu>wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Kiran,
> > > >
> > > > Wow - that's a lot of changes.  We're in need of more committers, and
> >
> > it
> >
> > > > sounds like you've done a lot of work already.  So, this could be
> > > > very beneficial.
> > > >
> > > > As I read this, I realized we (the Apache VCL community) don't have
> > > > any guidelines in place for contributing modifications that affect
> > > > large portions
> > > > of the code.  I just composed another message to this list titled
> > > > "guidelines
> > > > for contributing large modifications" to establish some guidelines.
> > > >
> > > > Before discussing your contributions further, lets wait on that
> > > > process to get
> > > > worked out so that this can be contributed in a way that most
> > > > benefits the community.
> > > >
> > > > Thanks,
> > > > Josh
> > > >
> > > > On Friday May 28, 2010, Kiran N wrote:
> > > > > Hello All,
> > > > > I have been studying VCL code and I want to be a contributor to the
> >
> > VCL
> >
> > > > > development. I will identify my work as related to JIRA issue
> > > > > VCL-202(in database) started by Milen Paskov. There are few things
> > > > > I have been
> > > >
> > > > working
> > > >
> > > > > on and would like to share here.
> > > > >
> > > > >    - Modified vcl.sql script to connect to Apache derby database
> > > > > and
> > > >
> > > > create
> > > >
> > > > >    the database with the tables and data as in mysql. Please find
> > > > > the vcl-derby.sql attached with this email.
> > > > >    - I have been working on the PHP front end code so that it can
> > > > > connect to both mysql and Apache derby database. I am not sure if I
> > > > > need to contibute to this by creating a new JIRA issue number.
> > > > > Please advise on this. - Regarding changes to the PHP front end, I
> > > > > have
> >
> > coded
> >
> > > > > a new 'param.php' file which changes the database data fetch or
> >
> > update
> >
> > > > > statements based on the type of database. I also assigns/creates
> > > > > some global variables. As stated in JIRA issue VCL-202 , there are
> > > > > certain keywords ('user', 'end', 'order' and 'key')which cannot be
> > > > > used as database columns or table names in derby , I have created
> > > > > global
> > > >
> > > > variables
> > > >
> > > > >  which store the values of these keyword based on mysql/derby.
> > > > >    - Apart from this in the code there are some small changes like
> > > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in
> > > > > derby. So they have been changed accordingly. I am working on a
> > > > > document to provide the complete list of changes between mysql and
> > > > > derby from the
> > > >
> > > > PHP
> > > >
> > > > >  front end code perspective.
> > > > >    - Regarding connecting PHP to Apache derby, db2 runtime client
> >
> > with
> >
> > > > >    ibm_db2 extension is used. PDO_ODBC is the data access interface
> >
> > for
> >
> > > > PHP
> > > >
> > > > >    which compiles directly against DB2 librraries for native access
> >
> > to
> >
> > > > DB2.
> > > >
> > > > >  PHP is complied with ibm_db2 extension and configured accordingly.
> > > >
> > > > Please
> > > >
> > > > >  refer to below links for better understanding.
> > > > >
> > > > > References:
> > > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > > http://www.db2ude.com/?q=node/81
> > > > >
> > > > > I am working on providing more explanatory documents which would
> > > > > help
> > > >
> > > > doing
> > > >
> > > > > the setup for testing and checking the connection of PHP with derby
> >
> > but
> >
> > > > >  this is the initial idea that i shared. Presently, I have done the
> > > > > setup and working on the PHP front end code. I will be sharing that
> > > > > also with you probably sometime next week.
> > > > > Please provide me feedback and suggestions on this! Let me know for
> >
> > any
> >
> > > > > questions.
> > > >
> > > > - --
> > > > - -------------------------------
> > > > Josh Thompson
> > > > Systems Programmer
> > > > Advanced Computing | VCL Developer
> > > > North Carolina State University
> > > >
> > > > Josh_Thompson@ncsu.edu
> > > > 919-515-5323
> > > >
> > > > my GPG/PGP key can be found at pgp.mit.edu
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v2.0.14 (GNU/Linux)
> > > >
> > > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > > =FrTq
> > > > -----END PGP SIGNATURE-----
> >
> > - --
> > - -------------------------------
> > Josh Thompson
> > Systems Programmer
> > Advanced Computing | VCL Developer
> > North Carolina State University
> >
> > Josh_Thompson@ncsu.edu
> > 919-515-5323
> >
> > my GPG/PGP key can be found at pgp.mit.edu
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.14 (GNU/Linux)
> >
> > iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> > utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> > =NlXI
> > -----END PGP SIGNATURE-----
> 
- -- 
- -------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

Josh_Thompson@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkwGmccACgkQV/LQcNdtPQPoUwCeMR3g6EZKcda19XwEM0NBZtwZ
VdgAmgKehhKzj/gN8cOYrnji1TYVFezi
=XUmI
-----END PGP SIGNATURE-----

Re: Reg: JIRA issue VCL-202

Posted by Mark Gardner <mk...@vt.edu>.
Josh,

On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kiran,
>
> Unfortunately, we don't actually have a default set of images available.
>  The
> entries that come in the image table are there as examples for when people
> are
> creating their own base images.  We probably should remove them and put
> examples online somewhere instead.  What do others on the list think about
> this?
>

I second the idea of putting the examples on the wiki rather than in the
distribution. Mostly because having them in the data may be seen as implying
that those images exist when they do not. It may also simplify the
installation documentation as everyone will start out a new installation
with the same image id.


> We don't currently have a good solution for the fact that you really need a
> full VCL install to do much useful development, and doing a full install
> isn't
> a simple thing.
>
> Josh
>
> On Tuesday June 01, 2010, Kiran N wrote:
> > Thank you Josh!
> > The plan sounds good to me since there are actually lot of code changes
> and
> > its important we document that correctly.
> >
> > I have a suggestion that while we are waiting for that , there are few
> > things I need access to:
> > There are some set of default images in database image table. I wanted to
> > initiate the process of making a reservation on any one of those images.
> > I needed that to test New reservation, Block reservation. So, in case
> there
> > is any captured image which is used by VCL for testing purposes please
> let
> > me know.This would in turn also need some computer table entries too.
> > Overall, I would be needing some additional test data for me to test all
> >  the php files.
> > Please let me know what can be done on that!
> >
> > Also I have submitted the ICLA form http://www.apache.org/licenses/#clas
> .
> > Please let me know if there is anything else I am supposed to do!
> > Any suggestions are welcome!
> >
> > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> <jo...@ncsu.edu>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Kiran,
> > >
> > > Wow - that's a lot of changes.  We're in need of more committers, and
> it
> > > sounds like you've done a lot of work already.  So, this could be very
> > > beneficial.
> > >
> > > As I read this, I realized we (the Apache VCL community) don't have any
> > > guidelines in place for contributing modifications that affect large
> > > portions
> > > of the code.  I just composed another message to this list titled
> > > "guidelines
> > > for contributing large modifications" to establish some guidelines.
> > >
> > > Before discussing your contributions further, lets wait on that process
> > > to get
> > > worked out so that this can be contributed in a way that most benefits
> > > the community.
> > >
> > > Thanks,
> > > Josh
> > >
> > > On Friday May 28, 2010, Kiran N wrote:
> > > > Hello All,
> > > > I have been studying VCL code and I want to be a contributor to the
> VCL
> > > > development. I will identify my work as related to JIRA issue
> > > > VCL-202(in database) started by Milen Paskov. There are few things I
> > > > have been
> > >
> > > working
> > >
> > > > on and would like to share here.
> > > >
> > > >    - Modified vcl.sql script to connect to Apache derby database and
> > >
> > > create
> > >
> > > >    the database with the tables and data as in mysql. Please find the
> > > >    vcl-derby.sql attached with this email.
> > > >    - I have been working on the PHP front end code so that it can
> > > > connect to both mysql and Apache derby database. I am not sure if I
> > > > need to contibute to this by creating a new JIRA issue number. Please
> > > > advise on this. - Regarding changes to the PHP front end, I have
> coded
> > > > a new 'param.php' file which changes the database data fetch or
> update
> > > > statements based on the type of database. I also assigns/creates some
> > > > global variables. As stated in JIRA issue VCL-202 , there are certain
> > > > keywords ('user', 'end', 'order' and 'key')which cannot be used as
> > > > database columns or table names in derby , I have created global
> > >
> > > variables
> > >
> > > >  which store the values of these keyword based on mysql/derby.
> > > >    - Apart from this in the code there are some small changes like
> > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in
> > > > derby. So they have been changed accordingly. I am working on a
> > > > document to provide the complete list of changes between mysql and
> > > > derby from the
> > >
> > > PHP
> > >
> > > >  front end code perspective.
> > > >    - Regarding connecting PHP to Apache derby, db2 runtime client
> with
> > > >    ibm_db2 extension is used. PDO_ODBC is the data access interface
> for
> > >
> > > PHP
> > >
> > > >    which compiles directly against DB2 librraries for native access
> to
> > >
> > > DB2.
> > >
> > > >  PHP is complied with ibm_db2 extension and configured accordingly.
> > >
> > > Please
> > >
> > > >  refer to below links for better understanding.
> > > >
> > > > References:
> > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > http://www.db2ude.com/?q=node/81
> > > >
> > > > I am working on providing more explanatory documents which would help
> > >
> > > doing
> > >
> > > > the setup for testing and checking the connection of PHP with derby
> but
> > > >  this is the initial idea that i shared. Presently, I have done the
> > > > setup and working on the PHP front end code. I will be sharing that
> > > > also with you probably sometime next week.
> > > > Please provide me feedback and suggestions on this! Let me know for
> any
> > > > questions.
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > Josh_Thompson@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.14 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > =FrTq
> > > -----END PGP SIGNATURE-----
> >
> - --
> - -------------------------------
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> Josh_Thompson@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> =NlXI
> -----END PGP SIGNATURE-----
>



-- 
Mark Gardner
--

Re: Reg: JIRA issue VCL-202

Posted by Kiran N <ki...@gmail.com>.
Thanks Josh for your suggestion !
Even I am wondering about  the best possible way to get it tested.
In case there is no other option then I would be needing a set of blades and
some pool of computers rite?
Meanwhile, in case anyone else has known of a better option pls suggest.

On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kiran,
>
> Unfortunately, we don't actually have a default set of images available.
>  The
> entries that come in the image table are there as examples for when people
> are
> creating their own base images.  We probably should remove them and put
> examples online somewhere instead.  What do others on the list think about
> this?
>
> We don't currently have a good solution for the fact that you really need a
> full VCL install to do much useful development, and doing a full install
> isn't
> a simple thing.
>
> Josh
>
> On Tuesday June 01, 2010, Kiran N wrote:
> > Thank you Josh!
> > The plan sounds good to me since there are actually lot of code changes
> and
> > its important we document that correctly.
> >
> > I have a suggestion that while we are waiting for that , there are few
> > things I need access to:
> > There are some set of default images in database image table. I wanted to
> > initiate the process of making a reservation on any one of those images.
> > I needed that to test New reservation, Block reservation. So, in case
> there
> > is any captured image which is used by VCL for testing purposes please
> let
> > me know.This would in turn also need some computer table entries too.
> > Overall, I would be needing some additional test data for me to test all
> >  the php files.
> > Please let me know what can be done on that!
> >
> > Also I have submitted the ICLA form http://www.apache.org/licenses/#clas
> .
> > Please let me know if there is anything else I am supposed to do!
> > Any suggestions are welcome!
> >
> > On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson
> <jo...@ncsu.edu>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Kiran,
> > >
> > > Wow - that's a lot of changes.  We're in need of more committers, and
> it
> > > sounds like you've done a lot of work already.  So, this could be very
> > > beneficial.
> > >
> > > As I read this, I realized we (the Apache VCL community) don't have any
> > > guidelines in place for contributing modifications that affect large
> > > portions
> > > of the code.  I just composed another message to this list titled
> > > "guidelines
> > > for contributing large modifications" to establish some guidelines.
> > >
> > > Before discussing your contributions further, lets wait on that process
> > > to get
> > > worked out so that this can be contributed in a way that most benefits
> > > the community.
> > >
> > > Thanks,
> > > Josh
> > >
> > > On Friday May 28, 2010, Kiran N wrote:
> > > > Hello All,
> > > > I have been studying VCL code and I want to be a contributor to the
> VCL
> > > > development. I will identify my work as related to JIRA issue
> > > > VCL-202(in database) started by Milen Paskov. There are few things I
> > > > have been
> > >
> > > working
> > >
> > > > on and would like to share here.
> > > >
> > > >    - Modified vcl.sql script to connect to Apache derby database and
> > >
> > > create
> > >
> > > >    the database with the tables and data as in mysql. Please find the
> > > >    vcl-derby.sql attached with this email.
> > > >    - I have been working on the PHP front end code so that it can
> > > > connect to both mysql and Apache derby database. I am not sure if I
> > > > need to contibute to this by creating a new JIRA issue number. Please
> > > > advise on this. - Regarding changes to the PHP front end, I have
> coded
> > > > a new 'param.php' file which changes the database data fetch or
> update
> > > > statements based on the type of database. I also assigns/creates some
> > > > global variables. As stated in JIRA issue VCL-202 , there are certain
> > > > keywords ('user', 'end', 'order' and 'key')which cannot be used as
> > > > database columns or table names in derby , I have created global
> > >
> > > variables
> > >
> > > >  which store the values of these keyword based on mysql/derby.
> > > >    - Apart from this in the code there are some small changes like
> > > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in
> > > > derby. So they have been changed accordingly. I am working on a
> > > > document to provide the complete list of changes between mysql and
> > > > derby from the
> > >
> > > PHP
> > >
> > > >  front end code perspective.
> > > >    - Regarding connecting PHP to Apache derby, db2 runtime client
> with
> > > >    ibm_db2 extension is used. PDO_ODBC is the data access interface
> for
> > >
> > > PHP
> > >
> > > >    which compiles directly against DB2 librraries for native access
> to
> > >
> > > DB2.
> > >
> > > >  PHP is complied with ibm_db2 extension and configured accordingly.
> > >
> > > Please
> > >
> > > >  refer to below links for better understanding.
> > > >
> > > > References:
> > > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > > http://www.db2ude.com/?q=node/81
> > > >
> > > > I am working on providing more explanatory documents which would help
> > >
> > > doing
> > >
> > > > the setup for testing and checking the connection of PHP with derby
> but
> > > >  this is the initial idea that i shared. Presently, I have done the
> > > > setup and working on the PHP front end code. I will be sharing that
> > > > also with you probably sometime next week.
> > > > Please provide me feedback and suggestions on this! Let me know for
> any
> > > > questions.
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > Josh_Thompson@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.14 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > > =FrTq
> > > -----END PGP SIGNATURE-----
> >
> - --
> - -------------------------------
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> Josh_Thompson@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
> utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
> =NlXI
> -----END PGP SIGNATURE-----
>



-- 
Thanks,
Kiran

Re: Reg: JIRA issue VCL-202

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kiran,

Unfortunately, we don't actually have a default set of images available.  The 
entries that come in the image table are there as examples for when people are 
creating their own base images.  We probably should remove them and put 
examples online somewhere instead.  What do others on the list think about 
this?

We don't currently have a good solution for the fact that you really need a 
full VCL install to do much useful development, and doing a full install isn't 
a simple thing.

Josh

On Tuesday June 01, 2010, Kiran N wrote:
> Thank you Josh!
> The plan sounds good to me since there are actually lot of code changes and
> its important we document that correctly.
> 
> I have a suggestion that while we are waiting for that , there are few
> things I need access to:
> There are some set of default images in database image table. I wanted to
> initiate the process of making a reservation on any one of those images.
> I needed that to test New reservation, Block reservation. So, in case there
> is any captured image which is used by VCL for testing purposes please let
> me know.This would in turn also need some computer table entries too.
> Overall, I would be needing some additional test data for me to test all
>  the php files.
> Please let me know what can be done on that!
> 
> Also I have submitted the ICLA form http://www.apache.org/licenses/#clas.
> Please let me know if there is anything else I am supposed to do!
> Any suggestions are welcome!
> 
> On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson 
<jo...@ncsu.edu>wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Kiran,
> >
> > Wow - that's a lot of changes.  We're in need of more committers, and it
> > sounds like you've done a lot of work already.  So, this could be very
> > beneficial.
> >
> > As I read this, I realized we (the Apache VCL community) don't have any
> > guidelines in place for contributing modifications that affect large
> > portions
> > of the code.  I just composed another message to this list titled
> > "guidelines
> > for contributing large modifications" to establish some guidelines.
> >
> > Before discussing your contributions further, lets wait on that process
> > to get
> > worked out so that this can be contributed in a way that most benefits
> > the community.
> >
> > Thanks,
> > Josh
> >
> > On Friday May 28, 2010, Kiran N wrote:
> > > Hello All,
> > > I have been studying VCL code and I want to be a contributor to the VCL
> > > development. I will identify my work as related to JIRA issue
> > > VCL-202(in database) started by Milen Paskov. There are few things I
> > > have been
> >
> > working
> >
> > > on and would like to share here.
> > >
> > >    - Modified vcl.sql script to connect to Apache derby database and
> >
> > create
> >
> > >    the database with the tables and data as in mysql. Please find the
> > >    vcl-derby.sql attached with this email.
> > >    - I have been working on the PHP front end code so that it can
> > > connect to both mysql and Apache derby database. I am not sure if I
> > > need to contibute to this by creating a new JIRA issue number. Please
> > > advise on this. - Regarding changes to the PHP front end, I have coded
> > > a new 'param.php' file which changes the database data fetch or update
> > > statements based on the type of database. I also assigns/creates some
> > > global variables. As stated in JIRA issue VCL-202 , there are certain
> > > keywords ('user', 'end', 'order' and 'key')which cannot be used as
> > > database columns or table names in derby , I have created global
> >
> > variables
> >
> > >  which store the values of these keyword based on mysql/derby.
> > >    - Apart from this in the code there are some small changes like
> > >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in
> > > derby. So they have been changed accordingly. I am working on a
> > > document to provide the complete list of changes between mysql and
> > > derby from the
> >
> > PHP
> >
> > >  front end code perspective.
> > >    - Regarding connecting PHP to Apache derby, db2 runtime client with
> > >    ibm_db2 extension is used. PDO_ODBC is the data access interface for
> >
> > PHP
> >
> > >    which compiles directly against DB2 librraries for native access to
> >
> > DB2.
> >
> > >  PHP is complied with ibm_db2 extension and configured accordingly.
> >
> > Please
> >
> > >  refer to below links for better understanding.
> > >
> > > References:
> > > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > > http://www.db2ude.com/?q=node/81
> > >
> > > I am working on providing more explanatory documents which would help
> >
> > doing
> >
> > > the setup for testing and checking the connection of PHP with derby but
> > >  this is the initial idea that i shared. Presently, I have done the
> > > setup and working on the PHP front end code. I will be sharing that
> > > also with you probably sometime next week.
> > > Please provide me feedback and suggestions on this! Let me know for any
> > > questions.
> >
> > - --
> > - -------------------------------
> > Josh Thompson
> > Systems Programmer
> > Advanced Computing | VCL Developer
> > North Carolina State University
> >
> > Josh_Thompson@ncsu.edu
> > 919-515-5323
> >
> > my GPG/PGP key can be found at pgp.mit.edu
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.14 (GNU/Linux)
> >
> > iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> > LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> > =FrTq
> > -----END PGP SIGNATURE-----
> 
- -- 
- -------------------------------
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

Josh_Thompson@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkwGiNUACgkQV/LQcNdtPQPjHACfTAm65r0KI3iaEqxBKwUC/yQj
utUAmQFMnZic/6Y+5FObgYt9unC0CAa9
=NlXI
-----END PGP SIGNATURE-----

Re: Reg: JIRA issue VCL-202

Posted by Kiran N <ki...@gmail.com>.
Thank you Josh!
The plan sounds good to me since there are actually lot of code changes and
its important we document that correctly.

I have a suggestion that while we are waiting for that , there are few
things I need access to:
There are some set of default images in database image table. I wanted to
initiate the process of making a reservation on any one of those images.
I needed that to test New reservation, Block reservation. So, in case there
is any captured image which is used by VCL for testing purposes please let
me know.This would in turn also need some computer table entries too.
Overall, I would be needing some additional test data for me to test all the
php files.
Please let me know what can be done on that!

Also I have submitted the ICLA form http://www.apache.org/licenses/#clas.
Please let me know if there is anything else I am supposed to do!
Any suggestions are welcome!




On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kiran,
>
> Wow - that's a lot of changes.  We're in need of more committers, and it
> sounds like you've done a lot of work already.  So, this could be very
> beneficial.
>
> As I read this, I realized we (the Apache VCL community) don't have any
> guidelines in place for contributing modifications that affect large
> portions
> of the code.  I just composed another message to this list titled
> "guidelines
> for contributing large modifications" to establish some guidelines.
>
> Before discussing your contributions further, lets wait on that process to
> get
> worked out so that this can be contributed in a way that most benefits the
> community.
>
> Thanks,
> Josh
>
> On Friday May 28, 2010, Kiran N wrote:
> > Hello All,
> > I have been studying VCL code and I want to be a contributor to the VCL
> > development. I will identify my work as related to JIRA issue VCL-202(in
> > database) started by Milen Paskov. There are few things I have been
> working
> > on and would like to share here.
> >
> >    - Modified vcl.sql script to connect to Apache derby database and
> create
> >    the database with the tables and data as in mysql. Please find the
> >    vcl-derby.sql attached with this email.
> >    - I have been working on the PHP front end code so that it can connect
> >  to both mysql and Apache derby database. I am not sure if I need to
> >  contibute to this by creating a new JIRA issue number. Please advise on
> >  this. - Regarding changes to the PHP front end, I have coded a new
> >  'param.php' file which changes the database data fetch or update
> >  statements based on the type of database. I also assigns/creates some
> >  global variables. As stated in JIRA issue VCL-202 , there are certain
> >  keywords ('user', 'end', 'order' and 'key')which cannot be used as
> >  database columns or table names in derby , I have created global
> variables
> >  which store the values of these keyword based on mysql/derby.
> >    - Apart from this in the code there are some small changes like
> >    DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in derby.
> >  So they have been changed accordingly. I am working on a document to
> >  provide the complete list of changes between mysql and derby from the
> PHP
> >  front end code perspective.
> >    - Regarding connecting PHP to Apache derby, db2 runtime client with
> >    ibm_db2 extension is used. PDO_ODBC is the data access interface for
> PHP
> >    which compiles directly against DB2 librraries for native access to
> DB2.
> >  PHP is complied with ibm_db2 extension and configured accordingly.
> Please
> >  refer to below links for better understanding.
> >
> > References:
> > http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf
> > http://www.db2ude.com/?q=node/81
> >
> > I am working on providing more explanatory documents which would help
> doing
> > the setup for testing and checking the connection of PHP with derby but
> >  this is the initial idea that i shared. Presently, I have done the setup
> >  and working on the PHP front end code. I will be sharing that also with
> >  you probably sometime next week.
> > Please provide me feedback and suggestions on this! Let me know for any
> > questions.
> >
> - --
> - -------------------------------
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> Josh_Thompson@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b
> LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu
> =FrTq
> -----END PGP SIGNATURE-----
>



-- 
Thanks,
Kiran