Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.2.0 RC2

2020-08-08 Thread Rukshan Premathunga
Tested Followings: - Verified APIM Distributed deployment with HA - Tested Analytics worker/dashboard HA deployment - Tested APIs access and throttling with apiKey - Tested Analytics with all the API types - Tested Analytics dashboard manage [+] Stable - go ahead and release On S

Re: [Dev] Aggregation timezone not work with dashbord profile.

2020-07-12 Thread Rukshan Premathunga
3, 2020 at 10:04 AM Rukshan Premathunga > wrote: > >> Hi All, >> >> Any update on this? >> >> Thanks and Regards >> >> On Fri, Jul 10, 2020 at 5:02 PM Rukshan Premathunga >> wrote: >> >>> Hi All, >>> >>> We

Re: [Dev] Aggregation timezone not work with dashbord profile.

2020-07-12 Thread Rukshan Premathunga
Hi All, Any update on this? Thanks and Regards On Fri, Jul 10, 2020 at 5:02 PM Rukshan Premathunga wrote: > Hi All, > > We had an issue with dashboards widgets in past releases, it uses the GMT > timezone to calculate siddhi windows. I found this fixed[1] but looks like > it

[Dev] Aggregation timezone not work with dashbord profile.

2020-07-10 Thread Rukshan Premathunga
Hi All, We had an issue with dashboards widgets in past releases, it uses the GMT timezone to calculate siddhi windows. I found this fixed[1] but looks like it working for the worker if we use rest API. But in the dashboard runtime when widgets are loading using WS calls, it still returns time in

Re: [Dev] Few issues identify in the Siddhi Queries

2020-06-12 Thread Rukshan Premathunga
a nother stream and then use that stream. But this does not break any > functionality. > Yes, one workaround is to define another stream and use new alias there. So in siddhi, that's looks fine. We actually face this issue in Store REST API. So either we have to change the siddhi apps o

[Dev] Few issues identify in the Siddhi Queries

2020-06-11 Thread Rukshan Premathunga
Hi All, Noticed following issue in siddhi 1. Aggregated functions like avg(), max(), sum() etc gives casting error. Query: from ApiExeTime within 0L, 2591125111000L per 'minutes' select apiName, max(responseTime) as time group by apiName Error: "message": "Cannot query: Error executing 'store_s

Re: [Dev] WSO2 Analytics with ansible in a distributed environment

2020-05-13 Thread Rukshan Premathunga
Hi Érico, When you access the analytics dashboard, do you use a load balancer URL? your intention to access both servers without a load balancer? ex: https://:9643/analytics-dashboard https://:9643/analytics-dashboard if so, you can register multiple callback URLs for the OAuth application("sp_an

Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.1.0 RC3

2020-03-22 Thread Rukshan Premathunga
Hi All, Tested followings. - Tested followings in an APIM fully distributed system - Verify profile optimization script - Verify profile configuration - Test on Open JDK 11 - Verify LB and Reverse proxy config - Tested secondary user stores - Tested APIM and APIM

Re: [Dev] [Architecture] [Vote] Release of WSO2 API Manager 3.1.0 RC1

2020-03-14 Thread Rukshan Premathunga
Tested Followings - Product profiles and distributed deployment - APIM basic flow and analytics - Open JDK 11 [+] Stable: go ahead and release. On Fri, Mar 13, 2020 at 12:22 PM Krishan Wijesena wrote: > Hi all, > > We are pleased to announce the first release candidate of WSO2 API Ma

[Dev] Scaling APIM Analytics with data partitioning

2020-01-02 Thread Rukshan Premathunga
Hi All, Due to the limitation of APIM analytics scaling, we were able to come up with a solution based on the discussion we had in [1]. To scale APIM analytics, which has configured alert, required following deployment. Deployment is partitioning by analytics data, and we partitioned data by tenan

[Dev] APIM Analytics datasource config minimise

2019-12-15 Thread Rukshan Premathunga
Hi All, API Analytics currently has the following data source configs. 1. worker - WSO2_METRICS_DB - WSO2_PERMISSIONS_DB - GEO_LOCATION_DATA - APIM_ANALYTICS_DB - WSO2AM_MGW_ANALYTICS_DB - AM_DB - WSO2_CLUSTER_DB 2. dashboard - WSO2_DASHBOA

[Dev] WSO2 Committers += Silmy Hasan

2019-12-12 Thread Rukshan Premathunga
Hi All, It's my pleasure to announce Silmy Hasan as a WSO2 Committer. He has been a valuable contributor to the APIM team. In recognition of his contribution, dedication, and commitment he has been voted as a WSO2 committer. Congratulations Silmy and keep up the good work. Thanks and Regards -

[Dev] Jaggey level logging seems not working in AM 3.0.0

2019-12-10 Thread Rukshan Premathunga
Hi All, It looks like jaggery logging not working in APIM 3.0.0. Due to that important information may missing and could be an issue when troubleshooting APIM. Did anyone encounter this issue? Thanks and Regards -- Rukshan C. Premathunga | Associate Technical Lead | WSO2 Inc. (m) +94711822074 |

Re: [Dev] [Architecture] Configuration for SHARD_ID column length in siddhi

2019-11-25 Thread Rukshan Premathunga
o have feature is to set a single character >>> encoding by default for the tables when siddhi creates them on the >>> database. The primary key length issue is mostly due to having collations >>> which take more bytes to represent a single character. If we can default to &g

[Dev] Configuration for SHARD_ID column length in siddhi

2019-11-22 Thread Rukshan Premathunga
Hi All, When we configure partitionById in SP, siddhi automatically adds a SHARD_ID column to all the aggregated tables in RDBMS. But we are having a "too long key issue" in the database. As a solution, we need to properly set the column length for each attribute in the aggregated event stream. L

Re: [Dev] Regarding api access with access token

2019-11-08 Thread Rukshan Premathunga
Hi Priyadarshini, Can you please explain your use case again? Your requirement is to generate an access token and validate the access token in your API invocation path at the Gateway? Thanks & Regards On Thu, Nov 7, 2019 at 4:15 PM Priyadarshini Punjabi < priyadarshinipunj...@gmail.com> wrote:

Re: [Dev] OAS 3 as default API definition

2019-08-13 Thread Rukshan Premathunga
tween 2.0 to 3.0 then definitely +1 for this. >>> >>> Thanks >>> >>> On Mon, Aug 12, 2019 at 12:08 PM Malintha Amarasinghe < >>> malint...@wso2.com> wrote: >>> >>>> >>>> >>>> On Mon, Aug 12, 2019 at 11:21 AM Ruks

Re: [Dev] OAS 3 as default API definition

2019-08-11 Thread Rukshan Premathunga
On Mon, Aug 12, 2019 at 11:16 AM Thilini Shanika wrote: > > > On Mon, Aug 12, 2019 at 10:53 AM Rukshan Premathunga > wrote: > >> Hi All, >> >> ATM generated API definition is in swagger 2. Can we make it OAS 3 for >> the new APIs? >> > Yes, we c

[Dev] OAS 3 as default API definition

2019-08-11 Thread Rukshan Premathunga
Hi All, ATM generated API definition is in swagger 2. Can we make it OAS 3 for the new APIs? When new API is created from an OAS 2 or 3, we can create from the same imported version. Existing API also can be kept as an existing version. Thanks and Regards -- Rukshan C. Premathunga | Associate T

Re: [Dev] Transfer API manager 2.1 swagger.json files to API manager 2.6

2019-05-27 Thread Rukshan Premathunga
Hi Bernard, You are not performing 2.1.0 to 2.6.0 migration on your existing environment? And only try to import the APIs from the 2.1.0? I guess this should be work. But is it possible to share the exception you faced? If possible can you please share the swagger.json you get from APIM 2.1.0? Th

[Dev] Toml based configuration, merge default values of multiple components

2019-05-01 Thread Rukshan Premathunga
Hi All, According to the new configuration model, if there are configurations in a component it needs to provide the template for that configurations. Also, it needs to provide default values as a JSON. But when we combine all this component and build a product we need to merge all these default v

Re: [Dev] Where to find the code for publisher?

2019-04-16 Thread Rukshan Premathunga
Hi Arun, you can find the APIM publisher jaggery app code from here[1]. Which is based on the jaggery and you can refer the related documentation for how jaggery works in server side and client side. But APIM 2.6.0 and privious versions are based on jaggery and next APIM versions are based on reac

Re: [Dev] propertiesMap in Siddhi Query in API manager

2019-04-11 Thread Rukshan Premathunga
Hi Vanji, Property map contains the additional properties we can include send to TM. We can include headers, query parameters, the claims of backend JWT, etc(You need to enable this in the api-manager.xml). Also, it can contain client IP and Message size. Please check the sample data. properties:

Re: [Dev] Remove unused subscription throttle policies when creating Micro gw project

2019-03-14 Thread Rukshan Premathunga
On Thu, Mar 14, 2019 at 4:24 PM Nuwan Dias wrote: > Just thinking out loud, is there by any chance a possibility to run just 1 > forever for any number of policies? Even if that means a redesign of the > policies? > Still, we don't know the logic behind the forever syntax. If it starts a new thre

Re: [Dev] Remove unused subscription throttle policies when creating Micro gw project

2019-03-14 Thread Rukshan Premathunga
On Thu, Mar 14, 2019 at 2:23 PM Rajith Roshan wrote: > Hi all, > Currently in microgateway(MGW) when we create the project directory we > fetch all the subscription and application policies and we generate the > source for each policy. In each policy there is ever running loop > (forever), in bac

[Dev] Review and merge PR

2018-11-06 Thread Rukshan Premathunga
Hi All, Can you please review and merge following PR[1]. [1] https://github.com/wso2/carbon-business-messaging/pull/660 Thanks and Regards -- Rukshan Chathuranga. WSO2, Inc. +94711822074 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailma

[Dev] Review and merge following PRs

2018-11-05 Thread Rukshan Premathunga
Hi All, Can you please review and merge the following PRs. Which contain 3rd party dependency upgrade fixes including solr and lucence. [1] https://github.com/wso2/carbon-registry/pull/292 [2] https://github.com/wso2/carbon-governance/pull/315 Thanks and Regards -- Rukshan Chathuranga. WSO2, I

Re: [Dev] Upgrade solr to latest in registry

2018-10-31 Thread Rukshan Premathunga
check this further and will share the PR to relevent repos. Thanks and Regards On Mon, Oct 29, 2018 at 2:28 PM Harsha Kumara wrote: > > > On Mon, Oct 29, 2018 at 2:16 PM Rukshan Premathunga > wrote: > >> Hi All, >> >> In the Q4 dependency upgrade effort, we

[Dev] WSO2 API Manager 3.0.0-M30 Released!

2018-10-12 Thread Rukshan Premathunga
The WSO2 API Manager team is pleased to announce the release of API Manager 3.0.0-M30. It's now available to download. ## *Distribution* - [wso2apim-3.0.0-m30]( https://github.com/wso2/product-apim/releases/download/v3.0.0-m30/wso2apim- 3.0.0-m30.zip) ## *Documentation* - [WSO2 API Manager 3.

Re: [Dev] How to transfer API manager to a new system

2018-10-11 Thread Rukshan Premathunga
Hi Bernard, On Thu, Oct 11, 2018 at 8:44 PM Bernard Paris wrote: > Hello, > > we have an API manager running 2.1.0 version ; we want to replace this > server and install a brandnew API manager with a 2 nodes cluster > (active/active) running 2.5.0 (new servers and new DBs). > The question is

Re: [Dev] [APIM] how to route all the traffic from a gateway to another gateway ?

2018-09-27 Thread Rukshan Premathunga
Hi Youcef, On Fri, Sep 28, 2018 at 2:49 AM Youcef HILEM wrote: > Hi, > Can you help me please, I can't found how to route all the traffic from a > (DMZ, région one, ...) gateway to (internal, region two, ...) gateway. > > Issue : https://github.com/wso2/product-apim/issues/3486 > > Sample 1 :

Re: [Dev] CORS error in public server

2018-08-01 Thread Rukshan Premathunga
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

Re: [Dev] [Architecture] [VOTE] Release of WSO2 API Manager Microgateway Toolkit 2.5.0 RC2

2018-07-09 Thread Rukshan Premathunga
Test dynamic endpoints and endpoint credentials import as command >>>line parameters and system variables >>>- Test gateway background start scenario >>> >>> >>> [+] Stable - go ahead & release. >>> >>> Regards, &

Re: [Dev] [Architecture] [VOTE] Release of WSO2 API Manager Microgateway Toolkit 2.5.0 RC2

2018-07-07 Thread Rukshan Premathunga
Hi All, Tested the below - Tested Backend JWT - Tested production and sandbox endpoints - Tested in tenant space - Test application and subscription throttling with oauth2 and jwt token - Test throttling in unauthentication mode [+] Stable - go ahead & release. Thanks and Regards

[Dev] [VOTE] Release of WSO2 API Manager Microgateway Toolkit 2.5.0 RC2

2018-07-06 Thread Rukshan Premathunga
Hi All, We are pleased to announce the second release candidate of WSO2 API Manager Microgateway Toolkit 2.5.0. This release fixes the following issues. - Fixes: product-microgateway Distribu

Re: [Dev] Error while Building Project for Microservice-GW

2018-06-29 Thread Rukshan Premathunga
Hi Dushan, We released Micro Gateway Toolkit 2.5.0-Beta2[1] yesterday. Can you please download and check on that and let us know. [1] WSO2 API Manager Micro Gateway Toolkit 2.5.0-Beta2 Released! Thanks and Regards On Fri, Jun 29, 2018 at 11:14 PM, Dushan Abeyruwan wrote: > > > On Fri, Jun 29,

[Dev] WSO2 API Manager Micro Gateway Toolkit 2.5.0-Beta2 Released!

2018-06-29 Thread Rukshan Premathunga
The WSO2 API Manager team is pleased to announce the release of API Manager Micro Gateway Toolkit 2.5.0-Beta2. It's now available to download. Distribution https://github.com/wso2/product-microgateway/releases/download/v2.5.0-beta2/wso2am-micro-gw-toolkit-2.5.0-beta2.zip Documentation https://doc

Re: [Dev] RestConstant.SYNAPSE_REST_API_VERSION

2018-06-25 Thread Rukshan Premathunga
Hi Gimantha, yes we have used it to get the version of API. So you defined the version in uri-template and want to get the value of it in handler level? If it is the case, i think you have to get it as a property. Please check this[1] [1] https://stackoverflow.com/questions/27295902/how-to-read-

Re: [Dev] [Architecture] APIM CLI simplify endpoint url configs

2018-06-18 Thread Rukshan Premathunga
On Tue, Jun 19, 2018 at 9:15 AM, Harsha Kumara wrote: > > > On Mon, Jun 18, 2018 at 5:26 PM Isuru Haththotuwa wrote: > >> >> >> On Mon, Jun 18, 2018 at 2:37 PM, Rukshan Premathunga >> wrote: >> >>> Hi, >>> >>> Here the additi

Re: [Dev] APIM CLI simplify endpoint url configs

2018-06-18 Thread Rukshan Premathunga
wso2.com:9443/ $ Enter *truststore* [ default path/to/truststore ] : different/path/to/ truststore $ Enter *truststorePass* [ use default? ] : password $ Completed Any suggestions? Thanks and Regards On Mon, Jun 18, 2018 at 11:18 AM, Rukshan Premathunga wrote: > I guess you are refer

Re: [Dev] APIM CLI simplify endpoint url configs

2018-06-17 Thread Rukshan Premathunga
> > I guess you are referring to the Microgateway CLI and not the APIM CLI. Yes. It should be Microgateway CLI On Mon, Jun 18, 2018 at 11:15 AM, Nuwan Dias wrote: > I guess you are referring to the Microgateway CLI and not the APIM CLI. > > On Mon, Jun 18, 2018 at 11

[Dev] APIM CLI simplify endpoint url configs

2018-06-17 Thread Rukshan Premathunga
Hi All, Currently CLI auto generate endpoints from defautl values and user have to edit it in order to work if endpoints are diffrent. As a solution we thought to provide urls as arguments for setup command. But here we have 4 endpoints(store, publisher, admin and token) to get as arguments. But m

[Dev] WSO2 API Manager 2.2.0-update5 Released!

2018-05-10 Thread Rukshan Premathunga
The WSO2 API Manager team is pleased to announce the release of version 2.2. 0-update5 of API Manager. WSO2 API Manager is a platform for creating, managing, consuming and monitoring APIs. It employs proven SOA best practices to solve a wide range of APImanagement challenges such as API provisioni

Re: [Dev] [APIM] Synchronous call from apim-gateway to Google Analytics

2018-03-07 Thread Rukshan Premathunga
Hi Dushani, I'm not sure it is possible to publish event async to google APIs. But we can implement in a way that handover the event publishing task to a separate thread and continue. So please create a git issue and we will looking to it. Thanks and Regards On Wed, Mar 7, 2018 at 3:11 PM, Dusha

Re: [Dev] [APIM-ANALYTICS-2.1.0] Error ORG_WSO2_APIMGT_STATISTICS_PERHOURREQUES does not exist

2018-01-29 Thread Rukshan Premathunga
Hi Chaminda, Did you clear both Store and Processed DB from the Analytics? Most of the time this could be due to configuration issue. Also does analytics carbon-db is fresh DB when instance get start? Also make sure carbon-DB is not shared and only pointed to Analytics. Thanks and Regards On Mon

[Dev] WSO2 API Manager 3.0.0-M15 Released!

2018-01-25 Thread Rukshan Premathunga
The WSO2 API Manager team is pleased to announce the release of API Manager 3.0.0-M15. It's now available to download. Distribution https://github.com/wso2/product-apim/releases/download/v3.0.0-m15/wso2apim-3.0.0-m15.zip https://github.com/wso2/product-apim/releases/download/v3.0.0-m15/wso2apim-g

Re: [Dev] Carbon JNDI cannot find com.sun.jndi.ldap.LdapCtxFactory

2018-01-21 Thread Rukshan Premathunga
Thusitha On Sun, Jan 21, 2018 at 3:35 AM, Rukshan Premathunga wrote: > Hi All, > > Recently we started to write a LDAP client and observed following > exception when i create context instance. > context = new InitialDirContext(environment); > > Error obtaining connection.

[Dev] Carbon JNDI cannot find com.sun.jndi.ldap.LdapCtxFactory

2018-01-20 Thread Rukshan Premathunga
Hi All, Recently we started to write a LDAP client and observed following exception when i create context instance. context = new InitialDirContext(environment); Error obtaining connection. Cannot find the InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory. javax.naming.NoInitialContextExcept

Re: [Dev] [APIM] Managing API resources without conflicts

2018-01-19 Thread Rukshan Premathunga
Hi Nishadi, In APIM you cannot grantee the behavior when you have conflict resources. Also i don't think your rest implementation is comply with restful service. GET /books/{book-id} GET /books/healthcheck After the path/books it should represent book's id or something. So we cannot have a sub

Re: [Dev] [APIM] [Analytics] Can we analyze api invocations against the app language

2018-01-12 Thread Rukshan Premathunga
Hi Jason, APIM we have apps related stats. In your case your client app(PHP, android etc) use the app created using APIM store to invoke exposed APIs from APIM GW. Then your client application can be represent using oAuth App you created from store. So in APIM Store, you can see the oAuth app's st

[Dev] APIM Statistics introduce new field to the Analytics events

2017-12-22 Thread Rukshan Premathunga
Hi All, Can we check the possibility of the $Subject. In the latest APIM(wso2am-2.1.0-update4), correlation ID and the key type(sand or prod) is include in the event as JSON attribute[1]. I think it is better to moved those attributes as a single value attribute and passed to the Analyzer. So we c

Re: [Dev] [Announce] [Architecture] WSO2 API Manager 3.0.0-M10 Released!

2017-12-16 Thread Rukshan Premathunga
Hi Samisa, Ack. Will fix them asap. Thanks. On Sat, Dec 16, 2017 at 1:38 PM, Samisa Abeysinghe wrote: > > > On Thu, Dec 14, 2017 at 10:13 PM, Rukshan Premathunga > wrote: > >> The WSO2 API Manager team is pleased to announce the release of API >> Manager 3.0.0

[Dev] WSO2 API Manager 3.0.0-M10 Released!

2017-12-14 Thread Rukshan Premathunga
The WSO2 API Manager team is pleased to announce the release of API Manager 3.0.0-M10. It's now available to download. Distribution - https://github.com/wso2/product-apim/releases/download/v3.0.0-m10/wso2apim-3.0.0-m10.zip - https://github.com/wso2/product-apim/releases/download/v3.0

Re: [Dev] [DEV] How to generate an invoice based on the usage of commercial APIs

2017-11-30 Thread Rukshan Premathunga
2.0). >>> >>> Further, I have tried with the artefacts you shared in [1] but still >>> getting the same issue even after manually executing all the available >>> analytics scripts. >>> >>> Attached the tomcat logs and application logs. >>> >&

Re: [Dev] Gateway worker node gives org.apache.axis2.deployment.DeploymentException: org.apache.axis2.transport.jms.JMSSender cannot be found by axis2_1.6.1.wso2v20

2017-11-30 Thread Rukshan Premathunga
Hi Dushantha, Did you disable the *JMSEventPublisherParameters* configuration from the api-manager.xml? Thanks and Regards On Thu, Nov 30, 2017 at 2:59 PM, Dushantha Batuwita wrote: > Hi Dev > > I'm involved in developing a Gateway cluster and the particulars are as > follows > > >- Clus

Re: [Dev] [DEV] How to configure DAS_AGENT.url for multiple DAS nodes?

2017-11-29 Thread Rukshan Premathunga
Hi Praminda, You want to send a event to all the nodes? That's mean with with duplication? If so you can use multiple URL groups like {ip1},{ip2},{ip3} etc. But i think, since we have enable event sync in the event receivers, fail-over or load balancing is sufficient. For more about the event rec

Re: [Dev] [DEV] How to generate an invoice based on the usage of commercial APIs

2017-11-29 Thread Rukshan Premathunga
Hi Sashika, Which billing engine version did you check? Can you check on the following[1] if not already. *invoice* table is empty because invoice generation is failed. Also in the billing capp, it take time to generate summary tables and please wait bit longer or execute the script manually to ge

Re: [Dev] [DEV] How to generate an invoice based on the usage of commercial APIs

2017-11-29 Thread Rukshan Premathunga
Hi Sashika, Which billing engine version did you check? Can you check on the following[1] if not already. *invoice* table is empty because invoice generation is failed. Also in the billing capp, it take time to generate summary tables and please wait bit longer or execute the script manually to ge

Re: [Dev] Disabling HTTP Transports in Carbon Servers - Servlet and Passthru

2017-11-27 Thread Rukshan Premathunga
Hi Isuru, It is already reported[1] [1] https://wso2.org/jira/browse/DOCUMENTATION-4179 Thanks and Regards On Mon, Nov 27, 2017 at 1:40 PM, Isuru Haththotuwa wrote: > Hi Devs, > > Do we have documentation for $subject? > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048 <+94%2071%2063

Re: [Dev] Retrieving API details via carbon REST API admin service

2017-11-26 Thread Rukshan Premathunga
Hi All, I RestApiAdmin is from the carbon-meditation and sources found here[1]. But in the util function[2] it try to extract the source, seems it didn't check for the handler and hence it may not appear in the payload. In your case if API handlers are static (If it is sure that users are not allo

Re: [Dev] [EI] Car application with only registry resources

2017-11-26 Thread Rukshan Premathunga
Hi Godwin, I think it because of your car file don't compatible with EI server role. Can you please find the EI server role and update in the artifact.xml. Thanks and Regards On Mon, Nov 27, 2017 at 8:21 AM, Godwin Shrimal wrote: > Hi Devs, > > Can't we have a CAR application with only registr

Re: [Dev] How to compare two synapse properties in ESB

2017-11-24 Thread Rukshan Premathunga
Hi Thivya, You may be able to use script mediator[1]. You can perfume the string comparison in the script mediator and then use the filter mediator for the result.

Re: [Dev] Pass user details into the out sequence.

2017-11-21 Thread Rukshan Premathunga
Hi Senuwan, You can add required property to message context inside the class mediator. So that you can read them back in out-sequence. Thanks and Regards On Wed, Nov 22, 2017 at 10:09 AM, Senuwan Withana wrote: > Hi Team, > > > I have created the below class mediator to call my JWTRoleReder,

Re: [Dev] Enable JWT in gateway node

2017-11-20 Thread Rukshan Premathunga
Hi pubudu, This depends on the backend right? if it need such a authorization, cluster or Single AM setup we need to generate the JWT and pass to the backend. So it is upto the backend implementation i think. Thanks and Regards On Mon, Nov 20, 2017 at 8:16 AM, Pubudu Gunatilaka wrote: > Hi, >

Re: [Dev] Enable JWT in gateway node

2017-11-19 Thread Rukshan Premathunga
n gateway? The jwt is getting > generated in KM/IS and gateway only passes the JWT to the backend. I do not > see a valid reason to enable JWT in gateway node if there isn't any usage. > > Thank you! > > On Mon, Nov 20, 2017 at 12:09 PM, Rukshan Premathunga > wrote: > >

Re: [Dev] Building 2.1 version of API Manager

2017-11-16 Thread Rukshan Premathunga
Hi Nathan, If you want to build AM 2.1.0 please build v6.1.66 from [1] and v2.1.0 from [2] [1] github.com/wso2/carbon-apimgt [2] github.com/wso2/product-apim Thanks ad Regards On Fri, Nov 17, 2017 at 3:13 AM, Nathan Jensen wrote: > WSO2 API Manager > >1. github.com/wso2/carbon-apimgt >

Re: [Dev] (no subject)

2017-11-15 Thread Rukshan Premathunga
Hi Dilusha, What roles did you assign to that user? just administrator role assigned? Can you assign login and subscriber role to that user and check? Thanks and Regards On Wed, Nov 15, 2017 at 3:22 PM, Dilusha Alphonso wrote: > Hi All, > > I am trying to add SCOPE to API manager 2.1.0. I have

Re: [Dev] Issues with API Monetization in WSO2 APIM 2.1.0

2017-11-14 Thread Rukshan Premathunga
illing > system, I can register my user and I get redirected again to the apim > store, but I don´t see the completed method called asynchronous > > > Regards, > Jorge > > 2017-11-13 22:08 GMT-05:00 Rukshan Premathunga : > >> Hi Jorge, >> >

Re: [Dev] Issues with API Monetization in WSO2 APIM 2.1.0

2017-11-13 Thread Rukshan Premathunga
Hi Jorge, Did you able to check with branch [1] and AM 2.1.0? Or you experience this issue when you did so? Initially branch [1] released after tested with AM 2.0.0. If you faced any issues with AM 2.1.0, can you please attached the logs? Will check this further for AM 2.1.0. [1] https://github.

Re: [Dev] Exception when Publishing API in API Manager 2.1.0

2017-11-11 Thread Rukshan Premathunga
Hi Priya, In the screenshot you have attached, it says to select a GW environment to be publish. Can you expand the gateway environment section and select a option first. Thanks and Regards On Sat, Nov 11, 2017 at 11:47 AM, Piriya Sivalingam wrote: > Thank you Mushthaq for your prompt response

[Dev] Did we thought about APIM 3.0.0 Audit log?

2017-08-29 Thread Rukshan Premathunga
Hi all, In c4 we had separate log file to audit API and application related stuff. Is this already done in AM 3? Thanks and Regards -- Rukshan Chathuranga. Software Engineer. WSO2, Inc. +94711822074 ___ Dev mailing list Dev@wso2.org http://wso2.org/cg

Re: [Dev] API Manager with EI Analytics

2017-08-11 Thread Rukshan Premathunga
Hi Júnior, ESB and APIM Analytics can be a shared server(APIM analytics, ESB analytics or DAS). Please check the [1] for installing APIM analytics features on other analytics/DAS server and doc[2] for diffrent analytics profiles that can be used. [1] https://docs.wso2.com/display/AM210/Installing

Re: [Dev] Preventing API Developers from updating an API once its Published

2017-03-30 Thread Rukshan Premathunga
k temporarily removing the API is the best solution if it is >>> already serving requests. >>> >>> What if we introduce another life cycle state and transfer the API to >>> that state until API publisher re-publishes the API. In this way, there is >>> no effe

Re: [Dev] Preventing API Developers from updating an API once its Published

2017-03-30 Thread Rukshan Premathunga
Hi Nuwan, If we demote API back to create, state how we are going to handle subscription already have? Are we going to disable them till the API get publish again? Also can we introduce or use the existing state to allow the API to be update without un-publishing it. once it is done we can publis

Re: [Dev] Regarding the Google Summer of Code Project Proposal

2017-03-27 Thread Rukshan Premathunga
[+dev] Hi Prabhash, Glad to see your interest on the project. Idea of the project is to design and implement a REST API using WSO2 MSF4J[1]. The implemented REST API should be used when implementing new Analytics Dashboard for APIM(both publisher, store and admin portal). Also this implemented RE

Re: [Dev] GSoC 2017 Proposal 15: APIM Design new REST API for Analytics

2017-02-21 Thread Rukshan Premathunga
Hi Sameera, Thanks for interest towards the project. The idea of the project is to design a new REST API for next C5 based APIM product. REST API should be design to accept user requests and return JSON response. REST API implementation should be able to retrieve data from the RDBMS (All the DBs A

Re: [Dev] [VOTE] Release WSO2 API Manager 2.1.0 RC5

2017-02-03 Thread Rukshan Premathunga
Tested Analytics, grant types(auth code, implicit, password and client secret), basic throttling and basic APIM functions. No Issues found. [+] Stable - go ahead and release Thanks and Regards On Fri, Feb 3, 2017 at 3:19 PM, Samitha Chathuranga wrote: > Tested following in a fully distributed

Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.1.0 RC4

2017-01-30 Thread Rukshan Premathunga
Test Statistics and basic functions. No issues found. [+] Stable - go ahead and release Thanks and Regards On Tue, Jan 31, 2017 at 11:05 AM, Nuwan Dias wrote: > Tested the following, no issues found. > > 1. Adding/Updating APIs. > 2. API Visibility for tenants and ST. > 3. Tags with visibility

Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.1.0 RC3

2017-01-15 Thread Rukshan Premathunga
Tested Analytics for tenant and super tenant. No issues found. [+] Stable - go ahead and release Thanks and Regards. On Mon, Jan 16, 2017 at 10:49 AM, Praminda Jayawardana wrote: > Tested client SDK generation for super tenant, non admin, tenant and self > signup users. > > [+] Stable - go ahe

Re: [Dev] [Oracle] How to handle insertion of empty string in oracle.

2017-01-08 Thread Rukshan Premathunga
Hi Tharindu, If a field allow empty string, which mean it is optional right? So we can consider it as a null right? But when we try to save empty string on a DB, if it is persist in a differently, it is better to have a default value since it will be consistent on all the DBs. So can we set the de

[Dev] APIM C5 Analytics - Designing Event streams

2016-12-05 Thread Rukshan Premathunga
Hi All, As part of the new APIM C5 release we are start to design analytics Streams. Here is the list of streams we decided to publish from APIM components. Even though here we listed separate event streams we hope to merge all the event streams except *org.wso2.apimgt.statistics.workflow* to one

Re: [Dev] hi,abimaran,help me for this.

2016-10-17 Thread Rukshan Premathunga
ger.xml. > > Thanks and Regards > > 2016-10-17 16:29 GMT+08:00 christ Feng : > >> Thank you rukshan, >> >> This problem have already Confused me for a week. I will try your method >> to slove this. >> >> Thanks a lot. >> >> 201

Re: [Dev] hi,abimaran,help me for this.

2016-10-17 Thread Rukshan Premathunga
,gataway and keymanager. In > your configuration, which node should i to configure. Or on every node ? > > > Thanks and Regards > > 2016-10-17 15:53 GMT+08:00 Rukshan Premathunga : > >> Hi Christ, >> >> Seems you have configure analytics using admin-dashboard.

Re: [Dev] hi,abimaran,help me for this.

2016-10-16 Thread Rukshan Premathunga
Hi Christ, Can you please attached your api-manager.xml in the gateway node. This could be a configuration isse. Thanks and Regards On Mon, Oct 17, 2016 at 10:32 AM, Abimaran Kugathasan wrote: > Hi Christ, > > In which node your are getting this exception? Is it in Gateway or Store? > Additio

Re: [Dev] Error in deploying throttling policies from API Manager 2.0 [API Manager]

2016-10-04 Thread Rukshan Premathunga
Hi Nadeeshan, I think you try to deploy policy using admin UI. So can you check the repository/deployment/server/executionplans directory and see created *.siddhiql file contain any invalid characters? Thanks and Regards On Wed, Oct 5, 2016 at 9:55 AM, Nadeesha Gamage wrote: > Hi Devs, > I am

Re: [Dev] [DAS][310] Errors while running APIM_INCREMENTAL_PROCESSING_SCRIPT

2016-09-21 Thread Rukshan Premathunga
Hi Malith, cApp we provided to Analytics APIM will not work for the DAS because of the changes happen to the DAS 3.1.0. Because of that we need to use Analytics APIM or have to update capp with the above changes. Thanks and Regards. On Wed, Sep 21, 2016 at 2:48 PM, Niranda Perera wrote: > Hi M

Re: [Dev] about the subscription workflow

2016-09-14 Thread Rukshan Premathunga
HI Roger, you can find latest sample for APIM 1.10.0 and 2.0.0 from this[1] git location. [1] https://github.com/chamilaadhi/wso2-am-billing-engine/releases Thanks and Regards On Wed, Sep 14, 2016 at 9:36 PM, Roger Giuffre wrote: > I forgot. The maven packages are already updated to 2.0 versi

Re: [Dev] Event tables in APIM statistics

2016-07-22 Thread Rukshan Premathunga
gt; Actually i was referring to APIM toolbox ships with 1.10.0 version. Same > thing applies to APIM analytics as well. > > Thanks, > Malith > > On Fri, Jul 22, 2016 at 5:03 PM, Rukshan Premathunga > wrote: > >> Hi Malith, >> >> Some event tables are in

Re: [Dev] Event tables in APIM statistics

2016-07-22 Thread Rukshan Premathunga
Hi Malith, Some event tables are indexed because if there is a requirement to fetch data directly from DAS REST API we can used it without any additional summary tables. @Nirmal, are we using these table to read data directly from REST API other than summary Tables. Thanks and Regards. On Fri,

Re: [Dev] [Architecture] [VOTE] Release WSO2 API Manager 2.0.0 RC4

2016-07-21 Thread Rukshan Premathunga
Tested analytics and smoke tested APIM on db2, mssql, mysql, mysql5.7, oracle, postgre and h2. No issues found. [+] - Stable - go ahead and release Thanks. On Fri, Jul 22, 2016 at 10:48 AM, Thilini Cooray wrote: > Tested > >- API import-export >- Store Self Sign-up >- Store search

Re: [Dev] API-M Analytics pack 14/06/16

2016-06-14 Thread Rukshan Premathunga
Beta pack. We are kind of > blocked in integrating analytics cluster with APIM cluster to do a long > running test, due to the above mentioned compatibility issue. > > > On Wed, Jun 15, 2016 at 10:39 AM, Ushani Balasooriya > wrote: > >> + Dev and Bhathiya >> &g

Re: [Dev] [APIM] The default tier of the api-level tier list sets as the default tier of the resource-level

2016-06-02 Thread Rukshan Premathunga
Hi Amalka, did you remove unlimited tier after the API creation. Since when unlimited tier is available this cannot be observed. I think this is a bug. Thanks. On Fri, Jun 3, 2016 at 7:52 AM, Amalka Subasinghe wrote: > Hi, > > In my APIM 1.10.0 node, I have removed Unlimited tier from both api

Re: [Dev] clarification on api publisher on summary tables

2016-05-28 Thread Rukshan Premathunga
Hi all, Still we are publishing API creator for API publisher field for all the event streams. Even in registry, API publisher is not maintain and only creator field is updated. So can we continue with this behavior or do we need to any changes to the event stream? any suggestions? Thanks and Re

[Dev] Deprecating APIM Analytics REST Client Implementation

2016-05-26 Thread Rukshan Premathunga
Hi all, We hope to deprecate current Statistics implementation of DAS REST API from the APIM 2.0.x version. The reason was, when compared with RDBMS implementation REST client having a comparable performance issue. We did a performance test for both REST and RDBMS implementation and we observed th

Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Rukshan Premathunga
egards > Maneesha > > On Wed, May 25, 2016 at 2:02 PM, Rukshan Premathunga > wrote: > >> Hi maneesha, >> >> we moved those script into Analytics APIM. You can find in >> /dbscripts/statistics/ directory. >> >> Thanks. >> >> On Wed, Ma

Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016

2016-05-25 Thread Rukshan Premathunga
Hi maneesha, we moved those script into Analytics APIM. You can find in /dbscripts/statistics/ directory. Thanks. On Wed, May 25, 2016 at 1:52 PM, Maneesha Wijesekara wrote: > Hi Bhathiya. > In this nightly build (APIM 2.0.0-SNAPSHOT Nightly build - 22/05/2016), > sql scripts aren't available

Re: [Dev] [APIM] Supporting DB types for Statistical Database

2016-05-11 Thread Rukshan Premathunga
also missing in there. Please >> update them soon. >> >> Regards >> Maneesha >> >> On Tue, May 10, 2016 at 3:45 PM, Rukshan Premathunga >> wrote: >> >>> Hi Maneesha, >>> >>> APIM support dbscript are available on [APIM_HOME}/db

Re: [Dev] [APIM] Supporting DB types for Statistical Database

2016-05-10 Thread Rukshan Premathunga
Hi Maneesha, APIM support dbscript are available on [APIM_HOME}/dbscripts/apimgt. Thus in stat, only postgres and oracle_rac is missing. we will update them soon. Thanks. On Tue, May 10, 2016 at 3:21 PM, Maneesha Wijesekara wrote: > In API Manager 2.0.0, only 4 types of db scripts (db2, h2, m

Re: [Dev] [API M] MS-SQL scripts to create schema for API Statistics

2016-04-20 Thread Rukshan Premathunga
Hi, try with mysql script. But with mssql stat will not work due to this [1] [1] https://wso2.org/jira/browse/DAS-356 Thanks and Regards. On Wed, Apr 20, 2016 at 2:39 PM, Nadeesha Gamage wrote: > Hi all, > MS-SQL scripts required to create schema for API Statistics is not > available in the f

Re: [Dev] wso2-ready-api-plugin is not building

2016-03-11 Thread Rukshan Premathunga
Hi Sagara, here it https://github.com/SmartBear/readyapi-swagger-plugin Thanks and Regards. On Fri, Mar 11, 2016 at 2:58 PM, Sagara Gunathunga wrote: > > > On Fri, Mar 11, 2016 at 2:54 PM, Rukshan Premathunga > wrote: > >> Hi Sagara, >> >> since com.smartbea

  1   2   >