[Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Rushmin Fernando
Load balancers use health check URL to see whether a service is live.

In this case, I'm looking for a URL served via the servlet port.

[1] is an option. Do we have a standard URL?


[1] - https://localhost:9443/carbon/admin/login.jsp

-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

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


Re: [Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Harsha Thirimanna
https://docs.wso2.com/display/AM210/Basic+Health+Checks

*Harsha Thirimanna*
*Associate Tech Lead | WSO2*

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in:
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122


On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando  wrote:

>
> Load balancers use health check URL to see whether a service is live.
>
> In this case, I'm looking for a URL served via the servlet port.
>
> [1] is an option. Do we have a standard URL?
>
>
> [1] - https://localhost:9443/carbon/admin/login.jsp
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CORS error in public server

2018-08-02 Thread shibsankar
It works when I whitelist localhost in wso2 api manager XML  and run from
local.

But when I move the application to a public server and whitelist the public
IP in wso2 api manager XML , it does not work.

My CORS configuration Is correct as per your link.

Issue is when I move my angular application to public server and whitelist
the public server IP in wso2 api manager XML it throws error.


Please see the earlier screenshot for error message and IP white listing.

Regards
Shib

On Wednesday, August 1, 2018, Rukshan Premathunga  wrote:

> Hi Shib,
>
> It seems like you have try to do a request to token api. CORS
> configuration done in the api-manager.xml not added to the token api by
> default and you have to do some changes to make it work.
> Please refer following article which explain how to enable cors for token
> api.
>
> [1] https://medium.com/@iloshinikarunarathne/enabling-
> cors-for-token-apis-in-wso2-apim-d04f7ef5171
>
> Thanks and Regards
>
> On Wed, Aug 1, 2018 at 9:22 PM, shibsankar  wrote:
>
>> any comments on this, please?
>>
>> Regards
>> Shib
>>
>>
>> On Tue, Jul 31, 2018 at 11:31 AM, shibsankar  wrote:
>>
>>> any comments on this?
>>>
>>> Regards
>>> Shib
>>>
>>>
>>> On Mon, Jul 30, 2018 at 12:15 PM, shibsankar  wrote:
>>>
 Hi

 I have deployed my angular application in a  *public server. *

 and then *whitelisted  the public server IP* in wso2's
 *api-manager.xml *



 However, when I call  wso2  token API  from my angular application I am
 getting CORS error.

 *Please see the CORS error and WSO2 settings in the screenshot
 attached.*

 Could you please suggest what is wrong here and how to fix it?

 Regards
 Shib





>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
> +94711822074
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Rushmin Fernando
Thank you, Harsha. This doc says either to connect to the port or use the
Version service.

Some load balancers expect to have an HTTP URL which returns a *200 OK*.
(So the port scenario won't work)

And the Identity Server doesn't have a Version service deployed by default.

That's why I was looking for a standard URL for IS.

On Thu, Aug 2, 2018 at 4:13 PM Harsha Thirimanna  wrote:

> https://docs.wso2.com/display/AM210/Basic+Health+Checks
>
> *Harsha Thirimanna*
> *Associate Tech Lead | WSO2*
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in:
> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando  wrote:
>
>>
>> Load balancers use health check URL to see whether a service is live.
>>
>> In this case, I'm looking for a URL served via the servlet port.
>>
>> [1] is an option. Do we have a standard URL?
>>
>>
>> [1] - https://localhost:9443/carbon/admin/login.jsp
>>
>> --
>> *Best Regards*
>>
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>
>> mobile : +94775615183
>>
>>
>>
>

-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

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


Re: [Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Harsha Thirimanna
We have this endpoint
https://localhost:9443/services/ServerAdmin?wsdl




*Harsha Thirimanna*
*Associate Tech Lead | WSO2*

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in: http://www.linkedin.com/pub/
harsha-thirimanna/10/ab8/122


On Thu, Aug 2, 2018 at 6:18 PM, Rushmin Fernando  wrote:

> Thank you, Harsha. This doc says either to connect to the port or use the
> Version service.
>
> Some load balancers expect to have an HTTP URL which returns a *200 OK*.
> (So the port scenario won't work)
>
> And the Identity Server doesn't have a Version service deployed by
> default.
>
> That's why I was looking for a standard URL for IS.
>
> On Thu, Aug 2, 2018 at 4:13 PM Harsha Thirimanna  wrote:
>
>> https://docs.wso2.com/display/AM210/Basic+Health+Checks
>>
>> *Harsha Thirimanna*
>> *Associate Tech Lead | WSO2*
>>
>> Email: hars...@wso2.com
>> Mob: +94715186770
>> Blog: http://harshathirimanna.blogspot.com/
>> Twitter: http://twitter.com/harshathirimann
>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>> rsha-thirimanna/10/ab8/122
>> 
>>
>> On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando 
>> wrote:
>>
>>>
>>> Load balancers use health check URL to see whether a service is live.
>>>
>>> In this case, I'm looking for a URL served via the servlet port.
>>>
>>> [1] is an option. Do we have a standard URL?
>>>
>>>
>>> [1] - https://localhost:9443/carbon/admin/login.jsp
>>>
>>> --
>>> *Best Regards*
>>>
>>> *Rushmin Fernando*
>>> *Technical Lead*
>>>
>>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>>
>>> mobile : +94775615183
>>>
>>>
>>>
>>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Ruwan Abeykoon
Hi all,
Fetching ServerAdmin or login.jsp is a workaround, works for most practical
purposes.

I think we need to add a health check REST endpoint to IS, and whitelist it
with some filter (IP, Authz header, etc). This is essential as we are
moving to support containers and k8s.
We need to monitor our DB pool usage, memory/CPU usage and make the health
check return value(s) which will allow the control plane to decide when to
re-spawn the IS.

Cheers,
Ruwan


On Thu, Aug 2, 2018 at 1:57 PM Harsha Thirimanna  wrote:

> We have this endpoint
> https://localhost:9443/services/ServerAdmin?wsdl
>
>
>
>
> *Harsha Thirimanna*
> *Associate Tech Lead | WSO2*
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in:
> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Aug 2, 2018 at 6:18 PM, Rushmin Fernando  wrote:
>
>> Thank you, Harsha. This doc says either to connect to the port or use the
>> Version service.
>>
>> Some load balancers expect to have an HTTP URL which returns a *200 OK*.
>> (So the port scenario won't work)
>>
>> And the Identity Server doesn't have a Version service deployed by
>> default.
>>
>> That's why I was looking for a standard URL for IS.
>>
>> On Thu, Aug 2, 2018 at 4:13 PM Harsha Thirimanna 
>> wrote:
>>
>>> https://docs.wso2.com/display/AM210/Basic+Health+Checks
>>>
>>> *Harsha Thirimanna*
>>> *Associate Tech Lead | WSO2*
>>>
>>> Email: hars...@wso2.com
>>> Mob: +94715186770
>>> Blog: http://harshathirimanna.blogspot.com/
>>> Twitter: http://twitter.com/harshathirimann
>>> Linked-In: linked-in:
>>> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> 
>>>
>>> On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando 
>>> wrote:
>>>

 Load balancers use health check URL to see whether a service is live.

 In this case, I'm looking for a URL served via the servlet port.

 [1] is an option. Do we have a standard URL?


 [1] - https://localhost:9443/carbon/admin/login.jsp

 --
 *Best Regards*

 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc.  - Lean . Enterprise . Middleware

 mobile : +94775615183



>>>
>>
>> --
>> *Best Regards*
>>
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>
>> mobile : +94775615183
>>
>>
>>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 'ORA-00972: identifier is too long' thrown when running IS Integration Tests with Oracle 12.1.0.2

2018-08-02 Thread Maneesha Wijesekara
Thanks a lot Omindu. I will use the updated scripts to run IS integration
tests.

Regards
Maneesha

On Wed, Aug 1, 2018 at 8:54 PM, Omindu Rathnaweera  wrote:

> Hi Maneesha,
>
> Fixed this in the master branch with [1] and will be added in the next
> release. Can you use the new script [2] in your test for the time being ?
>
> [1] - https://github.com/wso2/carbon-identity-framework/pull/1772
> [2] - https://github.com/wso2/carbon-identity-framework/
> blob/master/features/identity-core/org.wso2.carbon.identity.
> core.server.feature/resources/dbscripts/oracle.sql
>
> Regards,
> Omindu.
>
>
> On Wed, Aug 1, 2018 at 1:02 PM Maneesha Wijesekara 
> wrote:
>
>> Hi All,
>>
>> I'm trying to run IS integration tests with latest Identity Server 5.7 M5
>> pack against Oracle 12.1.0.2 as the Database. But the integration tests
>> were failing due to 'ORA-00972: identifier is too long' with following
>> stacktrace.
>>
>> This happens when try to create an index which has more than 30
>> characters as the name with Oracle. According to [1], this doesn't caused
>> with Oracle 12.2 or higher versions but for the lower versions it does. Do
>> we have any workaround or a fix for this ? Really appreciate any inputs on
>> this.
>>
>> [2018-07-31 16:13:13,847] ERROR 
>> {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent}
>> - Error occurred while populating identity configuration properties INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> org.wso2.carbon.identity.base.IdentityRuntimeException: 
>> java.sql.SQLSyntaxErrorException:
>> ORA-00972: identifier is too long INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.wso2.carbon.identity.base.IdentityRuntimeException.error(
>> IdentityRuntimeException.java:71) INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - at
>> org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.
>> executeSQL(IdentityDBInitializer.java:351) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.
>> executeSQLScript(IdentityDBInitializer.java:264) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.
>> createIdentityDatabase(IdentityDBInitializer.java:141) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.
>> initializeDatabase(JDBCPersistenceManager.java:112) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.
>> activate(IdentityCoreServiceComponent.java:133) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>> NativeMethodAccessorImpl.java:62) INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - at sun.reflect.
>> DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
>> - at java.lang.reflect.Method.invoke(Method.java:498) INFO
>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> at org.eclipse.equinox.internal.ds.model.ServiceComponent.
>> activate(ServiceComponent.java:235) INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
>> activate(ServiceComponentProp.java:146) INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.
>> build(ServiceComponentProp.java:345) INFO [org.wso2.carbon.automation.
>> extensions.servers.utils.ServerLogReader] - at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
>> - at 
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>> INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
>> - at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>> INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
>> - at 
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>> INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
>> - at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.
>> serviceChanged(FilteredServiceListener.java:107) INFO
>> [org.w

Re: [Dev] What is the standard health check URL for Identity Server ?

2018-08-02 Thread Harsha Thirimanna
On Thu, Aug 2, 2018, 7:02 PM Ruwan Abeykoon  wrote:

> Hi all,
> Fetching ServerAdmin or login.jsp is a workaround, works for most
> practical purposes.
>
> I think we need to add a health check REST endpoint to IS, and whitelist
> it with some filter (IP, Authz header, etc). This is essential as we are
> moving to support containers and k8s.
> We need to monitor our DB pool usage, memory/CPU usage and make the health
> check return value(s) which will allow the control plane to decide when to
> re-spawn the IS.
>

+1

>
> Cheers,
> Ruwan
>
>
> On Thu, Aug 2, 2018 at 1:57 PM Harsha Thirimanna  wrote:
>
>> We have this endpoint
>> https://localhost:9443/services/ServerAdmin?wsdl
>>
>>
>>
>>
>> *Harsha Thirimanna*
>> *Associate Tech Lead | WSO2*
>>
>> Email: hars...@wso2.com
>> Mob: +94715186770
>> Blog: http://harshathirimanna.blogspot.com/
>> Twitter: http://twitter.com/harshathirimann
>> Linked-In: linked-in:
>> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> 
>>
>> On Thu, Aug 2, 2018 at 6:18 PM, Rushmin Fernando 
>> wrote:
>>
>>> Thank you, Harsha. This doc says either to connect to the port or use
>>> the Version service.
>>>
>>> Some load balancers expect to have an HTTP URL which returns a *200 OK*.
>>> (So the port scenario won't work)
>>>
>>> And the Identity Server doesn't have a Version service deployed by
>>> default.
>>>
>>> That's why I was looking for a standard URL for IS.
>>>
>>> On Thu, Aug 2, 2018 at 4:13 PM Harsha Thirimanna 
>>> wrote:
>>>
 https://docs.wso2.com/display/AM210/Basic+Health+Checks

 *Harsha Thirimanna*
 *Associate Tech Lead | WSO2*

 Email: hars...@wso2.com
 Mob: +94715186770
 Blog: http://harshathirimanna.blogspot.com/
 Twitter: http://twitter.com/harshathirimann
 Linked-In: linked-in:
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 

 On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando 
 wrote:

>
> Load balancers use health check URL to see whether a service is live.
>
> In this case, I'm looking for a URL served via the servlet port.
>
> [1] is an option. Do we have a standard URL?
>
>
> [1] - https://localhost:9443/carbon/admin/login.jsp
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
>

>>>
>>> --
>>> *Best Regards*
>>>
>>> *Rushmin Fernando*
>>> *Technical Lead*
>>>
>>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>>
>>> mobile : +94775615183
>>>
>>>
>>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
>
> *Ruwan Abeykoon*
> *Associate Director/Architect**,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BPMN-Explorer can not accessible for tenant

2018-08-02 Thread Kavitha Subramaniyam
Hi all,

Using EI-6.1.1-business-profile.

1. Access the explorer for tenant after configured according to [1], and
using the url "https://localhost:9445/t/test.com/jaggeryapps/bpmn-explorer/";
is not working. Getting 405.

Anything more needs to be configured?


2. Rest request for tenant user is not valid. Rest API doc[2] doesn't have
any details on that.
e.g.





Appreciate any input on this..

[1]
https://docs.wso2.com/display/EI611/Managing+BPMN+Artifacts#ManagingBPMNArtifacts-ManagingBPMNartifactsusingtheBPMNExplorer

[2] https://docs.wso2.com/display/EI611/BPMN+REST+API

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


Re: [Dev] Message Broker support for partitions

2018-08-02 Thread Sriskandarajah Suhothayan
Can't we mimic multiple topics e.g. foo_1, foo_2, etc as petitions of foo?

On Thu, Aug 2, 2018 at 6:53 PM Ketharan Suntharam  wrote:

> Hi all,
>  I am working on replacing Kafka with WSO2 MB in the fully distributed
> deployment pattern of Stream Processor.
>  When it comes to handling the transport strategy FIELD_GROUPING,
> Kafka uses partition keys to make sure that data from same endpoint eg:
> device_id always consumed by same consumer even though multiple partitions
> used. Kafka always add the data from same id, to same partition where a
> single consumer subscribed to.
>
> How can we achieve the support for partitions using WSO2 MB?
>


-- 

*S. Suhothayan*
Director
*WSO2 Inc. *
http://wso2.com  


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan
 | linked-in:
http://lk.linkedin.com/in/suhothayan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPMN-Explorer can not accessible for tenant

2018-08-02 Thread Milinda Perera
Hi Kavitha,

Did you follow "Configuring BPMN Explorer for a tenant account" step in [1]
?

[1] https://docs.wso2.com/display/EI610/Using+the+BPMN+Explorer

Thanks,
Milinda

On Thu, Aug 2, 2018 at 6:58 PM, Kavitha Subramaniyam 
wrote:

> Hi all,
>
> Using EI-6.1.1-business-profile.
>
> 1. Access the explorer for tenant after configured according to [1], and
> using the url "https://localhost:9445/t/test.com/jaggeryapps/bpmn-
> explorer/" is not working. Getting 405.
>
> Anything more needs to be configured?
>
>
> 2. Rest request for tenant user is not valid. Rest API doc[2] doesn't have
> any details on that.
> e.g.
>
>
>
>
>
> Appreciate any input on this..
>
> [1] https://docs.wso2.com/display/EI611/Managing+BPMN+Artifacts#
> ManagingBPMNArtifacts-ManagingBPMNartifactsusingtheBPMNExplorer
>
> [2] https://docs.wso2.com/display/EI611/BPMN+REST+API
>
> Thanks,
> Kavitha
>
>
>


-- 
Milinda Perera
Senior Software Engineer;
WSO2 Inc. http://wso2.com ,
Mobile: (+94) 714 115 032
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPMN-Explorer can not accessible for tenant

2018-08-02 Thread Kavitha Subramaniyam
Yes, done all 5 steps from this section.

On Fri, Aug 3, 2018 at 6:30 AM, Milinda Perera  wrote:

> Hi Kavitha,
>
> Did you follow "Configuring BPMN Explorer for a tenant account" step in
> [1] ?
>
> [1] https://docs.wso2.com/display/EI610/Using+the+BPMN+Explorer
>
> Thanks,
> Milinda
>
> On Thu, Aug 2, 2018 at 6:58 PM, Kavitha Subramaniyam 
> wrote:
>
>> Hi all,
>>
>> Using EI-6.1.1-business-profile.
>>
>> 1. Access the explorer for tenant after configured according to [1], and
>> using the url "https://localhost:9445/t/test
>> .com/jaggeryapps/bpmn-explorer/" is not working. Getting 405.
>>
>> Anything more needs to be configured?
>>
>>
>> 2. Rest request for tenant user is not valid. Rest API doc[2] doesn't
>> have any details on that.
>> e.g.
>>
>>
>>
>>
>>
>> Appreciate any input on this..
>>
>> [1] https://docs.wso2.com/display/EI611/Managing+BPMN+Artifacts#
>> ManagingBPMNArtifacts-ManagingBPMNartifactsusingtheBPMNExplorer
>>
>> [2] https://docs.wso2.com/display/EI611/BPMN+REST+API
>>
>> Thanks,
>> Kavitha
>>
>>
>>
>
>
> --
> Milinda Perera
> Senior Software Engineer;
> WSO2 Inc. http://wso2.com ,
> Mobile: (+94) 714 115 032
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPMN-Explorer can not accessible for tenant

2018-08-02 Thread Vinod Kavinda
Hi Kavitha,
I and Milinda had a look at this issue.
For the login issue, please check whether the user "kavi...@test.com" has
the login permission.

For the second query, you are sending your request to the super tenant
domain with a tenant user id. If you send the request to the "test.com"
tenant URL, it will give the correct response.

Actually, this request should have resulted in an authentication failure.
But in the code level, we have not considered the tenant domain in the
request URL. It's better to improve this authentication logic. Please
report an issue for tracking.

Thanks,
Vinod

On Fri, Aug 3, 2018 at 9:01 AM Kavitha Subramaniyam 
wrote:

> Yes, done all 5 steps from this section.
>
> On Fri, Aug 3, 2018 at 6:30 AM, Milinda Perera  wrote:
>
>> Hi Kavitha,
>>
>> Did you follow "Configuring BPMN Explorer for a tenant account" step in
>> [1] ?
>>
>> [1] https://docs.wso2.com/display/EI610/Using+the+BPMN+Explorer
>>
>> Thanks,
>> Milinda
>>
>> On Thu, Aug 2, 2018 at 6:58 PM, Kavitha Subramaniyam 
>> wrote:
>>
>>> Hi all,
>>>
>>> Using EI-6.1.1-business-profile.
>>>
>>> 1. Access the explorer for tenant after configured according to [1], and
>>> using the url "
>>> https://localhost:9445/t/test.com/jaggeryapps/bpmn-explorer/"; is not
>>> working. Getting 405.
>>>
>>> Anything more needs to be configured?
>>>
>>>
>>> 2. Rest request for tenant user is not valid. Rest API doc[2] doesn't
>>> have any details on that.
>>> e.g.
>>>
>>>
>>>
>>>
>>>
>>> Appreciate any input on this..
>>>
>>> [1]
>>> https://docs.wso2.com/display/EI611/Managing+BPMN+Artifacts#ManagingBPMNArtifacts-ManagingBPMNartifactsusingtheBPMNExplorer
>>>
>>> [2] https://docs.wso2.com/display/EI611/BPMN+REST+API
>>>
>>> Thanks,
>>> Kavitha
>>>
>>>
>>>
>>
>>
>> --
>> Milinda Perera
>> Senior Software Engineer;
>> WSO2 Inc. http://wso2.com ,
>> Mobile: (+94) 714 115 032
>>
>>
>

-- 
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