services.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. var App = require('app');
  19. module.exports = [
  20. {
  21. serviceName: 'HDFS',
  22. displayName: 'HDFS',
  23. isDisabled: false,
  24. isSelected: true,
  25. canBeSelected: true,
  26. description: Em.I18n.t('services.hdfs.description')
  27. },
  28. {
  29. serviceName: 'GLUSTERFS',
  30. displayName: 'GLUSTERFS',
  31. isDisabled: false,
  32. isSelected: false,
  33. canBeSelected: true,
  34. description: Em.I18n.t('services.glusterfs.description')
  35. },
  36. {
  37. serviceName: 'MAPREDUCE',
  38. displayName: 'MapReduce',
  39. isDisabled: false,
  40. isSelected: true,
  41. canBeSelected: true,
  42. description: Em.I18n.t('services.mapreduce.description')
  43. },
  44. {
  45. serviceName: 'MAPREDUCE2',
  46. displayName: 'MapReduce 2',
  47. isDisabled: false,
  48. isSelected: true,
  49. canBeSelected: true,
  50. isHidden: true,
  51. description: Em.I18n.t('services.mapreduce2.description')
  52. },
  53. {
  54. serviceName: 'YARN',
  55. displayName: 'YARN + MapReduce2',
  56. isDisabled: false,
  57. isSelected: true,
  58. canBeSelected: true,
  59. description: Em.I18n.t('services.yarn.description')
  60. },
  61. {
  62. serviceName: 'TEZ',
  63. displayName: 'Tez',
  64. isDisabled: false,
  65. isSelected: true,
  66. canBeSelected: true,
  67. description: Em.I18n.t('services.tez.description')
  68. },
  69. {
  70. serviceName: 'NAGIOS',
  71. displayName: 'Nagios',
  72. isDisabled: false,
  73. isSelected: true,
  74. canBeSelected: true,
  75. description: Em.I18n.t('services.nagios.description')
  76. },
  77. {
  78. serviceName: 'GANGLIA',
  79. displayName: 'Ganglia',
  80. isDisabled: false,
  81. isSelected: true,
  82. canBeSelected: true,
  83. description: Em.I18n.t('services.ganglia.description')
  84. },
  85. {
  86. serviceName: 'HIVE',
  87. displayName: 'Hive + HCat',
  88. isDisabled: false,
  89. isSelected: true,
  90. canBeSelected: true,
  91. description: Em.I18n.t('services.hive.description')
  92. },
  93. {
  94. serviceName: 'HCATALOG',
  95. displayName: 'HCatalog',
  96. isDisabled: false,
  97. isSelected: true,
  98. canBeSelected: true,
  99. isHidden: true
  100. },
  101. {
  102. serviceName: 'WEBHCAT',
  103. displayName: 'WebHCat',
  104. isDisabled: false,
  105. isSelected: true,
  106. canBeSelected: true,
  107. isHidden: true
  108. },
  109. {
  110. serviceName: 'HBASE',
  111. displayName: 'HBase',
  112. isDisabled: false,
  113. isSelected: true,
  114. canBeSelected: true,
  115. description: Em.I18n.t('services.hbase.description')
  116. },
  117. {
  118. serviceName: 'PIG',
  119. displayName: 'Pig',
  120. isDisabled: false,
  121. isSelected: true,
  122. canBeSelected: true,
  123. description: Em.I18n.t('services.pig.description')
  124. },
  125. {
  126. serviceName: 'SQOOP',
  127. displayName: 'Sqoop',
  128. isDisabled: false,
  129. isSelected: true,
  130. canBeSelected: true,
  131. description: Em.I18n.t('services.sqoop.description')
  132. },
  133. {
  134. serviceName: 'OOZIE',
  135. displayName: 'Oozie',
  136. isDisabled: false,
  137. isSelected: true,
  138. canBeSelected: true,
  139. description: Em.I18n.t('services.oozie.description')
  140. },
  141. {
  142. serviceName: 'ZOOKEEPER',
  143. displayName: 'ZooKeeper',
  144. isDisabled: false,
  145. isSelected: true,
  146. canBeSelected: true,
  147. description: Em.I18n.t('services.zookeeper.description')
  148. },
  149. {
  150. serviceName: 'HUE',
  151. displayName: 'Hue',
  152. isDisabled: false,
  153. isSelected: App.supports.hue,
  154. canBeSelected: App.supports.hue,
  155. isHidden: !App.supports.hue
  156. },
  157. {
  158. serviceName: 'FALCON',
  159. displayName: 'Falcon',
  160. isDisabled: false,
  161. isSelected: App.supports.falcon,
  162. canBeSelected: App.supports.falcon,
  163. isHidden: !App.supports.falcon,
  164. description: Em.I18n.t('services.falcon.description')
  165. },
  166. {
  167. serviceName: 'STORM',
  168. displayName: 'Storm',
  169. isDisabled: false,
  170. isSelected: true,
  171. canBeSelected: true,
  172. isHidden: false,
  173. description: Em.I18n.t('services.storm.description')
  174. }
  175. ];
  176. if (App.supports.flume) {
  177. var flume = {
  178. serviceName: 'FLUME',
  179. displayName: 'Flume',
  180. isDisabled: false,
  181. isSelected: true,
  182. canBeSelected: true,
  183. isHidden: false
  184. };
  185. module.exports.push(flume);
  186. }