Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Change-Id: I548afbdf8a66044a710908468a9de0aa6502cc6f
Remove unused references to local.py and incubated logging.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Change-Id: Icf16c82d2373d92c0e679c54d94a15fa3b598fd1
This is initial commit adding pecan/wsme framework.
Example operations are:
* GET /v1/project_groups
* GET /v1/project_groups/<group_name>
* GET /v1/projects
* GET /v1/projects/<project_name>
* GET /v1/teams
* GET /v1/teams/<team_name>
* POST /v1/teams
* POST /v1/teams/add_user
* GET /v1/users
* GET /v1/users/<username>
* POST /v1/users
* PUT /v1/users/<username>
* GET /v1/stories
* GET /v1/stories/<story_id>
* POST /v1/stories
* PUT /v1/stories
* POST /v1/stories/add_task
* POST /v1/stories/add_comment
* GET /v1/tasks
* GET /v1/tasks/<task_id>
* PUT /v1/tasks
More detailed documentation will be added later to a wiki page.
Tests will be added in a separate CR.
Auth stuff will be added in a separate CR after it is dicussed.
Change-Id: Ibace8cf7dd5bb933b0d2484b1d57b79bb8441a28
This is the next step towards CI/CD:
This code enables testing of DB migrations against real databases -
MySQL and Postgres. Unit testing on in-memory sqlite doesn't work with this
patch (there seems to be a problem with Alembic/in-memory-sqlite combination).
In case if MySQL and PostgreSQL with specifc user/password and database
are present, opportunistic tests will be started automatically. See
storyboard/tests/db/sqlalchemy/test_migrations.py for instructions.
OpenStack CI infrastructure provides these, so we get tests against
MySQL and Postgres with this commit.
Note(1): this patch doesn't modify database model. The main goal of this
patch is to enable continuous testing of DB migrations.
Note(2): most of the code is based on Nova. Which is good because
eventually it'll be extracted to Oslo library and we'll be able
to use Oslo instead of custom code.
Change-Id: Ia763124bea9ac8e39c6604f04fd99fa83645d5ba
As a step towards continuous deployment and having a pecan/WSME REST
interface, split the database out into SQLalchemy-based model using
Alembic for migrations. To support that, also pull in oslo.db and use
oslo.config for config files.
Change-Id: I33a1e72700be14e28255aaa52faed70c4686a3ec