Re: [OPEN-ILS-DEV] Evergreen 1.2.1.0 Client issue

2008-03-05 Thread Bill Ott


Choose Holdings Maintenance (which can be made to come up by default to save 
time later).


I've been asked this question, but hadn't looked into it yet.  How is 
this done?






Re: [OPEN-ILS-DEV] Error in Trunk

2008-03-05 Thread Bill Ott

Hmm...

I setup a custom org_tree re-ran autogen.sh and my problems went away. 




Bill Ott said the following on 03/04/2008 10:12 PM:
Something new, again when trying to register a new client.  This is 
with the latest trunks (EG 8863 / SRF 1251).



[2008-03-04 21:58:19] open-ils.actor [ERR 
:9636:EX.pm:66:120468528696012] Exception: OpenSRF::EX::ERROR 
2008-03-04T21:58:19 OpenSRF::Application 
/openils/lib/perl5/OpenSRF/Application.pm:553 System ERROR: Call to 
open-ils.storage for method 
open-ils.storage.actor.org_unit.descendants.atomic
failed with exception: Exception: OpenSRF::EX::ERROR 
2008-03-04T21:58:19 OpenILS::Application::AppUtils 
/openils/lib/perl5/OpenILS/Application/AppUtils.pm:177 System ERROR: 
Exception: OpenSRF::DomainObject::oilsMethodException 
2008-03-04T21:58:19 OpenSRF::AppRequest 
/openils/lib/perl5/OpenSRF/AppSession.pm:1006 404  Method 
[open-ils.storage.actor.org_unit.descendants.atomic] not found for 
OpenILS::Application::Storage




Re: [OPEN-ILS-DEV] Acq development request for consideration

2008-03-05 Thread Bill Erickson

Carri L. Oviatt wrote:

Assuming that the option will be given to create item/holding records at the 
time an order is created, is it possible to place that option on the individual 
PO line rather than for an entire PO?




Hi, Carri

This is quite do-able with the existing architecture.  I imagine there 
will be a variety of criteria for determining which lineitems create 
holdings at order time.  I can see one of those criteria being a simple 
create holdings checkbox (or some such) next to each lineitem at PO 
creation time.


Is that more or less what you are getting at?

-bill

--
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED]
| web: http://esilibrary.com


Re: [OPEN-ILS-DEV] Acq development request for consideration

2008-03-05 Thread Carri L. Oviatt
Bill,

Yes, that would work, provided that we could set up a default and not need to 
make a decision on every item added, but have the option available for the 
exceptions to the rule.  Thanks.

 Bill Erickson [EMAIL PROTECTED] 3/5/2008 10:52 AM 
Carri L. Oviatt wrote:
 Assuming that the option will be given to create item/holding records at the 
 time an order is created, is it possible to place that option on the 
 individual PO line rather than for an entire PO?
 


Hi, Carri

This is quite do-able with the existing architecture.  I imagine there 
will be a variety of criteria for determining which lineitems create 
holdings at order time.  I can see one of those criteria being a simple 
create holdings checkbox (or some such) next to each lineitem at PO 
creation time.

Is that more or less what you are getting at?

-bill

-- 
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED] 
| web: http://esilibrary.com



[OPEN-ILS-DEV] 2 important changes to opensrf_core.xml in OpenSRF trunk (changeset 1253 -- multi-domain mode)

2008-03-05 Thread Bill Erickson

The following configuration chunk:

config
  opensrf
domains
  domainlocalhost/domain
/domain
...

has been simplified to:

config
  opensrf
domainlocalhost/domain
  ...

(NOTE: The above change is necessary in ~/.srfsh.xml as well!)

Also, the router configuration near the bottom of the file has been 
given a routers wrapper element so that additional routers may be 
configured:


config
  ...
  routers
router
  !-- router configuration goes here --
/router
  /routers
/config


I have updated the OpenSRF and ILS example files.  I've also added an 
additional multi-domain example file.


http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/examples/opensrf_core.xml.example
http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/examples/opensrf_core.xml.example.multidomain

---

What is all of this?

OpenSRF now has the ability to run in multi-domain mode.  In 
multi-domain mode, different jabber domains handle different OpenSRF 
services.  One router per domain is launched to handle requests to that 
domain.  Certain clients are allowed access to certain domains only. 
With this, we can physically separate an untrusted client from sensitive 
resources.


This crudely drawn diagram might just confuse you more ;)

http://open-ils.org/documentation/opensrf-multi-domain.jpg

In this setup, the client and the open-ils.cstore service are logged in 
to 2 different jabber domains.  Additionally, open-ils.cstore is not 
registered with the router on the clients domain (public.domain).  In a 
nutshell, the client has no way to send requests directly to 
open-ils.cstore.  It's forced to go through a protected service first, 
which will enforce authentication/authorization, before it can access 
sensitive data.


The old approach, as seen in the HTTP gateway, was to define an explicit 
list of services that the gateway could communicate with.  With this 
change, the gateway will not need to manage its own access list, since 
it won't have access to private services anyway.



Doesn't this complicate things?

 -- These features are optional and they only require changes to 
opensrf_core.xml, plus the addition of a host in the Ejabberd config. 
Running with two domains will eventually be the default behavior, but 
the install process will need to be streamlined before we make that step.


Do I need to run 2 jabber servers for multi-domain mode?

 -- Not if you are using Ejabberd.  Ejabberd allows you to host 
multiple domains within a single Ejabberd instance.  Because of this, no 
additional Jabber processes or domain-to-domain network IO is required.


Do I need to manually launch more routers?

 -- No.  The router process will automatically launch as many routers 
as you have configured.





For those of you who have made it this far, I realize it's a lot to 
digest.  I've had my head in the code most of the afternoon and I'm sure 
I'm leaving out some crucial detail that will make all of this clear. 
If anyone has any questions about any of this, fire away...



-bill

--
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED]
| web: http://esilibrary.com


Re: [OPEN-ILS-DEV] 2 important changes to opensrf_core.xml in OpenSRF trunk (changeset 1253 -- multi-domain mode)

2008-03-05 Thread John Schmidt
On Wednesday 05 March 2008, Bill Erickson wrote:
 The following configuration chunk:

 config
opensrf
  domains
domainlocalhost/domain
  /domain
  ...

 has been simplified to:

 config
opensrf
  domainlocalhost/domain
...

Bill,

What is the ETA for OpenSRF to be released as 1.0?

John Schmidt