Hi Jasintha,Sohani,
Thanks for the quick response. The "type" defined in "artifact.xml" should
be "datasource/datasource" for it to be picked up by the datasource
deployment handler and get deployed. Below is a sample
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="DataSourceA" version="1.0.0" type="datasource/datasource"
serverRole="ApplicationServer">
<file>DataSource.xml</file>
</artifact>
Thanks,
On Mon, Jul 28, 2014 at 11:37 AM, Sohani Weerasinghe <[email protected]>
wrote:
> Hi,
>
> I am working on implementing the Datasource editor in DevS.
>
> Thanks,
> Sohani
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter : https://twitter.com/sohanichristine
>
>
> On Mon, Jul 28, 2014 at 11:04 AM, Jasintha Dasanayake <[email protected]>
> wrote:
>
>> Hi
>>
>> We can provide a single page form editor in DevS to edit this config
>>
>> Thanks and regards
>> /Jasintha
>>
>>
>>
>> On Mon, Jul 28, 2014 at 10:36 AM, Rajith Vitharana <[email protected]>
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> Yes these datasources only provides a read-only view. and they won't be
>>> saved in the registry. other than that they are same as the datasources
>>> which we can create using UI.
>>>
>>> Hi Nirmal,
>>>
>>> noted. I'll try out encryption of passwords and to get DevS support
>>>
>>> Thanks,
>>>
>>>
>>> On Mon, Jul 28, 2014 at 10:28 AM, Nirmal Fernando <[email protected]>
>>> wrote:
>>>
>>>> Thanks Rajith. Seems like for this feature, we need DevS support (data
>>>> source resource type) before deployed in a production environment. Also,
>>>> this feature should ideally support encryption of passwords.
>>>>
>>>>
>>>> On Mon, Jul 28, 2014 at 10:21 AM, Rajith Vitharana <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Nirmal,
>>>>>
>>>>> This is a Appdeployment handler which will pickup datasources deployed
>>>>> as carbon application and register them as datasources.
>>>>> since datasource xml file is already in car app this feature wont save
>>>>> it to the registry to avoid duplication.
>>>>> datasources deployed as car apps can't be edited using UI. Editing
>>>>> them should be done by redeploying the car app.
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> On Mon, Jul 28, 2014 at 9:49 AM, Nirmal Fernando <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Rajith,
>>>>>>
>>>>>> Can you please also mention what new improvements this patch brings?
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 28, 2014 at 9:39 AM, Rajith Vitharana <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Attached here with the diff for datasource deployer feature for
>>>>>>> org.wso2.carbon.ndatasource.core and a sample car file. please review
>>>>>>> and
>>>>>>> commit
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> --
>>>>>>> Rajith Vitharana
>>>>>>>
>>>>>>> Software Engineer,
>>>>>>> WSO2 Inc. : wso2.com
>>>>>>> Mobile : +94715883223
>>>>>>> Blog : http://lankavitharana.blogspot.com/
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Thanks & regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>>> Mobile: +94715779733
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rajith Vitharana
>>>>>
>>>>> Software Engineer,
>>>>> WSO2 Inc. : wso2.com
>>>>> Mobile : +94715883223
>>>>> Blog : http://lankavitharana.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Rajith Vitharana
>>>
>>> Software Engineer,
>>> WSO2 Inc. : wso2.com
>>> Mobile : +94715883223
>>> Blog : http://lankavitharana.blogspot.com/
>>>
>>
>>
>>
>> --
>>
>> *Jasintha Dasanayake *
>>
>> *Senior Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/>
>> lean . enterprise . middleware*
>>
>>
>> *mobile :- 0711368118 <0711368118> *
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
--
Rajith Vitharana
Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev