Move dependency's 'deploy' call into the method 'deploy' of app

It is wrong to call deploy from getContainer.
Calls were moved into method deploy of class for
all applications which have dependencies in properties.

Change-Id: I6643bf20d3e014c6d19d44896a041f523d52cb42
This commit is contained in:
Dmytro Dovbii 2015-04-15 10:39:58 +03:00
parent fc827e50b2
commit 63afe9f441
2 changed files with 12 additions and 2 deletions

View File

@ -28,10 +28,15 @@ Methods:
- $._scope: switch($.publish, $ => public, not $ => internal)
getContainer:
deploy:
Body:
- $.redisMaster.deploy()
- $.redisSlave.deploy()
- $.super($.deploy())
getContainer:
Body:
- $redisMasterLink: $.getConnectionTo($.redisMaster, 6379)
- $redisSlaveLink: $.getConnectionTo($.redisSlave, 6379)
- Return:

View File

@ -37,9 +37,14 @@ Methods:
- $._scope: switch($.publish, $ => public, not $ => internal)
getContainer:
deploy:
Body:
- $.database.deploy()
- $.super($.deploy())
getContainer:
Body:
- $dbLink: $.getConnectionTo($.database, 3306)
- Return:
name: $.name