diff --git a/brewtils/models.py b/brewtils/models.py index a4f6b00d..0e081ea3 100644 --- a/brewtils/models.py +++ b/brewtils/models.py @@ -64,6 +64,7 @@ class Events(Enum): DB_UPDATE = 17 DB_DELETE = 18 GARDEN_CREATED = 19 + GARDEN_CONFIGURED = 53 GARDEN_UPDATED = 20 GARDEN_REMOVED = 21 FILE_CREATED = 24 @@ -93,7 +94,7 @@ class Events(Enum): COMMAND_PUBLISHING_BLOCKLIST_REMOVE = 49 COMMAND_PUBLISHING_BLOCKLIST_UPDATE = 50 - # Next: 53 + # Next: 54 class BaseModel(object): @@ -1452,6 +1453,7 @@ def __init__( systems=None, connection_type=None, connection_params=None, + connection_params_enabled=None, has_parent=None, parent=None, children=None, @@ -1464,8 +1466,9 @@ def __init__( self.namespaces = namespaces or [] self.systems = systems or [] - self.connection_type = connection_type + self.connection_type = connection_type self.connection_params = connection_params + self.connection_params_enabled = connection_params_enabled or {} self.has_parent = has_parent self.parent = parent diff --git a/brewtils/test/fixtures.py b/brewtils/test/fixtures.py index 43a633c8..4a7f8b01 100644 --- a/brewtils/test/fixtures.py +++ b/brewtils/test/fixtures.py @@ -763,6 +763,7 @@ def garden_dict(ts_epoch, system_dict): "systems": [system_dict], "connection_type": "http", "connection_params": {}, + "connection_params_enabled": {"http":True}, "parent": None, "has_parent": False, "children": [],