aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Khutornenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-1475) aurora --bind should throw error if bound key is not found
Date Wed, 02 Sep 2015 21:43:46 GMT
Maxim Khutornenko created AURORA-1475:
-----------------------------------------

             Summary: aurora --bind should throw error if bound key is not found
                 Key: AURORA-1475
                 URL: https://issues.apache.org/jira/browse/AURORA-1475
             Project: Aurora
          Issue Type: Task
          Components: Client
            Reporter: Maxim Khutornenko


If my aurora file has this:
class Profile(Struct):
extra_args = Default(String, "")
And I bind with
aurora create -bind profile.extra_args="-debug" path/to/config.aurora
then everything is great. If I change the name in my aurora config to "extra_serving_args"
or something, or mistype it on the command line, everything is terrible!

We have static checks for template substitutions within the aurora file, and elsewhere we
have static checks for flag values, so let's add some static checks here!

This has been a frustrating and seemingly never-ending source of bugs for us on semantic-tooling,
as we bind a lot in our templates.



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

Mime
View raw message