You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Mariangela Hills <ma...@wso2.com> on 2015/05/15 06:42:59 UTC

[Error] Error when executing GET /application/{application_id}/properties

Hi Devs,

I get the following error [1] when executing GET
/application/{application_id}/properties. Can someone please look into
this. I successfully added properties to the application, so I cant
understand why they are not being displayed.


[1]
MariH:Master-branch Admin16$ curl -X GET -H "Authorization: Bearer
>
eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs"
-k -v https://localhost:9443/metadata/api/application/wordpress/properties
> GET /metadata/api/application/wordpress/properties HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
OpenSSL/0.9.8| zlib/1.2.5
> Host: localhost:9443
> Accept: */*
> Authorization: Bearer
>
eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs
>
< HTTP/1.1 404 Not Found
< Date: Fri, 15 May 2015 04:38:14 GMT
< Content-Length: 0
< Server: WSO2 Carbon Server


Regards,
Mariangela




*--*
*Mariangela Hills*
PMC Member & Committer of Apache Stratos
Senior Technical Writer
WSO2, Inc.
lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>

Re: [Error] Error when executing GET /application/{application_id}/properties

Posted by Mariangela Hills <ma...@wso2.com>.
I have documented this in [1].

[1]
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Getting+All+Application+Property+Details+via+REST+API


Regards,
Mariangela




*--*
*Mariangela Hills*
PMC Member & Committer of Apache Stratos
Senior Technical Writer
WSO2, Inc.
lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>

On Sat, May 16, 2015 at 2:39 PM, Mariangela Hills <ma...@wso2.com>
wrote:

> Udara, this is woking property now!
>
> Regards,
> Mariangela
>
>
>
>
> *--*
> *Mariangela Hills*
> PMC Member & Committer of Apache Stratos
> Senior Technical Writer
> WSO2, Inc.
> lean.enterprise.middleware.
> m: +94 773 500185
> w: http://wso2.com
> <http://wso2.com/events/>
>
> On Fri, May 15, 2015 at 11:49 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi Mari,
>>
>> Could you please check it with latest changes.
>>
>> On Fri, May 15, 2015 at 10:12 AM, Mariangela Hills <ma...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I get the following error [1] when executing GET
>>> /application/{application_id}/properties. Can someone please look into
>>> this. I successfully added properties to the application, so I cant
>>> understand why they are not being displayed.
>>>
>>>
>>> [1]
>>> MariH:Master-branch Admin16$ curl -X GET -H "Authorization: Bearer
>>> >
>>> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs"
>>> -k -v
>>> https://localhost:9443/metadata/api/application/wordpress/properties
>>> > GET /metadata/api/application/wordpress/properties HTTP/1.1
>>> > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
>>> OpenSSL/0.9.8| zlib/1.2.5
>>> > Host: localhost:9443
>>> > Accept: */*
>>> > Authorization: Bearer
>>> >
>>> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs
>>> >
>>> < HTTP/1.1 404 Not Found
>>> < Date: Fri, 15 May 2015 04:38:14 GMT
>>> < Content-Length: 0
>>> < Server: WSO2 Carbon Server
>>>
>>>
>>> Regards,
>>> Mariangela
>>>
>>>
>>>
>>>
>>> *--*
>>> *Mariangela Hills*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Technical Writer
>>> WSO2, Inc.
>>> lean.enterprise.middleware.
>>> m: +94 773 500185
>>> w: http://wso2.com
>>> <http://wso2.com/events/>
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>

Re: [Error] Error when executing GET /application/{application_id}/properties

Posted by Mariangela Hills <ma...@wso2.com>.
Udara, this is woking property now!

Regards,
Mariangela




*--*
*Mariangela Hills*
PMC Member & Committer of Apache Stratos
Senior Technical Writer
WSO2, Inc.
lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>

On Fri, May 15, 2015 at 11:49 AM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Mari,
>
> Could you please check it with latest changes.
>
> On Fri, May 15, 2015 at 10:12 AM, Mariangela Hills <ma...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> I get the following error [1] when executing GET
>> /application/{application_id}/properties. Can someone please look into
>> this. I successfully added properties to the application, so I cant
>> understand why they are not being displayed.
>>
>>
>> [1]
>> MariH:Master-branch Admin16$ curl -X GET -H "Authorization: Bearer
>> >
>> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs"
>> -k -v
>> https://localhost:9443/metadata/api/application/wordpress/properties
>> > GET /metadata/api/application/wordpress/properties HTTP/1.1
>> > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
>> OpenSSL/0.9.8| zlib/1.2.5
>> > Host: localhost:9443
>> > Accept: */*
>> > Authorization: Bearer
>> >
>> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs
>> >
>> < HTTP/1.1 404 Not Found
>> < Date: Fri, 15 May 2015 04:38:14 GMT
>> < Content-Length: 0
>> < Server: WSO2 Carbon Server
>>
>>
>> Regards,
>> Mariangela
>>
>>
>>
>>
>> *--*
>> *Mariangela Hills*
>> PMC Member & Committer of Apache Stratos
>> Senior Technical Writer
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> m: +94 773 500185
>> w: http://wso2.com
>> <http://wso2.com/events/>
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>

Re: [Error] Error when executing GET /application/{application_id}/properties

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Mari,

Could you please check it with latest changes.

On Fri, May 15, 2015 at 10:12 AM, Mariangela Hills <ma...@wso2.com>
wrote:

> Hi Devs,
>
> I get the following error [1] when executing GET
> /application/{application_id}/properties. Can someone please look into
> this. I successfully added properties to the application, so I cant
> understand why they are not being displayed.
>
>
> [1]
> MariH:Master-branch Admin16$ curl -X GET -H "Authorization: Bearer
> >
> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs"
> -k -v https://localhost:9443/metadata/api/application/wordpress/properties
> > GET /metadata/api/application/wordpress/properties HTTP/1.1
> > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
> OpenSSL/0.9.8| zlib/1.2.5
> > Host: localhost:9443
> > Accept: */*
> > Authorization: Bearer
> >
> eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjEzODQ3MTUxNjksInN1YiI6ImFkbWluIiwiYXpwIjoiVjZIN0ZHR2ZsMHdybG13eWlzOGZNVWQ2ZFB3YSIsImFwcElkIjoid29yZHByZXNzIiwiYXVkIjpbIlY2SDdGR0dmbDB3cmxtd3lpczhmTVVkNmRQd2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjoxMzg0NzE2MTcxfQ.TQh5899cQuLGBRaTFrLsm4e2sBYMnEr18yZx902gVNCT6rry0RzGSmfUUSrYvKU2ZbNQknuGHzKxOARMa1H9DIUm12cXMPQwVweNlts5X6cMmLVuXuEpZ8lHruna1wjxh4FQaVqwHJKRytheO0IHcr2TK--9XMuOwona8_fyWfs
> >
> < HTTP/1.1 404 Not Found
> < Date: Fri, 15 May 2015 04:38:14 GMT
> < Content-Length: 0
> < Server: WSO2 Carbon Server
>
>
> Regards,
> Mariangela
>
>
>
>
> *--*
> *Mariangela Hills*
> PMC Member & Committer of Apache Stratos
> Senior Technical Writer
> WSO2, Inc.
> lean.enterprise.middleware.
> m: +94 773 500185
> w: http://wso2.com
> <http://wso2.com/events/>
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897