Hai Senaka,

                There can be a solution to prompt an error
message(CarbonUImessage) to the user if he/she changes the mediatype from
 application/xml to Policy and click the save button on the metadata panel
when the source path does not contain the "_system/governance" string.

I did this yesterday. I do have to do some improvement anyway. but it
works.

But G-reg guys were telling me that this is not a real bug. Since it is a
governance artifact it must be governed within governance directory.

What shall I do?

Regards,
Ragu

On Wed, Nov 7, 2012 at 6:57 AM, Senaka Fernando <[email protected]> wrote:

> Hi Ragu,
>
> Well I think we do not take count of any resource uploaded outside
> /_system/governance to be a proper governance artifact. I believe that this
> issue is arising due to the security component in Carbon storing policies
> inside /_system/config. Both might be problematic, but the issue in the
> security component, is a violation of conventions.
>
> Thanks,
> Senaka.
>
>
> On Tue, Nov 6, 2012 at 11:36 AM, Sriragu Arudsothy <[email protected]>wrote:
>
>> hai,
>>
>>        T*he issue is that changing the media type of a file from xml to
>> Policy does not appear in the policy list when we click on the WS Policies
>> Under the metadata panel in the management console(G-Reg).*
>>
>> test pass: after I upload the xml file any where under the
>> _system/governance and changed the media type to Policy then it appears
>> under the policy list.
>>
>> test fails : when I upload the xml file outside the
>> _system/governance(means config or local) and  changed to Policy media type
>> then it  does not appear under the policy list.
>>
>> When we fetch the L1 artifacts(WSDL , Policies...), the files contains
>> those artifacts are fetched anywhere within _System/Governance directory. I
>> think these artifacts have to be governed within _system/governance
>> directory. That is how the code has been designed and running.
>>
>> In this situation, Do I need to consider the failing too ? or Do those
>> main artifacts can not be saved outside the _system/governance directory?
>>
>> Regards,
>> Sriragu
>>
>>
>>
>>
>>
>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to