Went more into depth regarding how to host both the Refstack
API and UI using the refstack-api executable. Updated static_root
and template_path config options to point to the directory where
refstack-ui has its index.html file. Also removed the now outdated
README in the refstack-ui folder.
Change-Id: I79e5c4aa407e2f3e9117f61fe130e3cdf4f6766a
We notice recently that 'python setup.py install' does not install
the packages defined in the requirements.txt file. Based on the
https://bugs.launchpad.net/pbr/+bug/1341341 discussion that
'python setup.py install' is not supported in the OpenStack
ecosystem, README file is updated to ‘use pip install . ‘ as
recommended.
Change-Id: I8067f2f6040a46fec3ffa3d3bc9994409604b4f4
Update the README.rst and reftstack.md files with the latest
information. Also, fix format errors in the refstack.md file.
Change-Id: I44327343f22ed6ba0a027844b8b7a72963107ab9
Add example to show the format of updating the "connection"
field in the refstack.conf file for MySQL backend database.
Change-Id: I68b7d9e6fc658e552cc5e1fb13a394ac6c21d23a
Add possibility to generate a config file with default values.
Run `tox -e genconfig` and etc/refstack.conf.sample appears.
Change-Id: Ie7c7d90ec056ad254f4247d4b0adc06bdd096ee6
Add oslo libraries for works with database and config.
Refactor database relation code. Move it in refstack/db.
Now after istallation of refstack available a command-line
utility: `refstack-manage` and `refstack-api`.
`refstack-manage`
This utlity provide commands for manipulation of database
migrations and setup config file through
--config-file /path/to/refstack.conf option.
Config file should contain database connection string.
For example:
[DEFAULT]
sql_connection = mysql://root:passw0rd@127.0.0.1/refstack
Add ability to runtime updrade/downgrade db through command-line utillity.
`refstack-api`
This utility allow to launch api on gunicorn server. Specify config through
--env REFSTACK_OSLO_CONFIG=/path/to/refstack.conf
Change-Id: Ibea97d433d54d307233aa04e9487f1a1230e7487
Make preparation for future encapsulation database logic
and best structurisation of RefStack project.
Move alembic related part in refstack/db/migrations.
Change-Id: I8e35e6d78227a4e901dcbf85bb7dc56211688a52
Add API prototype on Pecan.
Add functioanal tests.
Update documentation for running new API.
Delete old API and unit tests for it.
Change-Id: I42b3539d8420b2b5edf44d5265654b738e7ffa5e
Remove depricated code (part 3)
This patch removes code which runs tempest tests and parse its
results. Now, this functionality moves to new refstack-client.
Refstack-client hosted in separate repository:
https://github.com/stackforge/refstack-clienthttps://storyboard.openstack.org/#!/story/110
Spec: specs/approved/identify-code-to-deprecate.rst
Change-Id: I93f625d6efdd4e763304b242e1e34e1b5187e744
Add instruction in the refstack.md file to install test
requirements. Also add a default config.json file.
Change-Id: Ie3a9a5cfc175b0ec8f5e5c57d767bd0af6a2d62e
This simple set of scripts will
1) build a usable RefStack container using the /scripts/dockerfile
2) assemble the correct environment variables and other run command params
3) run the container in the background
4) provide the user the right command to attach to the container
5) could be used WITHOUT cloning RefStack
6) DEBUG mode using DEBUG env variable
7) Debug mode will map PWD to /dev to make code edits easier
TODO:
1) the command to start tempest is NOT working, needs to get fixed
Change-Id: I2c1d895c3da8cefbf5a023f513c6cf6119161f8b
This patch is documentation only. The changes are not complete and information
in the files should be updated as the progress progresses. The goal is NOT
to update the files, but to move them into better locations as dicussed in
weekly calls.
The change includes making the root readme more general with links to deeper
documents. Landing pages for running RefStack and TCUP have been moved to the
/doc directory.
Change-Id: Ifdf4afe0411f92253e0b4cb3ad64a0e6be3bd172