Re: [Architecture] [Dev] [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

[Architecture] Renaming APIM Analytics dashboards

2020-06-29 Thread Rukshan Premathunga
Hi All, APIM analytics 3.2.0 introduces a new dashboard to monitor the system. Also, it separates existing 'APIM Publisher' dashboard to manager dashboard and publisher dashboard. We noticed that some of the dashboard names are not meaningful and better to rename them in order to represent its

Re: [Architecture] [Dev] [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: [Architecture] [Dev] [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

[Architecture] 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

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

2019-11-25 Thread Rukshan Premathunga
;>> 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 >>> a character encoding of a single byte p

[Architecture] 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.

Re: [Architecture] [APIM 3.x.x] Supporting Cookie Based Access Tokens for APIs

2019-09-04 Thread Rukshan Premathunga
On Wed, Sep 4, 2019 at 12:07 PM Johann Nallathamby wrote: > Hi Rukshan, > > On Wed, Sep 4, 2019 at 11:24 AM Rukshan Premathunga > wrote: > >> Hi Johann, >> >> If we keep the access token when generating a new token, where we can >> save it? Keeping

Re: [Architecture] [APIM 3.x.x] Supporting Cookie Based Access Tokens for APIs

2019-09-03 Thread Rukshan Premathunga
Hi Johann, If we keep the access token when generating a new token, where we can save it? Keeping in the memory will reset if the GWs get restarted. Also, we may need to keep track of each part (Map) of a token. In pub store since we need only one token at a time, this may be easy. But in the

Re: [Architecture] [Dev] OAS 3 as default API definition

2019-08-13 Thread Rukshan Premathunga
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 Rukshan Premat

Re: [Architecture] 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

[Architecture] 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

Re: [Architecture] JWT Authentication for API Gateway

2019-06-28 Thread Rukshan Premathunga
On Fri, Jun 28, 2019 at 5:16 PM Chamod Samarajeewa wrote: > Hi Johann, > > How about supporting 3rd party Key Manager generated JWT access tokens? >> Will that work? 'jti' is an optional field as I remember. How would caching >> be impacted in that case? >> > > Good that you pointed out that.

Re: [Architecture] WSO2 Installation Resources for Ansible

2019-06-22 Thread Rukshan Premathunga
Hi Savidu, When supporting update, what is the recommended way of using this in the automation? Can we run WUM script and Ansible scripts separately or ansible take care of executing update script? Once more suggestion, when supporting .zip install, can we use downloadable URL without asking a

Re: [Architecture] HoneyPot APIs for API Manager - New Feature of APIM product

2019-05-09 Thread Rukshan Premathunga
On Thu, May 9, 2019 at 2:39 PM Sanjeewa Malalgoda wrote: > Tracing and logging problematic API calls definitely add value to product. > This is kind of alerting mechanism. But we should not stop from there. We > can go one step ahead and block calls with similar attributes. We can block > API

[Architecture] 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

Re: [Architecture] [APIM][Monetization] Monetization Model For WSO2 API Manager

2019-04-05 Thread Rukshan Premathunga
On Fri, Apr 5, 2019 at 2:46 PM Silmy Hasan wrote: > Hi Bhathiya, > > Please find my answers for your concerns, > > *I think we can do this check at the time they enable monetization for an > API*. > +1 > > *Why do we need separate tables here? Can't we use the existing stats data > here?* > We

Re: [Architecture] Project 194: Distributed Throttling for Micro-gateway

2018-10-25 Thread Rukshan Premathunga
Hi Jayanie, How we support both distributed traffic manager and throttling within the gateway? Is it a configuration or something we include when we generate gateway? Thanks and Regards. On Fri, Oct 26, 2018 at 10:25 AM Jayanie Bogahawatta wrote: > Hi all, > > As I am currently doing the

Re: [Architecture] wso2 api-m connected to different wso2-is or wso2-is connected to different ldap ?

2018-10-11 Thread Rukshan Premathunga
On Thu, Oct 11, 2018 at 8:37 PM Nicolas Maujean < nicolas.maujean.fra...@gmail.com> wrote: > hi, > >a WSO2-IS can be connected to several ldap ? > [4] - > https://docs.wso2.com/display/IS560/Configuring+a+Read-write+LDAP+User+Store > > >primary user store and secondary user store, no ? >

Re: [Architecture] [APIM][Microgateway] Stop Alerts support for Micogateway analytics

2018-07-19 Thread Rukshan Premathunga
On Fri, Jul 20, 2018 at 8:05 AM, Isuru Haththotuwa wrote: > > > On Fri, Jul 20, 2018 at 12:43 AM, Nuwan Dias wrote: > >> What happens here is that real time analytics on SP is done based on time >> batch windows and sliding windows. The query on the events in these windows >> are based on the

Re: [Architecture] [Dev] [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: [Architecture] [Dev] [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

[Architecture] [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

[Architecture] 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

Re: [Architecture] [APIM][Micro-Gateway][Analytics] Analytics for Micro-gateway

2018-06-29 Thread Rukshan Premathunga
Hi Fazlan, > > > 2) Deploy the custom event receiver jar file to dropins. > 3) Deploy the CAPP with the custom event receivers for required streams. Why we need custom event receiver and capp here? Did we add a new stream? And also when we persisting on statdb, we save it as a zip or events?

Re: [Architecture] Rethinking Product Analytics Architecture

2018-06-19 Thread Rukshan Premathunga
Hi Sinthuja, Per min summary within local node will be fine and reduce the traffic to Analyzer. But can we grantee that, Siddhi apps will not slow down other functionalities(gateway request)? This can be try out in ballerina based gateway since streams is already in there. But if we take c4 based

Re: [Architecture] [Dev] 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: [Architecture] APIM CLI simplify endpoint url configs

2018-06-18 Thread Rukshan Premathunga
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 ref

Re: [Architecture] APIM Micro Gateway Cli Functionality and Structure

2018-05-28 Thread Rukshan Premathunga
Hi Harsha, Where do we store generated policies bals? Since it is not related to labels we can put it to separate directory under the projects dir. Thanks and Regards On Mon, May 28, 2018 at 3:33 PM, Harsha Kumara wrote: > > > On Mon, May 28, 2018 at 3:31 PM Bhathiya

[Architecture] 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

Re: [Architecture] [GDPR] API Manager 3.0.0 GDPR Support

2018-02-01 Thread Rukshan Premathunga
Hi Sanjeewa, Did we thought how this affect to the analytics and throttle data publishing? For Throttle i think we can use the pseudo name right? For analytics we can use pseudo name and do all the aggregation based on pseudo name. But when rendering UI, we can convert to real name using the map.

[Architecture] 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

Re: [Architecture] [DAS][Feature] Display the Spark script execution time in the admin console

2018-01-22 Thread Rukshan Premathunga
> > Sorry, I have a typo. What I meant to tell is "last execution duration" > (how long it took to run a spark script last time). Averages are important > to observe any latency introduced, with time. +1. Sometimes script take longer time to execute the script due to hardware limitation. So it is

Re: [Architecture] Base paths to use for the APIs exposed from carbon-auth

2018-01-10 Thread Rukshan Premathunga
Hi Chamila, openid connect[1] and revoke api[2] is in our road-map and hope to ship with APIM V3. We have not yet identified requirement of /userinfo. When we going forward, will review and include into roadmap as needed. [1] https://github.com/wso2/carbon-auth/issues/42 [2]

Re: [Architecture] Base paths to use for the APIs exposed from carbon-auth

2018-01-08 Thread Rukshan Premathunga
HI, Shouldn't we adhere to the existing APIs [1], [2] in Identity Server 5.x at > the moment? Otherwise, users who have written applications based on the > existing APIs won't be able to migrate easily. If I am not mistaken, C5 > based Identity Server is based on carbon-auth. Since auth

Re: [Architecture] [DAS][Feature] Disable all scheduled spark scripts temporarily

2018-01-05 Thread Rukshan Premathunga
+1 for the feature. Currently if want to troubleshoot we had to un-deploy/deploy capp. Also when we want to disable a specific script we had to edit the capp and do the change. On Fri, Jan 5, 2018 at 3:00 PM, Sriskandarajah Suhothayan wrote: > Then +1 for the feature. > > > On

[Architecture] 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

Re: [Architecture] [Announce] 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 <sam...@wso2.com> wrote: > > > On Thu, Dec 14, 2017 at 10:13 PM, Rukshan Premathunga <ruks...@wso2.com> > wrote: > >> The WSO2 API Manager team is pleased to annou

[Architecture] 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 -

[Architecture] 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 ___ Architecture mailing list Architecture@wso2.org

Re: [Architecture] [APIM] [C5] Use Endpoint Name as the Unique Id for Endpoints

2017-03-08 Thread Rukshan Premathunga
Hi all, Yes it is better to avoid UUID and expect endpoint key. Currently when adding an API it check whether UUID is exist and is it unique. If not add API is fail. So we can use the same approach when importing a API. Also another solution would be when exporting a API, we can include the

Re: [Architecture] [C5][APIM] Introducing labels based gateway environments in API Manager

2017-02-08 Thread Rukshan Premathunga
Hi all, Another confusion scenario is some GW nodes are get register and again could be down. The another GW will register with same label and diffrent URL. In this case are we allowed to update existing level-GW_url or disallow to register that GW? Also if existing GW url is changed how we

Re: [Architecture] [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

Re: [Architecture] [Dev] [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.

Re: [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. > >

[Architecture] 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: [Architecture] Carbon C5 - Server Configuration Model

2016-11-27 Thread Rukshan Premathunga
Hi Danesh, Is this feature is available now? if so can you mention the kernel version please? Thanks and Regards On Tue, Nov 22, 2016 at 12:22 PM, Danesh Kuruppu wrote: > Hi Nuwan, > > Can you also provide an example bean class for the netty listener? That >> would make it

Re: [Architecture] APIM C5 - API Environments vs API Endpoints

2016-11-15 Thread Rukshan Premathunga
Hi all, +1 to add endpoint per resource. And i think it is possible and easy with new Integration Server. Thanks and Regards On Tue, Nov 15, 2016 at 4:44 PM, Sanjeewa Malalgoda wrote: > Hi, > I think we can have endpoint per resource support in C5 based API Manager. > Shall

Re: [Architecture] APIM C5 - API Environments vs API Endpoints

2016-11-15 Thread Rukshan Premathunga
Hi Uvindra, We can introduce per resource endpoint instead of per API endpoint with new APIM. Do we need to support this as well? Thanks and Regards On Tue, Nov 15, 2016 at 4:27 PM, Uvindra Dias Jayasinha wrote: > > > On 15 November 2016 at 16:20, Abimaran Kugathasan

[Architecture] 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

Re: [Architecture] [Dev] create tenant via rest api

2016-02-25 Thread Rukshan Premathunga
Hi John, You can find the code to create tenant at here[1]. But it use the soap admin service. [1] https://github.com/ruks/wso2.apim.sample/blob/master/com.rukspot.apimgt.stat/src/main/java/com/rukspot/apimgt/stat/TenantMgt.java Thanks and Regards. On Fri, Feb 26, 2016 at 9:49 AM, Danushka

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-09-28 Thread Rukshan Premathunga
rovided the aggregate > function, we will simply group the records by the given field and return a > set of records with the grouped values. WDYT? > > On Mon, Sep 28, 2015 at 3:42 AM, Rukshan Premathunga <ruks...@wso2.com> > wrote: > >> Hi Gimantha, >> >>

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-09-28 Thread Rukshan Premathunga
rouped at the 2nd element's > position (0th based index and 2nd element is api_version, if you set > aggregateLevel to 0 then the records will be grouped at api_name's position > only. They will not be grouped by api_version) of the facet field. > > On Fri, Sep 25, 2015 at 12:19 AM, R

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-09-24 Thread Rukshan Premathunga
nando <anj...@wso2.com> wrote: > Hi Rukshan, > > Let's have a F2F chat on this and decide what we can do. We need to start > from the requirements and go from there. > > Cheers, > Anjana. > > On Tue, Aug 4, 2015 at 10:21 PM, Rukshan Premathunga <ruks...@wso2.com> >

Re: [Architecture] [Dev] Carbon Spark JDBC connector

2015-08-10 Thread Rukshan Premathunga
Hi Niranda, i'll have a look. Thanks and Regards. On Tue, Aug 11, 2015 at 7:13 AM, Niranda Perera nira...@wso2.com wrote: Hi all, we have implemented a custom Spark JDBC connector to be used in the Carbon environment. this enables the following 1. Now, temporary tables can be

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-08-04 Thread Rukshan Premathunga
are looking a mechanism to use DAS REST API effectively, such that doing some Analytics on DAS table data using REST API. Can you please suggest a solution or improvement to this scenario? Thanks and Regards. On Wed, Jul 29, 2015 at 1:34 PM, Rukshan Premathunga ruks...@wso2.com wrote: Hi sll

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-07-29 Thread Rukshan Premathunga
Hi sll, @Gimantha Can you please provide an example or docs for calculate sum by groups using facet. Thanks and Regards. On Tue, Jul 28, 2015 at 4:52 PM, Rukshan Premathunga ruks...@wso2.com wrote: Hi Joseph, - In APIM store we need 4 types of statistical data. those are, - api

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-07-28 Thread Rukshan Premathunga
and before, we stored the summarized data back into RDBMS to be supported with both BAM and DAS. But when we are moving forward with APIM, IMHO we need to optimize the design based on DAS. On Tue, Jul 28, 2015 at 11:02 AM, Rukshan Premathunga ruks...@wso2.com wrote: Hi all, We hope

Re: [Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-07-28 Thread Rukshan Premathunga
the groupings at once. You will have to call facet apis multiple times for that. On Tue, Jul 28, 2015 at 1:44 PM, Rukshan Premathunga ruks...@wso2.com wrote: Hi all, Thanks for the feedbacks. We cannot say these queries are bounded. In further these queries are tend to be optimised

[Architecture] [DAS][APIM] DAS REST API evaluation for use with APIM

2015-07-27 Thread Rukshan Premathunga
Hi all, We hope to implement a REST API for WSO2 API manager to expose APIM statistic data. For that we evaluated WSO2 DAS REST API to check whether we can use it. Here are the use cases of the APIM REST API and evaluation result of DAS REST API. *Motivation*: Currently we use DAS/BAM to