wso2

Programmatically add custom handler in WSO2 API Manager

白昼怎懂夜的黑 提交于 2019-12-07 10:17:09
问题 I create and subscribe new APIs through an automated process that uses WSO2 API Manager's Publisher and Store HTTP APIs respectively. I have custom handlers that I then map to my APIs by editing the XML files in <APIM_HOME>/repository/deployment/server/synapse-configs/default/api . Is there a way to programmatically map the handlers to the newly created APIs so that I don't have to edit the XML manually? In other words, an API or other method to see the current handlers for an API, and add

WSO2 API Manager, invalid. unable to find valid certification path to requested target

こ雲淡風輕ζ 提交于 2019-12-07 08:00:56
问题 I have launched WSO2 API Manager locally. I'm trying to add API endpoint with https connecttion. It shows me that kind of error. It shows me Invalid. unable to find valid certification path to requested target error message. Then I have downloaded certificate, which is cer file from website and in carbon page I have imported certificate to wso2carbon keystore: After that I restart my WSO2 API Manager and try to test this endpoint and it still throws me that error. What did I miss? Console

WSO2 API Manager Clustering configuration

混江龙づ霸主 提交于 2019-12-07 06:47:58
问题 I'm trying to install and configure a highly availability setup for the WSO2 API Manager. I've been reading through this document: http://docs.wso2.org/wiki/display/Cluster/Clustering+API+Manager and in there it explains to break up the 4 components of the application into separate folders and that these 4 components can run on a single server. I'm not sure why this is needed. All I really want to do is take 2 servers, install the full application on both of them (without breaking the

Refresh token returns invalid grant type

只谈情不闲聊 提交于 2019-12-07 04:51:31
问题 I'm trying to refresh the access token (based on https://docs.wso2.com/display/IS510/Refresh+Token+Grant) obtained from wso2 identity server; the server returns an invalid grant type response { "error": "invalid_grant", "error_description": "Provided Authorization Grant is invalid" } The access token is obtained using the "authorization code" grant type with the openid scope. I've turned on the logging on the server; however, I'm not able to determine the reason for the invalid grant type

wso2 svn update - E205011: Failure occurred processing one or more externals definitions

[亡魂溺海] 提交于 2019-12-07 03:57:11
问题 I am trying to svn update the 4.0.0 platform branch, but repeatedly hit the error: E205011: Failure occurred processing one or more externals definitions My svn info output: C:\wso2\src\wso2carbon_platform_branch_400>svn info Path: . Working Copy Root Path: /cygdrive/c/wso2/src/wso2carbon_platform_branch_400 URL: https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0 Relative URL: ^/carbon/platform/branches/4.0.0 Repository Root: https://svn.wso2.org/repos/wso2 Repository UUID:

WSO2 Gadget server

旧时模样 提交于 2019-12-07 02:53:28
I'm evaluating WSO2 platform for further use. I appreciate a lot this platform's techinacl pillars. I see that links to Gadegt Server in WSO2 site redirect to User Engagement Server. Does it mean that Gadget Server will be closed and subsituted by User Engagement Server? Thanks a lot for your attention. Pino Yes, WSO2 Gadget Server is deprecated now. That's why Gadget Server links are redirected to WSO2 User Engagement Server. WSO2 UES is a successor to Gadget Server. You can check out WSO2 User Engagement Server and check docs here . Find the story behind WSO2 UES here[1]. [1] http://www

WSO2 How to set VFS to a scheduled task

冷暖自知 提交于 2019-12-07 00:58:31
In wso2, VFS running default 5 minutes. I think this is bad for performance. I want VFS running when server is not busy. For example, maybe at 02:00 no body request, then VFS can work. I tried add scheduled task, but it no use. Anyone can tell me how to do this? Thank you very much. keheliya I think your question is related to WSO2 How to set scheduled task? and https://stackoverflow.com/questions/10537190/how-to-vfs-service-exposed-as-a-web-service questions. Seems you want to do the VFS polling on a particular time of the day (scheduled to a non-peak time) or via a web service. But

How can i get HEADER in my ESB i am using following property, its not not working

我是研究僧i 提交于 2019-12-06 21:09:30
i am getting the data from mobile client they are sending data in JSON as well as sending some values as HEADER to WSO2ESB i am getting normal values using this property <property name="asset" expression="//asset/text()" scope="default"/> but how can i get HEADER in my ESB i am using this property its not not working <property name="username" expression="get-property('transport', 'Accept')"/> how it will work will you revert me as soon as Thanks in advance if what you are trying to access is 'username', the configuration should be: <property name="some_name_here" expression="get-property(

wso2 API manager for authorsation and authentication of a web application

孤街浪徒 提交于 2019-12-06 20:52:31
I have a web app where front end layer has a angular based UI.It has both public pages and other private pages which are accessible to logged in users and it depends on roles of the logged in users as well My server based application is a java based rest service api . How can i use wso2 for handle user authenticaiton and role based authorsation.i would like to have an additional layer of api security depending on the role of the user as well. can someone explain the best architecture for this in wso2? if i use wso2 api manager , how can i handle login's of the user and how to relate api access

WSO2 MB start-up Error

妖精的绣舞 提交于 2019-12-06 20:51:36
I have download WSO2 MB 2.1.0 and run it with the built-in Cassandra server in Windows 7 64bit. But the start-up procedure failed with the following error message. [2013-12-14 11:27:03,371] ERROR {org.apache.cassandra.service.AbstractCassandraD aemon} - Exception in thread Thread[Thread-21,5,main] java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor