monasca-analytics/devstack
Joan Varvenne 716a72d9b9 Add Banana specific APIs to typecheck and get list of components.
This commit add two APIs:

 * POST /banana/typeck { "content": "<banana>" }

   This API type check the provided banana content but does not
   evaluate it.

 * POST /banana/metadata { "content": "<banana>" }

   This API returns the associated TypeTable of the provided banana
   content. This is useful to provide auto-completion in an editor.

 * GET /banana/metadata

   This API returns the list of components availables. This is also
   useful to provide auto-completion on existing components in an
   editor for banana.

Change-Id: I31c1de86fe420458ac98aad9d9c8ae6ca73fcc81
2016-11-04 11:26:17 +00:00
..
files Add devstack plugin 2016-06-13 16:16:12 +00:00
README.md Add devstack plugin 2016-06-13 16:16:12 +00:00
plugin.sh Improve the devstack plugin 2016-08-10 04:03:11 +00:00
settings Add Banana specific APIs to typecheck and get list of components. 2016-11-04 11:26:17 +00:00

README.md

Monasca Analytics DevStack Plugin

The Monasca Analytics DevStack plugin currently only works on Ubuntu 14.04 (Trusty). More Linux Distributions will be supported in the future.

Running the Monasca Analytics DevStack plugin requires a machine with 8GB of RAM.

Directions for installing and running Devstack can be found here:

http://docs.openstack.org/developer/devstack/

To run Monasca Analytics in DevStack, do the following three steps.

  1. Clone the DevStack repo.

    git clone https://git.openstack.org/openstack-dev/devstack

  2. Add the following to the DevStack local.conf file in the root of the devstack directory. You may need to create the local.conf if it does not already exist.

    # BEGIN DEVSTACK LOCAL.CONF CONTENTS

    local MYSQL_PASSWORD=secretmysql DATABASE_PASSWORD=secretdatabase RABBIT_PASSWORD=secretrabbit ADMIN_PASSWORD=secretadmin SERVICE_PASSWORD=secretservice SERVICE_TOKEN=111222333444

    LOGFILE=$DEST/logs/stack.sh.log LOGDIR=$DEST/logs LOG_COLOR=False

    # This line will enable all of Monasca Analytics. enable_plugin monasca-analytics git://git.openstack.org/openstack/monasca-analytics

    # END DEVSTACK LOCAL.CONF CONTENTS

  3. Run './stack.sh' from the root of the devstack directory.

If you want to run Monasca Analytics with the bare mininum of OpenStack components you can add the following two lines to the local.conf file.

disable_all_services
enable_service rabbit mysql key
# (C) Copyright 2016  FUJITSU LIMITED
#
# 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.