27 Commits

Author SHA1 Message Date
sslypushenko
bfe07785d0 Add documentation for run-in-docker script
Change-Id: I39d039ea54adcafb15dc35896aa911c0c0333ea0
2015-08-23 23:30:24 -07:00
Paul Van Eck
8e266433c5 Update installation documentation
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
2015-08-14 14:18:00 -07:00
cdiep
21ae7faaed Update README files.
Update README files with the latest changes.

Change-Id: Ibb7b60dbfebcf9136117db34183c15bcfa8264f4
2015-07-27 16:28:01 -07:00
cdiep
31deecc1a1 Update to use pip install instead of python setup.py install.
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
2015-06-08 19:54:12 +00:00
cdiep
1b96daab8d Update readme files with the latest information.
Update the README.rst and reftstack.md files with the latest
information.  Also, fix format errors in the refstack.md file.

Change-Id: I44327343f22ed6ba0a027844b8b7a72963107ab9
2015-04-30 10:08:58 -07:00
sslypushenko
9e9de4bb0a Add WSGI file
Tested on Apache + mod_wsgi in docker
https://registry.hub.docker.com/u/grahamdumpleton/mod-wsgi-docker/

Change-Id: Ia7676f9391b0f5cff456493814aa10390c90e7b8
2015-04-29 18:46:38 +03:00
Vladislav Kuzmin
4ab98f7d8e Create endpoint for listing of all uploads id without auth
Add new endpoint in refstack's API for listing uploads id,
their creation data and cpid.
Add pagination for results. Makes it possible to specify
number of page in url base_url/v1/results?page=<page number>
and other filtering parameters.
If page not specified, then by default page equals 1.
Add unit and functional tests.

Change-Id: Ie57df6b4c2607679b5d2746821b6753fc672d7c3
Implement: https://storyboard.openstack.org/#!/story/2000200
Implement: https://github.com/stackforge/refstack/blob/master/specs/proposed/test-record-api.rst
2015-04-03 17:27:12 +03:00
cdiep
eae8a7e260 Remove unused README file in the doc directory.
The doc/README.md file is obsoleted and should be removed.

Change-Id: I5e7c1713ec2acc8be76cc5449c6604a083ea51c2
2015-03-06 16:09:27 -08:00
cdiep
82d0bf3cee Add database connection example to README file.
Add example to show the format of updating the "connection"
field in the refstack.conf file for MySQL backend database.

Change-Id: I68b7d9e6fc658e552cc5e1fb13a394ac6c21d23a
2015-02-09 14:30:17 -08:00
Vladislav Kuzmin
54e2a86d22 Add config auto generator
Add possibility to generate a config file with default values.
Run `tox -e genconfig` and etc/refstack.conf.sample appears.

Change-Id: Ie7c7d90ec056ad254f4247d4b0adc06bdd096ee6
2015-02-09 11:31:06 +04:00
Vladislav Kuzmin
4e390ee67b Add oslo libraries and command-line utility
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
2015-02-04 16:54:59 +04:00
cdiep
e4795bb4f2 Update refstack.md file to reflect the latest changes.
Update instruction to stand up a refstack server in the
refstack.md file.

Change-Id: Ib05b4ee258689c03f78cddb11c3a667aa9b1af31
2015-01-27 20:56:50 -08:00
Vladislav Kuzmin
7c121b3562 Move alembic part in refstack/db/migrations
Make preparation for future encapsulation database logic
and best structurisation of RefStack project.
Move alembic related part in refstack/db/migrations.

Change-Id: I8e35e6d78227a4e901dcbf85bb7dc56211688a52
2015-01-21 12:33:51 +04:00
Vladislav Kuzmin
c76114ea23 Add API prototype on Pecan
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
2015-01-13 16:33:45 +02:00
sslypushenko
3f56fde9c1 Remove old Flask Refstack application
It will be replaced with API v1 written on Pecan

https://storyboard.openstack.org/#!/story/132

Change-Id: I69a27b640544c22790e768be440a8396c9c3b7b8
2015-01-02 17:45:22 +02:00
sslypushenko
2742e8c861 Removed test tools from Refstack
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-client

https://storyboard.openstack.org/#!/story/110
Spec: specs/approved/identify-code-to-deprecate.rst

Change-Id: I93f625d6efdd4e763304b242e1e34e1b5187e744
2014-08-21 22:52:48 +03:00
Catherine Diep
1f69dcb1e9 Add instruction to install test requirements.
Add instruction in the refstack.md file to install test
requirements.  Also add a default config.json file.

Change-Id: Ie3a9a5cfc175b0ec8f5e5c57d767bd0af6a2d62e
2014-06-12 10:40:59 -07:00
Praveen Madire
a4309f3012 updated run_tempest_manually.md based on Forrest comments
updated tcup.md with latest instructions.
adding instructions to run_tempest_manually.md

cleanup

Change-Id: I69b1a45e2c5d9abfd9dc9e579b8104788f0d6584
2014-05-21 15:15:33 +01:00
Rob Hirschfeld
a2963ffed2 add more troubleshooting info:
Change-Id: I79eaef37d3006e4e6720b44b5d8d6f9b9fb2bb7e
2014-05-08 21:15:45 +00:00
Rob Hirschfeld
3f4311be67 add debug flag to tcup
Change-Id: I79a2019b47d2f138cd7fd3a4f26d137ab2f31c40

Change-Id: Id4ae3b8b904cd4a0f2b78a0631f2b7b958974ff1
2014-05-08 17:43:23 +00:00
Rob Hirschfeld
1d3938fb6c Now that we can execute_tests, we want to give some more
information about debug options in the TCUP file and
documentation.

Change-Id: I232972c4074ddd04e1d2b7a08a63a75bd5a50a21
2014-04-04 00:14:54 -05:00
Rob Hirschfeld
c92d830565 flake8 compliance
Change-Id: I6f324b0da1c99421136b299dbb0d4d6ff052eb0a
2014-04-03 23:37:11 -05:00
Rob Hirschfeld
c7fd7ae3cb Basics of TCUP that is used OUTSIDE of RefStack to run RefStack
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
2014-04-03 19:44:04 -05:00
david
14029e5433 small changes to refstack readme
Change-Id: I5547aa2bece59adaf811b518ff82029a09f85e13
2014-03-21 05:17:08 -07:00
david
c39e522f39 actually fixed the refstack doc page.
Change-Id: I59beb6c09c6e78cec6ae99dae409d13d8d547141
2014-03-19 11:16:28 -07:00
david
fb2a75a9a1 formatting doc change in refstack
Change-Id: I3e24dfc65f99f3541777c1fdbdfc41e083a084d4
2014-03-19 10:52:02 -07:00
Rob Hirschfeld
950e269233 Docs Refactor
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
2014-03-22 08:41:34 -05:00