You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/28 22:54:40 UTC

[GitHub] mrutkows opened a new issue #572: Deployment file should not require "application" key if manifest does not

mrutkows opened a new issue #572: Deployment file should not require "application" key if manifest does not
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/572
 
 
   This deployment file throws an error:
   ```
     packages:
         hello_world_package:
           triggers:
             meetPerson:
               inputs:
                 name: Elrond
                 place: Rivendell
                 children: 3
                 height: 1.88
   ```
   
   this does not:
   ```
   application:
     packages:
         hello_world_package:
           triggers:
             meetPerson:
               inputs:
                 name: Elrond
                 place: Rivendell
                 children: 3
                 height: 1.88
   ```
   manifests can have their outermost document key be either "package" or "packages"; this should also be allowed for corresponding Deployment files.
   
   Additionally,  if the deployment file DOES contain an application with a "name" then AND the manifest also contains an application "name" we should ERROR if there is a mismatch.
 
----------------------------------------------------------------
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