657 Commits

Author SHA1 Message Date
Lance Bragstad
b1cb8b0cbc Fix code-block in federation documentation
There wasn't a newline before a `code-block` in the federation docs, which
didn't allow the formatting of the code block to be rendered properly.

Change-Id: If658db9b6f4458125e5d0c4ad4e727944b0e4fa7
2015-07-07 18:07:08 +00:00
Chloe Jensen
686c8735dd Modified command used to run keystone-all.
The keystone-all file no longer exists in bin/, but it is automatically
created when Keystone is installed. It was never removed as this bug
originally suggested.

Removing "bin/" from the command 'tools/with_venv.sh bin/keystone-all'
will make with_venv.sh use the keystone-all from the created virtualenv.

Change-Id: I04695f0548d6f87d632b87a40834323fea1378d7
Co-Authored-By: Akshay Aggarwal <akshayx.aggarwal@intel.com>
Co-Authored-By: Jason O'Brien <jasonx.obrien@intel.com>
Closes-Bug: #1462242
2015-07-07 17:43:47 +00:00
Marek Denis
8cb9548ad0 OS-FEDERATION no longer extension in docs
Until now all the docs assumed the OS-FEDERATION is still an extension.
Since this is not true since Kilo release, we should also update our
documentation.

We also moved some of the files from the ``extension`` directory to the
``federation`` one.

Change-Id: I7f71fea55accaaaf38b2ee069fab9726c1045b4c
Closes-Bug: #1466092
2015-07-01 15:09:54 +02:00
Jenkins
66dff30e84 Merge "Short names for auth plugins" 2015-06-24 22:24:46 +00:00
Brant Knudson
3a4f8489a7 Document use of wip up to developer
If the developer doesn't want to use the wip decorator, they
should be able to choose not to. This makes it clear that a
-1 shouldn't be applied if the developer decides not to use
wip.

Change-Id: If041cd1a4e3a1092ab47e6dd81ee03eb772c4c35
2015-06-24 16:57:02 -05:00
Brant Knudson
04ff3541be Short names for auth plugins
A "default" entrypoint is defined for each auth method. The
default driver will be used if there's no config option for the
method, or the config option is not set, or if the config option
is set to "default".

For the external methods, since there's several of them, each gets
a short name that can be used rather than the qualified class.

bp stevedore

DocImpact

Change-Id: I2484af32e9eb3703869cf441e4f9851b54b0db2b
2015-06-22 17:48:11 -05:00
Eric Brown
cf1f20d3ff Add missing keystone-manage commands to doc
domain_config_upload, fernet_rotate, and fernet_setup are missing
from the online configuration documentation for the keystone-manage
command.

This patch adds them using the descriptions found in the man page.

Change-Id: If916589d2a97614bf252ac12bd013b25acb1aa66
Closes-Bug: #1466957
2015-06-19 14:10:10 -07:00
Jenkins
f8897f2540 Merge "Mapping Engine CLI" 2015-06-15 18:15:16 +00:00
Marek Denis
039b0bd9a9 Mapping Engine CLI
Implementation of a command line wrapped build on top of mapping engine.
Its main goal is checking effects of input parsed by RuleProcessor with
set of provided mapping rules. User must provide two files: a) rules
file with proper JSON with mapping rules (identical to those uploaded to
the server) b) a file with key-value set of environ-like parameters.

Basic usage:

$ keystone-manage mapping_engine --help
$ keystone-manage mapping_engine --rules <path> --input <path>

Upon successful execution program outputs to the stdout a JSON structure
with effective objects like user, group_ids and user_names.

Implements: bp mapping-engine-tester
Change-Id: Ia4b2e617692ebb42693db6d335985dcb6a0969e1
2015-06-11 10:20:58 +02:00
Dolph Mathews
6bd9cb6a8d Avoid using the interactive interpreter for a one-liner
There's no reason to jump into the interactive interpreter if you only
need to run a single line of code and ensure that it doesn't fail.

Change-Id: I6d593b97517460395ef31a84a986a73a36b82078
2015-06-05 14:34:39 +00:00
Jenkins
58e447ab8a Merge "Update access control configuration in httpd config" 2015-06-03 23:55:37 +00:00
Jenkins
82c99ad237 Merge "updates sample_data script to use the new openstack commands" 2015-06-01 19:11:21 +00:00
phil-hopkins-a
fa43b6f6d1 updates sample_data script to use the new openstack commands
Cleans up the sample_data script to replace the keystoneclient commands
with the new openstackclient commands

Change-Id: Id68ff2b466e582a0c2f4418d173f7d63c14f5f37
Closes-Bug: #1459816
2015-06-01 11:33:58 -05:00
Jenkins
dab2b33b77 Merge "Add "enabled" to create service provider example" 2015-05-31 03:30:38 +00:00
Jenkins
826e917d1a Merge "Update testing keystone2keystone doc" 2015-05-30 14:34:01 +00:00
Jenkins
68ef9c4ecd Merge "api_curl_examples.rst is out of date" 2015-05-30 14:28:19 +00:00
Rodrigo Duarte Sousa
31d5197a3e Add "enabled" to create service provider example
By default, the SP is disabled. It should be enabled in order to
retrieve a SAML assertion targeted to it.

Change-Id: I445b59e4e7c68282051aa13e8c4d47485a725d0f
2015-05-30 13:19:24 +00:00
Rodrigo Duarte Sousa
58e5fb6379 Update testing keystone2keystone doc
* Remove reference to service provider as being a region
* Change the URL to /ecp

Change-Id: I346d5c8c2558ad7ced8b62a87d133c57b3ec3b8e
Closes-Bug: 1459683
2015-05-29 17:44:44 -03:00
Dave Chen
9e885418f9 api_curl_examples.rst is out of date
Part of CURL response is not accurate anymore
- There will be no service catalog returned if we get
  a token from a existing token.
- Miss `audit_ids` in the response.

Closes-Bug: #1459532
Change-Id: I81db8db37f4ffdad01f976a16c14f45f411db76d
2015-05-29 15:58:34 +08:00
Jenkins
e5f2d88e47 Merge "Update dev setup requirements for Python 3.4" 2015-05-27 18:24:11 +00:00
Jenkins
2ab1a68b37 Merge "Removes temporary fix for doc generation" 2015-05-20 22:38:27 +00:00
Jenkins
d7798a2e8a Merge "Workflow documentation is now in infra-manual" 2015-05-19 13:21:59 +00:00
Jenkins
b650032fa3 Merge "Improve websso documentation." 2015-05-19 07:08:54 +00:00
Julian Edwards
3119774a3a Improve websso documentation.
Fix a mismatched <Location> and </LocationMatch> tag in the example
config snippet, and mention that the config should match the identity
provider Location config.

Change-Id: I7dc957d2ccdcc38f2eba305bf857e9449f6a5856
Closes-Bug: #1452197
2015-05-19 11:17:40 +10:00
Jeremy Stanley
ccd49cf95d Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Also update some outdated/obsolete devstack-related URLs.

Change-Id: I84e3a62b0aec7cb62d10b8b41eac27b15326ab5c
2015-05-16 14:55:07 +00:00
Jenkins
c5a2d9482b Merge "Replace ci.o.o links with docs.o.o/infra" 2015-05-16 13:42:21 +00:00
Brant Knudson
2a3d4b30a7 Rename sample_config to genconfig
Most OpenStack projects use genconfig, so use that as our tox
venv.

Change-Id: I2edb5503a114b38fc4c719140fbee935b6b757e6
2015-05-15 10:16:42 -05:00
Jeremy Stanley
a2ab1fa103 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: Ifbc668063ad7cc8bee6b44279592ea6ca09c35ea
2015-05-14 21:38:20 +00:00
David Stanek
6f98a9e2bd Removes temporary fix for doc generation
A temporary fix was added to get around a bug in how pbr handles
its autodoc_tree_index_modules setting. Since this bug is fixed we no
longer need the work around.

Change-Id: I6af0fdd6d1efacb47692b89c329e45ac59fef7cb
Closes-Bug: #1260495
2015-05-13 12:01:16 +00:00
Dave Chen
67ec368ac1 Add missing part for token object
Provide some attributes for token which can also be used
in policy language.

Change-Id: Ib09a1765e43502ca9c5d00641b85ab70988bc564
Closes-Bug: #1448991
2015-05-12 13:10:50 +08:00
Brant Knudson
f6e9c4ec8d Update dev setup requirements for Python 3.4
The functional tests use Python 3.4 so document that both Python
2.7 and Python 3.4 are required for development and add
python3-dev to the required packages for Ubuntu.

Change-Id: I48cfa5d524338e046b9049280a142702fa961b3d
2015-05-10 11:35:45 -05:00
liu-sheng
37f3a8ad54 Replace github reference by git.openstack.org and change a doc link
* Replace the github by openstack's official home git.openstack.org
* Also update the like of developer documentation of keystone

Change-Id: I60e8e914d9fa3be2cdfffe029e4c2432c07962e2
2015-05-07 10:08:10 +08:00
Jenkins
6170b977e9 Merge "Update openid connect docs to include other distros" 2015-04-24 11:49:41 +00:00
Steve Martinelli
eaf3387829 Update openid connect docs to include other distros
The author of the mod_auth_openidc apache plugin had created a pull
request to update the keystone install instructions for the plugin
  https://github.com/openstack/keystone/pull/5

Change-Id: Id6e663a7f20cec3169a43e48ffbf61c881672807
2015-04-24 05:35:02 +00:00
Jenkins
6fba049006 Merge "Update developer doc to reference Ubuntu 14" 2015-04-20 22:33:13 +00:00
Jenkins
a15c474145 Merge "Update Get API version Curl example" 2015-04-19 16:43:20 +00:00
Eric Brown
23362b5ed3 Update developer doc to reference Ubuntu 14
The development doc still references Ubuntu 12.04, even though
our installation guide includes instructions for Ubuntu 14.04.

Change-Id: I92aa5ef7ca224cedb0ef287012fb67f7fe5169e8
2015-04-16 11:52:13 -07:00
Dave Chen
cf877cab9c Update Get API version Curl example
Currently, `curl http://0.0.0.0:35357` and `curl http://0.0.0.0:35357/v2.0/`
no longer have the same response, since keystone has it's V3 APIs. Update
the doc to differentiate the two Curl example.

Change-Id: I08f5e3bd502ebd78ea775ea4135b5c3ffb80e9c7
2015-04-16 22:11:39 +08:00
Nathan Kinder
c2713c8ade Fix incorrect setting in WebSSO documentation
The WebSSO documentation describes the WEBSSO_INITIAL_CHOICE setting,
but it then shows an example with the incorrect configuration setting
name (WEBSSO_CHOICES).  This corrects the example.

Change-Id: I2cd261f2377da3738e1b0befe62166dac5c49a2f
2015-04-14 18:52:03 -07:00
Jenkins
b819cea41f Merge "Update testing docs" 2015-04-09 23:07:12 +00:00
Lance Bragstad
7d8b6eb2ac Update man pages for the Kilo release
The current man pages for keystone-manage don't include commands relating to
Fernet setup, or the domain configuration upload.

Change-Id: Ifd208151470d8d39d3d4851557e45dc12d1a577b
Closes-Bug: #1441300
2015-04-07 19:01:29 +00:00
Jenkins
bf28772d22 Merge "Document websso setup" 2015-04-06 18:10:53 +00:00
Steve Martinelli
9e25c8b9c4 Document websso setup
there are a few extra steps necessary for supporting horizon and
a federated keystone, these need to be documented.

Change-Id: I468e5591de9b77b44de995d855dc9b133bf0e741
2015-04-05 02:33:47 -04:00
Brant Knudson
4774440c59 Update testing docs
The testing docs had gotten out of sync with the test code.

Change-Id: I523579b4cccafe0630e1116746f16d31aa94ed1b
2015-04-03 12:03:44 -05:00
Henry Nash
c4f13f37d1 Reload drivers when their domain config is updated
When a domain config is modifed, in order for those configs
to actually be live, we need to re-initialise the backend
identity driver for the respective domain.

This patch uses cache timeouts to ensure that new config options
become visible to all keystone processes/threads.

Partially Implements: blueprint domain-config-ext
Change-Id: I1a802dde53f25f945eadd235574e9c342a770443
2015-04-02 07:29:13 +01:00
Jenkins
61d897afbf Merge "Correcting the name of directory holding dev docs" 2015-04-02 02:26:14 +00:00
Jenkins
a3cd0b3e31 Merge "More content in the guide for core components' migration" 2015-04-02 02:24:39 +00:00
darren-wang
4e130a79f0 Correcting the name of directory holding dev docs
In developing.rst there is an incorrect reference to the
directory in which the docs are generated.

Closes-Bug: #1438983
Change-Id: I4afa0194f5f7cab3c562806b052be6f4a8d38357
2015-04-01 07:29:43 +00:00
Henry Nash
c5b8702225 Update configuration documentation for domain config
The current configuration documentation describes the existing
file-based domain-specific configuration method. This patch
adds the information on the new SQL-based approach.

DocImpact

Partially Implements: blueprint domain-config-ext
Change-Id: Iff368cf05ab23f4c855ef4f1f286ff1081fd50ca
2015-03-30 09:54:06 +01:00
Dave Chen
0e2f47ae2f More content in the guide for core components' migration
Add some content in `developing.rst` for how to migrate core
components, primarly includes:

- The dir of core components should also includes version
  subdirectory.
- Files: `__init__.py` and `migrate.cfg` also needed for core
  components, so we should start a new section.
- Provide example for core components to upgrade or downgrade.

Change-Id: I7080609c043f856fc923a16473b4a49d5f7d06cd
2015-03-27 09:26:45 +08:00