Commit Graph

30 Commits

Author SHA1 Message Date
Ghanshyam Mann b540700061 Retire patrole
Patrole project is not active anymore and its gate is broken.
We waited for couple of cycle to see if there is any interest
in this project and anyone can maintain it. But we did not get any
new maintainers and current QA team does not have bandwidth/interest
to continue maintaining it.

This project was for RBAc testing which is moving towards unit/functional
tests on service side as well as tempest plugins tests.

In QA 2023.2 PTG, we decided to retire this project

- https://etherpad.opendev.org/p/qa-bobcat-ptg

Change-Id: I7721cf06104e5871ec27cdd87d4608dace60a8b7
2023-04-10 22:29:00 -05:00
Masayuki Igawa 94e6b1875a
Add PDF building
This commit add PDF building tox.ini environment and options for LaTeX
output. The chapter header in README.rst has been changed because "Team
and repository tags" is not appropriate for the title of this document.
And, this commit also updates repository URLs to opendev.org.

Change-Id: I1337f3185d72108eef2968cca3cb81d52e742e90
Story: #2006070
Task: #35469
2019-09-24 15:32:25 +09:00
zhufl 17fc33340d Fix a broken url link in README.rst
https://docs.openstack.org/patrole/latest/framework/rbac_utils.html#role-overriding
is broken, this is to fix it.

Change-Id: I273175e09556135fc9665c9065c25ad0c2d7add1
2019-08-08 10:14:42 +08:00
ghanshyam 9cd0a43c19 Fix README for Duplicate implicit target name: "storyboard"
While releasing new version in pypi, it perform the
validation on the package and give error if there is any
formatting issue.

warning: check: Duplicate implicit target name: "storyboard".
error: Please correct your package.

- http://logs.openstack.org/68/645868/1/check/openstack-tox-validate/9d9219e/job-output.txt.gz#_2019-03-22_20_15_40_332673

This commit fixes the format error to release the patrole.

Change-Id: Ie840743b61bab5c833f554bb40b6a162e790a29f
2019-03-25 16:54:55 +00:00
Felipe Monteiro b2ebe4924a
Updates Launchpad references to Storyboard
Updates references to Launchpad to now point to Storyboard.

Patrole moved to Stoyboard with patchset [0], which was
relatively straightforward since Patrole did not have much
baggage left in Launchpad.

(#just like Tempest) to reduce documentation maintenance

[0] https://review.openstack.org/#/c/575182/

Change-Id: Id20a1940a8679ec6222b9b9445631fc86e1af6d5
2019-03-15 09:43:09 -05:00
Goutham Pratapa d16ccfb64a Fix Doc mistakes and add log to gitignore.
This commit is to fix few gaps in documentation.

Change-Id: I20021bdfb94d143f21a17dac77ee157fec7ab0af
2019-01-30 23:53:15 +00:00
Luigi Toscano 6da06edd62 Use the canonical URL for repositories (git.openstack.org)
- When the URL refers to cloning or using git repositories, use the
  cloning URL (https://git.openstack.org/<namespace>/<project>)
- When the URL refers to the browsable version of the repository, point to
  the cgit frontend (https://git.openstack.org/cgit/<namespace>/<project>)

Change-Id: Iaeaa153a05aa85b9cf7451ae3c28aec56722222c
2019-01-07 17:50:41 +01:00
Felipe Monteiro e36a973f65 docs: Include information about the list of supported projects
This documentation is included in HACKING at the top to let
newcomers know that Patrole's testing scope is confined to the
following projects:

* Cinder
* Glance
* Keystone
* Neutron
* Nova

Depends-On: https://review.openstack.org/#/c/615394
Change-Id: I6f70a6169592fec41de67ecfed6e5ca5b9af0deb
2018-11-20 08:17:46 -06:00
Zuul 11ad0b0631 Merge "Add documentation about white box/black box testing to HACKING" 2018-11-14 22:20:13 +00:00
Felipe Monteiro 4d4cb1e7d3 Add documentation about white box/black box testing to HACKING
This patch set adds documentation about white box vs block box
testing and their relationship in Patrole. This is so that
devs/test writers understand that Patrole is a bit different than
Tempest and requires digging a bit deeper in the internals of
the API implementation in order to properly test RBAC.

Also removes a misleading link in the README.rst section. The
discussion on member vs. _member_ role is very outdated and
so a link is provided to the RBAC overview section instead which
is concerned with documenting such information.

Change-Id: I0a014c2e917caeb058dd5b5294dd0af2e5e49132
2018-11-14 00:06:28 +00:00
Felipe Monteiro 0d3c743c11
zuul: Use all rather than all-plugin for tox_envlist
Since 'all-plugin' is deprecated in Tempest, this is to
switch to 'all' instead in .zuul.yaml; for more info,
see: 9b4c50cf63/tox.ini (L64)

Depends-On: Ib3264f54075216471720483c8dd816887c1f413c
Change-Id: I440b6cff2b5378e18304017589e3e7cf4748c28c
2018-11-07 08:01:49 -06:00
Mykola Yakovliev e0f35503c9 Multi role RBAC validation
This patchset replaces ``CONF.patrole.rbac_test_role`` with
``CONF.patrole.rbac_test_roles``, where instead of single role
we can specify list of roles to be assigned to test user.

Change-Id: Ia68bcbdbb523dfe7c4abd6107fb4c426a566ae9d
2018-10-31 20:45:13 +00:00
ghanshyam 9ee07cf523 Fix 'ref' format errors in README file
While releasing new version in pypi, it perform the
validation on the package and give error if there is any
formatting issue.

README file is being used to upload on pypi and so validation
check fails[1] on current README due to 'ref' used for internal
doc link. Those links would not be available for outside the built doc.
This can be checked locally by:
    python setup.py check -s -r

This commit fixes those format issue by removing the ref and provide the
external links.

Change-Id: I678e792eaf4e362f48864da761461c7779a09155
2018-08-16 08:49:40 +00:00
Felipe Monteiro e91765592d Docs: Add RBAC overview documentation
This patchset adds an RBAC overview documentation section dedicated
to:

* Defining what RBAC is
* Policy in code and validation info related to it
* Custom policies and validation info related to it
* Multiple policies and validation info related to it
* Error codes
* Glossary

This way, users can learn about what RBAC is from a high level
and how Patrole uses validation to validate that it is working
correctly.

Change-Id: Ib411e4d06210135f7bd1cb90d5b6d59da2e5d076
2018-07-20 15:02:35 +00:00
Felipe Monteiro e5ee4be8b3 docs: Add symlink to readme from overview documentation
This patchset brings the README.rst and the overview.rst
documentation together. Previously they were maintained
separately which causes maintenance issues. This adds
a symlink from the overview.rst to the README.rst so
that the overview documentation only needs to be maintained
for the README.

This also adds a Terminology subsection underneath the
"How it works" section which expands on essential terminology
needed to understand Patrole testing architecture:

* Expected Result - The expected result of a given test.
* Actual Result - The actual result of a given test.
* Final Result - A match between both expected and actual results. A mismatch
  in the expected result and the actual result will result in a test failure.

  * Expected: Pass | Actual: Pass - Test Case Success
  * Expected: Pass | Actual: Fail - Test Case Failure
  * Expected: Fail | Actual: Pass - Test Case Failure
  * Expected: Fail | Actual: Fail (Expected exception) - Test Case Success
  * Expected: Fail | Actual: Fail (Unexpected exception) - Test Case Failure

Change-Id: I1d640200c55ce26cfd38197ec6face1161217b17
2018-07-05 15:38:20 +00:00
Felipe Monteiro 543f7b9b8a docs: Add Patrole overview documentation
This patchset adds a Patrole overview documentation
section which is sorely needed. It combines the previous
usage documentation into it.

Change-Id: Ia7412f2e99f33fbdfd2e60ba54ffdba757d1f886
2018-06-19 16:05:36 -04:00
Felipe Monteiro 443d39c5a1 docs: Add Patrole RBAC field guide
This documentation update adds a README.rst to
patrole_tempest_plugin/tests/api which explains the RBAC field
guide. It is modeled after Tempest's API field guide [0][1]. The
README.rst is then referenced in a new field_guide section
under doc/source/field_guide.

[0] 28b252f7f6/tempest/api
[1] https://docs.openstack.org/tempest/latest/field_guide/api.html#api-field-guide

Change-Id: I877ce4a1f681bd483c7f71b02fd7bb2b4d3b3e2a
2018-05-22 21:43:37 +00:00
Felipe Monteiro c287389fca Design principles README section
This PS adds a blurb about Patrole design principles in the project
README file. These principles are used to explain current and future
project design innovations.

Change-Id: I58ab03114d695f4beaa5ce4e52fa03fda90cd4dc
2017-11-15 22:33:48 +00:00
shangxiaobj 11b023243f Update and replace http with https for doc links in patrole
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I86b5f7fe245bc3731e16ef9a5db239d6da44c69d
2017-08-14 22:46:21 -07:00
gaozx 268b71df8f Update URLs in documents according to document migration
Change-Id: I31548801701df52c4b25e6a48f2c78efa6e740ea
2017-07-20 21:35:35 -04:00
Felipe Monteiro 7c7b570124 README: Fix headers
This is a trivial fix which corrects the headers so that way
they are rendered correctly, as currently they are not [0].

[0] See README at https://github.com/openstack/patrole

Change-Id: I8b1303b1a92828289187d7a0b7377f7f2524cdda
2017-07-21 01:43:42 +01:00
Felipe Monteiro 780210d91e Rewrite Patrole README to be high-level document
This commit improves the Patrole README by making it a high-level
introduction to Patrole. Implementation-specific details have been
removed from the README; they will be included in greater detail
in the Patrole documentation in a follow-up commit.

Change-Id: I6a0b4a4ef8017df24a8b8465750dae21039b1afc
Depends-On: I4d468b7f1bb6a000fde42d656635159176d5ef7f
2017-07-18 22:22:21 +00:00
Jenkins bbd3892e45 Merge "Show team and repo badges on README" 2017-06-13 21:58:10 +00:00
Felipe Monteiro c458932964 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/cff28059637f37993802631cb30976d1\n'

Closes-Bug: #1696631
Change-Id: I024f7fb9f72bf05dacbf9b43323eb3c29206894a
2017-06-12 22:17:12 +00:00
Samantha Blanco 94c9a474d4 Update Patrole documentation
Updated Patrole documentation to reflect refactored base classes
and framework.

Change-Id: I418a98692dbe29824398c7589037ca547a61aca2
2017-06-09 20:50:54 +00:00
Van Hung Pham 31b968dd89 Optimize the link address
Use https instead of http to ensure the safety

Change-Id: I4b8be0de1331450753508517558acdcca66e94c5
2017-06-05 18:45:16 +07:00
Samantha Blanco bbde022172 Added stable interface and release information to documentation
Fixed README.rst formatting and added information about stable
interfaces for Patrole and release notes and versioning.

Change-Id: I2ba7c8b7dd2b4db82f19e661ef798f95e588ee62
2017-05-04 15:29:56 -04:00
Felipe Monteiro 7bc35dc0cc Improve patrole core documentation
Updates patrole's current documentation with improved formatting.
Also updates many sections to add more clarity and detail.

Change-Id: Idebe341e2fcb0ee04db979d41df9bef5395af1b5
2017-04-21 00:13:07 +01:00
DavidPurcell 45bc1a6db0 Improve documentation
Added feature section to README and improved install guide

Change-Id: Ib563f70145889173496cf43fbf83a9ad9d0897a2
2017-01-20 11:12:54 -05:00
DavidPurcell 663aedfe46 Initial Cookiecutter commit
Change-Id: Iceff2531f4f7de21dcbb91ee893a8205b6c85107
2017-01-04 15:11:34 -05:00