@@ -233,6 +233,7 @@ export default function(kibana: any) {
233233 { id : 'other' , name : 'Other' } ,
234234 ] ,
235235 defaultActionGroupId : 'default' ,
236+ producer : 'alerting' ,
236237 actionVariables : {
237238 state : [ { name : 'instanceStateValue' , description : 'the instance state value' } ] ,
238239 context : [ { name : 'instanceContextValue' , description : 'the instance context value' } ] ,
@@ -291,6 +292,7 @@ export default function(kibana: any) {
291292 { id : 'default' , name : 'Default' } ,
292293 { id : 'other' , name : 'Other' } ,
293294 ] ,
295+ producer : 'alerting' ,
294296 defaultActionGroupId : 'default' ,
295297 async executor ( alertExecutorOptions : AlertExecutorOptions ) {
296298 const { services, state } = alertExecutorOptions ;
@@ -319,6 +321,7 @@ export default function(kibana: any) {
319321 name : 'Default' ,
320322 } ,
321323 ] ,
324+ producer : 'alerting' ,
322325 defaultActionGroupId : 'default' ,
323326 async executor ( { services, params, state } : AlertExecutorOptions ) {
324327 await services . callCluster ( 'index' , {
@@ -345,6 +348,7 @@ export default function(kibana: any) {
345348 name : 'Default' ,
346349 } ,
347350 ] ,
351+ producer : 'alerting' ,
348352 defaultActionGroupId : 'default' ,
349353 async executor ( { services, params, state } : AlertExecutorOptions ) {
350354 await services . callCluster ( 'index' , {
@@ -369,6 +373,7 @@ export default function(kibana: any) {
369373 name : 'Default' ,
370374 } ,
371375 ] ,
376+ producer : 'alerting' ,
372377 defaultActionGroupId : 'default' ,
373378 validate : {
374379 params : schema . object ( {
@@ -452,6 +457,7 @@ export default function(kibana: any) {
452457 name : 'Default' ,
453458 } ,
454459 ] ,
460+ producer : 'alerting' ,
455461 defaultActionGroupId : 'default' ,
456462 validate : {
457463 params : schema . object ( {
@@ -464,13 +470,15 @@ export default function(kibana: any) {
464470 id : 'test.noop' ,
465471 name : 'Test: Noop' ,
466472 actionGroups : [ { id : 'default' , name : 'Default' } ] ,
473+ producer : 'alerting' ,
467474 defaultActionGroupId : 'default' ,
468475 async executor ( { services, params, state } : AlertExecutorOptions ) { } ,
469476 } ;
470477 const onlyContextVariablesAlertType : AlertType = {
471478 id : 'test.onlyContextVariables' ,
472479 name : 'Test: Only Context Variables' ,
473480 actionGroups : [ { id : 'default' , name : 'Default' } ] ,
481+ producer : 'alerting' ,
474482 defaultActionGroupId : 'default' ,
475483 actionVariables : {
476484 context : [ { name : 'aContextVariable' , description : 'this is a context variable' } ] ,
@@ -481,6 +489,7 @@ export default function(kibana: any) {
481489 id : 'test.onlyStateVariables' ,
482490 name : 'Test: Only State Variables' ,
483491 actionGroups : [ { id : 'default' , name : 'Default' } ] ,
492+ producer : 'alerting' ,
484493 defaultActionGroupId : 'default' ,
485494 actionVariables : {
486495 state : [ { name : 'aStateVariable' , description : 'this is a state variable' } ] ,
0 commit comments