Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-03-04 Thread Venkata Krishnan
Hi, To update, I have split the bigbank into bigbank and bigbank-account to show the distribution of policies across contributions. I just about have trouble with the things that need to be imported / exported across these two. I'd prob. need Luciano's help to get over this. The other thing I

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-19 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi Sebastien, I have made the changes to the secure-bigbank demo. Let me know if there is something that looks odd and not practical in a real world scenario. Thanks. I'm starting to like it :) I have a few more suggestions: - Merge it into the main bigbank

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-14 Thread Venkata Krishnan
Hi, I reviewed these changes a bit in the context of multiple contributions. I guess things should work even then because these steps happen in the course of 'addContribution'. So if a new contribution comes in, the definitions in that would further get aggregated and then the composites coming

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-14 Thread Simon Laws
snip... against the aggregated union of all definitions. Do you see something missing ? The point I'm interested in is what happens to the composites that belong to contributions that have previously been added when you add a new contribution, for example, ContributionA definitions.xml(A)

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-14 Thread Venkata Krishnan
Hi, Yes, this is something that ran thro my mind. I guess A.composite might have to run thro both definitions.xmll(A) and definitions.xml(B) if definitions.xml(B) has brought in some re-definitions of policysets defined in definitions.xml(A). But, is this sort of re-processing / rebuild is a

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-14 Thread Simon Laws
snip... in definitions.xml(A). But, is this sort of re-processing / rebuild is a requirment only in this context ? If there are other contexts as well, such as re-wiring and we there is going to be a separate phase for this, then I'd like to do this as well in that phase. Absolutely.

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-13 Thread Simon Laws
On Feb 12, 2008 5:18 PM, Venkata Krishnan [EMAIL PROTECTED] wrote: Hi, No there isn't a separate phase. Just that in the current read phase I look for *.composite files and set those aside in a list without processing them further. After all artifacts in the contribution have been read I

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Venkata Krishnan
Hi Sebastien, Am yet to look into the Bigbank. Will do it soon. But then, I was able to get the helloworld-ws-secure samples to work with only abstract intents like authentication, integrity and not custom ones ;-). The policysets 'appliesTo' was use to target them to specific services /

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Venkata Krishnan
Yes. Because we are now computing the 'applicablePolicySets' for various SCA artifacts and that needs the list of 'all' PolicySets that might be applicable ever. - Venkat On Feb 12, 2008 2:03 PM, Simon Laws [EMAIL PROTECTED] wrote: On Feb 12, 2008 8:18 AM, Venkata Krishnan [EMAIL PROTECTED]

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Simon Laws
On Feb 12, 2008 8:18 AM, Venkata Krishnan [EMAIL PROTECTED] wrote: On Feb 12, 2008 1:09 PM, Simon Laws [EMAIL PROTECTED] wrote: Hi Venkat A question. snip... - In the contribution read phase, we postpone the reading of composite files so that all definitions.xml file

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Simon Laws
snip.. On Feb 12, 2008 8:40 AM, Venkata Krishnan [EMAIL PROTECTED] wrote: Yes. Because we are now computing the 'applicablePolicySets' for various SCA artifacts and that needs the list of 'all' PolicySets that might be applicable ever. So, in the code today, how do you know you have

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Venkata Krishnan
Hi, No there isn't a separate phase. Just that in the current read phase I look for *.composite files and set those aside in a list without processing them further. After all artifacts in the contribution have been read I then read the list of composite URIs, read them and modify them with the

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-12 Thread Venkata Krishnan
Hi Sebastien, I have made the changes to the secure-bigbank demo. Let me know if there is something that looks odd and not practical in a real world scenario. Thanks. - Venkat On Feb 12, 2008 8:23 AM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Venkata Krishnan wrote: Hi, Dealing

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-11 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, Dealing with the 'appliesTo' attribute in PolicySets has been a subject that I ended up discussing on the thread http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg27768.html. I have gone forward with a suggestion that Sebastien sounded off on that thread

Re: Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-11 Thread Simon Laws
Hi Venkat A question. snip... - In the contribution read phase, we postpone the reading of composite files so that all definitions.xml file contents can all be aggregated Do you mean all the definitions.xml files in the contribution or all the definitions.xml files in the domain? Simon

Adding 'applicablePolicySets' to PolicySetAttachPoints

2008-02-10 Thread Venkata Krishnan
Hi, Dealing with the 'appliesTo' attribute in PolicySets has been a subject that I ended up discussing on the thread http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg27768.html. I have gone forward with a suggestion that Sebastien sounded off on that thread and have committed the