Mariangela Hills created STRATOS-1388:
-----------------------------------------

             Summary: Incorrect location header URL format - POST 
/application/<APPLICATION_ID>/property
                 Key: STRATOS-1388
                 URL: https://issues.apache.org/jira/browse/STRATOS-1388
             Project: Stratos
          Issue Type: Bug
          Components: METADATA REST API
    Affects Versions: 4.1.0 Beta2
            Reporter: Mariangela Hills
            Assignee: Udara Liyanage


The application ID has been repeated in the Location header URL. This needs to 
be fixed to appear as follows:
Location: 
https://<STRATOS_HOST>:<STRATOS_HTTPS_PORT>/metadata/api/application/<APPLICATION_ID>/property/<PROPERTY_KEY>


-------------------------------------
> POST /metadata/api/application/wordpress/property HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> 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: */*
> Content-Type: application/json
> Content-Length: 61
> 
* upload completely sent off: 61 out of 61 bytes
< HTTP/1.1 201 Created
< Date: Mon, 11 May 2015 08:57:58 GMT
< Location: 
https://localhost:9443/metadata/api/application/wordpress/property/wordpress/wka2
< Content-Length: 0
< Server: WSO2 Carbon Server



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to