diff --git a/modules/mesh-healers/module.json b/modules/mesh-healers/module.json index 7fe853339..4bd6f46ea 100644 --- a/modules/mesh-healers/module.json +++ b/modules/mesh-healers/module.json @@ -35,7 +35,6 @@ "name": "would", "key-ttl": true }, - "findings", { "name": "wakes", "key-ttl": true @@ -62,14 +61,6 @@ "unknown": "program" } ], - "streams": [ - { - "name": "mesh-healers-findings", - "events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"], - "max-age-days": 7, - "max-mib": 16 - } - ], "build": { "artifacts": [ { @@ -84,5 +75,26 @@ ] } ] - } + }, + "requires": [ + { + "name": "findings", + "storage": "key-value", + "template": "state" + }, + { + "name": "finding-events", + "storage": "stream", + "template": "events", + "options": { + "events": [ + "finding-written.*", + "finding-cleared.*", + "findings-stated.*" + ], + "max-age-days": 7, + "max-mib": 16 + } + } + ] }