1 2 Previous Next 20 Replies Latest reply on Aug 29, 2012 9:39 AM by bfitzpat Go to original post
      • 15. Re: Policy Support in the Editor
        bfitzpat

        Ok, so I have two tabbed property pages working:

        transaction-property-tab.png

        security-policy-property-tab.png

         

        I still would like to know under what conditions these should appear. Currently they both appear anywhere we have a Contract object (composite service, composite reference, component service, component reference). It seems that we have partial support based on certain interfaces, implementations, and bindings. Can someone clearly explain which tabs should show up where?

         

        Thanks!!

        • 16. Re: Policy Support in the Editor
          rcernich

          Hey Brian,

           

          Instead of a blank list entry, could we use something like "None" when no policy is specified (talking about the transaction policies).

           

          Best,

          Rob

          • 17. Re: Policy Support in the Editor
            bfitzpat

            Yup. Can do that. Thanks!

            • 18. Re: Policy Support in the Editor
              bfitzpat

              Here ya go.

              transaction-property-tab-2.png

              • 19. Re: Policy Support in the Editor
                kcbabo

                I still would like to know under what conditions these should appear. Currently they both appear anywhere we have a Contract object (composite service, composite reference, component service, component reference). It seems that we have partial support based on certain interfaces, implementations, and bindings. Can someone clearly explain which tabs should show up where?

                 

                Turns out that it's not that straightforward. :-) 

                 

                Implementation policy only applies to implementations, so you would only attach these on a service component (specifically, the implementation of a service component).

                 

                Interaction policy applies to a component-level service or reference.

                 

                Now that I've dropped the powder, here's the match that will make your head explode.  The implementation policy is set once per implementation - so you wouldn't set this individually for a service or reference.  The interaction policy can be set individually for the service and reference(s) on a component.  This means that your tab view can still work, but the implementation policy will be the same for all service and reference definitions on the component.  The nice thing is that you probably get this synchronization for free right now if you're using the EMF model - if you set the implementation value in the properties page of a service and then move to a reference on that component, the value read will be the same as the one set for the service.

                 

                Hopefully that makes a little bit of sense after the 10th read or so.

                • 20. Re: Policy Support in the Editor
                  bfitzpat

                  Thanks Keith. As I piece by brain pan back together and read it a few more times I think everything I need is in there... But wow. So much for consistency.

                  1 2 Previous Next