Re: [Dev] Publishing GREG Rest API

2013-07-19 Thread Sriragu Arudsothy
Hi Nuwan, I agree to you. I also have done the second option calling jaggery REST endpoint to publish the REST API. I tested using a menu item click on it will publish the REST API after Greg server start up. User who has certain permission may publish the REST API if not published

Re: [Dev] Error deploying REST API war.

2013-07-08 Thread Sriragu Arudsothy
I have attached the patch with another mail thread. Please commit that. That will fix reported issue by you as well as deployment issue too. On Mon, Jul 8, 2013 at 9:45 AM, Ajith Vitharana aji...@wso2.com wrote: Hi All, I'm getting following exception in latest G-Reg pack. INFO: The

Re: [Dev] Error deploying REST API war.

2013-07-08 Thread Sriragu Arudsothy
@Ajith please commit it. On Mon, Jul 8, 2013 at 12:21 PM, Sriragu Arudsothy srir...@wso2.com wrote: I have attached the patch with another mail thread. Please commit that. That will fix reported issue by you as well as deployment issue too. On Mon, Jul 8, 2013 at 9:45 AM, Ajith Vitharana

[Dev] Unable to access the REST API Jax web app in Tenant space that deployed in Super-tenant space

2013-06-26 Thread Sriragu Arudsothy
Hi All, I have deployed the Registry REST API which is a Jax web app in Super-Tenant mode. Then I have created another tenant (ragu.com), but the REST API war has not been deployed under the created tenant space. Therefore I was unable to access the REST API in the Tenant Mode without

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-19 Thread Sriragu Arudsothy
.comwrote: On Tue, Jun 18, 2013 at 12:59 PM, Sriragu Arudsothy srir...@wso2.comwrote: Hai Dinusha, At the later part of your answer, you mentioned the how to send the request. Do we have a use case where without API manager. AFAIR, It has been clearly said during the final

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-18 Thread Sriragu Arudsothy
artifacts by coping synapse.xml files into synapse deployment directories of tenants. We had to customize apimgt code that it can identify the where api management is doing and avoid these synapse related tasks. On Tue, Jun 18, 2013 at 9:43 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-17 Thread Sriragu Arudsothy
? What has to be done to complete it ? Because the Greg has a strict dead line to finish off by next week ? Thanks! Ragu On Mon, Jun 10, 2013 at 6:31 PM, Sriragu Arudsothy srir...@wso2.com wrote: Hai Sanjeewa..! We are having a strategic discussion that how

Re: [Dev] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-10 Thread Sriragu Arudsothy
will be functioning as a centralized routing element decides whether the request to be processed via light weight APIM comp or alone at the Greg REST API. @Lalaji and Dinusha please add anything if I miss anything. Thanks! Ragu On Thu, Jun 6, 2013 at 12:01 PM, Sriragu Arudsothy srir...@wso2.com wrote

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-10 Thread Sriragu Arudsothy
the processing path according to the manageAPIs property value. Thanks! Ragu On Mon, Jun 10, 2013 at 6:03 PM, Sriragu Arudsothy srir...@wso2.com wrote: Hai Lakmali..! Yes, the above link does not work...! I moved the user token generation menu under the Resources menu in order

Re: [Dev] [Architecture] Need to know the current stage of Embeddable APIM Solution

2013-06-05 Thread Sriragu Arudsothy
Ruchira) had a lengthy chat on this, and discussed implementation details. Please talk to Sumedha on this. We can have a quick meeting next week. Regards, /Nuwan On Wed, Jun 5, 2013 at 7:57 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai Sumedha/Nuwan, I

[Dev] Need to know the current stage of Embeddable APIM Solution

2013-06-04 Thread Sriragu Arudsothy
Hai Sumedha/Nuwan, I would like to know the position where the embeddable APIM solution stands for Registry REST API. Thanks! Ragu ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] REST Call to get the Access token from API manager

2013-05-20 Thread Sriragu Arudsothy
) and get the access token. thanks, On Mon, May 20, 2013 at 6:49 AM, Sriragu Arudsothy srir...@wso2.comwrote: hai All, Sumedha, What am I doing is that I am calling the access token generation REST endpoint from Greg. Here the API manager is running as an another

[Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Sriragu Arudsothy
Hai all, I have used the following REST call to generate the access token from API manager. http://127.0.0.1:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag?action=generateApplicationKeykeytype=BearercallbackUrl=authorizedDomains=Allapplication=Registry

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Sriragu Arudsothy
AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai all, I have used the following REST call to generate the access token from API manager. http://127.0.0.1:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag?action=generateApplicationKeykeytype

Re: [Dev] Registry REST API

2013-05-10 Thread Sriragu Arudsothy
documentation or steps documented to try this out? Thanks On Thu, May 9, 2013 at 7:31 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai...! The patch to the new feature Registry REST API has been attached on the following URL: https://wso2.org/jira/browse/REGISTRY-1623. 1) The call

[Dev] Fwd: REST API patch attached to the JIRA.

2013-05-08 Thread Sriragu Arudsothy
-- Forwarded message -- From: Sriragu Arudsothy srir...@wso2.com Date: 2013/5/8 Subject: REST API patch attached to the JIRA. To: Ajith Vitharana aji...@wso2.com, Senaka Fernando sen...@wso2.com Hai..! Its the JIRA URL: https://wso2.org/jira/browse/REGISTRY-1623

[Dev] crusible link for REST API code review

2013-05-03 Thread Sriragu Arudsothy
http://wso2.org/crucible/cru/WCP045-4 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Code Review[ Registry REST API]

2013-05-02 Thread Sriragu Arudsothy
=Sriragu Arudsothy;X-NUM-GUESTS=0:mailto:srir...@wso2.com CREATED:20130503T045459Z DESCRIPTION:View your event at http://www.google.com/calendar/event?action= VIEWueid=st7lc40qpc83bcvp3c67c3do20. LAST-MODIFIED:20130503T045459Z LOCATION:58\, 5th floor SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review

[Dev] Invitation: Code Review[ Registry REST API] @ Fri May 3, 2013 11am - 12pm (srir...@wso2.com)

2013-05-02 Thread Sriragu Arudsothy
=Sriragu Arudsothy;X-NUM-GUESTS=0:mailto:srir...@wso2.com CREATED:20130503T045459Z DESCRIPTION:View your event at http://www.google.com/calendar/event?action= VIEWeid=c3Q3bGM0MHFwYzgzYmN2cDNjNjdjM2RvMjAgZGV2QHdzbzIub3Jntok=MTYjc3Jpc

[Dev] Unbale to Integrate the API manager with Greg Registry REST API

2013-04-19 Thread Sriragu Arudsothy
Hai Sumedha, APIM team, As I spoke to the APIM team I have done the following steps in order to integrate the Greg REST API with APIM functionalities. 1) I have built the latest APIM and Greg. 2) The Greg rest api is running at http://localhost:9763/resource

[Dev] Unable to login as a Tenant in GREG 4.6.0 Console. [Latest Pack]

2013-03-15 Thread Sriragu Arudsothy
Hai ALL, I have got the recent check outs and build the GREG 4.6.0 pack today. I was able to register a Tenant via console. when I try to login using that tenant username, pwd as what I registered I did not work. I failed, poped up a Carbon UI error message. But I tested this on the

[Dev] Fwd: Access denied to generate the OAuth Access token for REST API.

2013-03-14 Thread Sriragu Arudsothy
-- Forwarded message -- From: Ajith Vitharana aji...@wso2.com Date: Thu, Mar 14, 2013 at 6:02 PM Subject: Re: Access denied to generate the OAuth Access token for REST API. To: Sriragu Arudsothy srir...@wso2.com Cc: chand...@wso2.com, Prabath Siriwardana prab...@wso2.com, Senaka

[Dev] How to add a panel to be displayed only for GREG under the User management.

2013-03-07 Thread Sriragu Arudsothy
Hai , I want add a link under the user management. Which is displayed currently on all the products. Current code is: by abstract if (CarbonUIUtil.isUserAuthorized(request, /permission/admin/login)) { // link goes here } changed like below to display it

[Dev] What is the MIME media type for collection.

2013-02-26 Thread Sriragu Arudsothy
Hai ! Currently the collections are stored with unknown media type. There has tom be a proper MIME media type for collection resources. If any body knows/came across please let me know. I want to set the content-type of collection when I add it through the REST API. Regards, Ragu

[Dev] Adding usage plan in the multi tenancy in Greg

2013-02-11 Thread Sriragu Arudsothy
Hai ! In the Greg, when a tenant is added the usage plan has to be selected. But by default it has Demo. But I checked the multitenancy-packages.xml file in the /repository/conf. It has all 4 options, not commented. Options are enable. But it does not show up these options in the front.

[Dev] Unexpected element expiresinmillis in the token response - exception thrown when return the access token after generated.

2013-02-04 Thread Sriragu Arudsothy
Hai Suresh, Prabath, In the identity.oauth - 4.0.5 component throws the above exception when return the generated access token from TokenIssuer.issue(). (1) Exception: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement {

Re: [Dev] How to get top rated assets and recently added assets using GReg REST API

2013-01-31 Thread Sriragu Arudsothy
Hai Ruchira..! Current REST API supports if you pass the resource path you would get the associated rating given by the user who belongs to the access token which is used on the HTTP request. Suppose to get the top rated resource- There are two concerns about this. 1) Top

[Dev] Please share the decision made on Access token generation

2013-01-30 Thread Sriragu Arudsothy
Hai All, please share the decisions made on the chat with prabath regarding the Access token generation. How to proceed from the current point. Thanks! Ragu ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] OAuth Access token Generation UI- Urgent help is needed

2013-01-27 Thread Sriragu Arudsothy
...@wso2.comwrote: Hi, On Sat, Jan 26, 2013 at 4:13 PM, Sriragu Arudsothy srir...@wso2.comwrote: Another approach: To avoid writing an addition UI components to generate the Access token. We can just write a REST class to generate the access token and pass the client id, client secret

[Dev] OAuth Access token Generation UI- Urgent help is needed

2013-01-26 Thread Sriragu Arudsothy
Hai All, Greg need the OAuth Access token to be produced in UI which should be a installable feature from Identity Server side feature. At the moment once we installed the OAuth feature that produces upto client id, client secret, auth endpoint, access endpoint details. But we need the

Re: [Dev] OAuth Access token Generation UI- Urgent help is needed

2013-01-26 Thread Sriragu Arudsothy
product in future if needs they can use it. How can I approach? Ragu. On Sat, Jan 26, 2013 at 2:45 PM, Suresh Attanayaka sur...@wso2.com wrote: Hi On Sat, Jan 26, 2013 at 2:00 PM, Sriragu Arudsothy srir...@wso2.comwrote: Hai All, Greg need the OAuth Access token to be produced in UI

Re: [Dev] OAuth Access token Generation UI- Urgent help is needed

2013-01-26 Thread Sriragu Arudsothy
to decode the username and password. This will solve. WDYT? RAGU On Sat, Jan 26, 2013 at 4:01 PM, Sriragu Arudsothy srir...@wso2.com wrote: Yes you are right . The Greg' requirement is like this: Any REST client (ex: Chrome Advanced REST client) we just wanted to pass the Bearer token to get

[Dev] Secure the REST API Using OAUTH 2.0

2013-01-22 Thread Sriragu Arudsothy
Hai Prabath..! We have a CXF Web applications with no UIs. The application does have only the Resource related classes. I have installed the OAuth feature to generate the client id, client secret, auth endpoint, access endpoint for the registered application. But if we want

[Dev] No class found exception at org.apache.amber.oauth.client.HttpClient Occurs In The REST api call in Greg

2013-01-17 Thread Sriragu Arudsothy
Hai all, I have the following class structure. class x{ public String getAuthorizeUserAccess() { try { OAuthClientRequest access_request = OAuthClientRequest.tokenLocation(accessEP).

Re: [Dev] No class found exception at org.apache.amber.oauth.client.HttpClient Occurs In The REST api call in Greg

2013-01-17 Thread Sriragu Arudsothy
think the sample did not work fully when deployed under the webapps. Thanks! Ragu On Fri, Jan 18, 2013 at 7:37 AM, Vijitha Kumara viji...@wso2.com wrote: On Thu, Jan 17, 2013 at 5:01 PM, Sriragu Arudsothy srir...@wso2.comwrote: Hai all, I have the following class structure

Re: [Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-15 Thread Sriragu Arudsothy
/she can use the token to send the REST calls? Any ideas ? Thanks! Ragu On Mon, Jan 14, 2013 at 10:51 PM, Sriragu Arudsothy srir...@wso2.comwrote: yes of course, pls let me know the time/venue. Thanks! Ragu On Mon, Jan 14, 2013 at 10:24 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi

Re: [Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-15 Thread Sriragu Arudsothy
just pass the access token with HTTP header. Way I mentioned before does not display the Access token . That is generated inside the code. Regards, Ragu On Tue, Jan 15, 2013 at 7:55 PM, Vijitha Kumara viji...@wso2.com wrote: On Tue, Jan 15, 2013 at 7:27 PM, Sriragu Arudsothy srir...@wso2

Re: [Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-14 Thread Sriragu Arudsothy
yes of course, pls let me know the time/venue. Thanks! Ragu On Mon, Jan 14, 2013 at 10:24 PM, Prabath Siriwardena prab...@wso2.comwrote: Hi Ragu, Shall we chat on this tomorrow... Thanks regards, -Prabath On Mon, Jan 14, 2013 at 8:34 PM, Sriragu Arudsothy srir...@wso2.comwrote: Hai

Re: [Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-13 Thread Sriragu Arudsothy
to provide the required OAuth 2.0 functionality. Thanks, Senaka. On Sun, Jan 13, 2013 at 8:44 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai , When invoke the REST calls to access the resources or resource related properties, the request has to be authenticated against the user

[Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-12 Thread Sriragu Arudsothy
Hai , When invoke the REST calls to access the resources or resource related properties, the request has to be authenticated against the user credentials using OAuth 2.0. It is a jax web app running on G-Reg. Currently it works without the OAuth mechanism. I went through some extent on

[Dev] Exception thrown when starts the G-reg after deployed the CXF web app

2013-01-11 Thread Sriragu Arudsothy
Hai..! I have deployed the CXF JAX-RS web app into Greg_home/repository/deployement/server/jaxwebapps and started the Greg. it gives the following exception ! Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

[Dev] How to access the OSGI Service from CXF web app

2013-01-10 Thread Sriragu Arudsothy
Hai All, I already developed a CXF web app which should access the OSGI registry service. Is it Possible to access the OSGi service ? If so please give me an idea that how can I get it done? Thanks! Sriragu ___ Dev mailing list Dev@wso2.org

[Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Sriragu Arudsothy
Hai All, The REST API currently implemented as a web - application. The web application get an remote registry instance to access the registry components. The current implementation does the necessary resource related operations using the instance of the remote registry. eg( adding

Re: [Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Sriragu Arudsothy
and provide some sample(s) explaining how this can be used. Thanks, Senaka. On Thu, Jan 10, 2013 at 10:13 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai All, The REST API currently implemented as a web - application. The web application get an remote registry instance to access

Re: [Dev] {branch 4.0.5}Registry metadata list menu is not working

2012-12-12 Thread Sriragu Arudsothy
hai..! have you updated the latest pack for patch release 4.0.5? I had the same issue. Once I updated the pack, it is working fine now. Thanks! On Wed, Dec 12, 2012 at 6:47 PM, Vijayaratha Vijayasingam rat...@wso2.comwrote: We have APIs, Documents,Providers in our list menu. All three

[Dev] How to resolve WstxUnexpectedCharException

2012-12-07 Thread Sriragu Arudsothy
hai All, org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'h' (code 104) in start tag Expected a quote at [row,col {unknown-source}]: [1,17] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at

[Dev] Unable to create the Stub from the Generated WSDL by RXT

2012-12-04 Thread Sriragu Arudsothy
Hai Eranda, All, Once we deployed the Rxt, when I view the generated WSDL file for the deployed RXT does not have the namespace declaration. Therefore it does not get passed when used to create a stub. After I added the required namespaces it got passed and generated the

Re: [Dev] Unable to create the Stub from the Generated WSDL by RXT

2012-12-04 Thread Sriragu Arudsothy
client which most two months earlier. I don't think it is broken now, as I tried, it works with the soapUI. Anyway what do you mean by does not have the namespace declaration? As I can see it has a targetNamespace. thanks Eranda On Tue, Dec 4, 2012 at 7:17 PM, Sriragu Arudsothy srir...@wso2

Re: [Dev] Unable to create the Stub from the Generated WSDL by RXT

2012-12-04 Thread Sriragu Arudsothy
, Sriragu Arudsothy srir...@wso2.comwrote: Hai Eranda, wsdl file does start with wsdl:definitions ... tag. Then the wsdl file should have the declaration like xmlns:wsdl .. Otherwise when I pass the wsdl to wsdl2java tool / wso2 application server tool generate

Re: [Dev] Provide a RXT API for Documentation.[ REGISTRY-1470 - Provide documentation on RXT API]

2012-11-27 Thread Sriragu Arudsothy
, Eranda Sooriyabandara era...@wso2.comwrote: Hi Ragu, This is all about the CRUD service API for the RXTs. This is a sample client which I created for this URI Service which you can use to get an idea. thanks Eranda On Tue, Nov 27, 2012 at 11:02 AM, Sriragu Arudsothy srir...@wso2.comwrote

[Dev] Provide a RXT API for Documentation.[ REGISTRY-1470 - Provide documentation on RXT API]

2012-11-26 Thread Sriragu Arudsothy
Hai Guys..! What is the best approach to provide the API for the RXTs? In General the API has classes, interfaces,methods to deal with. Is it a good way to find out that what methods,intefaces and classes are associated with API,URIs when do the operations on it(add, delete,

Re: [Dev] Patch is attached to the JIRA

2012-11-25 Thread Sriragu Arudsothy
https://wso2.org/jira/browse/REGISTRY-1500 On Sun, Nov 25, 2012 at 9:30 AM, Eranda Sooriyabandara era...@wso2.comwrote: Hi Ragu, Please mention the JIRA URI. thanks Eranda On Sun, Nov 25, 2012 at 1:07 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hai Subash

[Dev] LC environment properties

2012-11-25 Thread Sriragu Arudsothy
Hai Subash,Eranda Lifecycle environment properties mean that the properties of a lifecycle state. In general we have 3 states which we mentioned in the LC configuration model. The development, testing and production states. Bug

[Dev] LC environment properties

2012-11-25 Thread Sriragu Arudsothy
Hai All, What does it mean by LC environment ? Does it mean the LC states which means that Artifact can be changed from one state to another with event such as promote/demote? If so, the current state is the state in which the artifact is in and target state is the state to which is has

[Dev] patch is attched to the jira

2012-11-20 Thread Sriragu Arudsothy
Hai Subash, I have attached the patch at the JIRA for the issue id: REGISTRY-1451 https://wso2.org/jira/browse/REGISTRY-1451, please commit it Thanks! Ragu ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Regarding Issue Id: [ WSO2 Governance Registry : REGISTRY-1451 ]

2012-11-06 Thread Sriragu Arudsothy
be problematic, but the issue in the security component, is a violation of conventions. Thanks, Senaka. On Tue, Nov 6, 2012 at 11:36 AM, Sriragu Arudsothy srir...@wso2.comwrote: hai, T*he issue is that changing the media type of a file from xml to Policy does not appear in the policy list when

Re: [Dev] Regarding Issue Id: [ WSO2 Governance Registry : REGISTRY-1451 ]

2012-11-06 Thread Sriragu Arudsothy
Hai All, It does not a matter to change from application/xml to other valid human/MIME mediatypes. Code will do the necessary changes. But I wanted to know whether Do we need to give an error warning message to the user who does it or not? Referring to Senaka : This is not a valid

[Dev] Regarding Issue Id: [ WSO2 Governance Registry : REGISTRY-1451 ]

2012-11-05 Thread Sriragu Arudsothy
hai, T*he issue is that changing the media type of a file from xml to Policy does not appear in the policy list when we click on the WS Policies Under the metadata panel in the management console(G-Reg).* test pass: after I upload the xml file any where under the _system/governance and