aaronucsd commented on a change in pull request #3636: [TE] frontend - 
aaronucsd/Basic yaml editor with alert and subscripti…
URL: https://github.com/apache/incubator-pinot/pull/3636#discussion_r247719542
 
 

 ##########
 File path: thirdeye/thirdeye-frontend/app/utils/constants.js
 ##########
 @@ -139,3 +139,24 @@ rules:
 
 `;
 };
+
+export const yamlAlertSettings = `subscriptionGroupName: 
test_subscription_group
+cron: "0 0/5 * 1/1 * ? *"
+application: "parity-check"
+active: true
+
+detectionConfigIds:
+ - 5773069
+
+fromAddress: [email protected]
+recipients:
+ to:
+  - "[email protected]"
+ cc:
+  - "[email protected]"
 
 Review comment:
   Yep. Agreed. TOo much work to make it api driven for something so simple as 
a default. I can make it generic.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to