[Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Chalitha Waldeniyage
Hi All, I'm setting up an APIM cluster puppet patten 6 using APIM 2.1.0 puppet scripts[1]. When I try to generate keys for an application, pub/store nodes are throwing the below error. (IS 5.3.0 used as the Keymanager) Additionally in gateway Manager and worker also throwing the similar errors

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

2017-11-26 Thread Amanda Jayanetti
Hi all, For a task that I'm currently working on, I need to retrieve all APIs that have been created/published by a particular tenant. In order to do this, we tried using carbon REST API admin service but details of API handlers were not returned by this service. Is this the expected behavior? If

Re: [Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Samitha Chathuranga
Hi Chalitha, Are you pointing KM (from other nodes) through load balancer? I don't think you have done so. And if you have changed the hostnames of the servers, the default keystore/client-trustore won't work. Refer [1] To check which certificates are in a Java keystore, enter the below command.

Re: [Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Harsha Kumara
Hi Chalitha, It seems KM certificate isn't imported to the trustee. Can you verify it? If so we will need to fix it. Thanks, Harsha On Sun, Nov 26, 2017 at 1:46 PM, Chalitha Waldeniyage wrote: > Hi All, > > I'm setting up an APIM cluster puppet patten 6 using APIM 2.1.0

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

2017-11-26 Thread Sumedha Kodithuwakku
To add more, We are trying to get the XML content of an API deployed in APIM 2.1.0, using the above admin service. In the above admin service, getSource method returns the source of the API without any of the handlers added by APIM. Is this a bug in the above service or is it the expected

[Dev] [EI] Oracle multiple cursor support

2017-11-26 Thread Godwin Shrimal
Hi Devs, Are we supporting $subject in EI-6.1.1? If yes can someone share any documentation/article/blog? Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin:

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

2017-11-26 Thread Godwin Shrimal
Hi Devs, Can't we have a CAR application with only registry project and deploy? It's complaining there are no artifacts to deploy and goes to faulty. Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165*

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

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

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

2017-11-26 Thread roshan wijesena
Have you tried these APIs? https://docs.wso2.com/display/AM210/apidocs/publisher/ On Mon, Nov 27, 2017 at 2:45 AM, Amanda Jayanetti wrote: > Hi all, > > For a task that I'm currently working on, I need to retrieve all APIs that > have been created/published by a particular

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

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

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

2017-11-26 Thread Sashika Wijesinghe
Hi Godwin, To solve the issue, you can add the 'GovernanceRegistry' server role to the EI server under "" in the carbon.xml or set the server role of the registry resource to 'EnterpriseIntegrator' when creating the CAR file. Regards, Sashika On Mon, Nov 27, 2017 at 8:32 AM, Rukshan Premathunga

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

2017-11-26 Thread Prasanna Dangalla
On Mon, Nov 27, 2017 at 7:50 AM, roshan wijesena wrote: > Have you tried these APIs? > > https://docs.wso2.com/display/AM210/apidocs/publisher/ > AFAIK if you get it form pubiisher REST API it will have all the data in an API artifact. So may be you can use this. > > >

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

2017-11-26 Thread Vinod Kavinda
Hi All, IMO, this should work OOB. If above changes works, we can ship the carbon.xml with the role 'GovernanceRegistry'. Shall we report a bug? Regards, Vinod On Mon, Nov 27, 2017 at 10:05 AM, Sashika Wijesinghe wrote: > Hi Godwin, > > To solve the issue, you can add the

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

2017-11-26 Thread Himasha Guruge
Hi Sashika, To solve the issue, you can add the 'GovernanceRegistry' server role to the EI server under "" in the carbon.xml or set the server role of the registry resource to 'EnterpriseIntegrator' when creating the CAR file. Have we tried out option 2? (setting role to 'EnterpriseIntegrator')

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

2017-11-26 Thread Sashika Wijesinghe
Hi Himasha, When exporting the carbon application project we can select the required server role. I have tried that option for 'EnterpriseServiceBus' server role and it works for me. Regards, Sashika On Mon, Nov 27, 2017 at 10:27 AM, Himasha Guruge wrote: > Hi Sashika, > >

[Dev] [IoTs] Update Device properties of a enrolled device

2017-11-26 Thread Sameera Gunarathne
Hi, I have created a device type using iot device management APIs and I have defined several properties when created device type. So at the enrollment time, I push the initial values for these properties using DeviceManagementProviderService[1]. But when I try to update the device properties

[Dev] IDENTITY-6965 Intermitent issue in SCIM group creation

2017-11-26 Thread Isuranga Perera
Hi fixed issue [1] with PR [2]. [1] https://wso2.org/jira/browse/IDENTITY-6965 [2] https://github.com/wso2/charon/pull/81 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] IDENTITY-6965 Intermitent issue in SCIM group creation

2017-11-26 Thread Harsha Thirimanna
On Mon, Nov 27, 2017 at 12:52 PM, Isuranga Perera wrote: > Hi > > fixed issue [1] with PR [2]. > ​Great thanks and appreciate to ​proactively helping us always Isuranga. We will review this. > > [1] https://wso2.org/jira/browse/IDENTITY-6965 > [2]

Re: [Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Chalitha Waldeniyage
Hi Harsha/Samitha, Yes i have created a self sign certificate as per [1] and imported all the nginx public keys there. I have verified that with above command as well. Here with I'm attaching the client trust.jks file which i'm using in the servers. Further key manager is fronted via nginx. On

Re: [Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Chalitha Waldeniyage
On Mon, Nov 27, 2017 at 12:20 PM, Chalitha Waldeniyage wrote: > Adding Asela > > On Mon, Nov 27, 2017 at 11:26 AM, Chalitha Waldeniyage > wrote: > >> Hi Harsha/Samitha, >> >> Yes i have created a self sign certificate as per [1] and imported all >> the

Re: [Dev] API-Proxy for Single Page Application

2017-11-26 Thread Thilina Madumal
Hi all, The following is the finalized approach for API-Proxy. API-Proxy will act as a gateway which will pass the requests coming from the SPA-client to the corresponding backend API. Before passage acces_token will be included in the request header as follows, "Authorization: Bearer " If I'm

Re: [Dev] Publisher/Store nodes are throwing an error "unable to find valid certification path to requested target"

2017-11-26 Thread Chalitha Waldeniyage
Adding Asela On Mon, Nov 27, 2017 at 11:26 AM, Chalitha Waldeniyage wrote: > Hi Harsha/Samitha, > > Yes i have created a self sign certificate as per [1] and imported all the > nginx public keys there. I have verified that with above command as well. > Here with I'm