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:
Stan Lagun
2015-04-29 18:21:31 +03:00
parent fbc1ee11f8
commit 39a9001c04
7 changed files with 101 additions and 31 deletions

View File

@@ -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:

View File

@@ -34,6 +34,7 @@ Methods:
- name:
Contract: $.string().notNull()
getEndpoints:
Arguments:
- applicationName: