wso2

wso2 API Manager role permissions to delete an API

我的未来我决定 提交于 2020-01-05 07:07:35
问题 I have set a Role permission to allow a user to create an API in the API Publisher. I called the role "Creator". I set permissions for Manager->API->Create. Is there a permission setting to prevent this role from Deleting/Removing a created API (theirs or someone else's)? 回答1: Currently whoever have the Create permission can delete the API, if that API don't have any subscription. Do you bother an API from deleting it when it doesn't have any subscription? If an API have subscriptions, then

WSO2 AS JDNI lookup

谁说我不能喝 提交于 2020-01-05 05:50:53
问题 In WSO2 AS 5.0.1 I deploy a webapp which should use a datasource. I can configure the datasource in tomcat-server.xml or any other place in the WAR, but is it possible to use a datasource that is configured in the Carbon Management Console through JNDI? Steps taken: Configure datasource in Management Console, export it as JNDI as jdbc/platform ResourceLink in META-INF/context.xml to link the global resource: < ResourceLink name="jdbc/platform" global="jdbc/platform" type="javax.sql.DataSource

unable to start ballerina as gateway

强颜欢笑 提交于 2020-01-05 04:41:30
问题 I've downloaded the WSO2-ApiManager-3.0.0-m2 release and I'm trying to invoke an api via the ballerina gateway(version 0.88). When I'm trying to start ballerina with: bin/ballerina run service deployment/org/wso2/apim/ it gives me ballerina: no such file or directory: deployment/org/wso2/apim If I manually create that directory in $gwHome I get ballerina: no bal files in the package: deployment/org/wso2/apim How do I start the ballerina gateway? 回答1: WSO2-ApiManager-3.0.0-m2 works with

Can't get user information after login successfully in WSO2 Identity server

感情迁移 提交于 2020-01-05 04:22:08
问题 After login successfully into WSO IS with service URL (https://localhost:9443/services/") I tried to get User Information as below : try { UserRealm realm = WSRealmBuilder.createWSRealm(serviceURL, authCookie, configCtx); UserStoreManager storeManager = realm.getUserStoreManager(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } But I had exception relating to this as below image. I can't get any info. I tried and found out that the main error is I can't

Importing/Migrating an API from Local Repo/ Environment to Other Environment

不打扰是莪最后的温柔 提交于 2020-01-05 04:18:11
问题 I tried to export/import an API from one environment to other environment, where as Exporting is working fine but facing issues while Importing an API from Local/Environment I have used api-import-export-2.6.0.war with APIM-2.6.0, Command used to Import api: apimcli import-api -f G:/Petstore_1.0.0.zip -e dev Error importing API Reason: C:\Users\RAVIKU~1\AppData\Local\Temp\apim130994779\Petstore_1.0.0\Meta-information\api was not found as a YAML or JSON Exit status 1 回答1: Did you try giving

WSO2 IOTserver: multiple errors during startup, cannot register android API's

梦想的初衷 提交于 2020-01-05 03:54:28
问题 I'm trying to start WSO2 IoT server 3.3.0 on VM running Windows 10, jdk 8.0.191. During startup I have multiple errors on almost every android API. Errors like that: [2018-12-11 15:11:27,156] [IoT-Core] ERROR - {org.wso2.carbon.apimgt.rest.api.publisher.impl.ApisApiServiceImpl} Error while adding new API : admin-Windows Binary Security Token Service-1.0.0 - Scope 'perm:windows:enroll' is already used by another API. org.wso2.carbon.apimgt.api.APIManagementException: Scope 'perm:windows:enroll

Automated deployment of DSS datasource configuration

谁说胖子不能爱 提交于 2020-01-05 03:36:16
问题 We have a "mavenized" project with several containers (wso2esb, wso2dss, tomcat) and many components to deploy to them. We are trying to find a way to deploy the datasource configuration for all our DSS services but I notice it is stored in its own DB (H2). Do you know if there is any way to declare something like a XML file in order to create the datasource in the DSS in an automated way? I tried to see the documentation but did not find anything useful for automatic deployment (meaning

WSO2 ESB Mediation Sequence vs Proxy Service

大兔子大兔子 提交于 2020-01-04 13:48:27
问题 WSO2 ESB has Mediation Sequences and Proxy Services for implementing EAI patterns. I am currently new and couldn't distinguish when to use a Mediation Sequence or Proxy Service. Both seem to work well in most of the use cases. When should I use each? 回答1: Sequence (Mediation Sequence) is a sequence of Mediators. A message comes into the sequence, passes through the each mediator, in the order they are located in the sequence. So a Mediation Sequence is the generic building material of WSO2

WSO2 Identity Server JWT Access token

喜夏-厌秋 提交于 2020-01-04 11:06:58
问题 I'm trying to receive a JWT access_token from WSO2 Identity Server when logging in with password grant_type. But I can't find any way to configure this. When I sign in I get a guid as access_token. I found this, but this is the way to get the access_token guid when you have a JWT: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type Also I enable JWT Token generation using this tutorial, but I'm still receiving the guid: https://docs.wso2.com/display/IS510/JWT+Token

WSO2 Identity Server JWT Access token

こ雲淡風輕ζ 提交于 2020-01-04 11:03:04
问题 I'm trying to receive a JWT access_token from WSO2 Identity Server when logging in with password grant_type. But I can't find any way to configure this. When I sign in I get a guid as access_token. I found this, but this is the way to get the access_token guid when you have a JWT: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type Also I enable JWT Token generation using this tutorial, but I'm still receiving the guid: https://docs.wso2.com/display/IS510/JWT+Token