Change-Id: Id7e08031097b3a1e66475c49af4fe1cfd233930e
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
class DeployedComponent(dict):
- """Represents a deployed component (nsr["_admin"]["deployed"])"""
+ """Represents a deployed component (nsr["_admin"]["deployed"]["VCA" | "K8s"])"""
def __init__(self, data: Dict[str, Any]):
"""
@property
def ee_id(self):
"""Returns the execution environment id"""
- model = self["kdu-instance"]
+ model = self["namespace"]
application_name = self["resource-name"]
return f"{model}.{application_name}.k8s"