You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/02 19:31:17 UTC

[GitHub] playground opened a new issue #1028: Api paths are getting created under the wrong api with manifest.yaml

playground opened a new issue #1028: Api paths are getting created under the wrong api with manifest.yaml
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/1028
 
 
   manifest.yaml
   ```
   packages:
     ibmcos:
       version: 1.0
       license: Apache-2.0
       actions:
         cos-dashboard-action:
           function: dist/cos-dashboard-action.js
           runtime: nodejs:8
           web-export: true
           inputs:
             bucket: ${BUCKET}
             accessKeyId: ${ACCESSKEYID}
             secretAccessKey: ${SECRETACCESSKEY}
       apis:
         cos-dashboard:
           api:
             list:
               cos-dashboard-action:
                 method: GET
                 response: http
             upload:
               cos-dashboard-action:
                 method: POST
                 response: http
   ```
   ```
   deploying...
   Info: The API host is [us-south.functions.cloud.ibm.com], from .wskprops.
   Info: The auth key is set, from .wskprops.
   Info: The namespace is [_], from .wskprops.
   Info: The apigw access token is set, from .wskprops.
   Info: Unmarshal OpenWhisk runtimes from internet at https://us-south.functions.cloud.ibm.com.
   Info: Deploying package [ibmcos] ...
   Info: package [ibmcos] has been successfully deployed.
   
   Info: Deploying action [ibmcos/cos-dashboard-action] ...
   Info: action [ibmcos/cos-dashboard-action] has been successfully deployed.
   
   Info: Deploying api [cos-dashboard /api/list GET] ...
   Info: api [cos-dashboard /api/list GET] has been successfully deployed.
   
   Info: Deploying api [cos-dashboard /api/upload POST] ...
   Info: api [cos-dashboard /api/upload POST] has been successfully deployed.
   
   Success: Deployment completed successfully.
   ```
   According to the deploy log, both api/list and api/upload should have been created under api named "cos-dashboard".  However they are being created under "starter-apis"
   ![image](https://user-images.githubusercontent.com/243495/52168341-1f92c200-26f7-11e9-899a-bfd2c11e8cf6.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services