Simplify composition of swift-proxy-server pipelines
This change refactors the logic to genrate swift-proxy-server pipelines by replacing current usage of yaql by native list_concat function. Change-Id: Ia407b54ba11acdc788c349e2ff0e973f94d1d450
This commit is contained in:
parent
87626bb69b
commit
971438dd8d
|
@ -199,10 +199,8 @@ outputs:
|
|||
swift::keymaster::auth_endpoint: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
||||
- {}
|
||||
- swift::proxy::pipeline:
|
||||
yaql:
|
||||
expression: $.data.pipeline.where($ != '')
|
||||
data:
|
||||
pipeline:
|
||||
list_concat:
|
||||
-
|
||||
- 'catch_errors'
|
||||
- 'healthcheck'
|
||||
- 'proxy-logging'
|
||||
|
@ -222,21 +220,18 @@ outputs:
|
|||
- 'slo'
|
||||
- 'dlo'
|
||||
- 'versioned_writes'
|
||||
-
|
||||
if:
|
||||
- if:
|
||||
- ceilometer_pipeline_enabled
|
||||
- 'ceilometer'
|
||||
- ''
|
||||
-
|
||||
if:
|
||||
-
|
||||
- 'ceilometer'
|
||||
- []
|
||||
- if:
|
||||
- swift_encryption_enabled
|
||||
- 'kms_keymaster'
|
||||
- ''
|
||||
-
|
||||
if:
|
||||
- swift_encryption_enabled
|
||||
- 'encryption'
|
||||
- ''
|
||||
-
|
||||
- 'kms_keymaster'
|
||||
- 'encryption'
|
||||
- []
|
||||
-
|
||||
- 'proxy-logging'
|
||||
- 'proxy-server'
|
||||
swift::proxy::account_autocreate: true
|
||||
|
|
Loading…
Reference in New Issue