OpenSRF.git
19 years agochecking for HASH ref explicitly
erickson [Mon, 7 Mar 2005 22:17:47 +0000 (22:17 +0000)]
checking for HASH ref explicitly

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@198 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded some debugging output
erickson [Mon, 7 Mar 2005 22:16:25 +0000 (22:16 +0000)]
added some debugging output

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@197 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded longer sleep time
erickson [Mon, 7 Mar 2005 22:15:58 +0000 (22:15 +0000)]
added longer sleep time

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@196 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoremoving computed regexes and commenting out unused code
miker [Mon, 7 Mar 2005 22:01:04 +0000 (22:01 +0000)]
removing computed regexes and commenting out unused code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@195 9efc2488-bf62-4759-914b-345cdb29e865

19 years agolots of debuging to find that the zombie loop was broken
miker [Mon, 7 Mar 2005 22:00:06 +0000 (22:00 +0000)]
lots of debuging to find that the zombie loop was broken

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@194 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded profiling mode
miker [Mon, 7 Mar 2005 21:59:35 +0000 (21:59 +0000)]
added profiling mode

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@193 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed (hopefully) the $0 * addition
erickson [Mon, 7 Mar 2005 20:36:21 +0000 (20:36 +0000)]
fixed (hopefully) the $0 * addition

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@192 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing old regex method + default class
miker [Mon, 7 Mar 2005 17:52:20 +0000 (17:52 +0000)]
using old regex method + default class

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@191 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded some more sleep time
erickson [Mon, 7 Mar 2005 17:16:35 +0000 (17:16 +0000)]
added some more sleep time

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@190 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoregistering classes during load and introspection
miker [Mon, 7 Mar 2005 17:15:32 +0000 (17:15 +0000)]
registering classes during load and introspection

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@189 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofix for JSON regexes
miker [Mon, 7 Mar 2005 17:00:27 +0000 (17:00 +0000)]
fix for JSON regexes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@188 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofix for JSON::object_unknown
miker [Mon, 7 Mar 2005 16:20:15 +0000 (16:20 +0000)]
fix for JSON::object_unknown

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@187 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded sanity check on relay command
erickson [Mon, 7 Mar 2005 16:06:06 +0000 (16:06 +0000)]
added sanity check on relay command

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@186 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed mispelling
erickson [Mon, 7 Mar 2005 16:03:37 +0000 (16:03 +0000)]
fixed mispelling

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@185 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixing JSON bug with top level non-casted hashrefs
miker [Mon, 7 Mar 2005 14:26:25 +0000 (14:26 +0000)]
fixing JSON bug with top level non-casted hashrefs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@184 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed minor bug in the class casting regex; added class finder sub to support said...
miker [Mon, 7 Mar 2005 06:29:49 +0000 (06:29 +0000)]
fixed minor bug in the class casting regex; added class finder sub to support said bugfix; added a default class (type hash) for unknown hints

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@183 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing an O(log n) [n=JSON elements] algo instead of the (worst case) O(2n**2) algo...
miker [Mon, 7 Mar 2005 01:37:02 +0000 (01:37 +0000)]
using an O(log n) [n=JSON elements] algo instead of the (worst case) O(2n**2) algo...

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@182 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosaw and fixed memory leak.
erickson [Sun, 6 Mar 2005 20:07:38 +0000 (20:07 +0000)]
saw and fixed memory leak.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@181 9efc2488-bf62-4759-914b-345cdb29e865

19 years agologging and error detection fixups
miker [Fri, 4 Mar 2005 23:21:35 +0000 (23:21 +0000)]
logging and error detection fixups

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@180 9efc2488-bf62-4759-914b-345cdb29e865

19 years agohistory and config file checking are more granular as far as what we
erickson [Fri, 4 Mar 2005 22:37:21 +0000 (22:37 +0000)]
history and config file checking are more granular as far as what we
can do with the file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@179 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded history file so history is saved across sessions
erickson [Fri, 4 Mar 2005 22:30:23 +0000 (22:30 +0000)]
added history file so history is saved across sessions

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@178 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved definitions to srfsh.h for maintainability
erickson [Fri, 4 Mar 2005 22:19:36 +0000 (22:19 +0000)]
moved definitions to srfsh.h for maintainability

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@177 9efc2488-bf62-4759-914b-345cdb29e865

19 years agowe don't add 'newlines' to history.
erickson [Fri, 4 Mar 2005 22:09:53 +0000 (22:09 +0000)]
we don't add 'newlines' to history.

we make sure children exit after finishing so the shell doesn't get forked

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@176 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded _CACHEVAL_ to the slot names to make them a little more unique/controlled
erickson [Fri, 4 Mar 2005 21:56:32 +0000 (21:56 +0000)]
added _CACHEVAL_ to the slot names to make them a little more unique/controlled

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@175 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded 'relay' which allows you to use the last received result as the param to
erickson [Fri, 4 Mar 2005 19:28:22 +0000 (19:28 +0000)]
added 'relay' which allows you to use the last received result as the param to
the next request

added 'set' and 'get' for accessing srfsh variables.  currently the only variable
is 'pretty_print' for json output

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@174 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded external command running by entering !<command> [args].
erickson [Fri, 4 Mar 2005 14:02:59 +0000 (14:02 +0000)]
added external command running by entering !<command> [args].
forks and runs the command in the shell.  when the child dies,
control returns to the srfsh

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@173 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed some memory logic errors
erickson [Fri, 4 Mar 2005 03:24:01 +0000 (03:24 +0000)]
fixed some memory logic errors

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@172 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoremoved some comments, added some sanity checking, trimmed down MathDB since
erickson [Thu, 3 Mar 2005 21:17:52 +0000 (21:17 +0000)]
removed some comments, added some sanity checking, trimmed down MathDB since
json has better number handling

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@171 9efc2488-bf62-4759-914b-345cdb29e865

19 years agonow magically does both memcache and persist caching if the persist option
erickson [Thu, 3 Mar 2005 21:13:09 +0000 (21:13 +0000)]
now magically does both memcache and persist caching if the persist option
is enabled when new is called.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@170 9efc2488-bf62-4759-914b-345cdb29e865

19 years agopass up internal server errors as user exceptions
erickson [Thu, 3 Mar 2005 20:50:59 +0000 (20:50 +0000)]
pass up internal server errors as user exceptions

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@169 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded .slot.find for bill
miker [Thu, 3 Mar 2005 19:16:04 +0000 (19:16 +0000)]
added .slot.find for bill

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@168 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded router 'unregister' loop to DESTROY
erickson [Thu, 3 Mar 2005 18:56:57 +0000 (18:56 +0000)]
added router 'unregister' loop to DESTROY

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@167 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoget_expire method
miker [Thu, 3 Mar 2005 18:50:04 +0000 (18:50 +0000)]
get_expire method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@166 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadding -fPIC for x86_64 support
miker [Thu, 3 Mar 2005 18:48:14 +0000 (18:48 +0000)]
adding -fPIC for x86_64 support

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@165 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoshould fix perist bug with expriable slot creation
miker [Thu, 3 Mar 2005 18:02:59 +0000 (18:02 +0000)]
should fix perist bug with expriable slot creation

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@164 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded some basic exception handling and propogation
erickson [Thu, 3 Mar 2005 17:03:16 +0000 (17:03 +0000)]
added some basic exception handling and propogation

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@163 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed logic error in message building. we now dynamically parse the json
erickson [Thu, 3 Mar 2005 16:34:06 +0000 (16:34 +0000)]
fixed logic error in message building. we now dynamically parse the json
string held in the result content node instead of making it a string

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@162 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed numeric opperators
miker [Thu, 3 Mar 2005 16:02:37 +0000 (16:02 +0000)]
fixed numeric opperators

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@161 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed logic error in using the config file
erickson [Thu, 3 Mar 2005 15:25:14 +0000 (15:25 +0000)]
fixed logic error in using the config file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@160 9efc2488-bf62-4759-914b-345cdb29e865

19 years agowe now delete the tmp net::server config file
erickson [Wed, 2 Mar 2005 23:15:36 +0000 (23:15 +0000)]
we now delete the tmp net::server config file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@159 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoallow max_requests to be infinite on the server side
miker [Wed, 2 Mar 2005 22:51:11 +0000 (22:51 +0000)]
allow max_requests to be infinite on the server side

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@158 9efc2488-bf62-4759-914b-345cdb29e865

19 years agowe now return undef if any level of the sought config doesn't exist
erickson [Wed, 2 Mar 2005 22:50:45 +0000 (22:50 +0000)]
we now return undef if any level of the sought config doesn't exist

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@157 9efc2488-bf62-4759-914b-345cdb29e865

19 years agonow do an explicit kill me on the session after the host config is retrieved
erickson [Wed, 2 Mar 2005 22:42:03 +0000 (22:42 +0000)]
now do an explicit kill me on the session after the host config is retrieved
so that the session is not forked and propagated

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@156 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoif no config file is specified on the command line, we check $HOME/.srfsh.xml
erickson [Wed, 2 Mar 2005 19:53:17 +0000 (19:53 +0000)]
if no config file is specified on the command line, we check $HOME/.srfsh.xml
for a config file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@155 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded an 'install' target to these makefiles that just copy their binaries
erickson [Wed, 2 Mar 2005 19:39:55 +0000 (19:39 +0000)]
added an 'install' target to these makefiles that just copy their binaries
to the top level opensrf bin directory for now

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@154 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed DISCONNECT message formatting
erickson [Wed, 2 Mar 2005 17:16:48 +0000 (17:16 +0000)]
fixed DISCONNECT message formatting
in app_session, we don't resend if the request is complete

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@153 9efc2488-bf62-4759-914b-345cdb29e865

19 years agonow requests are finished and sessions are destroyed
erickson [Wed, 2 Mar 2005 17:16:16 +0000 (17:16 +0000)]
now requests are finished and sessions are destroyed

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@152 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded opensrf.system.method.all in the list of returned methods from the
erickson [Wed, 2 Mar 2005 16:25:57 +0000 (16:25 +0000)]
added opensrf.system.method.all in the list of returned methods from the
the method.all request

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@151 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocan't forget the header file ;)
erickson [Wed, 2 Mar 2005 15:56:25 +0000 (15:56 +0000)]
can't forget the header file ;)

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@150 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded the ability to 'stream' results
erickson [Wed, 2 Mar 2005 15:56:12 +0000 (15:56 +0000)]
added the ability to 'stream' results
added opensrf.system.method.all
we now send a 'request complete' message after requests so clients won't be expecting
more data

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@149 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded srfsh to the top level makefile
erickson [Wed, 2 Mar 2005 15:04:07 +0000 (15:04 +0000)]
added srfsh to the top level makefile

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@148 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved to readline.
erickson [Wed, 2 Mar 2005 03:16:58 +0000 (03:16 +0000)]
moved to readline.

we now have ctrl-r, ctrl-a, etc...

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@147 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoremoved the command line login requirement and now we just us the
erickson [Tue, 1 Mar 2005 23:56:11 +0000 (23:56 +0000)]
removed the command line login requirement and now we just us the
transport connection build by bootstrap_client

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@146 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded json pretty printer for formatting result content data
erickson [Tue, 1 Mar 2005 23:50:29 +0000 (23:50 +0000)]
added json pretty printer for formatting result content data

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@145 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded a opensrf.router.info.stats method which returns info
erickson [Tue, 1 Mar 2005 23:12:10 +0000 (23:12 +0000)]
added a opensrf.router.info.stats method which returns info
on all connected server classes and server class nodes

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@144 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing disconnect before kill_me during non-error destruction on the server side
miker [Tue, 1 Mar 2005 22:59:27 +0000 (22:59 +0000)]
using disconnect before kill_me during non-error destruction on the server side

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@143 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded extended callback support to sessions
miker [Tue, 1 Mar 2005 22:58:45 +0000 (22:58 +0000)]
added extended callback support to sessions

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@142 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosrfsh now:
erickson [Tue, 1 Mar 2005 22:29:41 +0000 (22:29 +0000)]
srfsh now:
shows request elapsed time
formats request params as arrays internally

generic_utils:
added a get_timestamp_millis method that returns seconds.millis since epoch

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@141 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded 'disconnect' to session requests
erickson [Tue, 1 Mar 2005 21:49:15 +0000 (21:49 +0000)]
added 'disconnect' to session requests

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@140 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosanity checking on request complete
erickson [Tue, 1 Mar 2005 21:46:54 +0000 (21:46 +0000)]
sanity checking on request complete

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@139 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoif no params, send an empty array
erickson [Tue, 1 Mar 2005 21:35:23 +0000 (21:35 +0000)]
if no params, send an empty array

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@138 9efc2488-bf62-4759-914b-345cdb29e865

19 years agooopsie
phasefx [Tue, 1 Mar 2005 21:34:09 +0000 (21:34 +0000)]
oopsie

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@137 9efc2488-bf62-4759-914b-345cdb29e865

19 years agooopsie
phasefx [Tue, 1 Mar 2005 21:26:11 +0000 (21:26 +0000)]
oopsie

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@136 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoupdated help message
erickson [Tue, 1 Mar 2005 21:18:36 +0000 (21:18 +0000)]
updated help message

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@135 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded 'named' configs.
erickson [Tue, 1 Mar 2005 21:16:15 +0000 (21:16 +0000)]
added 'named' configs.
log file and log levels are set by functions and not by direct config file reading.
added request framework to srfsh so we can make requests of any servers

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@134 9efc2488-bf62-4759-914b-345cdb29e865

19 years agosettings client fixups
miker [Tue, 1 Mar 2005 20:43:00 +0000 (20:43 +0000)]
settings client fixups

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@133 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoallow packages other then the explicitly named application_implementation to publish...
miker [Tue, 1 Mar 2005 20:40:51 +0000 (20:40 +0000)]
allow packages other then the explicitly named application_implementation to publish methods

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@132 9efc2488-bf62-4759-914b-345cdb29e865

19 years agothe domain object stuff will be going away
phasefx [Tue, 1 Mar 2005 20:10:00 +0000 (20:10 +0000)]
the domain object stuff will be going away

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@131 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoaltered the cache a little to allow for the servers to be passed in
erickson [Tue, 1 Mar 2005 19:42:16 +0000 (19:42 +0000)]
altered the cache a little to allow for the servers to be passed in
instead of reading them from a config file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@130 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoupdated to call opensrf.math
erickson [Tue, 1 Mar 2005 00:21:15 +0000 (00:21 +0000)]
updated to call opensrf.math

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@129 9efc2488-bf62-4759-914b-345cdb29e865

19 years agochanged some ps output.
erickson [Tue, 1 Mar 2005 00:19:27 +0000 (00:19 +0000)]
changed some ps output.

SettingsClient now calls to opensrf.settings to get the settings.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@128 9efc2488-bf62-4759-914b-345cdb29e865

19 years agodunno why that was there.... removed dead code
miker [Mon, 28 Feb 2005 21:40:15 +0000 (21:40 +0000)]
dunno why that was there.... removed dead code

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@127 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing OO syntax
miker [Mon, 28 Feb 2005 20:51:33 +0000 (20:51 +0000)]
using OO syntax

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@126 9efc2488-bf62-4759-914b-345cdb29e865

19 years agousing new client syntax
miker [Mon, 28 Feb 2005 18:39:28 +0000 (18:39 +0000)]
using new client syntax

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@125 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoupdate bootstrap client to use the named params
erickson [Mon, 28 Feb 2005 17:12:32 +0000 (17:12 +0000)]
update bootstrap client to use the named params

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@124 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded named params to bootstrap_client to allow config file
erickson [Mon, 28 Feb 2005 17:10:58 +0000 (17:10 +0000)]
added named params to bootstrap_client to allow config file

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@123 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomoved to the Open-ILS tree
erickson [Mon, 28 Feb 2005 15:32:34 +0000 (15:32 +0000)]
moved to the Open-ILS tree

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@122 9efc2488-bf62-4759-914b-345cdb29e865

19 years agothe marcdumper! takes command line params
erickson [Sun, 27 Feb 2005 16:08:56 +0000 (16:08 +0000)]
the marcdumper!  takes command line params

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@121 9efc2488-bf62-4759-914b-345cdb29e865

19 years agospelling correction
miker [Sun, 27 Feb 2005 15:05:49 +0000 (15:05 +0000)]
spelling correction

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@120 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoAPI Documentation for the Persistance Application
miker [Sun, 27 Feb 2005 03:08:05 +0000 (03:08 +0000)]
API Documentation for the Persistance Application

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@119 9efc2488-bf62-4759-914b-345cdb29e865

19 years agointrospection bug fix for a single method lookup
miker [Fri, 25 Feb 2005 21:23:06 +0000 (21:23 +0000)]
introspection bug fix for a single method lookup

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@118 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomaking return on failure sane
miker [Fri, 25 Feb 2005 21:22:43 +0000 (21:22 +0000)]
making return on failure sane

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@117 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocomplete is a method
phasefx [Fri, 25 Feb 2005 17:35:22 +0000 (17:35 +0000)]
complete is a method

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@116 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocleaned some stuff out of the makefile
erickson [Thu, 24 Feb 2005 22:42:57 +0000 (22:42 +0000)]
cleaned some stuff out of the makefile

added milliseconds to log file output

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@115 9efc2488-bf62-4759-914b-345cdb29e865

19 years agocasting
phasefx [Thu, 24 Feb 2005 21:26:51 +0000 (21:26 +0000)]
casting

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@114 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoreturning empty array when no results
erickson [Thu, 24 Feb 2005 20:52:44 +0000 (20:52 +0000)]
returning empty array when no results

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@113 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded "opensrf." to front of method name
erickson [Thu, 24 Feb 2005 20:28:23 +0000 (20:28 +0000)]
added "opensrf." to front of method name

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@112 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoWHEEEEEEEEEE! using the router to discover remote apps now
miker [Thu, 24 Feb 2005 20:27:52 +0000 (20:27 +0000)]
WHEEEEEEEEEE! using the router to discover remote apps now

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@111 9efc2488-bf62-4759-914b-345cdb29e865

19 years agough
erickson [Thu, 24 Feb 2005 20:05:28 +0000 (20:05 +0000)]
ugh

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@110 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoOK. This is the first early C version of the OpenSRF stack. It's highly
erickson [Thu, 24 Feb 2005 20:04:10 +0000 (20:04 +0000)]
OK.  This is the first early C version of the OpenSRF stack.  It's highly
incomplete at this point.  In particular, included in the stack code is
is the osrf_message code wich the router now needs.

Added a top level src makefile

Modified router to respond to app level requests.  The only available method
curently returns a list of attached router classes.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@109 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixing create/destroy bugs introduced with the API updates
miker [Thu, 24 Feb 2005 18:46:13 +0000 (18:46 +0000)]
fixing create/destroy bugs introduced with the API updates

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@108 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoWe're not using authentication past Jabber anymore.
phasefx [Thu, 24 Feb 2005 18:23:47 +0000 (18:23 +0000)]
We're not using authentication past Jabber anymore.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@107 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded sanity check for app for loop
erickson [Thu, 24 Feb 2005 18:22:25 +0000 (18:22 +0000)]
added sanity check for app for loop

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@106 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoChanged some config settings to load all jabber stuff from the bootstrap config
erickson [Thu, 24 Feb 2005 16:47:22 +0000 (16:47 +0000)]
Changed some config settings to load all jabber stuff from the bootstrap config

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@105 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded 'last' command to redo the last command
erickson [Thu, 24 Feb 2005 16:43:20 +0000 (16:43 +0000)]
added 'last' command to redo the last command

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@104 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded .slot.set_expire interface for setting/removing/updating the expire time of...
miker [Thu, 24 Feb 2005 16:34:33 +0000 (16:34 +0000)]
added .slot.set_expire interface for setting/removing/updating the expire time of a slot

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@103 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded .create_expirable interface. accepts a Utils style interval, and sweeps at...
miker [Thu, 24 Feb 2005 16:20:35 +0000 (16:20 +0000)]
added .create_expirable interface.  accepts a Utils style interval, and sweeps at each "_flush_by_name"

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@102 9efc2488-bf62-4759-914b-345cdb29e865

19 years agomake sure there is some space between interval parts
miker [Thu, 24 Feb 2005 16:19:11 +0000 (16:19 +0000)]
make sure there is some space between interval parts

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@101 9efc2488-bf62-4759-914b-345cdb29e865

19 years agoadded nondestructive (queue|stack).peek.all interface for grabbing the entire slot...
miker [Thu, 24 Feb 2005 13:14:26 +0000 (13:14 +0000)]
added nondestructive (queue|stack).peek.all interface for grabbing the entire slot without removing anything.  the base registered methods are streaming, so a ".atomic" version is generated by the system.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@100 9efc2488-bf62-4759-914b-345cdb29e865

19 years agofixed logic error
erickson [Wed, 23 Feb 2005 23:34:34 +0000 (23:34 +0000)]
fixed logic error

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@99 9efc2488-bf62-4759-914b-345cdb29e865