123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- /**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- var App = require('app');
- require('models/service_config');
- App.SecureConfigProperties = Ember.ArrayProxy.extend({
- content: require('data/secure_properties').configProperties
- });
- var configProperties = App.SecureConfigProperties.create();
- module.exports = [
- {
- serviceName: 'GENERAL',
- displayName: 'General',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'KERBEROS', displayName: 'Kerberos'}),
- App.ServiceConfigCategory.create({ name: 'AMBARI', displayName: 'Ambari'})
- ],
- sites: ['cluster-env'],
- configs: configProperties.filterProperty('serviceName', 'GENERAL')
- },
- {
- serviceName: 'HDFS',
- displayName: 'HDFS',
- filename: 'hdfs-site',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'General', displayName: 'General'}),
- App.ServiceConfigCategory.create({ name: 'NameNode', displayName: 'NameNode'}),
- App.ServiceConfigCategory.create({ name: 'SNameNode', displayName: 'Secondary NameNode'}),
- App.ServiceConfigCategory.create({ name: 'DataNode', displayName: 'DataNode'})
- ],
- sites: ['hadoop-env','core-site', 'hdfs-site'],
- configs: configProperties.filterProperty('serviceName', 'HDFS')
- },
- {
- serviceName: 'MAPREDUCE',
- displayName: 'MapReduce',
- filename: 'mapred-site',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'JobTracker', displayName: 'JobTracker'}),
- App.ServiceConfigCategory.create({ name: 'JobHistoryServer', displayName: 'History Server'}),
- App.ServiceConfigCategory.create({ name: 'TaskTracker', displayName: 'TaskTracker'})
- ],
- sites: ['mapred-site'],
- configs: configProperties.filterProperty('serviceName', 'MAPREDUCE')
- },
- {
- serviceName: 'HIVE',
- displayName: 'Hive',
- filename: 'hive-site',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'Hive Metastore', displayName: 'Hive Metastore and Hive Server 2'}),
- App.ServiceConfigCategory.create({ name: 'WebHCat Server', displayName : 'WebHCat Server'})
- ],
- sites: ['hive-site','webhcat-site'],
- configs: configProperties.filterProperty('serviceName', 'HIVE')
- },
- {
- serviceName: 'HBASE',
- displayName: 'HBase',
- filename: 'hbase-site',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'HBase Master', displayName: 'HBase Master'}),
- App.ServiceConfigCategory.create({ name: 'RegionServer', displayName: 'RegionServer'})
- ],
- sites: ['hbase-env','hbase-site'],
- configs: configProperties.filterProperty('serviceName', 'HBASE')
- },
- {
- serviceName: 'ZOOKEEPER',
- displayName: 'ZooKeeper',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'ZooKeeper Server', displayName: 'ZooKeeper Server'})
- ],
- sites: ['zookeeper-env'],
- configs: configProperties.filterProperty('serviceName', 'ZOOKEEPER')
- },
- {
- serviceName: 'OOZIE',
- displayName: 'Oozie',
- filename: 'oozie-site',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'Oozie Server', displayName: 'Oozie Server'})
- ],
- sites: ['oozie-env','oozie-site'],
- configs: configProperties.filterProperty('serviceName', 'OOZIE')
- },
- {
- serviceName: 'NAGIOS',
- displayName: 'Nagios',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'Nagios Server', displayName: 'Nagios Server'})
- ],
- sites: ['nagios-env'],
- configs: configProperties.filterProperty('serviceName', 'NAGIOS')
- }
- ];
|