Rajnish Pandey wrote:
1.
<rule processing ...>
<property name="Cookie" matches="UserId=">
<action> proxylet://server/resource-path</action>
</property>
</rule>
In the above rule, action element specifies
proxylet://server/resource-path
Does "server" mean location of metadata from where the same has to be
downloaded
and then from the metadata , "location" element specifies the location from
where proxylet has to be downloaded.
Is it like that ?
If the OPES Admin Server has all the proxylets ( corresponding to
the
services the Proxy intends to provide ) downloaded and makes available, a
directory
of services and proxylet names to the rule owners, then the "server" always
will
be the localhost for all the installed services. All other services, ( which are
not pre-installed ) in this case will end up with a remote callout ( e.g., ICAP
)
where the "server" will specify the domain where the proxylet resides.... and
the
resource-path specifies the exact location of proxylet. So, the "server" in the
rules will be independent of the server name specified in the location element
or
the domain from which the proxylet has been downloaded.
2.
In the "location" element , we can specify two locations for the same
proxylet.
In case one server is not responding , other one can be always contacted for
the
proxylet .Something like this ..
<location>b.com\proxylet.p1|a.com\proxylet.p1</location>
This information is used only once when we download the Proxylet to Admin
Server. So, this may not reduce any load while processing requests. Further
downloads are required only when new versions are available. So pros and cons
need
to be weighed in this case, to really see the need of maintianing a mirror
server
and the frequency of version changes. If mirrors are already available, Such a
modification is always a good idea in the location element.
3.
In OMML draft , 2.2 ABNF grammar, it is written , "In most cases localhost
will
be used to specify the server as proxylets will run locally ."
Does it mean that, in this case there is no need of downloading proxylet from
any other source and the proxylet is available locally along with the
metadata .
Yes. The downloading has already been done , and it is only after the that
the
rule specifier knows that local host can be specified in the URI pointing to the
action ( proxylet. )to be triggered .
4.
In IRML draft, section 3.5,
Note that the message .....points 3 and 4 after ......
It should be "... points 2 and 3 ..."
--
Bhanu Prakash G V S
Intern,
Sun Microsystems,
India Engineering Centre
Bangalore - 560 027
Phone: 2298989 Ext 27551