style95 opened a new issue #3582: [Feature Request] Include activation ID in 
web action header.
URL: https://github.com/apache/incubator-openwhisk/issues/3582
 
 
   ## Environment details:
   
   * Any
   
   ## Steps to reproduce the issue:
   
   1.  Invoke a web action.
   
   ## Provide the expected results and outputs:
   
   ```javascript
   function main(params) { 
       return { response: params };
   }
   ```
   
   ```bash
   curl -X GET 'localhost/api/v1/web/myNamespace/hello.json'
   {
     "response": {
       "__ow_method": "get",
       "__ow_headers": {
         "accept": "application/json, text/plain, */*",
         "activation_id": "ebc60b3553c14046860b3553c1c0464a"  # This is required
          .
          .
          .
       },
       "_": "1524725954543",
       "__ow_path": "",
     }
   }
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   curl -X GET 'localhost/api/v1/web/myNamespace/hello.json'
   {
     "response": {
       "__ow_method": "get",
       "__ow_headers": {
         "accept": "application/json, text/plain, */*",
          .
          .
          .
       },
       "_": "1524725954543",
       "__ow_path": "",
     }
   }
   ```
   
   ## Additional information you deem important:
   Currently activation ID is not passed when the action is a web action.
   When user want to retrieve more detail information about the activation, 
it's not easy to pick the right one from `activation list` API if there are 
subsequent action invocation calls.
   So it would be great if server returns activation ID in headers or via any 
other ways.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to