[Dev] [Architecture] WSO2 API Manager 2.1.0 - Puppet Modules Released !

2017-03-07 Thread Samitha Chathuranga
The WSO2 API Manager team is pleased to announce the release of *Puppet
Modules for WSO2 API Manager 2.1.**0.*

*Puppet Modules *

The release contains the following 3 puppet modules.

   - WSO2 API Manager 2.1.0 Puppet Module - wso2am_runtime
   - WSO2 API Manager Analytics Server 2.1.0 Puppet Module -
   wso2am_analytics
   - Pre-packaged WSO2 Identity Server 5.3.0 Puppet Module -
   wso2is_prepacked

These puppet modules facilitate the configuration and installation of 7
basic deployment patterns of WSO2 APIM 2.1.0.

*Patterns Supported*

Following are the WSO2 API Manager 2.1.0 deployment patterns included.

   1. Pattern 1 - Single node deployment without distribution.
   2. Pattern 2 - Single node deployment without distribution with
   analytics.
   3. Pattern 3 - Fully distributed with Gateway worker/manager separation.
   4. Pattern 4 - Fully distributed with Gateway in a demilitarized zone
   with worker/manager separation.
   5. Pattern 5 - Distributed with Gateway worker/manager separation.
   Gateway worker and Key Manager in the same node.
   6. Pattern 6 - Distributed with Gateway worker/manager separation. Store
   in the same node as the Publisher.
   7. Pattern 7 - Single node deployment without distribution and with
   prepackaged WSO2 Identity Server as Key Manager.

   ( Pattern 0 is also provided and it is a Single node deployment
without distribution and it is configured to use with embedded H2 databases
)

For more on the above patterns, refer
https://docs.wso2.com/display/AM210/Deployment+Patterns

The other two puppet modules, wso2am_analytics and wso2is_prepacked provide
single pattern in each, which are required for the setup of aforementioned
WSO2 API Manager deployment patterns.

*Release artifacts*

https://github.com/wso2/puppet-apim/releases/tag/v2.1.0

*Documentation*

https://github.com/wso2/puppet-apim/wiki


Thank you

-- The WSO2 API Manager Team --


-- 
Samitha Chathuranga
Software Engineer, WSO2 Inc.
lean.enterprise.middleware
Mobile: +94715123761

[image: http://wso2.com/signature] 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Handling Tab view

2017-03-07 Thread Denuwanthi De Silva
Hi,

I used the menu helper for the leftside menu generation in our layout
currently.
Will we get the '@selected' support with the coming uuf release?

Thanks,



On Tue, Mar 7, 2017 at 8:44 AM, Denuwanthi De Silva 
wrote:

> Hi Manuranga,
>
> Yes I'm planning to use menu helper, since that seems to be the  way to
> render the menus with each page loading.
> If there is any other approach, we can try that too.
>
> Thanks
>
> On Mon, Mar 6, 2017 at 10:18 PM, Manuranga Perera  wrote:
>
>> Hi Denuwanthi,
>> Are you planing to use menu helper ?
>>
>> On Mon, Mar 6, 2017 at 4:14 PM, SajithAR Ariyarathna 
>> wrote:
>>
>>> Hi Manu,
>>>
>>> On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera  wrote:
>>>
 @Sajith
 * Can we use the menu helper ?

>>> We have used the menu helper in the sample apps.
>>>
 * AFAIK menu helper doesn't support a @selected attribute, to highlight
 current tab, don't we need to implement it?

>>> Correct, ATM we don't support '@selected'. I think we can support it
>>> easily.
>>>
>>>

 On Mon, Mar 6, 2017 at 2:52 PM, SajithAR Ariyarathna  wrote:

>
>
> On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva <
> denuwan...@wso2.com> wrote:
>
>>
>>
>> On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva <
>> denuwan...@wso2.com> wrote:
>>
>>> Thank you for the detailed description Sajith.
>>>
>>>
>>> On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <
>>> sajit...@wso2.com> wrote:
>>>
 I think you have misunderstood the page concept. In UUF, Page is
 the whole thing (markup) that covers the browser window. So you
 *cannot* insert a page into another page.

 With that in mind, let's brak down the UI in [1].

 - Left pane has 4 links, seems that those are app level menus. So,
 IMO each link should have a separate page.

 +1 to have separate page for each app menu.
>> But that would make the left side 4 menus to disappear each time we
>> go inside each menu due to directing to a new page.
>> As you can see in [2] & [3], the left side menu remains even if we
>> navigate from "User" to "Group" menu.
>>
>> So, does that mean we have to go to a fragment approach inorder to
>> keep the left menu while navigating (since we cannot load a page inside
>> another page) ?
>>
>> No need for a fragment based approach. Please look at my second
> point, the answer is there :)
>
>> - Top bar (logo, product name, and usermenu), breadcrumbs, and 
>> *right-side
>> menu will be the same for all pages*. Then we can put the markup for
>> those into a layout and use that layout in pages (e.g. overview page, 
>> users
>> page).
>
>  So, having the menu in the layout will make it appear on all 4 pages.
>
> Thanks.
>
>>
>>
>> [2]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>> master/Wireframes/admin-portal/v2/3.3%20Add%20users%20-%20options.png
>> [3]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>> master/Wireframes/admin-portal/v2/4.3%20Group%20Listing.png
>>
>> - Top bar (logo, product name, and usermenu), breadcrumbs, and
 right-side menu will be the same for all pages. Then we can put the 
 markup
 for those into a layout and use that layout in pages (e.g. overview 
 page,
 users page).

 - You can configure the menu in the app.yaml (see pets-store,
 features-app samples). And using the {{#menu }} helper, you can 
 populate
 the menu (see sample apps)

 Thanks.


 On Mon, Mar 6, 2017 at 6:15 PM, Denuwanthi De Silva <
 denuwan...@wso2.com> wrote:

> Hi,
>
> We need to provide a tab like view as in [1].
> When moving between each tab  we plan to load a page.
>
> Is there a notation where we can insert a page inside the tab
> similar to fragment notation?
> or any other approach to achieve this behavior?
>
>
> 
> Overview
>
> 
> 
>
> 
>
> 
> 
>
>
>
>
> [1]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
> master/Wireframes/admin-portal/v2/2.1%20Landing%20page%20-%2
> 0with%20no%20existing%20users.png
>
> --
> Denuwanthi De Silva
> Senior Software Engineer;
> WSO2 Inc.; http://wso2.com,
> Email: denuwan...@wso2.com
> Blog: https://denuwanthi.wordpress.com/
>



 --
 Sajith Janaprasad Ariyarathna
 Software Engineer; WSO2, Inc.;  

[Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread Pushpalanka Jayawardhana
Hi All,

In the user portal we already have functionality implemented for 'account
settings' shown in top right-hand, along with the logout option for
logged-in user.
Using this option the logged-in user can update the profile details,
security questions etc.

When we come down to the admin users, they may also need to update their
user profiles, security questions etc. Ideally in that case they should
also go via this 'account settings' option in top right-hand side.
At this point we have several options.

- Should we redirect the admin users to user-portal to complete this
operation of updating their own user profile or
- Should we implement that same profile update functionalities within
admin-portal?

- If we are to go with this approach, if will be good if we can place the
common code in some other place where both apps(admin-portal and
user-portal) can reuse.

Appreciate you inputs.

Thanks,
-- 
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] about UUF

2017-03-07 Thread Nisala Nanayakkara
Hi Varuni,

Please find the UUF Web App Developer's guide here[1]. Additionally you can
go through readme files available in github repositories[2][3].

[1] -
https://docs.google.com/document/d/10UDdArHV1eYEfiONu8saqPnnJyUjH3vxOrv0k0rK5hc/edit#heading=h.9icxvol1vn83
[2] - https://github.com/wso2/carbon-uuf
[3] - https://github.com/wso2/carbon-uuf-maven-tools

Thanks,
Nisala

On Tue, Mar 7, 2017 at 5:16 PM, Varuni Alwis  wrote:

> Hi all,
>
> Is there any documentation  related to UUF where I can refer to?
>
> Thanks.
>
> *Varuni Alwis*
> *Software Engineer - Intern*
> *WSO2*
>
> Email : var...@wso2.com
> Mobile : +94 719865395 <+94%2071%20986%205395>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Nisala Niroshana Nanayakkara,*
Software Engineer
Mobile:(+94)717600022
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] about UUF

2017-03-07 Thread Varuni Alwis
Hi all,

Is there any documentation  related to UUF where I can refer to?

Thanks.

*Varuni Alwis*
*Software Engineer - Intern*
*WSO2*

Email : var...@wso2.com
Mobile : +94 719865395 <+94%2071%20986%205395>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][IoT]User Managed Access based Device Sharing

2017-03-07 Thread Farasath Ahamed
Hi Hasitha,

UMA Core Spec has undergone a minor revision(1.0.1)[1]. It would be great
if you could go through that as well. Since you have already
familiarized yourself with v1.0.0 it will be very easy to figure out
changes from v1.0.0 to v1.0.1


[1] https://docs.kantarainitiative.org/uma/rec-uma-core.html


Thanks,
Farasath

Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 




On Tue, Mar 7, 2017 at 11:01 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi,
>
> I am a final year undergraduate of Electronic and Telecommunication
> Engineering, University of Moratuwa. My experience with Java
> 8,rx-java,maven and WSo2 IOT server motivated me to select this project as
> my GSoC project for 2017.I have already gone through [1] WSo2 IOT server
> and [2] UMA profile of OAuth 2.0 Please provide me some guide lines and
> additional materials for study and get a clear understanding about the
> mentioned project.
>
> Best regards,
>
> [1] https://docs.kantarainitiative.org/uma/rec-uma-core-v1_0.html
> [2] https://github.com/wso2/product-iots
>
>
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <+94%2071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> 
> 
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] about UUF

2017-03-07 Thread Manuranga Perera
1) Build UUF repo, run the product and goto /features-app/ .Unfortunately
this is not as compleat as we like it to be.
2) Play around with /pets-store/ app and read the source.
3) Also please read and follow
https://docs.google.com/document/d/12sjjEKdNmElO7TJLZ1mkbKCDnDCfiaQvVv1ssNdfOLg/edit
(private to WSO2) before wiring any code.

On Tue, Mar 7, 2017 at 11:46 AM, Varuni Alwis  wrote:

> Hi all,
>
> Is there any documentation  related to UUF where I can refer to?
>
> Thanks.
>
> *Varuni Alwis*
> *Software Engineer - Intern*
> *WSO2*
>
> Email : var...@wso2.com
> Mobile : +94 719865395 <+94%2071%20986%205395>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Atom Plugin for Siddhi

2017-03-07 Thread Sriskandarajah Suhothayan
You should be able to generate a siddhi file having only siddhi queries
like SQL

Regards
Suho

On Mon, Mar 6, 2017 at 4:36 AM, Supun Arunoda  wrote:

> Hi Ramindu,
> I went through the atom plugin development tutorials and the other links
> which you have provided me. The queries are written as string in example.
> So do we need to use the project deliverable to that part (string based
> queries) also?
> Is there a way to create a query based file (like .sql files which have
> sql queries) in Siddhi?
>
> I'm going to refer jslint[1] for error reporting feature.
>
> [1] https://github.com/tcarlsen/atom-jslint
>
> Best Regards
>
> *Supun Arunoda Munasinghe*
> *Undergraduate at Department of Computer Science & Engineering*
> *University of Moratuwa*
>
>
>
> On 2 March 2017 at 14:02, Ramindu  wrote:
>
>> Hi Supun,
>>
>> No, you dont need to use ubuntu platform for development but it will be
>> easier if you do.
>> It'll be ideal if you develop a prototype before submitting.
>>
>> Thanks,
>>
>> On Wed, Mar 1, 2017 at 7:53 PM, Supun Arunoda <
>> supunarunoda...@cse.mrt.ac.lk> wrote:
>>
>>> Do I need to use Ubuntu platform for all developments? Should I solve
>>> some patches or develop a prototype of the project before I submitting the
>>> proposal?
>>> Best Regards
>>>
>>> *Supun Arunoda Munasinghe*
>>> *Undergraduate at Department of Computer Science & Engineering*
>>> *University of Moratuwa*
>>>
>>>
>>>
>>> On 1 March 2017 at 09:39, Ramindu De Silva  wrote:
>>>
 Hi Supun,

 As for the starting point, you can check how to create a simple plugin
 for atom. Maybe syntax highlighting or providing suggestions or parsing a
 language. This will require you to check the developing environment for
 atom. And how to build the package structure and how to install on atom.
 You can get an idea by looking at several language plugins such as
 language-java, autocomplete-java or somewhat simple language.

 Then, it'll be useful if you try to understand Siddhi grammar[1] and
 Siddhi QL[2] and try to implement the syntax highlighting accordingly.

 [1] https://github.com/wso2/siddhi/blob/master/modules/siddhi-qu
 ery-compiler/src/main/antlr4/org/wso2/siddhi/query/compiler/SiddhiQL.g4

 [2] https://docs.wso2.com/display/CEP420/SiddhiQL+Guide+3.1

 Best Regards,

 On Tue, Feb 28, 2017 at 6:07 PM, Sriskandarajah Suhothayan <
 s...@wso2.com> wrote:

> Hi Ramindu
>
> Can you please share the necessary information with Supun please.
>
> Regards
> Suho
>
> On Tue, Feb 28, 2017 at 3:45 PM, Supun Arunoda <
> supunarunoda...@cse.mrt.ac.lk> wrote:
>
>> Hi Suhothayan,
>> I'm Supun Arunoda from University of Moratuwa, Sri Lanka. Currently
>> I'm a 4th year undergraduate. I worked with National Resource for Network
>> Biology in GSoC 2k16. I would like to do this project. Where should I
>> start?
>> My previous work with NRNB http://supunarunoda.blogspot.com/
>>
>> Best Regards
>> *Supun Arunoda Munasinghe*
>> *Undergraduate at Department of Computer Science & Engineering*
>> *University of Moratuwa*
>>
>>
>>
>
>
> --
>
> *S. Suhothayan*
> Associate Director / Architect & Team Lead of WSO2 Complex Event
> Processor
> *WSO2 Inc. *http://wso2.com
> * *
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | blog:
> http://suhothayan.blogspot.com/ twitter:
> http://twitter.com/suhothayan  | linked-in:
> http://lk.linkedin.com/in/suhothayan 
> *
>



 --
 *Ramindu De Silva*
 Software Engineer
 WSO2 Inc.: http://wso2.com
 lean.enterprise.middleware

 email: ramin...@wso2.com 
 mob: +94 772339350
 mob: +94 719678895

>>>
>>>
>>
>>
>> --
>> Ramindu De Silva
>> *Email: rami.desi...@gmail.com   | *
>> *Mobile: (+94)0772339350 <+94%2077%20233%209350> | (+94)0719678895
>> <+94%2071%20967%208895>*
>>
>>
>


-- 

*S. Suhothayan*
Associate Director / Architect & Team Lead of WSO2 Complex Event Processor
*WSO2 Inc. *http://wso2.com
* *
lean . enterprise . middleware


*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] GSoC 2017

2017-03-07 Thread Vihanga Liyanage
Hi all,

Informing current state of the project.

As Tishan suggested that we should move on to a different approach, I tried
to do this without using xtext. I found that their is a jet-brains library
[1] written by Prof. Terence Parr, to support ANTLR grammars in jetbrains
IDE plugins. Also I found this sample plugin [2] as well, and I'm still
trying to figure out how to run it.
I also contacted the guy who wrote the IDEA plugin for Ballerina language
[3], Shan, and I think we can get together something quickly.

[1] https://github.com/antlr/jetbrains
[2] https://github.com/antlr/jetbrains-plugin-sample
[3] https://github.com/ballerinalang/plugin-intellij

Thanks,

Vihanga Liyanage,
Undergraduate,
University of Colombo School of Computing.
M: +94 71 012 4103





On Sun, Feb 26, 2017 at 1:28 AM, Vihanga Liyanage <
vihangaliyanage...@gmail.com> wrote:

> Ah, I see your point. I'll do some more digging to see if there's anything
> we could do about this.
>
> Regards,
>
> Vihanga Liyanage,
> Undergraduate,
> University of Colombo School of Computing.
> M: +94 71 012 4103 <071%20012%204103>
>
> 
> 
> 
>
> On Sat, Feb 25, 2017 at 10:54 PM, Tishan Dahanayakage 
> wrote:
>
>> Hi Vihanga,
>>
>> Yes. We need to make corresponding xtext if we are to use this approach.
>> Problem is If we can't automatically convert antlr to xtext, then everytime
>> there is a grammar level change we will have to manually update xtext
>> grammar which is not scalable. We can't maintain two grammar definitions.
>> Anyway that is my view. Let's see what others have to say.
>>
>> Thanks
>> /Tishan
>>
>> On Sat, Feb 25, 2017 at 10:59 AM, Vihanga Liyanage <
>> vihangaliyanage...@gmail.com> wrote:
>>
>>> Hi Tishan,
>>>
>>> Well yes, I also read that xtext grammar is based on Antlr. But in my
>>> opinion, if we can use xtext for this project, all we need to do is create
>>> the xtext grammar corresponds to the existing Antlr grammar of Siddhi and
>>> that's it right? Please correct me if I'm wrong.
>>>
>>> Thanks,
>>>
>>> Vihanga Liyanage,
>>> Undergraduate,
>>> University of Colombo School of Computing.
>>> M: +94 71 012 4103 <+94%2071%20012%204103>
>>>
>>> 
>>> 
>>> 
>>>
>>> On Fri, Feb 24, 2017 at 2:29 PM, Tishan Dahanayakage 
>>> wrote:
>>>
 Hi Vihanga,

 Thanks for the research and samples. Good progress!!  I also read a bit
 about Xtext. It is also using Antlr internally. But according to the
 material I came across we cannot convert antlr grammar automatically to
 Xtext. So since Siddhi grammar is based on antlr and we are not going to
 move the grammar to Xtext can you please try the same with a simple Antlr
 v4 grammar file.

 Thanks
 /Tishan

 On Fri, Feb 24, 2017 at 11:59 AM, Vihanga Liyanage <
 vihangaliyanage...@gmail.com> wrote:

> Hi all,
>
> I hope you read my reply to the other mail tread, "Eclipse plugin for
> Siddhi". As I said in there, we can use same Xtext[1] framework to develop
> Siddhi plugins for both eclipse and Intellij IDEA editors. Here are my
> example idea plugin project details. You can find the code in here[2].
>
> This is the sample xtext grammar I used.
>
>
>
> Syntax highlighting and error detection.
>
>
> ​
> Code completion
>
>
> ​
> I'd love to know your ideas about this.
>
> [1] https://eclipse.org/Xtext/index.html
> [2] https://github.com/vihanga-liyanage/IDEA-Plug-Ins
>
> Regards,
> 
>
> Vihanga Liyanage,
> Undergraduate,
> University of Colombo School of Computing.
> M: +94 71 012 4103 <+94%2071%20012%204103>
>
> 
> 
> 
>
> On Mon, Feb 13, 2017 at 11:50 AM, Vihanga Liyanage <
> vihangaliyanage...@gmail.com> wrote:
>
>> Thank you for your reply. I'll look into those things and will get
>> back to you.
>>
>> Regards
>>
>>
>> On Feb 13, 2017 10:35 AM, "Tishan Dahanayakage" 
>> wrote:
>>
>> Hi Vihanga,
>>
>> Thanks for your interest in WSO2 and this project. I have improved
>> idea page with more details. I would suggest you to start off with 
>> getting
>> bit familiar with Siddhi grammar. Then you can look into idea plugin
>> creation to support different languages. Then you can look into antlr 
>> based
>> programming languages and how antlr can 

[Dev] GSoC 2017 Eclipse plugin for Siddhi

2017-03-07 Thread Udeshika Sewwandi
Hi,
I have tried to create the Hello World plugin as in [1]. But to test the
plugin I cannot reach eclipse run-time workbench. When I tried Run -> Run
as by selecting the plugin project no option is given as Run-time
Workbench. I couldn't find a method to get the run-time workbench. Can you
please help on this?Thank you.

Best Regards,
-Sewwandi

-- 
K.A.U.Sewwandi
Undergraduate
Department of Computer Science and Engineering
Faculty of Engineering
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 Proposal 4: IDEA Plugin for Siddhi

2017-03-07 Thread Kandauda Amila De Zoysa Karunathilaka
Hi All,
I read project description above link. I got what are the objectives in
this project. I will start this project from syntax highlighting part.
I will start to follow a antlr4 tutorial. I hope to develop PoC for idea
plugin with syntax highlighting with in few days. I will give few day to do
this. Because next week will start our semester end exam.
Can you give detail about siddhi syntax category.

Thank you.

Best Regards,
*Amila Karunathilaka*
Undergraduate,
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moraduwa,
Sri Lanka.

On 7 March 2017 at 10:37, Tishan Dahanayakage  wrote:

> Hi Amila,
>
> Thanks for your interest in the project and WSO2. I hope you went through
> the project discription at[1].
> Siddhi is a SQL like language where you can write queries which can do
> real-time analysis which is based on antlr. Deliverable of the project is
> to develop an intelliJ idea editor plugin which has syntax highlighting,
> code completion, running and debugging Siddhi from within idea.
> As starters I would say you start off by developing an idea plugin with
> syntax highlighting capabilities for a simple antler based grammar. then we
> can improve on that.
>
> Please reach out if you need any specifics.
>
> [1] https://docs.wso2.com/display/GSoC/Project+Proposals+
> for+2017#ProjectProposalsfor2017-Proposal4:IdeaPluginforSiddhi
>
> Thanks,
> /Tishan
>
> On Tue, Mar 7, 2017 at 10:12 AM, Nirmal Fernando  wrote:
>
>> [Looping mentors]
>>
>> On Tue, Mar 7, 2017 at 12:01 AM, Kandauda Amila De Zoysa Karunathilaka <
>> amilakarunathilaka...@cse.mrt.ac.lk> wrote:
>>
>>> Hi,
>>>
>>> I'm Amila Karunathilaka undergraduate student of Computer Science and
>>> Engineering, University of Moratuwa.
>>> I interested with IDEA Plugin for Siddhi project.
>>> I have experience with java, *Idea plugin development* and siddhi(using
>>> WSO2 DAS).
>>> I would like to know more detail about this project. Please give me
>>> some tips to getting started.
>>>
>>> Thank you.
>>>
>>> Best Regards,
>>> *Amila Karunathilaka*
>>> Undergraduate,
>>> Department of Computer Science & Engineering,
>>> Faculty of Engineering,
>>> University of Moraduwa,
>>> Sri Lanka.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Technical Lead - Analytics Team, WSO2 Inc.
>> Mobile: +94715779733 <+94%2071%20577%209733>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <+94%2071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 Eclipse Plugin for Siddhi

2017-03-07 Thread Savinda Keshan
Hi Nirmal,

I downloaded CEP and installed it. Is it necessary to further study on CEP
and get familiarized with it?
Meanwhile I tried implementing some basic examples in Eclipse plugin
development. As I understood, I should develop an Eclipse Editor plugin? I
started following a Vogella tutorial [1] on Eclipse Editor plugins. Am I on
the right track?

[1]. http://www.vogella.com/tutorials/EclipseEditors/article.html

Best Regards,

On Tue, Mar 7, 2017 at 10:14 AM, Nirmal Fernando  wrote:

> Hi Savinda,
>
> Thanks for your interest in this project. Let us know if you have any
> questions.
>
> On Mon, Mar 6, 2017 at 7:28 PM, Savinda Keshan 
> wrote:
>
>> Hi all,
>>
>> I'm Savinda Keshan Maddage, a 3rd year undergraduate of University of
>> Colombo School of Computing. I am interested in doing the project Eclipse
>> plugin for Siddhi. I am familiar with java and I also went through the
>> listed materials to get a basic idea about Eclipse plugin development and
>> Siddhi.
>> I am currently working on getting basic idea about the CEP.
>>
>> Best regards
>> Savinda keshan
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Technical Lead - Analytics Team, WSO2 Inc.
> Mobile: +94715779733 <+94%2071%20577%209733>
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

*Savinda Keshan*
*Undergraduate*
*University of Colombo School of Computing*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What is the difference between ACS URL and Recipient in SAML2?

2017-03-07 Thread Sewmini Jayaweera
Hi,

As per the SAML core specification [1], below were the definitions given
for ACS URL and Recipient.

   - *AssertionConsumerServiceURL: *Specifies by value the location to
   which the  message MUST be returned to the
   requester. The responder MUST ensure by some means that the value
   specified is in fact associated with the requester. [SAMLMeta] provides one
   possible mechanism; signing the enclosing  message is
   another. This attribute is mutually exclusive with the
   AssertionConsumerServiceIndex attribute and is typically accompanied by the
   ProtocolBinding attribute.


   - *Recipient [Optional]: *A URI specifying the entity or location to
   which an attesting entity can present the assertion. For
   example, this attribute might indicate that the assertion must be
   delivered to a particular network endpoint in order to prevent an
   intermediary from redirecting it someplace else

*Question*

   1. Should AssertionConsumerServiceURL and Recipient always be the same?
   2. When exactly do we need to specify a recipient? Appreciate if you can
   explain with a sample use case.

[1]. https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 Proposal 4: IDEA Plugin for Siddhi

2017-03-07 Thread Tishan Dahanayakage
Hi Amila,

Complete Siddhi grammar is available at [1]. For the moment use a simpler
anlr grammar and continue with your PoC. Later we can move to Siddhi.

[1]
https://github.com/wso2/siddhi/blob/master/modules/siddhi-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compiler/SiddhiQL.g4

Thanks
/Tishan

On Tue, Mar 7, 2017 at 10:21 PM, Kandauda Amila De Zoysa Karunathilaka <
amilakarunathilaka...@cse.mrt.ac.lk> wrote:

> Hi All,
> I read project description above link. I got what are the objectives in
> this project. I will start this project from syntax highlighting part.
> I will start to follow a antlr4 tutorial. I hope to develop PoC for idea
> plugin with syntax highlighting with in few days. I will give few day to do
> this. Because next week will start our semester end exam.
> Can you give detail about siddhi syntax category.
>
> Thank you.
>
> Best Regards,
> *Amila Karunathilaka*
> Undergraduate,
> Department of Computer Science & Engineering,
> Faculty of Engineering,
> University of Moraduwa,
> Sri Lanka.
>
> On 7 March 2017 at 10:37, Tishan Dahanayakage  wrote:
>
>> Hi Amila,
>>
>> Thanks for your interest in the project and WSO2. I hope you went through
>> the project discription at[1].
>> Siddhi is a SQL like language where you can write queries which can do
>> real-time analysis which is based on antlr. Deliverable of the project is
>> to develop an intelliJ idea editor plugin which has syntax highlighting,
>> code completion, running and debugging Siddhi from within idea.
>> As starters I would say you start off by developing an idea plugin with
>> syntax highlighting capabilities for a simple antler based grammar. then we
>> can improve on that.
>>
>> Please reach out if you need any specifics.
>>
>> [1] https://docs.wso2.com/display/GSoC/Project+Proposals+for
>> +2017#ProjectProposalsfor2017-Proposal4:IdeaPluginforSiddhi
>>
>> Thanks,
>> /Tishan
>>
>> On Tue, Mar 7, 2017 at 10:12 AM, Nirmal Fernando  wrote:
>>
>>> [Looping mentors]
>>>
>>> On Tue, Mar 7, 2017 at 12:01 AM, Kandauda Amila De Zoysa Karunathilaka <
>>> amilakarunathilaka...@cse.mrt.ac.lk> wrote:
>>>
 Hi,

 I'm Amila Karunathilaka undergraduate student of Computer Science and
 Engineering, University of Moratuwa.
 I interested with IDEA Plugin for Siddhi project.
 I have experience with java, *Idea plugin development* and
 siddhi(using WSO2 DAS).
 I would like to know more detail about this project. Please give me
 some tips to getting started.

 Thank you.

 Best Regards,
 *Amila Karunathilaka*
 Undergraduate,
 Department of Computer Science & Engineering,
 Faculty of Engineering,
 University of Moraduwa,
 Sri Lanka.

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


>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Technical Lead - Analytics Team, WSO2 Inc.
>>> Mobile: +94715779733 <+94%2071%20577%209733>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Tishan Dahanayakage
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile:+94 716481328 <+94%2071%20648%201328>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>


-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017

2017-03-07 Thread Tishan Dahanayakage
HI Vihanga,

Thanks for the update. Yes we can follow the same as idea plugin for
Ballerina as it is also based on Antlr. Keep us posted.

Thanks,
/Tishan

On Tue, Mar 7, 2017 at 9:28 PM, Vihanga Liyanage <
vihangaliyanage...@gmail.com> wrote:

> Hi all,
>
> Informing current state of the project.
>
> As Tishan suggested that we should move on to a different approach, I
> tried to do this without using xtext. I found that their is a jet-brains
> library [1] written by Prof. Terence Parr, to support ANTLR grammars in
> jetbrains IDE plugins. Also I found this sample plugin [2] as well, and I'm
> still trying to figure out how to run it.
> I also contacted the guy who wrote the IDEA plugin for Ballerina language
> [3], Shan, and I think we can get together something quickly.
>
> [1] https://github.com/antlr/jetbrains
> [2] https://github.com/antlr/jetbrains-plugin-sample
> [3] https://github.com/ballerinalang/plugin-intellij
>
> Thanks,
>
> Vihanga Liyanage,
> Undergraduate,
> University of Colombo School of Computing.
> M: +94 71 012 4103 <+94%2071%20012%204103>
>
> 
> 
> 
>
> On Sun, Feb 26, 2017 at 1:28 AM, Vihanga Liyanage <
> vihangaliyanage...@gmail.com> wrote:
>
>> Ah, I see your point. I'll do some more digging to see if there's
>> anything we could do about this.
>>
>> Regards,
>>
>> Vihanga Liyanage,
>> Undergraduate,
>> University of Colombo School of Computing.
>> M: +94 71 012 4103 <071%20012%204103>
>>
>> 
>> 
>> 
>>
>> On Sat, Feb 25, 2017 at 10:54 PM, Tishan Dahanayakage 
>> wrote:
>>
>>> Hi Vihanga,
>>>
>>> Yes. We need to make corresponding xtext if we are to use this approach.
>>> Problem is If we can't automatically convert antlr to xtext, then everytime
>>> there is a grammar level change we will have to manually update xtext
>>> grammar which is not scalable. We can't maintain two grammar definitions.
>>> Anyway that is my view. Let's see what others have to say.
>>>
>>> Thanks
>>> /Tishan
>>>
>>> On Sat, Feb 25, 2017 at 10:59 AM, Vihanga Liyanage <
>>> vihangaliyanage...@gmail.com> wrote:
>>>
 Hi Tishan,

 Well yes, I also read that xtext grammar is based on Antlr. But in my
 opinion, if we can use xtext for this project, all we need to do is create
 the xtext grammar corresponds to the existing Antlr grammar of Siddhi and
 that's it right? Please correct me if I'm wrong.

 Thanks,

 Vihanga Liyanage,
 Undergraduate,
 University of Colombo School of Computing.
 M: +94 71 012 4103 <+94%2071%20012%204103>

 
 
 

 On Fri, Feb 24, 2017 at 2:29 PM, Tishan Dahanayakage 
 wrote:

> Hi Vihanga,
>
> Thanks for the research and samples. Good progress!!  I also read a
> bit about Xtext. It is also using Antlr internally. But according to the
> material I came across we cannot convert antlr grammar automatically to
> Xtext. So since Siddhi grammar is based on antlr and we are not going to
> move the grammar to Xtext can you please try the same with a simple Antlr
> v4 grammar file.
>
> Thanks
> /Tishan
>
> On Fri, Feb 24, 2017 at 11:59 AM, Vihanga Liyanage <
> vihangaliyanage...@gmail.com> wrote:
>
>> Hi all,
>>
>> I hope you read my reply to the other mail tread, "Eclipse plugin for
>> Siddhi". As I said in there, we can use same Xtext[1] framework to 
>> develop
>> Siddhi plugins for both eclipse and Intellij IDEA editors. Here are my
>> example idea plugin project details. You can find the code in here[2].
>>
>> This is the sample xtext grammar I used.
>>
>>
>>
>> Syntax highlighting and error detection.
>>
>>
>> ​
>> Code completion
>>
>>
>> ​
>> I'd love to know your ideas about this.
>>
>> [1] https://eclipse.org/Xtext/index.html
>> [2] https://github.com/vihanga-liyanage/IDEA-Plug-Ins
>>
>> Regards,
>> 
>>
>> Vihanga Liyanage,
>> Undergraduate,
>> University of Colombo School of Computing.
>> M: +94 71 012 4103 <+94%2071%20012%204103>
>>
>> 
>> 
>> 
>>
>> On Mon, Feb 13, 2017 at 11:50 AM, Vihanga Liyanage <
>> vihangaliyanage...@gmail.com> wrote:
>>
>>> Thank you for your reply. I'll look into those things and will get
>>> back to you.
>>>
>>> Regards
>>>
>>>
>>> On Feb 13, 2017 10:35 AM, "Tishan Dahanayakage" 

Re: [Dev] What is the difference between ACS URL and Recipient in SAML2?

2017-03-07 Thread Sewmini Jayaweera
ping

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Mar 7, 2017 at 10:58 PM, Sewmini Jayaweera  wrote:

> Hi,
>
> As per the SAML core specification [1], below were the definitions given
> for ACS URL and Recipient.
>
>- *AssertionConsumerServiceURL: *Specifies by value the location to
>which the  message MUST be returned to the
>requester. The responder MUST ensure by some means that the value
>specified is in fact associated with the requester. [SAMLMeta] provides one
>possible mechanism; signing the enclosing  message is
>another. This attribute is mutually exclusive with the
>AssertionConsumerServiceIndex attribute and is typically accompanied by the
>ProtocolBinding attribute.
>
>
>- *Recipient [Optional]: *A URI specifying the entity or location to
>which an attesting entity can present the assertion. For
>example, this attribute might indicate that the assertion must be
>delivered to a particular network endpoint in order to prevent an
>intermediary from redirecting it someplace else
>
> *Question*
>
>1. Should AssertionConsumerServiceURL and Recipient always be the same?
>2. When exactly do we need to specify a recipient? Appreciate if you
>can explain with a sample use case.
>
> [1]. https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
>
> Cheers!
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250 <+94%2077%20338%201250>
> sewm...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread KasunG Gajasinghe
To reduce complexity, I think we can keep an account settings within the
admin portal as well. Otherwise, we have to know where the user-portal app
is located in a distributed environment etc.

We can create a UUF component [1] for account-settings and re-use it across
both portals.

[1]
https://github.com/wso2/carbon-uuf-maven-tools/tree/master/plugin#1-creating-a-uuf-component

On Tue, Mar 7, 2017 at 4:34 PM, Pushpalanka Jayawardhana 
wrote:

> Hi All,
>
> In the user portal we already have functionality implemented for 'account
> settings' shown in top right-hand, along with the logout option for
> logged-in user.
> Using this option the logged-in user can update the profile details,
> security questions etc.
>
> When we come down to the admin users, they may also need to update their
> user profiles, security questions etc. Ideally in that case they should
> also go via this 'account settings' option in top right-hand side.
> At this point we have several options.
>
> - Should we redirect the admin users to user-portal to complete this
> operation of updating their own user profile or
> - Should we implement that same profile update functionalities within
> admin-portal?
>
> - If we are to go with this approach, if will be good if we can place the
> common code in some other place where both apps(admin-portal and
> user-portal) can reuse.
>
> Appreciate you inputs.
>
> Thanks,
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/
> pushpalanka/ | Twitter: @pushpalanka
>
>


-- 

*Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
phone: +1 650-745-4499, 77 678 0813
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Handling Tab view

2017-03-07 Thread Rajith Roshan
In APIM - Store we have included all the common views like header, footer,
side bar and etc as bindings in component.yaml as follows

bindings:
  - zoneName: footer
mode: prepend
fragments:
  - org.wso2.carbon.apimgt.web.store.feature.footer
  - zoneName: topbar
mode: prepend
fragments:
  - org.wso2.carbon.apimgt.web.store.feature.globalNavigation
  - zoneName: sidebar
mode: prepend
fragments:
  - org.wso2.carbon.apimgt.web.store.feature.sidebar


Then there is common layout which includes all of the above zones
(main.hbs).

{{defineZone "sidebar"}}


Then in every page (for ex : APIS list page, applications page and etc) we
have included this layout.

{{layout "main"}} .

So when ever redirects to another page all the common things will be
available.

Thanks!
Rajith

On Tue, Mar 7, 2017 at 1:29 PM, Denuwanthi De Silva 
wrote:

> Hi,
>
> I used the menu helper for the leftside menu generation in our layout
> currently.
> Will we get the '@selected' support with the coming uuf release?
>
> Thanks,
>
>
>
> On Tue, Mar 7, 2017 at 8:44 AM, Denuwanthi De Silva 
> wrote:
>
>> Hi Manuranga,
>>
>> Yes I'm planning to use menu helper, since that seems to be the  way to
>> render the menus with each page loading.
>> If there is any other approach, we can try that too.
>>
>> Thanks
>>
>> On Mon, Mar 6, 2017 at 10:18 PM, Manuranga Perera  wrote:
>>
>>> Hi Denuwanthi,
>>> Are you planing to use menu helper ?
>>>
>>> On Mon, Mar 6, 2017 at 4:14 PM, SajithAR Ariyarathna 
>>> wrote:
>>>
 Hi Manu,

 On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera  wrote:

> @Sajith
> * Can we use the menu helper ?
>
 We have used the menu helper in the sample apps.

> * AFAIK menu helper doesn't support a @selected attribute, to
> highlight current tab, don't we need to implement it?
>
 Correct, ATM we don't support '@selected'. I think we can support it
 easily.


>
> On Mon, Mar 6, 2017 at 2:52 PM, SajithAR Ariyarathna <
> sajit...@wso2.com> wrote:
>
>>
>>
>> On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva <
>> denuwan...@wso2.com> wrote:
>>
>>>
>>>
>>> On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva <
>>> denuwan...@wso2.com> wrote:
>>>
 Thank you for the detailed description Sajith.


 On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna <
 sajit...@wso2.com> wrote:

> I think you have misunderstood the page concept. In UUF, Page is
> the whole thing (markup) that covers the browser window. So you
> *cannot* insert a page into another page.
>
> With that in mind, let's brak down the UI in [1].
>
> - Left pane has 4 links, seems that those are app level menus. So,
> IMO each link should have a separate page.
>
> +1 to have separate page for each app menu.
>>> But that would make the left side 4 menus to disappear each time we
>>> go inside each menu due to directing to a new page.
>>> As you can see in [2] & [3], the left side menu remains even if we
>>> navigate from "User" to "Group" menu.
>>>
>>> So, does that mean we have to go to a fragment approach inorder to
>>> keep the left menu while navigating (since we cannot load a page inside
>>> another page) ?
>>>
>>> No need for a fragment based approach. Please look at my second
>> point, the answer is there :)
>>
>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and 
>>> *right-side
>>> menu will be the same for all pages*. Then we can put the markup
>>> for those into a layout and use that layout in pages (e.g. overview 
>>> page,
>>> users page).
>>
>>  So, having the menu in the layout will make it appear on all 4 pages.
>>
>> Thanks.
>>
>>>
>>>
>>> [2]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>> master/Wireframes/admin-portal/v2/3.3%20Add%20users%20-%20op
>>> tions.png
>>> [3]https://raw.githubusercontent.com/wso2-dev-ux/product-is/
>>> master/Wireframes/admin-portal/v2/4.3%20Group%20Listing.png
>>>
>>> - Top bar (logo, product name, and usermenu), breadcrumbs, and
> right-side menu will be the same for all pages. Then we can put the 
> markup
> for those into a layout and use that layout in pages (e.g. overview 
> page,
> users page).
>
> - You can configure the menu in the app.yaml (see pets-store,
> features-app samples). And using the {{#menu }} helper, you can 
> populate
> the menu (see sample apps)
>
> Thanks.
>
>
> On Mon, Mar 6, 2017 at 6:15 PM, Denuwanthi De Silva <
> denuwan...@wso2.com> wrote:
>

Re: [Dev] What is the difference between ACS URL and Recipient in SAML2?

2017-03-07 Thread Hasintha Indrajee
According [1]

" The Recipient URL is another layer of security to make sure that the SAML
response is meant for you and only you.

The Recipient will tell you exactly who the SAML response is for, but the
Audience will tell you, at a broader level, where the response should go.
So for example, the Recipient could be Yankee Stadium, while the Audience
could be New York City.

Using both Audience and Recipient values is recommended."

Again I think this is subjective. IDP and SP can agree on finer levels or
the other way around as well. Recipient value does not need to be limited
to ACS. You can have multiple recipient values as well.


[1]
https://support.onelogin.com/hc/en-us/articles/202673944-How-to-Use-the-OneLogin-SAML-Test-Connector

On Wed, Mar 8, 2017 at 12:20 PM, Sewmini Jayaweera  wrote:

> ping
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250 <077%20338%201250>
> sewm...@wso2.com
>
> On Tue, Mar 7, 2017 at 10:58 PM, Sewmini Jayaweera 
> wrote:
>
>> Hi,
>>
>> As per the SAML core specification [1], below were the definitions given
>> for ACS URL and Recipient.
>>
>>- *AssertionConsumerServiceURL: *Specifies by value the location to
>>which the  message MUST be returned to the
>>requester. The responder MUST ensure by some means that the value
>>specified is in fact associated with the requester. [SAMLMeta] provides 
>> one
>>possible mechanism; signing the enclosing  message is
>>another. This attribute is mutually exclusive with the
>>AssertionConsumerServiceIndex attribute and is typically accompanied by 
>> the
>>ProtocolBinding attribute.
>>
>>
>>- *Recipient [Optional]: *A URI specifying the entity or location to
>>which an attesting entity can present the assertion. For
>>example, this attribute might indicate that the assertion must be
>>delivered to a particular network endpoint in order to prevent an
>>intermediary from redirecting it someplace else
>>
>> *Question*
>>
>>1. Should AssertionConsumerServiceURL and Recipient always be the
>>same?
>>2. When exactly do we need to specify a recipient? Appreciate if you
>>can explain with a sample use case.
>>
>> [1]. https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
>>
>> Cheers!
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250 <+94%2077%20338%201250>
>> sewm...@wso2.com
>>
>
>


-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread Johann Nallathamby
+1 for Kasun's suggestion. No need to complicate things any further than we
have now :).

On Wed, Mar 8, 2017 at 12:23 PM, KasunG Gajasinghe  wrote:

>
> To reduce complexity, I think we can keep an account settings within the
> admin portal as well. Otherwise, we have to know where the user-portal app
> is located in a distributed environment etc.
>
> We can create a UUF component [1] for account-settings and re-use it
> across both portals.
>
> [1] https://github.com/wso2/carbon-uuf-maven-tools/tree/
> master/plugin#1-creating-a-uuf-component
>
> On Tue, Mar 7, 2017 at 4:34 PM, Pushpalanka Jayawardhana 
> wrote:
>
>> Hi All,
>>
>> In the user portal we already have functionality implemented for 'account
>> settings' shown in top right-hand, along with the logout option for
>> logged-in user.
>> Using this option the logged-in user can update the profile details,
>> security questions etc.
>>
>> When we come down to the admin users, they may also need to update their
>> user profiles, security questions etc. Ideally in that case they should
>> also go via this 'account settings' option in top right-hand side.
>> At this point we have several options.
>>
>> - Should we redirect the admin users to user-portal to complete this
>> operation of updating their own user profile or
>> - Should we implement that same profile update functionalities within
>> admin-portal?
>>
>> - If we are to go with this approach, if will be good if we can place the
>> common code in some other place where both apps(admin-portal and
>> user-portal) can reuse.
>>
>> Appreciate you inputs.
>>
>> Thanks,
>> --
>> Pushpalanka.
>> --
>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>> Mobile: +94779716248
>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/p
>> ushpalanka/ | Twitter: @pushpalanka
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017 Eclipse plugin for Siddhi

2017-03-07 Thread Udeshika Sewwandi
Hi,
I went through several references provided, since Siddhi grammar  is almost
similar to SQL what is needed is to create an editor like mysql workbench.
Is this the thing expected out of this project ? Thank you.

Best Regards,
-Sewwandi

On 7 March 2017 at 21:51, Udeshika Sewwandi 
wrote:

> Hi,
> I have tried to create the Hello World plugin as in [1]. But to test the
> plugin I cannot reach eclipse run-time workbench. When I tried Run -> Run
> as by selecting the plugin project no option is given as Run-time
> Workbench. I couldn't find a method to get the run-time workbench. Can you
> please help on this?Thank you.
>
> Best Regards,
> -Sewwandi
>
> --
> K.A.U.Sewwandi
> Undergraduate
> Department of Computer Science and Engineering
> Faculty of Engineering
> University of Moratuwa
>



-- 
K.A.U.Sewwandi
Undergraduate
Department of Computer Science and Engineering
Faculty of Engineering
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev