Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Gayan Gunarathne
I guess this happen due to the database connection mentioned in the dbs. It
requires to restart the server.

Thanks,
Gayan

On Thu, Jan 4, 2018 at 7:17 AM, Shazni Nazeer  wrote:

> I have noticed the same. This happens in the data services server 3.5.1
> too. Always requires a restart to take effect.
>
> Is this a bug?
>
> On Tue, Jan 2, 2018 at 1:15 AM, Godwin Shrimal  wrote:
>
>> Hi Devs,
>>
>> We can change proxy services (Deployed using CAR) from UI and its getting
>> hot deploy after changes. But we can't observe same with Data Services. Any
>> reason for this ? Is it the expected behaviour ?
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>
>
>
> --
> Shazni Nazeer
>
> Mob : +94 37331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>
> Blogs :
>
> https://medium.com/@mshazninazeer
> http://shazninazeer.blogspot.com
>
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Godwin Shrimal
Yeah, I also felt the same, It's confusing to have one behaviour for Proxy
and another for DSS. There should be a consistency.

Thanks
Godwin

On Thu, Jan 4, 2018 at 12:22 PM, Gihan Anuruddha  wrote:

> Ideally, we should have a consistent behavior in EI for both proxies and
> data services. But since this is not a recommended way can leave it this
> way for now.
>
> On Thu, Jan 4, 2018 at 10:43 AM, Rajith Vitharana 
> wrote:
>
>> Hi Godwin,
>>
>> AFAIR deployment flows are different for ESB artifacts and DSS artifacts,
>> DSS artifacts are getting deployed via axis2 deployer(that is it will pick
>> up changes from file system and get deployed, so with car files, this won't
>> happen as the actual file does not get changed) whereas when we change ESB
>> artifacts, it will directly invoke the deployment flow. This was the
>> behavior we had and since it is not recommended to update artifacts within
>> a car file, we haven't done any changes to DSS behavior, hence the
>> difference.
>>
>> Thanks,
>>
>> On 4 January 2018 at 05:41, Godwin Shrimal  wrote:
>>
>>> Hi Pubudu,
>>>
>>> Yeah, I know it's not recommending, But when we are doing testing, think
>>> you want to add a small log to the proxy, you simply can add it via UI and
>>> test it.
>>>
>>> My Question is not about the recommendation, it's about why DSS behaving
>>> differently than the proxy services.
>>>
>>> Thanks
>>> Godwin
>>>
>>> On Thu, Jan 4, 2018 at 12:46 AM, Pubudu Gunatilaka 
>>> wrote:
>>>
 Hi Godwin,

 AFAIK, we should not change any artifact which is deployed using a CAR
 file. This is not recommended. I am not sure about the reasons for this
 behavior.

 Thank you!

 On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal 
 wrote:

> Hi Devs,
>
> We can change proxy services (Deployed using CAR) from UI and its
> getting hot deploy after changes. But we can't observe same with Data
> Services. Any reason for this ? Is it the expected behaviour ?
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



 --
 *Pubudu Gunatilaka*
 Committer and PMC Member - Apache Stratos
 Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 mobile : +94774078049 <%2B94772207163>


>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Associate Technical Lead,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> W.G. Gihan Anuruddha
> Associate Technical Lead | WSO2, Inc.
> M: +94772272595
>



-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Gihan Anuruddha
Ideally, we should have a consistent behavior in EI for both proxies and
data services. But since this is not a recommended way can leave it this
way for now.

On Thu, Jan 4, 2018 at 10:43 AM, Rajith Vitharana  wrote:

> Hi Godwin,
>
> AFAIR deployment flows are different for ESB artifacts and DSS artifacts,
> DSS artifacts are getting deployed via axis2 deployer(that is it will pick
> up changes from file system and get deployed, so with car files, this won't
> happen as the actual file does not get changed) whereas when we change ESB
> artifacts, it will directly invoke the deployment flow. This was the
> behavior we had and since it is not recommended to update artifacts within
> a car file, we haven't done any changes to DSS behavior, hence the
> difference.
>
> Thanks,
>
> On 4 January 2018 at 05:41, Godwin Shrimal  wrote:
>
>> Hi Pubudu,
>>
>> Yeah, I know it's not recommending, But when we are doing testing, think
>> you want to add a small log to the proxy, you simply can add it via UI and
>> test it.
>>
>> My Question is not about the recommendation, it's about why DSS behaving
>> differently than the proxy services.
>>
>> Thanks
>> Godwin
>>
>> On Thu, Jan 4, 2018 at 12:46 AM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi Godwin,
>>>
>>> AFAIK, we should not change any artifact which is deployed using a CAR
>>> file. This is not recommended. I am not sure about the reasons for this
>>> behavior.
>>>
>>> Thank you!
>>>
>>> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>>>
 Hi Devs,

 We can change proxy services (Deployed using CAR) from UI and its
 getting hot deploy after changes. But we can't observe same with Data
 Services. Any reason for this ? Is it the expected behaviour ?

 Thanks
 Godwin

 --
 *Godwin Amila Shrimal*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
 *
 twitter: https://twitter.com/godwinamila
 

>>>
>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rajith Vitharana
>
> Associate Technical Lead,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
W.G. Gihan Anuruddha
Associate Technical Lead | WSO2, Inc.
M: +94772272595
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Rajith Vitharana
Hi Godwin,

AFAIR deployment flows are different for ESB artifacts and DSS artifacts,
DSS artifacts are getting deployed via axis2 deployer(that is it will pick
up changes from file system and get deployed, so with car files, this won't
happen as the actual file does not get changed) whereas when we change ESB
artifacts, it will directly invoke the deployment flow. This was the
behavior we had and since it is not recommended to update artifacts within
a car file, we haven't done any changes to DSS behavior, hence the
difference.

Thanks,

On 4 January 2018 at 05:41, Godwin Shrimal  wrote:

> Hi Pubudu,
>
> Yeah, I know it's not recommending, But when we are doing testing, think
> you want to add a small log to the proxy, you simply can add it via UI and
> test it.
>
> My Question is not about the recommendation, it's about why DSS behaving
> differently than the proxy services.
>
> Thanks
> Godwin
>
> On Thu, Jan 4, 2018 at 12:46 AM, Pubudu Gunatilaka 
> wrote:
>
>> Hi Godwin,
>>
>> AFAIK, we should not change any artifact which is deployed using a CAR
>> file. This is not recommended. I am not sure about the reasons for this
>> behavior.
>>
>> Thank you!
>>
>> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>>
>>> Hi Devs,
>>>
>>> We can change proxy services (Deployed using CAR) from UI and its
>>> getting hot deploy after changes. But we can't observe same with Data
>>> Services. Any reason for this ? Is it the expected behaviour ?
>>>
>>> Thanks
>>> Godwin
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>>
>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Vitharana

Associate Technical Lead,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Godwin Shrimal
Hi Vinod,

If you change anything in Proxy (deployed using CAR) it's getting hot
deploy. Yeah, changes get discard once server restart. Again my problem is
why proxy services changes reflect and not in DSS.


Thanks
Godwin

On Thu, Jan 4, 2018 at 11:57 AM, Vinod Kavinda  wrote:

> Hi Godwin,
> In proxy services also, changes do not get persisted. If you restart the
> server, the changes will be discarded.
>
> Regards,
> Vinod
>
> On Wed, Jan 3, 2018 at 12:58 PM, Godwin Shrimal  wrote:
>
>> Hi Nandika,
>>
>> Thanks for the response. I understand it's not recommending to change the
>> artifact from UI, my problem is if we change proxy service (deployed using
>> CAR) it's getting hot deploy. But it's not working with Data services. Is
>> this intentionally done or is this a bug?
>>
>> Thanks
>> Godwin
>>
>>
>> On Wed, Jan 3, 2018 at 12:35 PM, Nandika Jayawardana 
>> wrote:
>>
>>> HI Godwin,
>>>
>>> It is not recommended to make changes to artefacts deployed using a car
>>> file from the management console. And these changes are not persisted and
>>> server restart will result in the changes being discarded. Hence pls use
>>>  dev studio to make any changes necessary to artefacts contained within a
>>> CAR.
>>>
>>> Regards
>>> Nandika
>>>
>>> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>>>
 Hi Devs,

 We can change proxy services (Deployed using CAR) from UI and its
 getting hot deploy after changes. But we can't observe same with Data
 Services. Any reason for this ? Is it the expected behaviour ?

 Thanks
 Godwin

 --
 *Godwin Amila Shrimal*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
 *
 twitter: https://twitter.com/godwinamila
 

>>>
>>>
>>>
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vinod Kavinda
> Senior Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware .*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
> [image: http://wso2.com/signature]
> 
>
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Vinod Kavinda
Hi Godwin,
Proxy deployers and DSS deployers are different components. Maybe we are
not listening to the unpacked carbon apps folder by the DSS deployer. Yes,
this is useful for testing. Let's report a bug. We can fix if it is
technically feasible.

Regards,
Vinod

On Thu, Jan 4, 2018 at 10:33 AM, Godwin Shrimal  wrote:

> Hi Vinod,
>
> If you change anything in Proxy (deployed using CAR) it's getting hot
> deploy. Yeah, changes get discard once server restart. Again my problem is
> why proxy services changes reflect and not in DSS.
>
>
> Thanks
> Godwin
>
> On Thu, Jan 4, 2018 at 11:57 AM, Vinod Kavinda  wrote:
>
>> Hi Godwin,
>> In proxy services also, changes do not get persisted. If you restart the
>> server, the changes will be discarded.
>>
>> Regards,
>> Vinod
>>
>> On Wed, Jan 3, 2018 at 12:58 PM, Godwin Shrimal  wrote:
>>
>>> Hi Nandika,
>>>
>>> Thanks for the response. I understand it's not recommending to change
>>> the artifact from UI, my problem is if we change proxy service (deployed
>>> using CAR) it's getting hot deploy. But it's not working with Data
>>> services. Is this intentionally done or is this a bug?
>>>
>>> Thanks
>>> Godwin
>>>
>>>
>>> On Wed, Jan 3, 2018 at 12:35 PM, Nandika Jayawardana 
>>> wrote:
>>>
 HI Godwin,

 It is not recommended to make changes to artefacts deployed using a car
 file from the management console. And these changes are not persisted and
 server restart will result in the changes being discarded. Hence pls use
  dev studio to make any changes necessary to artefacts contained within a
 CAR.

 Regards
 Nandika

 On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal 
 wrote:

> Hi Devs,
>
> We can change proxy services (Deployed using CAR) from UI and its
> getting hot deploy after changes. But we can't observe same with Data
> Services. Any reason for this ? Is it the expected behaviour ?
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



 --
 Nandika Jayawardana
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware

>>>
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Vinod Kavinda
>> Senior Software Engineer
>> *WSO2 Inc. - lean . enterprise . middleware .*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>> [image: http://wso2.com/signature]
>> 
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



-- 
Vinod Kavinda
Senior Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
[image: http://wso2.com/signature]

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Vinod Kavinda
Hi Godwin,
In proxy services also, changes do not get persisted. If you restart the
server, the changes will be discarded.

Regards,
Vinod

On Wed, Jan 3, 2018 at 12:58 PM, Godwin Shrimal  wrote:

> Hi Nandika,
>
> Thanks for the response. I understand it's not recommending to change the
> artifact from UI, my problem is if we change proxy service (deployed using
> CAR) it's getting hot deploy. But it's not working with Data services. Is
> this intentionally done or is this a bug?
>
> Thanks
> Godwin
>
>
> On Wed, Jan 3, 2018 at 12:35 PM, Nandika Jayawardana 
> wrote:
>
>> HI Godwin,
>>
>> It is not recommended to make changes to artefacts deployed using a car
>> file from the management console. And these changes are not persisted and
>> server restart will result in the changes being discarded. Hence pls use
>>  dev studio to make any changes necessary to artefacts contained within a
>> CAR.
>>
>> Regards
>> Nandika
>>
>> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>>
>>> Hi Devs,
>>>
>>> We can change proxy services (Deployed using CAR) from UI and its
>>> getting hot deploy after changes. But we can't observe same with Data
>>> Services. Any reason for this ? Is it the expected behaviour ?
>>>
>>> Thanks
>>> Godwin
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>>
>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vinod Kavinda
Senior Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
[image: http://wso2.com/signature]

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Madhawa Gunasekara
Yes, It's a bug. Normally If we do a change in CApp, It will reflect the
service. but In this case, It's not working as expected.

Thanks,
Madhawa

On Thu, Jan 4, 2018 at 7:17 AM, Shazni Nazeer  wrote:

> I have noticed the same. This happens in the data services server 3.5.1
> too. Always requires a restart to take effect.
>
> Is this a bug?
>
> On Tue, Jan 2, 2018 at 1:15 AM, Godwin Shrimal  wrote:
>
>> Hi Devs,
>>
>> We can change proxy services (Deployed using CAR) from UI and its getting
>> hot deploy after changes. But we can't observe same with Data Services. Any
>> reason for this ? Is it the expected behaviour ?
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>
>
>
> --
> Shazni Nazeer
>
> Mob : +94 37331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>
> Blogs :
>
> https://medium.com/@mshazninazeer
> http://shazninazeer.blogspot.com
>
> 
>



-- 
*Madhawa Gunasekara*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Shazni Nazeer
I have noticed the same. This happens in the data services server 3.5.1
too. Always requires a restart to take effect.

Is this a bug?

On Tue, Jan 2, 2018 at 1:15 AM, Godwin Shrimal  wrote:

> Hi Devs,
>
> We can change proxy services (Deployed using CAR) from UI and its getting
> hot deploy after changes. But we can't observe same with Data Services. Any
> reason for this ? Is it the expected behaviour ?
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



-- 
Shazni Nazeer

Mob : +94 37331
LinkedIn : http://lk.linkedin.com/in/shazninazeer

Blogs :

https://medium.com/@mshazninazeer
http://shazninazeer.blogspot.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Godwin Shrimal
Hi Pubudu,

Yeah, I know it's not recommending, But when we are doing testing, think
you want to add a small log to the proxy, you simply can add it via UI and
test it.

My Question is not about the recommendation, it's about why DSS behaving
differently than the proxy services.

Thanks
Godwin

On Thu, Jan 4, 2018 at 12:46 AM, Pubudu Gunatilaka  wrote:

> Hi Godwin,
>
> AFAIK, we should not change any artifact which is deployed using a CAR
> file. This is not recommended. I am not sure about the reasons for this
> behavior.
>
> Thank you!
>
> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>
>> Hi Devs,
>>
>> We can change proxy services (Deployed using CAR) from UI and its getting
>> hot deploy after changes. But we can't observe same with Data Services. Any
>> reason for this ? Is it the expected behaviour ?
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Pubudu Gunatilaka
Hi Godwin,

AFAIK, we should not change any artifact which is deployed using a CAR
file. This is not recommended. I am not sure about the reasons for this
behavior.

Thank you!

On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:

> Hi Devs,
>
> We can change proxy services (Deployed using CAR) from UI and its getting
> hot deploy after changes. But we can't observe same with Data Services. Any
> reason for this ? Is it the expected behaviour ?
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Godwin Shrimal
Hi Nandika,

Thanks for the response. I understand it's not recommending to change the
artifact from UI, my problem is if we change proxy service (deployed using
CAR) it's getting hot deploy. But it's not working with Data services. Is
this intentionally done or is this a bug?

Thanks
Godwin


On Wed, Jan 3, 2018 at 12:35 PM, Nandika Jayawardana 
wrote:

> HI Godwin,
>
> It is not recommended to make changes to artefacts deployed using a car
> file from the management console. And these changes are not persisted and
> server restart will result in the changes being discarded. Hence pls use
>  dev studio to make any changes necessary to artefacts contained within a
> CAR.
>
> Regards
> Nandika
>
> On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:
>
>> Hi Devs,
>>
>> We can change proxy services (Deployed using CAR) from UI and its getting
>> hot deploy after changes. But we can't observe same with Data Services. Any
>> reason for this ? Is it the expected behaviour ?
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EI] Data services are not hot deploying

2018-01-03 Thread Nandika Jayawardana
HI Godwin,

It is not recommended to make changes to artefacts deployed using a car
file from the management console. And these changes are not persisted and
server restart will result in the changes being discarded. Hence pls use
 dev studio to make any changes necessary to artefacts contained within a
CAR.

Regards
Nandika

On Tue, Jan 2, 2018 at 12:45 PM, Godwin Shrimal  wrote:

> Hi Devs,
>
> We can change proxy services (Deployed using CAR) from UI and its getting
> hot deploy after changes. But we can't observe same with Data Services. Any
> reason for this ? Is it the expected behaviour ?
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>



-- 
Nandika Jayawardana
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev