working/NCIPServer.git
11 years agoSkeletal start of a User object
Chris Cormack [Wed, 28 Aug 2013 22:48:30 +0000 (10:48 +1200)]
Skeletal start of a User object

perl t/NCIP_User.t
1..4
ok 1 - use NCIP::User;
ok 2 - Create a new user object
ok 3 - Set firstname
ok 4 - Test our getting

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoMaking a start_server.pl file
Chris Cormack [Wed, 28 Aug 2013 22:09:48 +0000 (10:09 +1200)]
Making a start_server.pl file

to run

./bin/start_server.pl -c /path/to/config_dir

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoAdding POD and copyright headers
Chris Cormack [Wed, 28 Aug 2013 03:37:07 +0000 (15:37 +1200)]
Adding POD and copyright headers

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoFixing the tests so they can run with prove
Chris Cormack [Wed, 28 Aug 2013 02:56:29 +0000 (14:56 +1200)]
Fixing the tests so they can run with prove

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoHave added a file you can now run
Chris Cormack [Wed, 28 Aug 2013 02:46:11 +0000 (14:46 +1200)]
Have added a file you can now run

./test_server.pl
And if you haven't edited the test config

telnet 127.0.0.1 6001

then type, it will just echo at this point

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoAdding the find service routine and setting up the listeners structure
Chris Cormack [Wed, 28 Aug 2013 02:06:32 +0000 (14:06 +1200)]
Adding the find service routine and setting up the listeners structure

This will allow us to override process_request in the server, and do
the appropriate thing

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoServer now starts, and uses the config
Chris Cormack [Wed, 28 Aug 2013 00:07:09 +0000 (12:07 +1200)]
Server now starts, and uses the config

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoStarting work on the configuration module
Chris Cormack [Tue, 27 Aug 2013 22:56:06 +0000 (10:56 +1200)]
Starting work on the configuration module

Based on Config::Merge because Grant who I work with and who is the
author of XML::Simple will hassle me mercilessly if it start writing
new code using XML::Simple

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoSkeletal start of the TCP based server
Chris Cormack [Tue, 27 Aug 2013 22:06:21 +0000 (10:06 +1200)]
Skeletal start of the TCP based server

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoAdd the first files to the repo.
Jason Stephenson [Thu, 6 Jun 2013 20:00:08 +0000 (16:00 -0400)]
Add the first files to the repo.

Add COPYING, LICENSE, and bare bones README.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>