Added alerta housekeeping settings

DEFAULT_EXPIRED_DELETE_HRS = 2  # hours (0 hours = do not delete)
DEFAULT_INFO_DELETE_HRS = 12  # hours (0 hours = do not delete)

Related: PROD-37066
Change-Id: Id7dfc0de969c5ae8d3a5e277f95b5fe1a2212598
diff --git a/README.rst b/README.rst
index 42ce26d..08a2308 100644
--- a/README.rst
+++ b/README.rst
@@ -170,6 +170,18 @@
     server:
       is_container: false
 
+Set alerta housekeeping default timeouts
+----------------------------------------
+
+.. code-block:: yaml
+
+parameters:
+  prometheus:
+    alerta:
+      housekeeping:
+        default_expired_delete_hrs: 2160
+        default_info_delete_hrs: 2160
+
 
 Documentation and Bugs
 ======================
diff --git a/prometheus/files/alerta/alertad.conf b/prometheus/files/alerta/alertad.conf
index f262eb4..7baf293 100644
--- a/prometheus/files/alerta/alertad.conf
+++ b/prometheus/files/alerta/alertad.conf
@@ -1,2 +1,8 @@
 {%- from "prometheus/map.jinja" import alerta with context %}
 ALERT_TIMEOUT = {{ alerta.get("timeouts", {}).get("alert", 86400) }}
+{%- if alerta.get("housekeeping", {}).default_expired_delete_hrs is defined %}
+DEFAULT_EXPIRED_DELETE_HRS = {{ alerta.housekeeping.default_expired_delete_hrs }}
+{%- endif %}
+{%- if alerta.get("housekeeping", {}).default_info_delete_hrs is defined %}
+DEFAULT_INFO_DELETE_HRS = {{ alerta.housekeeping.default_info_delete_hrs }}
+{%- endif %}
diff --git a/tests/test-requirements.txt b/tests/test-requirements.txt
index cf42007..bc7dc7f 100644
--- a/tests/test-requirements.txt
+++ b/tests/test-requirements.txt
@@ -1 +1,4 @@
+jsonschema
+reno
+setuptools<45.0.0
 msgpack<1.0.0