diff --git a/calm/dsl/api/marketplace.py b/calm/dsl/api/marketplace.py index 7920a58f..2eb2ed09 100644 --- a/calm/dsl/api/marketplace.py +++ b/calm/dsl/api/marketplace.py @@ -7,8 +7,14 @@ def __init__(self, connection): super().__init__(connection, resource_type="calm_marketplace_items") self.VARIABLE_VALUES = self.ITEM + "/variables/{}/values" + # https://jira.nutanix.com/browse/CALM-33232 + # Marketplace API taking more than 30s so setting it to 300s def variable_values(self, uuid, var_uuid, payload={}): url = self.VARIABLE_VALUES.format(uuid, var_uuid) return self.connection._call( - url, verify=False, method=REQUEST.METHOD.POST, request_json=payload + url, + verify=False, + method=REQUEST.METHOD.POST, + request_json=payload, + timeout=(5, 300), )