Nikita Konovalov 5908bb7cc4 Added base for functional tests
This change allows to run functional tests with in-memory sqlite DB.
Tests will use DB schema memoization. Here is the algorithm:
1. Statically create global DB fixture
2. Run migration script (only once)
3. Copy DDL and save it in the global state
4. Run DDL to initialize DB for each test

This algorithm allows to skip long-running migration scripts and initialize
database in one step.

Based on openstack/ironic tests.

Co-Authored-By: Ruslan Kamaldinov <rkamaldinov@mirantis.com>

Change-Id: If80abd1b616548495d3466037aef54ade8f1614d
2014-02-10 12:47:45 +04:00
2014-01-23 16:09:22 +04:00
2014-01-23 16:09:22 +04:00
2013-07-18 12:03:46 +02:00
2014-01-23 17:23:58 +04:00
2014-01-13 18:52:47 +04:00
2014-01-27 18:54:18 +04:00
2013-07-01 18:09:56 +02:00
2014-01-22 11:37:54 -08:00
2014-01-30 07:43:49 -08:00
2014-02-01 11:47:37 +01:00
2014-02-01 11:47:37 +01:00
2013-09-25 12:06:40 -04:00
2014-01-23 17:23:58 +04:00

Storyboard

Storyboard is a task tracker for OpenStack.

Project Resources

Project status, bugs, and blueprints are tracked at:

http://storyboard.openstack.org

Source code can be found at:

https://git.openstack.org/cgit/openstack-infra/storyboard/

Documentation can be found here:

http://ci.openstack.org/storyboard/

Additional resources are linked from the project wiki page:

https://wiki.openstack.org/wiki/StoryBoard

Anyone wishing to contribute to an OpenStack project should find plenty of helpful resources here:

https://wiki.openstack.org/wiki/HowToContribute

All OpenStack projects use Gerrit for code reviews. A good reference for that is here:

https://wiki.openstack.org/wiki/GerritWorkflow

Getting Started as a Developer

Storyboard has two components: this API server, and the Javascript-based web client. To start the API server, make sure you have the following packages installed locally:

  • libpq-dev
  • libmysqlclient-dev

Then run:

mysql -u $DB_USER -p $DB_PASSWORD -e 'DROP DATABASE IF EXISTS storyboard;'
mysql -u $DB_USER -p $DB_PASSWORD -e 'CREATE DATABASE storyboard;'
cp ./etc/storyboard.conf.sample ./etc/storyboard.conf

Edit ./etc/storyboard.conf and set the connection parameter in the [database] section. Then run:

tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head"
tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"

Then to use the web client, clone the repo and follow the instructions in the README:

git clone https://git.openstack.org/openstack-infra/storyboard-webclient
Description
OpenStack Task Tracking API
Readme 11 MiB
Languages
Python 99.3%
Shell 0.5%
Dockerfile 0.1%