[Dev] [DEV] Best practices for monitoring IS and APIM cluster

2017-08-04 Thread Vazquez-Hidalgo, Javier
Hello,

I would like get some guidance on what are the best practices to monitor an 
Identity Server and APIM cluster when servers/processes go down. Are there any 
recommended tools/procedures?

I'm aware carbon provides built in UI's to monitor the product but what if the 
entire thing goes down?

Thanks,
Javier

If you wish to unsubscribe from receiving commercial electronic messages from 
TD Bank Group, please click here or go to the following web address: 
www.td.com/tdoptout
Si vous souhaitez vous désabonner des messages électroniques de nature 
commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à 
l'adresse www.td.com/tddesab

NOTICE: Confidential message which may be privileged. Unauthorized 
use/disclosure prohibited. If received in error, please go to www.td.com/legal 
for instructions.
AVIS : Message confidentiel dont le contenu peut être privilégié. 
Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière 
d'aller au www.td.com/francais/avis_juridique pour des instructions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Handling multiple files

2017-08-04 Thread Malaka Silva
On Fri, Aug 4, 2017 at 7:47 PM, Amit Rajvanshi 
wrote:

> Thanks Malaka,
> So do u mean we need to trigger the process by injecting a message through
> schedule task and then use file connector to read three files on sftp and
> then perform the merge operation?
>
​Yes​


> File name contains one fix part of string with combination of datetime.
>
​In that case you can dynamically generate files path/names and read with
file connector.​


>
> Regards,
> Amit Rajvanshi
>
>
>  Original message 
> From: Malaka Silva 
> Date: 04/08/2017 19:28 (GMT+05:30)
> To: Amit Rajvanshi 
> Cc: WSO2 Developers' List , Hariprasath Thanarajah <
> haripras...@wso2.com>
> Subject: Re: Handling multiple files
>
> Hi Amit,
>
> Do you know the file names that needs to be merged?
>
> You can try to implement the use case with file connector [1] and EI
> schedule tasks [2].
>
> [1] https://store.wso2.com/store/assets/esbconnector/
> details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
> [2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks
>
> On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi 
> wrote:
>
>> Hi Malaka,
>>
>>
>>
>> Is it possible to handle a scenario in wos2 ESB where I am receiving
>> three CSV files from SFTP location and I need to merge them into single
>> file.
>>
>> I do not want to create three separate instance for three files because
>> all the information need to be map into single message and send it to
>> Vendor.
>>
>>
>>
>> Any help will be useful.
>>
>>
>>
>> Best regards,
>> *Amit Rajvanshi*
>>
>> *Technical Consultant*
>> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>>
>> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>>
>> *Email*:arajvan...@salmon.com
>>
>> [image: cid:image003.png@01D2CA89.60AB8730] 
>>
>>
>>
>> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image005.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image006.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image007.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image008.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image009.jpg@01D2CA89.60AB8730]*
>>  *[image:
>> cid:image010.jpg@01D2CA89.60AB8730]*
>> 
>>
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <011%202%20145300>
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . 

Re: [Dev] Handling multiple files

2017-08-04 Thread Malaka Silva
Hi Amit,

Do you know the file names that needs to be merged?

You can try to implement the use case with file connector [1] and EI
schedule tasks [2].

[1]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks

On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi 
wrote:

> Hi Malaka,
>
>
>
> Is it possible to handle a scenario in wos2 ESB where I am receiving three
> CSV files from SFTP location and I need to merge them into single file.
>
> I do not want to create three separate instance for three files because
> all the information need to be map into single message and send it to
> Vendor.
>
>
>
> Any help will be useful.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] 
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* 
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
>  *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* 
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Recursively request going on for one soap request

2017-08-04 Thread Susankha Nirmala
Hi Nandika,

Yes, if we add a send mediator with an endpoint to the out sequence, we
could see this behavior. But AFAIU, to allow adding send mediator with an
endpoint to the out sequence is wrong.
Because AFAIU we do not have any valid use case the send mediator might use
in the out sequence as we mentioned.

Thanks,
/Susankha.

On Fri, Aug 4, 2017 at 5:04 PM, Vinod Kavinda  wrote:

> Hi Senuwan,
> As a solution, Please use a Call mediator in place of the send mediator in
> the outSequece.
>
> Regards,
> Vinod
>
>
> On Fri, Aug 4, 2017 at 4:55 PM, Nandika Jayawardana 
> wrote:
>
>> This is the expected behavior. In in sequence, the request is sent to the
>> endpoint and response returns to the out sequence. When the message is sent
>> from out sequence, the response returns to the out sequence, resulting in
>> the loop.
>>
>> Regards
>> Nandika
>>
>> On Fri, Aug 4, 2017 at 12:20 PM, Senuwan Withana 
>> wrote:
>>
>>>
>>> *Scenario *
>>> I have created below proxy and added address endpoint URL.However by
>>> mistakenly I have added same endpoint URL to the 'Out Sequence'. After that
>>> I have send one SOAP request. in back-end recursively request going on.
>>>
>>>
>>> *Please refer XML file   [WSO2-ESB 4.9.0]*
>>>
>>> 
>>> http://ws.apache.org/ns/synapse;
>>>name="tenone"
>>>transports="http,https"
>>>statistics="disable"
>>>trace="disable"
>>>startOnLoad="true">
>>>
>>>   
>>>  
>>>  
>>> 
>>>http://www.mocky.io/v2/59
>>> 84075e11b601416671"/>
>>> 
>>>  
>>>   
>>>   
>>>  
>>> 
>>>http://www.mocky.io/v2/59
>>> 84075e11b601416671"/>
>>> 
>>>  
>>>   
>>>
>>>
>>> 
>>>
>>>
>>>
>>> *Carbon Log file is attached *
>>>
>>> As per my understand this might not be the expected behaviour and what
>>> we would able to do this.
>>>
>>>
>>> *Senuwan Withana*
>>> Software Engineer - Support Team | WSO2
>>>
>>> Email : senu...@wso2.com
>>> Mobile: 94773212853 <077%20321%202853>
>>> Web: http://www.wso2.com
>>>
>>>
>>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> 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
>
>


-- 
Susankha Nirmala
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

Mobile : +94 77 593 2146
blog : https://susankhanirmala.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Recursively request going on for one soap request

2017-08-04 Thread Vinod Kavinda
Hi Senuwan,
As a solution, Please use a Call mediator in place of the send mediator in
the outSequece.

Regards,
Vinod


On Fri, Aug 4, 2017 at 4:55 PM, Nandika Jayawardana 
wrote:

> This is the expected behavior. In in sequence, the request is sent to the
> endpoint and response returns to the out sequence. When the message is sent
> from out sequence, the response returns to the out sequence, resulting in
> the loop.
>
> Regards
> Nandika
>
> On Fri, Aug 4, 2017 at 12:20 PM, Senuwan Withana  wrote:
>
>>
>> *Scenario *
>> I have created below proxy and added address endpoint URL.However by
>> mistakenly I have added same endpoint URL to the 'Out Sequence'. After that
>> I have send one SOAP request. in back-end recursively request going on.
>>
>>
>> *Please refer XML file   [WSO2-ESB 4.9.0]*
>>
>> 
>> http://ws.apache.org/ns/synapse;
>>name="tenone"
>>transports="http,https"
>>statistics="disable"
>>trace="disable"
>>startOnLoad="true">
>>
>>   
>>  
>>  
>> 
>>http://www.mocky.io/v2/59
>> 84075e11b601416671"/>
>> 
>>  
>>   
>>   
>>  
>> 
>>http://www.mocky.io/v2/59
>> 84075e11b601416671"/>
>> 
>>  
>>   
>>
>>
>> 
>>
>>
>>
>> *Carbon Log file is attached *
>>
>> As per my understand this might not be the expected behaviour and what we
>> would able to do this.
>>
>>
>> *Senuwan Withana*
>> Software Engineer - Support Team | WSO2
>>
>> Email : senu...@wso2.com
>> Mobile: 94773212853 <077%20321%202853>
>> Web: http://www.wso2.com
>>
>>
>>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>
> ___
> 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] Recursively request going on for one soap request

2017-08-04 Thread Nandika Jayawardana
This is the expected behavior. In in sequence, the request is sent to the
endpoint and response returns to the out sequence. When the message is sent
from out sequence, the response returns to the out sequence, resulting in
the loop.

Regards
Nandika

On Fri, Aug 4, 2017 at 12:20 PM, Senuwan Withana  wrote:

>
> *Scenario *
> I have created below proxy and added address endpoint URL.However by
> mistakenly I have added same endpoint URL to the 'Out Sequence'. After that
> I have send one SOAP request. in back-end recursively request going on.
>
>
> *Please refer XML file   [WSO2-ESB 4.9.0]*
>
> 
> http://ws.apache.org/ns/synapse;
>name="tenone"
>transports="http,https"
>statistics="disable"
>trace="disable"
>startOnLoad="true">
>
>   
>  
>  
> 
>http://www.mocky.io/v2/
> 5984075e11b601416671"/>
> 
>  
>   
>   
>  
> 
>http://www.mocky.io/v2/
> 5984075e11b601416671"/>
> 
>  
>   
>
>
> 
>
>
>
> *Carbon Log file is attached *
>
> As per my understand this might not be the expected behaviour and what we
> would able to do this.
>
>
> *Senuwan Withana*
> Software Engineer - Support Team | WSO2
>
> Email : senu...@wso2.com
> Mobile: 94773212853 <077%20321%202853>
> Web: http://www.wso2.com
>
>
>


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