Re: [Dev] Distinguish dashboard customize functionalities

2016-10-27 Thread Jerad Rutnam
Hi Udara, IMO if we are give gadget rearranging support in both screens, it will confuse the user. And technically we have to sync the arrangements in both places. So what I think is we can separate these two features depends on the persona/user-type. Dashboard designing is an

Re: [Dev] Distinguish dashboard customize functionalities

2016-10-27 Thread Dakshika Jayathilaka
Hi Udara, IMO second option more towards to advance editing. Isn't it good to have a single option called "personalize view". Inside of it, we can provide "advanced settings", which provides the second scenario? WDYT? Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos

Re: [Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-10-27 Thread Selvaratnam Uthaiyashankar
Do we have any requirements to see all queries together? If so, defining in a single place would be easy. However, I am not sure whether we have used that requirement ever. We normally look at the query local to the method? If so, I am +1 for Ruwan's proposal. Being local constant to the method

Re: [Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-10-27 Thread Sumedha Rubasinghe
I am actually in favour of what Ruwan is suggesting. 1. When a problem comes we usually start by looking at the particular query. There is no need to look at all queries together. 2. Having the query close to rest of the jdbc code is easier. 3. Regardless of where it is, all queries should be

Re: [Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Isura Karunaratne
login permission is required for following gadgets - Update user profile : It uses UserProfileMgtService - Setting security questions : It uses UserIdentityManagementAdminService - Change password : It uses UserIdentityManagementAdminService - Account association - Authorized

Re: [Dev] Build a conjunction of ESB and AS

2016-10-27 Thread Lakshani Gamage
Hi Greg, You can install AS features in ESB. Please follow the steps in [1]. [1] https://docs.wso2.com/display/ESB500/Installing+Features Thanks, Lakshani On Thu, Oct 27, 2016 at 5:12 PM, Grigoris Triantafillidis < gtriantafilli...@cognity.gr> wrote: > Dear all, > > > > Is there a documented

Re: [Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Johann Nallathamby
Hi Isura, Why do we need "login" permission for user portal? Only workflow approvals and user session termination we need some specific permissions. Shall we remove the requirement to have "login" permission to login to the user portal? I guess removing it from the portal might not be enough.

Re: [Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Isura Karunaratne
BTW, login permission is given to internal/selfsignup role [1]. Have we changed that ? Thanks Isura. [1]

Re: [Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-10-27 Thread Sagara Gunathunga
Personally I don't have strong preference on one style over other, what mostly important for me is maintain one style consistently within the product and if possible across the company. I'm adding few other people for their opinion. Thanks ! On Thu, Oct 27, 2016 at 5:34 PM, Ruwan Abeykoon

[Dev] Build a conjunction of ESB and AS

2016-10-27 Thread Grigoris Triantafillidis
Dear all, Is there a documented approach to this task (To create inside ESB at least a webapp container, plus other or all features of AS), so as to create an instance with both [ESB + AS] features? Since we have come up with errors and issues I would rather ask if there is a general

Re: [Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Ayesha Dissanayaka
On Thu, Oct 27, 2016 at 6:56 PM, Johann Nallathamby wrote: > Why do we need to have login permission for "selfsignup" role. We don't > need to. "login" permission is to login to management console. We don't > expect self signup users to login to management console. They can only

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Ayesha Dissanayaka
Yes. It is not a good user experience to be able to send random email address and still be able to recover information. Created bug jira https://wso2.org/jira/browse/IDENTITY-5284. On Thu, Oct 27, 2016 at 6:57 PM, Johann Nallathamby wrote: > Then we need to open a "Bug" jira

Re: [Dev] Distinguish dashboard customize functionalities

2016-10-27 Thread Tanya Madurapperuma
Hi, On Thu, Oct 27, 2016 at 7:26 AM, Udara Rathnayake wrote: > In current dashboard server, we have two functionalities enabling > end-users to customize their dashboard view. > > 1. Within dashboard view resize gadgets(by dragging the edge), relocate > gadgets etc.. and

Re: [Dev] Distinguish dashboard customize functionalities

2016-10-27 Thread Nipuna Chandradasa
As far as i know to perform these functionality user need to have only one permission level right? Viewer permission(Not so sure). If it is 1st functionality is like a Quick Personalize i suppose and the 2nd functionality is Edit or Personalize. Also if so i think having two functionality to

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Johann Nallathamby
Then we need to open a "Bug" jira and fix it IMO :). The current one can be left as an improvement for future to dynamically decide to show claims to uniquely identify the user. On Thu, Oct 27, 2016 at 6:15 PM, Ayesha Dissanayaka wrote: > > On Thu, Oct 27, 2016 at 6:07 PM,

Re: [Dev] [ESB 5] Access Response JSON Payload in a Class Mediator

2016-10-27 Thread Rajkumar Rajaratnam
On Thu, Oct 27, 2016 at 9:42 AM, Rajkumar Rajaratnam wrote: > Hi Isuru, > > I think you have to build the message first and call > jsonPayloadToString(). Try this. > > try { >RelayUtils.buildMessage(a2mc); > } catch (IOException | XMLStreamException e) { >

Re: [Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Johann Nallathamby
Why do we need to have login permission for "selfsignup" role. We don't need to. "login" permission is to login to management console. We don't expect self signup users to login to management console. They can only login to dashboard, and for that we should not need "login" permission. Can you

Re: [Dev] [ESB 5] Access Response JSON Payload in a Class Mediator

2016-10-27 Thread Rajkumar Rajaratnam
Hi Isuru, I think you have to build the message first and call jsonPayloadToString(). Try this. try { RelayUtils.buildMessage(a2mc); } catch (IOException | XMLStreamException e) { log.error("Error occurred while building the message", e); } JsonUtil.jsonPayloadToString(a2mc); Also make

Re: [Dev] [ESB 5] Access Response JSON Payload in a Class Mediator

2016-10-27 Thread Rajith Vitharana
Hi Isuru, Below [1] worked for me to retrieve jsonbody. And then to set it back, what you did worked for me. IE [2] [1] - StringBuilder json = JsonUtil.toJsonString(synCtx.getEnvelope().getBody()); [2] - JsonUtil.getNewJsonPayload( ((Axis2MessageContext)

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Lahiru Cooray
On Thu, Oct 27, 2016 at 2:23 PM, Thilini Cooray wrote: > Hi, > > APIM 1.7 does not support audit logs for operations such as API creation > and deletion, application creation and deletion. > I am looking for alternatives which can be used for collecting audit data. > > Since

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Ayesha Dissanayaka
On Thu, Oct 27, 2016 at 6:07 PM, Johann Nallathamby wrote: > But then at least we have to make sure all the fields that we show are > validated. Otherwise as pointed out in the first mail it is confusing for > the user right? Are the claims configurable? All the claims we show

[Dev] [IS-5.3.0] User experience for self signed-up users in dashboard app in a default pack

2016-10-27 Thread Ayesha Dissanayaka
Hi all, While testing 5.3.0-M5, I came across below concerns around user self sign-up. The user experience is broken for a *self registered user* in a *default pack* and I have reported them in IDENTITY-5271 with reproducing steps and sub-tasks.

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Ayesha Dissanayaka
That makes sense. I have created IDENTITY-5283 in order to track this as an improvement. On Thu, Oct 27, 2016 at 5:23 PM, Darshana Gunawardana wrote: > As per the initial design, these entries used to filter a unique user. No >

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Johann Nallathamby
But then at least we have to make sure all the fields that we show are validated. Otherwise as pointed out in the first mail it is confusing for the user right? Are the claims configurable? All the claims we show in the UI must be validated or we must not show them IMO. On Thu, Oct 27, 2016 at

[Dev] Distinguish dashboard customize functionalities

2016-10-27 Thread Udara Rathnayake
In current dashboard server, we have two functionalities enabling end-users to customize their dashboard view. 1. Within dashboard view resize gadgets(by dragging the edge), relocate gadgets etc.. and persist. 2. Go to the dashboard designer and do extensive customization, by deleting existing

[Dev] [ESB 5] Access Response JSON Payload in a Class Mediator

2016-10-27 Thread Isuru Haththotuwa
Hi, How to do $subject? Need to modify the response payload from BE and send it to the client. Tried [1], but did not work. [1]. String jsonPayloadToString = JsonUtil .jsonPayloadToString(((Axis2MessageContext) messageContext)

[Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-10-27 Thread Ruwan Abeykoon
Hi Devs, We have been following a convention to put Database query string in a constant elsewhere in the code when performing DB CRUD operations. e.g. try { String sqlStmt = IdPManagementConstants.SQLQueries.GET_IDP_BY_NAME_SQL; prepStmt = dbConnection.prepareStatement(sqlStmt);

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Darshana Gunawardana
As per the initial design, these entries used to filter a unique user. No more validations. If two users in the system having the firstname 'Darshana' then it will check for the last name to get the unique user and keep on using additional attributes until it can point to a unique user. We

Re: [Dev] [IS][Registry] Usage of modules/carbon/scripts/registry/artifacts.js in Identity Server

2016-10-27 Thread Abimaran Kugathasan
Any hint on this? On Thu, Oct 27, 2016 at 10:12 AM, Abimaran Kugathasan wrote: > Hi IS/Registry Teams, > > > I want to know the usage of > wso2is-5.2.0/modules/carbon/scripts/registry/artifacts.js > script? > > It was referred through

Re: [Dev] WSO2 EMM Support

2016-10-27 Thread Praveen J
Hi Lakshman, Thank you for your suggestion. I will check and one more thing I have faced major probelm in -Dworkernode I already mentioned in my previous mail please check and let me know. 27.10.2016, 16:23, "Lakshman Udayakantha" :Hi Praveen, The failing maven plugin added

Re: [Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Johann Nallathamby
Those claims are asked for user verification. Ideally the email you give here must match the one in your profile and it must be used to send the mail. If its working with two email addresses then there is some configuration issue. On Thu, Oct 27, 2016 at 4:50 PM, Ayesha Dissanayaka

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Nuwan Dias
You can write a registry handler (for the api artifact type) to capture API additions, removals and updates. On Thu, Oct 27, 2016 at 3:52 PM, Thilini Cooray wrote: > Hi Jo, > > Since AM_API table does not contain fields to capture user details in APIM > 1.7, AFAIU we would

[Dev] [IS-5.3.0-M5] What is the use of asking for email when "Username Recovery with email notification"

2016-10-27 Thread Ayesha Dissanayaka
Hi, While testing 5.3.0-M5, I observe that it asks for below entires in order to recover the username. - *First name * - *Last name * - *Email* Regardless of the value that we provide for *Email* field in User-name Recovery page, correct username is emailed to the email address

Re: [Dev] WSO2 EMM Support

2016-10-27 Thread Lakshman Udayakantha
Hi Praveen, The failing maven plugin added lately by sameera. It seems like this plugin download at the build time and if it can't download the plugin or it's configs it will throw this error. Check your connection or firewall. I assume you have blocked the site which can be downloaded this

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Thilini Cooray
Hi Jo, Since AM_API table does not contain fields to capture user details in APIM 1.7, AFAIU we would need a code level modification to it. WDYT? ATM I only limited to fields available in AM_API table due to it. Thanks. On Thu, Oct 27, 2016 at 3:38 PM, Joseph Fonseka wrote: >

Re: [Dev] WSO2 Committers += Anupama Pathirage

2016-10-27 Thread Manuri Amaya Perera
Congratulations! :) On Mon, Oct 17, 2016 at 9:13 PM, Anupama Pathirage wrote: > Hi, > > Thanks a lot Malli... :) And also thanks a lot for all the support you > have given during the past period. It helped me a lot :) > > On Mon, Oct 17, 2016 at 3:33 AM, Rajith Vitharana

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Joseph Fonseka
Hi I guess you would need to capture user details as well for an audit log entry. Do you have a plan on getting the user data at db level. Thanks Jo On Thu, Oct 27, 2016 at 3:27 PM, Thilini Cooray wrote: > Hi Uvindra, > > Details in AM_API will be enough for the audit log.

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Thilini Cooray
Hi Uvindra, Details in AM_API will be enough for the audit log. If we want to capture lifecycle state details I understand that we need to look at registry resources as well. Thanks. On Thu, Oct 27, 2016 at 3:21 PM, Uvindra Dias Jayasinha wrote: > HI Thilini, > > If all you

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Uvindra Dias Jayasinha
HI Thilini, If all you want to check is when an API is added or deleted then the same approach of using trigger for AM_API table is enough. But what information exactly do you need to collect for the audit? On 27 October 2016 at 14:23, Thilini Cooray wrote: > Hi, > > APIM

Re: [Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Thilini Cooray
On Thu, Oct 27, 2016 at 2:23 PM, Thilini Cooray wrote: > Hi, > > APIM 1.7 does not support audit logs for operations such as API creation > and deletion, application creation and deletion. > I am looking for alternatives which can be used for collecting audit data. > > Since

Re: [Dev] WSO2 EMM Support

2016-10-27 Thread Madawa Soysa
Hi Praveen, May I know why you are trying to build only the distribution module? Thanks, Madawa On Thu, Oct 27, 2016 at 9:59 AM, Praveen J < praveen.josephmasilam...@nexttechnosolutions.co.in> wrote: > Hi All, > > Good Day, I'm still awaiting for your response for my previous mail. And >

[Dev] Unable to add DeploymentSynchronizerAdmin service to SoapUI

2016-10-27 Thread Gayakshika Gimhani [IT/EKO/LOITS]
Hi, I made some changes to an existing service in wso2 BRS using RuleServiceAdmin service with SoapUI. The changes I made does not save in the service automatically, until I redeploy the service using the Edit via Rule Service Wizard in management console. For this I need to use

[Dev] [dev][APIM 1.7] Alternatives for API creation/deletion audit logs

2016-10-27 Thread Thilini Cooray
Hi, APIM 1.7 does not support audit logs for operations such as API creation and deletion, application creation and deletion. I am looking for alternatives which can be used for collecting audit data. Since application data are only stored in AM_DB, we can collect application related audit data

Re: [Dev] [DEV] Working with swagger for EMM API docs

2016-10-27 Thread Sanjeewa Malalgoda
Hi, I would like to clarify why we are trying to generate swagger from code. As i know these APIs first designed with swagger and later implemented java code. If we carefully go through their spec then defining a default value for a attribute and marking that as required is somewhat of a