Adds ability to delete docker applications from the host
Application deletion were supported on DSH/Pod but not exposed in DockerApplication. Once it became exposed number of bugs in KubernetesPod and DSH became visible. Change-Id: I33650936a73994668f72348a909b7a51bae2b98c Closes-Bug: #1446582 (cherry picked from commit a74293e2b4ed5695737066d9154d51a4170b8a80)
This commit is contained in:
@@ -59,6 +59,16 @@ Methods:
|
||||
- $.onInstallationFinish()
|
||||
|
||||
|
||||
destroy:
|
||||
Body:
|
||||
- $.host.deploy()
|
||||
- If: $.getAttr(container, null) != null
|
||||
Then:
|
||||
- $container: $.getContainer()
|
||||
- $.host.deleteContainer($container.name)
|
||||
- $.setAttr(container, null)
|
||||
|
||||
|
||||
getConnectionTo:
|
||||
Arguments:
|
||||
- application:
|
||||
|
@@ -34,6 +34,7 @@ Methods:
|
||||
- name:
|
||||
Contract: $.string().notNull()
|
||||
|
||||
|
||||
getEndpoints:
|
||||
Arguments:
|
||||
- applicationName:
|
||||
|
Reference in New Issue
Block a user