mrutkows commented on issue #610: Provide support for an env_variable for 
package name
URL: 
https://github.com/apache/incubator-openwhisk-wskdeploy/issues/610#issuecomment-337998797
 
 
   @beemarie  it could be implemented as a new feature easily with exiting 
code; however, we are moving away from ?package? to ?packages? and then it 
becomes more difficult...
   
   Currently, "packages" follows our consistent convention/pattern to use names 
as "keys" (or IDs) in the YAML document. The YAML parser may not handle having 
an odd ${} string (it might though would have to try it with the go-yaml 
parser).  If the parser cannot handle it, then we would have to assure we had 
the ?name? (or similar) field as a valid field for ?packages? and make sure we 
replaced the name on the API call.
   
   That is general YAML parsers allow:
   ```
   project:
     packages:
       $PACKAGE_NAME:
         actions:
           hello: hello.js
   ```
   
   but we would need to verify the go-yaml parser does not balk...

----------------------------------------------------------------
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