app/views/mno_enterprise/jpi/v1/impac/kpis/_kpi.json.jbuilder in mno-enterprise-api-3.1.4 vs app/views/mno_enterprise/jpi/v1/impac/kpis/_kpi.json.jbuilder in mno-enterprise-api-3.2.0
- old
+ new
@@ -1,3 +1,6 @@
-json.extract! kpi, :id, :element_watched, :endpoint, :source, :targets, :settings, :extra_params
+json.ignore_nil!
+json.extract! kpi, :id, :element_watched, :endpoint, :source, :targets, :settings, :extra_watchables, :extra_params
+
+json.alerts kpi.alerts, partial: 'mno_enterprise/jpi/v1/impac/alerts/alert', as: :alert