83 Commits

Author SHA1 Message Date
Jenkins
6e0e881890 Merge "Delete in tree config ref" 2016-07-06 06:16:54 +00:00
Fei Long Wang
6cb385532b Delete in tree config ref
We're hosting the config ref on openstack/openstack-manuals, so
it's not necessary to keep this anymore.

Change-Id: I6bc24a55db699311d65394d5d6329088b6d73690
2016-06-16 16:06:08 +12:00
Eva Balycheva
5134d3018b Add Zaqar installation guide
This patch adds Zaqar-specific contents of the OpenStack Installation
Guide in the Zaqar repository per [1]. It only covers installation on
Red Hat-based systems.

Also this patch adds tox.ini environment for install-guide and adds
openstackdocs-theme to test-requirements.txt.

The Zaqar Installation Guide structure is based on Install Guide
Cookiecutter: https://review.openstack.org/#/c/314229/.

[1] http://specs.openstack.org/openstack/docs-specs/specs/newton/project-specific-installguides.html

Change-Id: I72300c146b22511da4432775fc84e8c821a3fd12
Implements: blueprint install-guide-in-tree
Partially-Implements: blueprint projectspecificinstallguides
2016-06-15 03:15:41 +03:00
Fei Long Wang
ebc6721b4f Rename notification/task to notification/tasks
We're using zaqar.notification.tasks to look for the notifier
driver by stevedore, so this patch just rename the package
name to keep consistence. No impact for end user and migration.

Change-Id: I7694af4dbc4f73703e429560fb0a1457f3e1193a
2016-05-27 10:04:20 +12:00
Andreas Jaeger
14a7f399f8 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-29 20:00:36 +01:00
venkatamahesh
f18d2d6302 Use uppercase 'S' in word "OpenStack"
Change-Id: I39b9fa5eeeb4cb4de3ff52b57e015f6ff0185493
2016-02-04 15:45:41 +05:30
Jenkins
7e3931afb2 Merge "Add new information to zaqar-bench tutorial" 2016-01-29 18:57:37 +00:00
Eva Balycheva
80d32ed4dc Add new information to zaqar-bench tutorial
New changes to zaqar-bench were introduced by
I0a7aaeaeac6da1b2c9f08fbfdddd467de5747a28 patch.

This patch adds the information about new '-api' option and about using
Keystone authentication to 'Running benchmark' tutorial.

Also this patch fixes the information about verbose mode, because now
verbose mode is the default in zaqar-bench. This change wasn't
introduced by any patch to zaqar-bench.

Change-Id: Ie07928a4625caf1d79b44e28b6b82296b224f2cc
Partial-Implements: blueprint contributor-docs-refactoring
2016-01-18 09:39:54 +03:00
Eva Balycheva
0141d62fcd Add tutorial for writing storage pipeline stages
Currertly Zaqar has only one storage pipeline stage which can be used as
option in `zaqar.conf`: `zaqar.notification.notifier`.

It would be nice to have the information about writing stages for the
storage layer pipelines in the Zaqar Developer Documentation.

The tutorial with such information could be useful for Zaqar
contributors. Zaqar Configuration Reference then can provide a link to
this tutorial for the people who are willing to write their own external
stages outside Zaqar package.

This patch adds such tutorial.

Partial-Implements: blueprint contributor-docs-refactoring
Change-Id: Ia53017943037eed748a81fac0e4653341d6276a8
2016-01-17 07:37:54 +03:00
LiuNanke
5d228de79d Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.
Closes-bug: #1529836

Change-Id: I3701a14026a85898bc01f3102369a2f87de56015
2016-01-09 21:55:24 +08:00
Eva Balycheva
b53ff5d12c Refactoring of docs during Mitaka cycle
This patch improves Zaqar documentation and fixes currently existing
bugs.

Bugs this patch currently addresses and solutions:

Short names for documentation locations used in this commit message:
GitRepo - https://github.com/openstack/zaqar/
Contributor Docs - http://docs.openstack.org/developer/zaqar/
Wiki - https://wiki.openstack.org/wiki/Zaqar/

1. DRY violation and spreaded information for contributors bug.
The information for Zaqar contributors is spreaded/duplicated across
GitRepo, Contributor Docs and Wiki.
Examples of DRY violation are these three articles:
https://wiki.openstack.org/wiki/Zaqar/Give_Zaqar_a_try,
https://github.com/openstack/zaqar/blob/master/README.rst,
http://docs.openstack.org/developer/zaqar/development-environment.html

Example of spreaded information is: "zaqar/tests/functional/README.rst"
Normally the contributor want to see the information from this file in
"doc/source/running_tests.rst".

Solution: move useful missing information for contributors from Wiki and
GitRepo to Contributor Docs, then replace all contributor information in
Wiki and GitRepo with links to Contributor Docs.

2. Outdated information, missing new information and broken links bug.
Example is "test_suite.rst":
a. It still states that Zaqar test suite lives in two directories -
"tests" and "zaqar/tests", but now it's not true.
b. Doesn't contain information about how test invocation is organized,
what really happens when "tox -e py27" command executes.

Solution: replace outdated information with new, fix broken links if
possible, add useful missing information.

3. Style and formatting bugs.
The reference is http://docs.openstack.org/contributor-guide/.

Many documents in Contributor Docs have wrong line wrapping - some lines
are wrapped too short and some are wrapped too long.
Lines must wrap at 79 characters, exceptions are code and links.
Example is "first_review.rst" which lines are not wrapped at all.

Enumerated lists must be written using "#. " syntax.
Example with wrong enumerated list is "development.environment.rst".

Some inline elements must be styled according to:
http://docs.openstack.org/contributor-guide/rst-conv/inline-markups.html
Example with wrong styling of inline elements is
"development.environment.rst" where many paths and file names are not
marked with `` (double backticks).

By default code inserts are implicitly styled with python syntax.
There are many places in Contributor Docs where console (bash) code is
wrongly styled with python syntax.

Also there are some failed attempts to apply a formatting in Contributor
Docs. For example there is a broken list in "first_review.rst" at line
52.

Solution: fix broken formatting, apply proper style where it is needed.

Some of these bugs fixes closes few bug reports from:
https://etherpad.openstack.org/p/zaqar-mitaka-docs

Change-Id: Id668684248bdee03eb43b537dc2c6bb2a68ed23d
2016-01-07 17:05:09 +03:00
wangxiyuan
637b18d486 Fix the docs link
make the link work.

Change-Id: Iec331bd11d3e8ddff674999e61010241b8e8352b
2016-01-05 16:44:47 +08:00
Yatin Kumbhare
b61f5dc81f Fix for the deprecated library function
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.

Change-Id: I0b86eda9b7ee3b563d287b86df625b88b78ac805
2016-01-04 20:09:38 +05:30
Md Nadeem
3562cd1aa7 Move development.environment.rst to standard location
According to [1], every project should publish instructions
for setting up a development environment to
http://docs.openstack.org/developer/<PROJECT_NAME>/devref/development.environment.html

Zaqar's development environment setup instructions are moved
there for consistency.

[1] https://wiki.openstack.org/wiki/Getting_The_Code#Hacking_on_your_laptop_and_running_unit_tests

Change-Id: I45fb14a5777f3b639252b3ca4c3b7d114c23a332
2015-11-19 14:53:11 +09:00
venkatamahesh
62ebf7b222 Fix few typos in headings
1.) Corrected headings according to rules of migrations by
placing "=======" on headings in the files
2.) Some headings have extra "====", they are removed
3.) Launchpad url have '~' which makes error: page not found
,so it is removed

Change-Id: I99581025d579f18da9ebe57267fb002cbcba28dd
2015-09-19 16:37:56 +05:30
Jenkins
af18d2e6b0 Merge "Fix "message_store" config option in zaqar doc" 2015-09-16 21:22:14 +00:00
MD NADEEM
30c37dcdad Fix devstack option to plugin zaqar
As per zaqar development-environment.rst,
To integrate zaqar in an openstack environment,
we need to enable zagar service by adding the below line to the devstack local.conf
	enable_service zaqar-server
However, now zaqar add as a plugin (not as a devstack service) to
the devstack environment by adding below line to the devstack local.conf
	enable_plugin zaqar https://github.com/openstack/zaqar
This patch is fixed the issue.
Closes-Bug: #1496233

Change-Id: I677257c2f3ae4caa3f39fde2fabee9ee5c113a5c
2015-09-16 15:24:44 +09:00
MD NADEEM
02b6c93719 Fix "message_store" config option in zaqar doc
In zaqar documents, a config option under the [driver] section is wrongly named as "message_storage". 
However actually as per zaqar code it should be name as "message_store". 
This patch fix this name issue. 
Closes-Bug: #1496202

Change-Id: I7fdff8b7cb87850920f7144aea84e907221bbcf7
2015-09-16 06:14:45 +00:00
Victoria Martinez de la Cruz
761d23dc65 Refactoring to make Websocket driver available in v2
Considering that most of this feature landed during the Liberty
cycle, it made sense to make Websocket a v2 feature.

APIImpact
Implements-blueprint: persistent-transport
Change-Id: I52ef38f32afd688239d4aee9ac379cd8dea03d6c
2015-09-04 16:12:18 +02:00
Jenkins
d3dbde4036 Merge "Fixed the mistake in zaqar dev-environment" 2015-09-01 09:56:55 +00:00
Jenkins
d1036712ba Merge "Update 'doc/source/development-environment.rst'" 2015-08-31 19:38:08 +00:00
venkatamahesh
b807e17f39 Fixed the mistake in zaqar dev-environment
For enabling zaqar server it is written using
enable-service but the correct one is
enable_service

Change-Id: I4ed28a4b92358da11ca6bb3746e8fde68d23f683
Closes-Bug: #1490435
2015-08-31 16:04:28 +05:30
Yang Shengming
6f1da676a8 Update 'doc/source/development-environment.rst'
Change GNU/Linux system (Ubuntu, Fedora-based distributions) dependencies
Add the missing packages which are required. Otherwise, it throws errors
while running the 'tox -e genconfig' command in the doc.

Change-Id: Ie339dd590367f5a6a39ef246b632803e6677c089
Closes-Bug: #1488765
2015-08-31 11:41:18 +08:00
Jenkins
b6ad916263 Merge "Fix typos in test_suite.rst and test_utils.py" 2015-08-28 20:31:03 +00:00
Flavio Percoco
8207a69951 Don't generate docs for zaqar.transport.wsgi.app
We've been generating docs for the `zaqar.transport.wsgi.app` module,
which tries to create an instance of the wsgi transport, which then
tries to create an instance of the data controller and connect to the
database.

This module does not contain any docs and we shouldn't require a running
DB instance to generate these docs.

Change-Id: Id1c3cabc61a790bc0e5cccb22e660c933788ded8
Closes-bug: #1489426
2015-08-27 13:34:43 +02:00
Takashi NATSUME
5b2bd99a00 Fix typos in test_suite.rst and test_utils.py
suceeds => succeeds
Openstack => OpenStack

And remove comments.

Change-Id: I5ef5e294c7928cb0aa62fedb1f4f91c93e325786
2015-08-26 11:40:59 +09:00
venkatamahesh
bcdac50d73 Mistakes in the sentences are corrected
Change-Id: Ib72d73b7a0f1a919a9a3093944568f718b4f8364
Closes-Bug: #1487701
2015-08-23 23:08:05 +05:30
Sergey Vilgelm
d593c452f1 Remove unused oslo-incubator modules
Several modules of the openstack.common package are unused,
so let's remove them.

Change-Id: Id39cd6066d870720a0efc66a7ca1b013763a4777
2015-08-03 21:30:47 +03:00
Shaifali Agrawal
7d22b8e85a Update development documentation
Development doc is updated as per README for setting up environment.

Change-Id: I1bc4e4057683ab209cae84aa076b756266042174
2015-07-15 20:34:30 +05:30
Christian Schwede
e6a16f1dc3 Update development-environment.rst guide
Update development-environment.rst guide to include recent changes, for example
removed or updated sample configuration files as well as installing required
dependencies.

With these changes applied it was possible to successfully run a Zaqar server.

Change-Id: If113dc39a7a5466f15ebd3d9defede4e8c1b8098
2015-07-07 05:49:43 +00:00
Flavio Percoco
bc5015f6cb Add missing doc files
Change-Id: I81c9fe1439368cb28f1cfea9393e1b7e304e9c6b
2015-06-05 17:59:55 +02:00
Flavio Percoco
a3a80c8e5c Remove messages and claims from sql code
Remove data modules from the sqlalchemy package since we don't support
them anymore.

Closes-bug: #1461962
Change-Id: I28abb510ea918ece65e5b28271b4d921221e6877
2015-06-05 11:16:34 +02:00
Jenkins
c04ca83ca1 Merge "Using oslo.context" 2015-06-04 09:57:10 +00:00
Jenkins
0f83010f76 Merge "Port to oslo_log" 2015-06-02 22:18:55 +00:00
Louis Taylor
b006d033fd Port to oslo_log
This removes log.py from the oslo incubator and replaces it with the
graduated oslo_log module.

Change-Id: Ie0a41b4de9de25fdac3e925cd904e6cf6cd02627
2015-05-27 21:29:35 +00:00
Joe Gordon
8bcb20de88 Drop incubating theme from docs
OpenStack has dropped the incubation notion, so labeling this as an
incubated project in the docs is confusing.

Change-Id: I1d8280cef8e260576550cab85574b663266ae314
2015-05-27 12:17:39 -07:00
Jeremy Stanley
81d8801d19 Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I382df4ed7e43fcc33ff6d5ac29835c6f011e2ac9
2015-05-14 21:38:20 +00:00
Fei Long Wang
534f99535b Using oslo.context
Using oslo.context instead of keeping context.py under <zaqar>/
openstack/common.

Change-Id: I9048340850ff0bc7bd04dbddf3293a5ad399bb05
2015-05-13 16:54:19 +12:00
Martin Kletzander
0eb2831937 Fix common misspellings
Wikipedia's list of common misspellings [1] has a machine-readable
version.  This patch fixes those misspellings mentioned in the list
which don't have multiple right variants (as e.g. "accension", which can
be both "accession" and "ascension"), such misspellings are left
untouched.  The list of changes was manually re-checked for false
positives.

[1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

Change-Id: I961e9cbf27eb39461148f58dc6e8bdc1c9599541
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-03-19 17:25:57 +01:00
Tamer Tas
b5043ccac2 Invalid grave accents at the end of the mongodb installation URLs
Change-Id: Ie9f5636b4cdb91a81dcb9f3edf9b1e2f2965d4e4
2015-01-12 04:00:44 +02:00
Jenkins
65b267a23f Merge "Use the oslo.serialization instead of openstack/common/jsonutils" 2015-01-04 14:41:57 +00:00
Jenkins
4b6cf54272 Merge "Removed includes for zaqar.config.sample from doc" 2014-12-24 20:19:02 +00:00
Jeffrey Zhang
06cee67a7c Use the oslo.serialization instead of openstack/common/jsonutils
oslo.serialization already graduated from oslo-incubator. So we should
use that one.

Change-Id: I983dda5b987550f540c0e4d79ace485493f57fa1
2014-12-24 09:24:47 +08:00
Shaifali Agrawal
10cf3b40a1 Removed includes for zaqar.config.sample from doc
Change-Id: Iadf6ff9def7a6e4b9e742d802e1c3bc04bdbcd0a
Closes-Bug: #1403423
2014-12-18 12:27:53 -08:00
Victoria Martinez de la Cruz
fb48b07011 Slighty refactoring for the cross api spec
An API package has been created in common to store the API base class,
request and response classes, API validation and schemas.

The processing of the requests and responses will be added in a follow
up patch.

Change-Id: I3068b6fffde2d4d88a6009ca2ed703b38b791273
Partial-Implements: blueprint cross-transport-api-spec
2014-12-15 10:53:11 -03:00
Jeffrey Zhang
561f000f82 Fix the duplicate lines in autoindex doc
Change-Id: I6fe450f731602ad2ec4766caecccfc00ec20c691
2014-12-15 17:30:46 +08:00
Jenkins
c4c7b75352 Merge "Refactor code structure for notification" 2014-12-09 03:58:25 +00:00
Fei Long Wang
166abfd303 Refactor code structure for notification
Given we are going to implement notification, so the 'queues'
package is not suitable for current scope of zaqar. This
patch will remove the 'queues' package.

Partially implements: blueprint notifications

Change-Id: I6984f31f4bd1e646b585c45c088ed239b58587c4
2014-12-09 16:19:42 +13:00
Jeremy Stanley
5c3aa7fc21 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I972d2aa54bf70b58cf5d0f8ed1ec67be42f484a6
2014-12-05 03:30:41 +00:00
Jenkins
cb45cc6fa9 Merge "Replace sqlite with sqlalchemy" 2014-11-25 08:41:15 +00:00