alert_notification.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. /**
  19. * Alert Notification Properties
  20. */
  21. module.exports = [
  22. {
  23. "name": "create_notification",
  24. "displayName": "Create Notification",
  25. "isOverridable": false,
  26. "isVisible": false,
  27. "serviceName": "MISC",
  28. "category": "Notifications",
  29. "recommendedValue": "no",
  30. "filename": "alert_notification"
  31. },
  32. {
  33. "name": "mail.smtp.host",
  34. "displayName": "SMTP Host",
  35. "displayType": "host",
  36. "isRequired": false,
  37. "isReconfigurable": true,
  38. "isOverridable": false,
  39. "isVisible": true,
  40. "serviceName": "MISC",
  41. "category": "Notifications",
  42. "rowStyleClass": "indent-1",
  43. "filename": "alert_notification"
  44. },
  45. {
  46. "name": "mail.smtp.port",
  47. "displayName": "SMTP Port",
  48. "displayType": "int",
  49. "isRequired": false,
  50. "isReconfigurable": true,
  51. "isOverridable": false,
  52. "isVisible": true,
  53. "serviceName": "MISC",
  54. "category": "Notifications",
  55. "rowStyleClass": "indent-1",
  56. "filename": "alert_notification"
  57. },
  58. {
  59. "name": "mail.smtp.from",
  60. "displayName": "FROM Email Address",
  61. "displayType": "email",
  62. "isRequired": false,
  63. "isReconfigurable": true,
  64. "isOverridable": false,
  65. "isVisible": true,
  66. "serviceName": "MISC",
  67. "category": "Notifications",
  68. "rowStyleClass": "indent-1",
  69. "filename": "alert_notification"
  70. },
  71. {
  72. "name": "ambari.dispatch.recipients",
  73. "displayName": " TO Email Address",
  74. "displayType": "email",
  75. "isRequired": false,
  76. "isReconfigurable": true,
  77. "isOverridable": false,
  78. "isVisible": true,
  79. "serviceName": "MISC",
  80. "category": "Notifications",
  81. "rowStyleClass": "indent-1",
  82. "filename": "alert_notification"
  83. },
  84. {
  85. "name": "smtp_use_auth",
  86. "displayName": "SMTP server requires authentication",
  87. "displayType": "checkbox",
  88. "isRequired": false,
  89. "isReconfigurable": true,
  90. "isOverridable": false,
  91. "recommendedValue": true,
  92. "isVisible": true,
  93. "serviceName": "MISC",
  94. "category": "Notifications",
  95. "rowStyleClass": "indent-1",
  96. "filename": "alert_notification"
  97. },
  98. {
  99. "name": "ambari.dispatch.credential.username",
  100. "displayName": "SMTP Username",
  101. "isRequired": false,
  102. "isReconfigurable": true,
  103. "isOverridable": false,
  104. "isVisible": true,
  105. "serviceName": "MISC",
  106. "category": "Notifications",
  107. "rowStyleClass": "indent-2",
  108. "filename": "alert_notification"
  109. },
  110. {
  111. "name": "ambari.dispatch.credential.password",
  112. "displayName": "SMTP Password",
  113. "isRequired": false,
  114. "isReconfigurable": true,
  115. "isOverridable": false,
  116. "isVisible": true,
  117. "serviceName": "MISC",
  118. "category": "Notifications",
  119. "rowStyleClass": "indent-2",
  120. "filename": "alert_notification"
  121. },
  122. {
  123. "name": "mail.smtp.starttls.enable",
  124. "isRequired": false,
  125. "isReconfigurable": true,
  126. "isOverridable": false,
  127. "isVisible": false,
  128. "serviceName": "MISC",
  129. "category": "Notifications",
  130. "rowStyleClass": "indent-1",
  131. "filename": "alert_notification"
  132. },
  133. {
  134. "name": "mail.smtp.startssl.enable",
  135. "isRequired": false,
  136. "isReconfigurable": true,
  137. "isOverridable": false,
  138. "isVisible": false,
  139. "serviceName": "MISC",
  140. "category": "Notifications",
  141. "rowStyleClass": "indent-1",
  142. "filename": "alert_notification"
  143. }
  144. ];