summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chris Cormack [Wed, 18 Sep 2013 23:58:40 +0000 (11:58 +1200)]
Fixing number of tests
Chris Cormack [Wed, 18 Sep 2013 23:42:56 +0000 (11:42 +1200)]
Starting work on our first handler
Chris Cormack [Wed, 18 Sep 2013 22:34:10 +0000 (10:34 +1200)]
Refactoring NCIP.pm slightly, dealing with namespaces more elegantly
Chris Cormack [Wed, 18 Sep 2013 03:07:09 +0000 (15:07 +1200)]
Continuing work on NCIP.pm
We can now recognised (in theory) the type of request we are getting.
Have a basic test of a LookupItem message
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Chris Cormack [Wed, 18 Sep 2013 01:44:23 +0000 (13:44 +1200)]
Sample data for looking up an item without an agency ID
Taken from http://code.google.com/p/xcncip2toolkit/wiki/lookupItem
Under MIT license
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Chris Cormack [Wed, 18 Sep 2013 01:30:20 +0000 (13:30 +1200)]
Working on extending the functionality and test suite.
Parsing the xml using XML::Libxml and trapping errors
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Chris Cormack [Wed, 18 Sep 2013 00:16:35 +0000 (12:16 +1200)]
Adding more tests to NCIPServer.t
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Chris Cormack [Tue, 17 Sep 2013 22:27:40 +0000 (10:27 +1200)]
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>
Chris Cormack [Tue, 17 Sep 2013 21:47:58 +0000 (09:47 +1200)]
Sample XML request, taken from
xcncip2toolkit
Copyright John Bodfish 2010
MIT license
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Jason Stephenson [Tue, 3 Sep 2013 15:20:39 +0000 (11:20 -0400)]
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>
Alan Rykhus [Tue, 3 Sep 2013 14:53:50 +0000 (10:53 -0400)]
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Alan Rykhus [Thu, 29 Aug 2013 18:10:27 +0000 (13:10 -0500)]
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
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>