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:
parent
fc827e50b2
commit
63afe9f441
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user