Commit Graph

23 Commits

Author SHA1 Message Date
Martin Chacon Piza 91022f3e80 Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content

Change-Id: Ie446c1cd447789d189a9e723fff9ee783dd3cf4f
2021-02-22 14:57:15 +01:00
Andreas Jaeger a8d2c2e2da Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id0886a73e1bd1c8a30dd7d1f50af7c7eab90d916
2020-05-22 16:30:30 +02:00
Andreas Jaeger deb5ae0a6d Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I7b93ead6885bf7f2a71b982f2fb215456f178ec5
2019-07-22 18:50:59 +02:00
Thomas Bechtold 5c2ebbed54 Use monasca-log-api.conf for doc, devstack and docker
api-log.conf is the deprecated path for the configuration file. The
new path is /etc/monasca/monasca-log-api.conf .
So use this new path in devstack, documentation and docker.

Change-Id: I2208b7e27d3dbec38290ffb8ba66bc64a5129744
Story: 2004831
Task: 29024
2019-02-05 06:31:28 +01:00
Zuul 0caf1b09a7 Merge "Update policy configuration document" 2018-08-10 12:26:25 +00:00
Zuul 8b6582d8d4 Merge "Using oslo.policy for monasca-log-api" 2018-07-31 14:03:04 +00:00
Witold Bedyk 82f68df589 Update policy configuration document
Change-Id: I94164f43c20eb2d3ee66be4aab8419eff3f46333
Story: 2001233
Task: 23333
2018-07-31 14:47:07 +02:00
Amir Mofakhar 5729d7e7c8 Using oslo.policy for monasca-log-api
Added policies and used policy enforcement engine
from monasca-common.

- Updated role_middleware to remove authorization into the routes.
- Updated unit tests and implemented some new tests.
- Added a new entry point for generating sample policy file by tox.

story: 2001233
task: 22086

Change-Id: I3d199fac244eca94fc434d19c78bc5a17e804c37
Signed-off-by: Amir Mofakhar <amofakhar@op5.com>
2018-07-19 09:55:54 +02:00
Witold Bedyk e0d4127abf Add architecture diagram
Change-Id: Id1ef4c81f0d0b60872f2048a75b7f993fa92f229
Story: 2001912
Task: 19697
2018-07-06 14:24:31 +02:00
Tomasz Trębski df1574ef8c Make ZuulV3 working
- pep8 [ fix history, no more ChangeLog ]
- legacy gates [use $USER instead of jenkins]

Change-Id: I9e4bbd6fd48454e37985ed5c408e8b935d535304
2017-10-18 08:02:51 +00:00
herrmann da4b3e047d Minor language change
Change-Id: I6c20d461db331e3766164778f61cfba8a769aa60
2017-07-27 17:26:55 +02:00
Tomasz Trębski 3c4cfc5665 Add CLI documentation part
Story: 2001058
Task: 4784

Change-Id: I3d8c3dc6eeeadd0ae136cfe9babce3a4f84f1325
2017-07-26 09:41:18 +00:00
Jenkins 66176eb150 Merge "Configuration documentation" 2017-07-24 12:26:23 +00:00
Tomasz Trębski d14e2abc17 Configuration documentation
Commits fills in the documentation part that touches
configuring monasca-log-api. With this documentation one
can learn about possible ways and options needed to
have own monasca-log-api properly configured.

Story: 2001058
Task: 4783

Change-Id: I8ae3531fff6d70450b187a4945ce68c472db63b6
2017-07-24 11:07:47 +00:00
Tomasz Trębski e86f2474ef Fix deprecation detail
Commits fixes deprecation detail.
Actually Log API v2 was deprecated and v3 is recommended.
Previously the documentation said that v1 was deprecated
and user should use v2.

Change-Id: I3b4b1b5fea86dc47ffc4fb1777de1d2eb01eeccf
2017-07-24 06:25:05 +02:00
Hangdong Zhang ed3a3f0512 Update the documentation link for doc migration
Change-Id: Ic12495a215fc64ece62b9694c9154fed592b8593
2017-07-21 13:38:58 +08:00
Tomasz Trębski 94885f91a9 Provide references to new docs
Story: 2001058
Task: 4779

Change-Id: I95bab9bc3262fb32e648e9fcce37bf87bdcbd918
2017-07-06 12:24:02 +02:00
Jenkins 6b0dbac6d8 Merge "Use oslo-config-generator" 2017-07-05 12:13:52 +00:00
Thomas Bechtold d243ed35d0 Use oslo-config-generator
It is common for OpenStack projects to use oslo-config-generator to generate
a sample config file which contains all available configuration options.

Work items:

* removed etc/monasca/log-api.conf (it is autogenerated)
* keep all config in one place to mimic the configuration file
* added configuration files to documentation

Story: 2000970
Task: 4121

Change-Id: I8777ed6cd38739e87b19be248b9c120e84626ad1
2017-07-05 09:44:35 +00:00
Tomasz Trębski 0acaeba534 Enable codebase documenation
Change adds building the codebase documentation
that will be part of contributors user guide.

Change-Id: I24df404289c8d843d413e094af56b933eb2e22e7
2017-07-03 13:54:01 +02:00
Tomasz Trębski 29126ba9f8 Migrate documentation to Sphinx
Migration of Openstack Project is held in
*.rst files and build with Sphinx.

Following change provides:
* technical documention
* api guide
* api ref
* releasenotes

Note:
    For now, generating codebase documentation is disabled.
    It caused gate failures because of, yet unnown, reasons.
    In order to pull this foundation, this part is skipped.

Extra:
* provided venvs descriptions to let user know what is the scope

Story: 2001058
Task: 4665

Change-Id: Ieb2b58e165de1617748d97d997af368bd91d5c0e
2017-07-03 07:38:53 +00:00
Vu Cong Tuan 079025f885 Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Changing Popen to .check_output because of 3 reasons:
1. check_output() will raise CalledProcessError if
the called process returns a non-zero return code.
2. For consistency with keystone [1] and cinder [2]
3. It makes the code look much better.

[1] https://review.openstack.org/#/c/457142/
[2] https://review.openstack.org/#/c/433081

Change-Id: Ice55b84d9317e9b817e8eae3877e2f6a02ec3016
2017-06-06 10:28:33 +07:00
Tomasz Trębski 04030115db Migrate testing to ostestr and adding docs
Following commits not only enables running
unit tests with ostestr, like other
OS projects, but also:
* enables covarage with testr
* enables building documentation with build_sphinx commands

Additionally:
* tox.ini was organized a bit

Change-Id: I2a21f9cee0e00f7148142465a8fc131ef4ff6f44
2017-01-17 12:53:54 +01:00