barbican/barbican
Dave McCowan 91a561dd9a Finish Initialization of CA Table when Barbican Starts
Before all CA related commands can succeed, the CA table needs to
be populated.  This patch invokes code to refresh the table as
Barbican starts.

In addition, the CA table entries can expire over time, to ensure
GET /cas always returns current values, the table is refreshed as
necessary at that time too.

I also added created a session for this routine to ensure any
updates are written immediately to the database.

Change-Id: I0e6f9aec073c897f811b0b87a16db3b52753d734
Closes-bug: #1495576
2015-09-18 09:04:01 -04:00
..
api Finish Initialization of CA Table when Barbican Starts 2015-09-18 09:04:01 -04:00
cmd Drop downgrade field in alembic script.py.mako and version 2015-08-14 14:45:16 +00:00
common Add DELETE functionality for subCAs 2015-09-14 10:58:31 -04:00
locale Imported Translations from Transifex 2015-08-04 06:29:27 +00:00
model Add Project Quota Support for Sub CAs 2015-09-09 16:02:06 -04:00
plugin Finish Initialization of CA Table when Barbican Starts 2015-09-18 09:04:01 -04:00
queue Add Request ID to worker-side logs in barbican. 2015-09-01 23:45:33 -05:00
tasks Finish Initialization of CA Table when Barbican Starts 2015-09-18 09:04:01 -04:00
tests Finish Initialization of CA Table when Barbican Starts 2015-09-18 09:04:01 -04:00
__init__.py Removing Cloudkeep from comments 2015-08-06 12:58:27 -04:00
context.py Centralize Barbican API Config 2015-06-02 15:08:21 -05:00
i18n.py Drop old namespace for some oslo libraries 2015-02-02 22:10:45 +02:00
version.py Enable tag-based full version reporting via pbr 2014-01-22 18:01:30 -06:00