From 663780060461177a3c88c2c2d252224511287fa8 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Wed, 26 Jun 2019 14:46:54 +0200 Subject: [PATCH] Add OsProfiler config options to generated reference OsProfiler is optional, but if it's installed we'll load up the configuration options from the library, but they weren't in the generated config sample so people would have to find the osprofiler docs, or worse the code, to figure out how to configure it. This simply adds the OsProfiler config options to the config sample, which will also show up in the config reference docs. Change-Id: I9a379e0e60ae8eb53280b8296229d2f0412eae4a Story: 2005842 Task: 34191 --- etc/placement/config-generator.conf | 1 + test-requirements.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/etc/placement/config-generator.conf b/etc/placement/config-generator.conf index 4df7f683d..dd7bf32a0 100644 --- a/etc/placement/config-generator.conf +++ b/etc/placement/config-generator.conf @@ -5,5 +5,6 @@ namespace = placement.conf namespace = keystonemiddleware.auth_token namespace = oslo.log namespace = oslo.middleware.cors +namespace = osprofiler # FIXME(mriedem): There are likely other missing 3rd party oslo library # options that should show up in the placement.conf docs, like oslo.policy. diff --git a/test-requirements.txt b/test-requirements.txt index 1b4d1249b..ace08119a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,3 +16,6 @@ gabbi>=1.35.0 # Apache-2.0 # placement functional tests wsgi-intercept>=1.7.0 # MIT License + +# needed to generate osprofiler config options +osprofiler>=1.4.0 # Apache-2.0