Merge "Add name into dummy engine schema and make it required"

This commit is contained in:
Jenkins 2014-01-26 15:36:16 +00:00 committed by Gerrit Code Review
commit ec42300a25

View File

@ -37,6 +37,7 @@ class DummyEngine(engine.EngineFactory):
CONFIG_SCHEMA = {
'type': 'object',
'properties': {
'name': {'type': 'string'},
'endpoint': {
'type': 'object',
'properties': {
@ -49,7 +50,7 @@ class DummyEngine(engine.EngineFactory):
'tenant_name'],
},
},
'required': ['endpoint'],
'required': ['name', 'endpoint'],
}
def deploy(self):