"Fossies" - the Fresh Open Source Software Archive

Member "monasca-events-api-2.0.0/devstack/settings" (14 Oct 2020, 4102 Bytes) of package /linux/misc/openstack/monasca-events-api-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "settings": 0.2.0_vs_0.3.0.

    1 #
    2 # Copyright 2017 FUJITSU LIMITED
    3 #
    4 # Licensed under the Apache License, Version 2.0 (the "License");
    5 # you may not use this file except in compliance with the License.
    6 # You may obtain a copy of the License at
    7 #
    8 #    http://www.apache.org/licenses/LICENSE-2.0
    9 #
   10 # Unless required by applicable law or agreed to in writing, software
   11 # distributed under the License is distributed on an "AS IS" BASIS,
   12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
   13 # implied.
   14 # See the License for the specific language governing permissions and
   15 # limitations under the License.
   16 #
   17 
   18 # Monasca infrastructure services
   19 enable_service monasca-zookeeper
   20 enable_service monasca-kafka
   21 enable_service monasca-elasticsearch
   22 
   23 
   24 # Monasca Events services
   25 enable_service monasca-events
   26 enable_service monasca-events-api
   27 enable_service monasca-events-persister
   28 enable_service monasca-events-agent
   29 
   30 
   31 # Dependent Software Versions
   32 BASE_KAFKA_VERSION=${BASE_KAFKA_VERSION:-0.9.0.1}
   33 SCALA_VERSION=${SCALA_VERSION:-2.11}
   34 KAFKA_VERSION=${KAFKA_VERSION:-${SCALA_VERSION}-${BASE_KAFKA_VERSION}}
   35 ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-2.4.2}
   36 
   37 
   38 # Path settings
   39 MONASCA_BASE=${DEST}
   40 
   41 # Repository settings
   42 MONASCA_EVENTS_API_REPO=${MONASCA_EVENTS_API_REPO:-${GIT_BASE}/openstack/monasca-events-api.git}
   43 MONASCA_EVENTS_API_BRANCH=${MONASCA_EVENTS_API_BRANCH:-master}
   44 MONASCA_EVENTS_API_DIR=${MONASCA_BASE}/monasca-events-api
   45 
   46 MONASCA_EVENTS_PERSISTER_REPO=${MONASCA_EVENTS_PERSISTER_REPO:-${GIT_BASE}/openstack/monasca-persister.git}
   47 MONASCA_EVENTS_PERSISTER_BRANCH=${MONASCA_EVENTS_PERSISTER_BRANCH:-master}
   48 MONASCA_EVENTS_PERSISTER_DIR=${MONASCA_BASE}/monasca-persister
   49 
   50 MONASCA_EVENTS_AGENT_REPO=${MONASCA_EVENTS_AGENT_REPO:-${GIT_BASE}/openstack/monasca-events-agent.git}
   51 MONASCA_EVENTS_AGENT_BRANCH=${MONASCA_EVENTS_AGENT_BRANCH:-master}
   52 MONASCA_EVENTS_AGENT_DIR=${MONASCA_BASE}/monasca-events-agent
   53 
   54 # Dependencies settings
   55 ELASTICSEARCH_BIND_HOST=${ELASTICSEARCH_BIND_HOST:-${SERVICE_HOST}}
   56 ELASTICSEARCH_BIND_PORT=${ELASTICSEARCH_BIND_PORT:-9200}
   57 ELASTICSEARCH_PUBLISH_HOST=${ELASTICSEARCH_PUBLISH_HOST:-${SERVICE_HOST}}
   58 ELASTICSEARCH_PUBLISH_PORT=${ELASTICSEARCH_PUBLISH_PORT:-9300}
   59 ELASTICSEARCH_DIR=$DEST/elasticsearch
   60 ELASTICSEARCH_CFG_DIR=$ELASTICSEARCH_DIR/config
   61 ELASTICSEARCH_LOG_DIR=$LOGDIR/elasticsearch
   62 ELASTICSEARCH_DATA_DIR=$DATA_DIR/elasticsearch
   63 
   64 KAFKA_SERVICE_HOST=${KAFKA_SERVICE_HOST:-${SERVICE_HOST}}
   65 KAFKA_SERVICE_PORT=${KAFKA_SERVICE_PORT:-9092}
   66 # Apache Kafka 0.9.0.1 is only available in Apache Archives
   67 APACHE_ARCHIVES=${APACHE_ARCHIVES:-"https://archive.apache.org/dist/"}
   68 
   69 # configuration
   70 MONASCA_EVENTS_LOG_DIR=${MONASCA_EVENTS_LOG_DIR:-/var/log/monasca}
   71 MONASCA_EVENTS_DEVSTACK_DIR=${MONASCA_EVENTS_DEVSTACK_DIR:-$MONASCA_EVENTS_API_DIR/devstack}
   72 
   73 MONASCA_EVENTS_API_CONF_DIR=${MONASCA_EVENTS_API_CONF_DIR:-/etc/monasca}
   74 MONASCA_EVENTS_API_CONF=${MONASCA_EVENTS_API_CONF:-$MONASCA_EVENTS_API_CONF_DIR/events-api.conf}
   75 MONASCA_EVENTS_API_PASTE=${MONASCA_EVENTS_API_PASTE:-$MONASCA_EVENTS_API_CONF_DIR/events-api-paste.ini}
   76 MONASCA_EVENTS_API_LOGGING_CONF=${MONASCA_EVENTS_API_LOGGING_CONF:-$MONASCA_EVENTS_API_CONF_DIR/events-api-logging.conf}
   77 MONASCA_EVENTS_API_CACHE_DIR=${MONASCA_EVENTS_API_CACHE_DIR:-/var/cache/monasca-events-api}
   78 MONASCA_EVENTS_API_SERVICE_HOST=${MONASCA_EVENTS_API_SERVICE_HOST:-${SERVICE_HOST}}
   79 MONASCA_EVENTS_API_SERVICE_PORT=${MONASCA_EVENTS_API_SERVICE_PORT:-5656}
   80 MONASCA_EVENTS_API_SERVICE_PROTOCOL=${MONASCA_EVENTS_API_SERVICE_PROTOCOL:-${SERVICE_PROTOCOL}}
   81 MONASCA_EVENTS_API_UWSGI_CONF=${MONASCA_EVENTS_API_UWSGI_CONF:-$MONASCA_EVENTS_API_CONF_DIR/events-api-uwsgi.ini}
   82 
   83 MONASCA_EVENTS_PERSISTER_CONF_DIR=${MONASCA_EVENTS_PERSISTER_CONF_DIR:-/etc/monasca}
   84 MONASCA_EVENTS_PERSISTER_CONF=${MONASCA_EVENTS_PERSISTER_CONF:-${MONASCA_EVENTS_PERSISTER_CONF_DIR}/events-persister.conf}
   85 MONASCA_EVENTS_PERSISTER_LOGGING_CONF=${MONASCA_EVENTS_PERSISTER_LOGGING_CONF:-${MONASCA_EVENTS_PERSISTER_CONF_DIR}/events-persister-logging.conf}
   86 
   87 
   88 # Other settings
   89 PLUGIN_FILES=$MONASCA_EVENTS_API_DIR/devstack/files
   90 DOWNLOAD_FILE_TIMEOUT=${DOWNLOAD_FILE_TIMEOUT:-300}