XCA on the bridge [message #585218] |
Wed, 26 March 2008 05:15 |
Jesse Pangburn Messages: 166 Registered: July 2009 |
Senior Member |
|
|
Hi,
I'm wondering how XCA works with the bridge. Is it highly experimental at
this stage or you guys think it basically works? I've checked the wiki
and found nothing on how to use it, I've checked the javadoc and gotten
some hints from the API, and I've checked the rhioConfig.xml and gotten
some more hints.
Here's what I believe to be true with respect to the following rhio
definition:
<rhio>
<name>XDS.b RHIO</name>
<publicHealthcareAffinityDomain>false</publicHealthcareAffinityDomain >
<config>
<registryId>XDS-B-Facade</registryId>
<repositoryId>XDS-B-Facade</repositoryId>
<xcaGatewayId>GATEWAY_IBM</xcaGatewayId>
<pixId>lswin10</pixId>
<auditId>lswin10</auditId>
</config>
</rhio>
1. If I do a provide and register, then it will go to the repository
named "XDS-B-Facade". What is this facade thing btw?
2. If I do a document query I can pass a boolean to use XCA or not. If I
pass false, then the query will go to the registry named "XDS-B-Facade".
If I pass true, then the query will go to the gateway named "GATEWAY_IBM".
Those are the items I am reasonably sure of given what I've seen, correct
me if I'm wrong. The part I'm confused about is when I want to do the
"retrieve document set" operation. There is no boolean parameter to say
whether I want to use the repository in my rhio to do the retrieve or
whether I want to use the gateway. One thing I know about this from XDS.b
is that when I do "retrieve document set", the bridge uses the "repository
unique id" parameter to search the entire rhioConfig.xml (regardless of if
the repository is defined in my rhio or not) and if it find such a
repository with that id, it then issues the retrieve command to the url
specified in that repository configuration.
So, if I had to guess, I would think that if the document query returned a
homeCommunityId and I faithfully passed that homeCommunityId along to the
"retrieve document set" command that the bridge would see that field is
not blank AND that I have a gateway specified in my rhio's configuration.
Therefore the bridge would know to issue the "retrieve document set" to
the gateway instead of to one of my repositories. Is that true or am I
way off?
thanks,
Jesse
|
|
|
Powered by
FUDForum. Page generated in 0.02469 seconds