Permalink
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (53 sloc) 3.06 KB
#
# Copyright (c) 2010-2010 LinkedIn, Inc
# Portions Copyright (c) 2011-2013 Yan Pujante
#
# Licensed 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.
#
# this directory is the space where the agent should be allowed to write into
# in order to install the software
glu.agent.scriptRootDir=${configTokens.scriptRootDir ?: '${glu.agent.apps}'}
# the directory where the data (non version specific) is stored
glu.agent.dataDir=${configTokens.dataDir ?: '${glu.agent.homeDir}/data'}
# the directory where the logs (non version specific) is stored
glu.agent.logDir=${configTokens.logDir ?: '${glu.agent.dataDir}/logs'}
# This is the temporary directory for the agent
glu.agent.tempDir=${configTokens.tempDir ?: '${glu.agent.dataDir}/tmp'}
# This directory will contain the state of the scripts
glu.agent.scriptStateDir=${configTokens.scriptStateDir ?: '${glu.agent.dataDir}/scripts/state'}
# the port which exports the REST api (used for bootstrap only)
glu.agent.rest.nonSecure.port=${configTokens.'rest.nonSecure.port' ?: agentMetaModel.configPort}
# this file will store the properties used so that they become 'default' values for the next run
glu.agent.persistent.properties=${configTokens.'persistent.properties' ?: '${glu.agent.dataDir}/config/agent.properties'}
# whether to use a shared class loader (less memory but potential conflict) or not
glu.agent.scripts.sharedClassLoader=${configTokens.'scripts.sharedClassLoader' ?: 'false'}
################################
# Commands configuration
# is commands feature enabled?
glu.agent.features.commands.enabled=${configTokens.'features.commands.enabled' ?: 'true'}
# currently 1 value: filesystem
glu.agent.commands.storageType=${configTokens.'commands.storageType' ?: 'filesystem'}
# the directory where the commands (non version specific) are stored (if filesystem) (if undefined => use temp folder)
glu.agent.commands.filesystem.dir=${configTokens.'commands.filesystem.dir' ?: '${glu.agent.dataDir}/commands'}
################################
# ZooKeeper configuration:
# session timeout (ex: 2s)
glu.agent.zkSessionTimeout=${configTokens.zkSessionTimeout ?: agentMetaModel.fabric?.zooKeeperCluster?.zooKeeperSessionTimeout ?: '5s'}
# The file which contains the location of zookeeper
glu.agent.zkProperties=${configTokens.zkProperties ?: '${glu.agent.dataDir}/config/zk.properties'}
################################
# The version
glu.agent.version=\${org.linkedin.app.version}
################################
# The rest of the config
glu.agent.configURL=${configTokens.configURL ?: 'zookeeper:${glu.agent.zookeeper.root}/agents/fabrics/${glu.agent.fabric}/config/config.properties'}