[Dev] [DEV][API-M] Error in WikipediaAPI sample

2015-02-23 Thread Vinod Kavinda
hi,
When following the [1], it gives the following error,

'org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
Resource does not exist at path
/_system/governance/apimgt/applicationdata/provider/admin/admin/1.0.0/api'

when doing the step 2.

Reason for this is a wrong argument in the third curl script,
in APIPopulator.sh file. value for the attribute 'name' should be changed
from admin to  WikipediaAPI.

I did the change and it worked perfectly. It is better if someone could
update the codebase.

[1] -
https://docs.wso2.com/display/AM180/Deploying+and+Testing+a+Wikipedia+API

Regards,
Vinod Kavinda


-- 
Vinod Kavinda
*Software Engineer, **WSO2, Inc http://www.wso2.com.*
Mobile : +94 (0) 712 415544
vi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] Error in WikipediaAPI sample

2015-02-23 Thread Malith Munasinghe
Hi Kavinda,

Thank You for the heads up! I also met with this error. Changing the curl
script helped me to handle that error.

Also I tried ignoring the error as well. The sample worked despite the
error.

Thanks,

On Mon, Feb 23, 2015 at 5:51 PM, Vinod Kavinda vi...@wso2.com wrote:

 hi,
 When following the [1], it gives the following error,

 'org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/governance/apimgt/applicationdata/provider/admin/admin/1.0.0/api'

 when doing the step 2.

 Reason for this is a wrong argument in the third curl script,
 in APIPopulator.sh file. value for the attribute 'name' should be changed
 from admin to  WikipediaAPI.

 I did the change and it worked perfectly. It is better if someone could
 update the codebase.

 [1] -
 https://docs.wso2.com/display/AM180/Deploying+and+Testing+a+Wikipedia+API

 Regards,
 Vinod Kavinda


 --
 Vinod Kavinda
 *Software Engineer, **WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




-- 
Malith Munasinghe | Software Engineer
M: +94 (071) 9401122
E: mali...@wso2.com
W: http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] Error in WikipediaAPI sample

2015-02-23 Thread Ajith Vitharana
Please open public jira for AM project.

-Ajith

On Mon, Feb 23, 2015 at 10:45 AM, Malith Munasinghe mali...@wso2.com
wrote:

 Hi Kavinda,

 Thank You for the heads up! I also met with this error. Changing the curl
 script helped me to handle that error.

 Also I tried ignoring the error as well. The sample worked despite the
 error.

 Thanks,

 On Mon, Feb 23, 2015 at 5:51 PM, Vinod Kavinda vi...@wso2.com wrote:

 hi,
 When following the [1], it gives the following error,

 'org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/governance/apimgt/applicationdata/provider/admin/admin/1.0.0/api'

 when doing the step 2.

 Reason for this is a wrong argument in the third curl script,
 in APIPopulator.sh file. value for the attribute 'name' should be changed
 from admin to  WikipediaAPI.

 I did the change and it worked perfectly. It is better if someone could
 update the codebase.

 [1] -
 https://docs.wso2.com/display/AM180/Deploying+and+Testing+a+Wikipedia+API

 Regards,
 Vinod Kavinda


 --
 Vinod Kavinda
 *Software Engineer, **WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 Malith Munasinghe | Software Engineer
 M: +94 (071) 9401122
 E: mali...@wso2.com
 W: http://wso2.com

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




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +1-812-360-5335
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][API-M] Error in WikipediaAPI sample

2015-02-23 Thread Vinod Kavinda
Hi,
I have open the following issue.

https://wso2.org/jira/browse/APIMANAGER-3338.

Regards,
Vinod Kavinda

On Mon, Feb 23, 2015 at 9:18 PM, Ajith Vitharana aji...@wso2.com wrote:

 Please open public jira for AM project.

 -Ajith

 On Mon, Feb 23, 2015 at 10:45 AM, Malith Munasinghe mali...@wso2.com
 wrote:

 Hi Kavinda,

 Thank You for the heads up! I also met with this error. Changing the curl
 script helped me to handle that error.

 Also I tried ignoring the error as well. The sample worked despite the
 error.

 Thanks,

 On Mon, Feb 23, 2015 at 5:51 PM, Vinod Kavinda vi...@wso2.com wrote:

 hi,
 When following the [1], it gives the following error,

 'org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/governance/apimgt/applicationdata/provider/admin/admin/1.0.0/api'

 when doing the step 2.

 Reason for this is a wrong argument in the third curl script,
 in APIPopulator.sh file. value for the attribute 'name' should be changed
 from admin to  WikipediaAPI.

 I did the change and it worked perfectly. It is better if someone could
 update the codebase.

 [1] -
 https://docs.wso2.com/display/AM180/Deploying+and+Testing+a+Wikipedia+API

 Regards,
 Vinod Kavinda


 --
 Vinod Kavinda
 *Software Engineer, **WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

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




 --
 Malith Munasinghe | Software Engineer
 M: +94 (071) 9401122
 E: mali...@wso2.com
 W: http://wso2.com

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




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +1-812-360-5335




-- 
Vinod Kavinda
*Software Engineer*
*WSO2, Inc http://www.wso2.com.*
Mobile : +94 (0) 712 415544
vi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev