Topic
4 replies Latest Post - ‏2013-03-19T11:08:49Z by SystemAdmin
SystemAdmin
SystemAdmin
139 Posts
ACCEPTED ANSWER

Pinned topic Policy transformer not getting invoked

‏2013-03-15T08:35:34Z |
I am not able to invoke the transformer(java based) which i have added in policy of the component
I have tried all the possible solutions
Can i get any specifications that should be present in component or policy to get invoked the transformer(java based)of both policy as well as link???
Updated on 2013-03-19T11:08:49Z at 2013-03-19T11:08:49Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    139 Posts
    ACCEPTED ANSWER

    Re: Policy transformer not getting invoked

    ‏2013-03-19T08:19:58Z  in response to SystemAdmin
    Hi, Could you provide more info, like code snippet?

    Dominique - Follow me on Twitter @ITDoVe - Blog: http://cloud.itdove.com
    • SystemAdmin
      SystemAdmin
      139 Posts
      ACCEPTED ANSWER

      Re: Policy transformer not getting invoked

      ‏2013-03-19T08:30:44Z  in response to SystemAdmin
      {
      "id": "policyapp",
      "type": "policy",
      "transformAs" : "linked",
      "applicableTo": [
      "ABC"
      ],
      "label": "ABCD Policy",
      "description": "ABCD Policy"
      }
      By this code i can see my policy on component
      and i am putting vm-template as well java transformer in policy plugin then also it is not getting called
      and same vm-template and java transformer in component, i am calling from component plugin then it is getting called

      I am using PDK 1.0.0.2

      conclusion : vm-template and java transformer from policy plugin is not getting invoked.

      Kindly revert
      Thanks,
      Sheetal Chavan
  • SystemAdmin
    SystemAdmin
    139 Posts
    ACCEPTED ANSWER

    Re: Policy transformer not getting invoked

    ‏2013-03-19T10:15:54Z  in response to SystemAdmin
    I never saw the "transformAs" attributes, do you have some doc on it? I guess it is to fake IWD and tell it that he as to transform the policy as it was a 'link'...
    Are you sure you added the OSGI component in your policy plugin?
    Are you sure that the policy OSGI name is the same as your policy?

    Dominique - Follow me on Twitter @ITDoVe - Blog: http://cloud.itdove.com
    • SystemAdmin
      SystemAdmin
      139 Posts
      ACCEPTED ANSWER

      Re: Policy transformer not getting invoked

      ‏2013-03-19T11:08:49Z  in response to SystemAdmin
      "transformAs" : "linked" attribute i had refered from ibm plugin development site only...
      and i had made proper configuration of OSGI but still its not getting invoked..i had checked the HLPolicy plugin whcih is present on ibm site

      Still facing problem

      with PDK 1.0.0.2

      Thanks,
      Sheetal Chavan