Add the first files to the repo.

Add COPYING, LICENSE, and bare bones README.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
This is my start to the NCIPServer, the only real code is the Apache NCIPResponder, reading of the configuration file, and creation of a generic NCIP object
Skeletal start of the TCP based server

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
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>
Server now starts, and uses the config

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
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>
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>
Fixing the tests so they can run with prove

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Adding POD and copyright headers

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
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>
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>
Merge Alan's NCIP.pm and NCIPResponder.pm.

He had no copyright headers on those files.

We could not merge his other files because the copyright header
specified GPL version 2.  We want GPL version 2 or later.

This branch is not going into master.  It is for review purposes
only.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Remove use NCIPServer::NCIP from lib/NCIPResponder.pm.

This one slipped through when I started integrating Alan's code.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Sample XML request, taken from
xcncip2toolkit

Copyright John Bodfish 2010
MIT license

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Working on extending NCIP.pm

And adding some tests

My idea is
Figure out what type of request it is
Handle request
Return response

working next on handle_initiation

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>