3005 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
2a4732af4d Updated from global requirements
Change-Id: I92cf74109c3af636cd6a3868aa91e0f8a33cb1a1
2017-09-12 13:58:59 +00:00
Jenkins
d58415ab2b Merge "Put base policy rules at first" 2017-09-12 12:09:31 +00:00
yushangbin
de7478d2e8 Use PortOpt for port options
oslo.config provides PortOpt to validate the range of port [1].

[1] https://github.com/openstack/oslo.config/blob/2.6.0/oslo_config/cfg.py#L1114

Change-Id: I75a8e85e9d3102b88fd34da7355749fce2c74352
2017-09-12 15:44:53 +08:00
Jeremy Liu
a84670b8c5 Pick up general URI when constructing barbican endpoint
Seems like keystone will ask barbican for its infomation
including endpoint. So barbican should handle general endpoint
e.g., 'http://localhost:9311' or 'http://localhost/key-manager'

Change-Id: Id7230198583355a83b1ee4acef3da7cde7118794
2017-09-12 15:11:11 +08:00
Jenkins
f533c0bda4 Merge "allow redirects in .htaccess files on the static web servers" 2017-09-11 23:23:44 +00:00
Jenkins
2b975d89f5 Merge "[TrivialFix] Change container_id to right value." 2017-09-11 21:28:09 +00:00
Jenkins
3d4b589f0e Merge "Fix some reST field lists in docstrings" 2017-09-11 19:05:43 +00:00
Jenkins
914e44cc64 Merge "Remove unused policy check" 2017-09-11 19:03:53 +00:00
yushangbin
e86d57aa4e Put base policy rules at first
This will ensure base rules are generated at the beginning of
policy.yaml.sample.

Change-Id: I3a961ddb096b848a991e2dc11b3b80af83f43d74
2017-09-05 16:44:32 +08:00
lingyongxu
bc9581caac Fix some reST field lists in docstrings
Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.

Change-Id: I7ab0f078796c2f0078d437e5b8c9450a30c16f62
2017-09-05 15:01:28 +08:00
Jeremy Liu
bed85c63e1 Revert "Revert "Use devstack functions for deploying barbican-svc""
This reverts commit 3c6df48cbc28322559be89ce68e33de6d9263810.

Change-Id: If31494ccbce3aeddff0de6a28651a70a3e33dc65
Depends-On: Id7230198583355a83b1ee4acef3da7cde7118794
2017-09-04 08:42:19 +00:00
Kien Nguyen
9eb9c80757 [TrivialFix] Change container_id to right value.
Change-Id: I5479a5ea30a125791176575bd0420e926e7a465e
2017-09-03 09:11:09 +07:00
Jenkins
a90d9165b8 Merge "[Trivialfix]Fix typos" 2017-09-02 17:57:58 +00:00
Jenkins
f4984a1e87 Merge "Updated from global requirements" 2017-09-01 11:58:12 +00:00
Jenkins
56bdd2b913 Merge "Replace http with https for doc links" 2017-09-01 11:16:24 +00:00
Jenkins
bf39bd5d4d Merge "Ensure module is initialized before being used" 2017-09-01 10:59:29 +00:00
Jenkins
ce24b15aca Merge "Fix to use "." to source script files" 2017-09-01 10:59:23 +00:00
Jenkins
c9b608b961 Merge "writing convention: do not use “-y” for package install" 2017-09-01 10:56:00 +00:00
Jenkins
efc8b74361 Merge "Put "rm" command to whitelist_externals to avoid warning" 2017-09-01 10:55:44 +00:00
yushangbin
6c422cdb79 Remove unused policy check
The "version:get" check is not used in barbican, remove it from policies.

Change-Id: I9d6a50edd6908af82d5789756c94927aeddd7a54
2017-08-31 16:30:44 +08:00
chao liu
acec0460a0 Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: I2b87922913299aba691d1b1183ce108a74025369
2017-08-28 13:50:52 +00:00
shangxiaobj
b833108d5d Replace http with https for doc links
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I3564d1e10aeea40b74ef52bf29b3a39c5d9b0bc2
2017-08-27 20:14:36 -07:00
shangxiaobj
fcab2304a5 [Trivialfix]Fix typos
Fix the typo in barbican.

Change-Id: I3dd24c557f258d5d15370b59838d0be390d3a7dd
2017-08-27 19:58:51 -07:00
chao liu
43d389968e writing convention: do not use “-y” for package install
refer to:
https://docs.openstack.org/contributor-guide/writing-style/ \
code-conventions.html

Change-Id: I2b59c5ff02d38c2e15e728feadd123aaa6137ff0
2017-08-28 01:33:45 +00:00
OpenStack Proposal Bot
5c615d187b Updated from global requirements
Change-Id: Ic0e54a83e8383655fb4a84dd21a608f4400093a3
2017-08-26 11:30:47 +00:00
Jeremy Liu
f4be17d887 Ensure module is initialized before being used
Change-Id: I26eb7271ab2de82de71e56ce8ce65265ba4e0978
Closes-bug: #1713011
2017-08-25 21:53:37 +08:00
yushangbin
94bf667f46 Put "rm" command to whitelist_externals to avoid warning
Change-Id: Id79a2a1dd35118d6c5ecaa4ae2c74948a4102d5e
2017-08-24 11:56:52 +08:00
OpenStack Proposal Bot
d14cf4b15b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8ebdf7d3bb451eeff362aee67e9a3bf132611d04
2017-08-23 09:52:44 +00:00
912a6b58e5 Update reno for stable/pike
Change-Id: I03bd2acb3976f61264cdadd35b6d8a0d35015a2d
2017-08-10 20:47:40 +00:00
Jenkins
e6c4f8cd73 Merge "Revert "Use devstack functions for deploying barbican-svc"" 2017-08-09 03:52:09 +00:00
Kaitlin Farr
3c6df48cbc Revert "Use devstack functions for deploying barbican-svc"
Castellan unintentionally can't handle a barbican URL that has a path in
addition to the hostname, such as http://ip-address/key-manager, unless
it is followed by a forward slash (http://ip-address/key-manager/ ).  We
should either revert this change before rc1 or merge
https://review.openstack.org/#/c/491942/, make a new release of
Castellan, and beg for a change in upper-constraints for castellan to
handle the new release.

This reverts commit 508a34e23c05013a7ba1f33120c78e0da5cc8f28.

Change-Id: Iceb3a5fa890d64468cd6e7f5dec297d11a274d20
2017-08-08 22:39:11 +00:00
Jenkins
363760d657 Merge "Use devstack functions for deploying barbican-svc" 2017-08-07 20:12:21 +00:00
Jenkins
8d24ce1c02 Merge "Updated from global requirements" 2017-08-07 20:11:11 +00:00
rajat29
0eb5f38c26 allow redirects in .htaccess files on the static web servers
As part of allowing projects to establish redirects when they move
documentation pages around, we need to let them use .htaccess files.
We only want to allow Redirect and RedirectMatch directives,
though. This change restricts the directives on docs.o.o and adds them
on the static servers used for drafts published during a build (to
allow testing of the redirects).

For more details see:
 http://lists.openstack.org/pipermail/openstack-dev/2017-July/120240.html

Change-Id: I754c8016ca2a475e74023017530264e7ae331557
2017-08-03 14:41:32 +05:30
Gábor Antal
657d47bfad Removed unnecessary setUp() calls in tests
TrivialFix

Change-Id: I16e440f7fe7cb57e0d05e30c8c75ead064b5b449
2017-08-02 11:25:52 +02:00
Matthew Treinish
508a34e23c Use devstack functions for deploying barbican-svc
This commit switches barbican to use the devstack common functions for
deploying a wsgi app under uwsgi and apache. This will make the barbican
deployment consistent with the other services.

Change-Id: I8429e9a8f0db98c5f5a345190be71cae862af845
2017-08-01 17:02:55 +00:00
yushangbin
961ee0e668 Remove install-guide env which is no longer effective
The install-guide directory has been moved to doc/source directory
when migrating docs.

Change-Id: I64a5631a44161cdfaf58476810c56c82436eea7b
2017-07-31 16:49:21 +08:00
OpenStack Proposal Bot
d36cca91df Updated from global requirements
Change-Id: I3e9b3a5dd0ad0d33fd0de1346c03da436192ea43
2017-07-27 19:07:39 +00:00
Kiran_totad
854087dff2 Stop using deprecated 'message' attribute in Exception
The 'message' attribute has been deprecated and removed
from Python3.
For more details, please check:
https://www.python.org/dev/peps/pep-0352/

Change-Id: I84053cacdd5101a4293c3491ade5296cea51439a
2017-07-26 05:30:17 +00:00
Jenkins
fdfa516a67 Merge "Stop excluding functionaltests directory in pep8 check" 5.0.0.0b3 2017-07-21 05:07:58 +00:00
Jenkins
b48f40ec0a Merge "Set entry point for dogtag config correctly" 2017-07-20 23:17:05 +00:00
Jenkins
1dbacc22b4 Merge "Update internal doc reference according to doc migration result" 2017-07-20 22:07:03 +00:00
Jenkins
d3b4dc3150 Merge "Add PBR wsgi_scripts entrypoint for barbican api" 2017-07-20 22:06:52 +00:00
Jenkins
6ecd731214 Merge "Using openstack command" 2017-07-19 13:31:21 +00:00
OpenStack Proposal Bot
4a23687adc Updated from global requirements
Change-Id: Id634cfff5af2b3d76b578371f8c7407fc8cc966a
2017-07-18 01:44:19 +00:00
Jeremy Liu
b1b6754204 Update internal doc reference according to doc migration result
Change-Id: I248221414c8ad9b3d8f89ca8dc880ebf923995af
2017-07-17 11:43:02 +08:00
Matthew Treinish
69561af93f
Add PBR wsgi_scripts entrypoint for barbican api
This commit makes the barbican wsgi script consistent with other
services by leveraging the pbr wsgi_scripts entrypoint to expose it.
While you could still leverage the bundled app.wsgi the entrypoint
barbican's behavior the same as other services. As part of this the
app.wsgi script is deprecated and will be removed in the future.

Change-Id: Id42f76dbfd59209232b37096a708ee18cbf96431
2017-07-14 16:35:48 -04:00
Jenkins
75e865e956 Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()" 2017-07-14 19:23:36 +00:00
Jeremy Liu
c91040aad9 Set entry point for dogtag config correctly
dogtag configurations have been moved to "plugin/dogtag_config_opts.py",
also remove non-existent entry point when generating barbican.conf

Closes-bug: #1704320
Change-Id: I9dd202d82797cb70051323fe949cc66f8a050022
2017-07-14 15:33:20 +08:00
Jeremy Liu
6bf4a9a21b Stop excluding functionaltests directory in pep8 check
functionaltests already satisfies pep8 check, let's stop excluding it
in pep8 check.

Change-Id: If22d29a0eca69b0baf01d639bbf51bb5ca67caee
2017-07-01 11:44:00 +08:00