Merge "Expose params to enable panko expirer cron"
This commit is contained in:
commit
d51c3e3103
@ -48,6 +48,35 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
default: 'regionOne'
|
default: 'regionOne'
|
||||||
description: Keystone region for endpoint
|
description: Keystone region for endpoint
|
||||||
|
EnablePankoExpirer:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
description: Enable panko expirer to periodically delete events from db
|
||||||
|
PankoExpirerMinute:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to delete events data from db - Minute
|
||||||
|
default: '1'
|
||||||
|
PankoExpirerHour:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to delete events data from db - Hour
|
||||||
|
default: '0'
|
||||||
|
PankoExpirerMonthday:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to delete events data from db - Month Day
|
||||||
|
default: '*'
|
||||||
|
PankoExpirerMonth:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to delete events data from db - Month
|
||||||
|
default: '*'
|
||||||
|
PankoExpirerWeekday:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to delete events from db - Week Day
|
||||||
|
default: '*'
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
service_debug_unset: {equals : [{get_param: PankoDebug}, '']}
|
service_debug_unset: {equals : [{get_param: PankoDebug}, '']}
|
||||||
@ -58,6 +87,7 @@ outputs:
|
|||||||
value:
|
value:
|
||||||
service_name: panko_base
|
service_name: panko_base
|
||||||
config_settings:
|
config_settings:
|
||||||
|
enable_panko_expirer: {get_param: EnablePankoExpirer}
|
||||||
panko::db::database_connection:
|
panko::db::database_connection:
|
||||||
make_url:
|
make_url:
|
||||||
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
|
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
|
||||||
@ -83,6 +113,11 @@ outputs:
|
|||||||
panko::auth::auth_password: {get_param: PankoPassword}
|
panko::auth::auth_password: {get_param: PankoPassword}
|
||||||
panko::auth::auth_region: {get_param: KeystoneRegion}
|
panko::auth::auth_region: {get_param: KeystoneRegion}
|
||||||
panko::auth::auth_tenant_name: 'service'
|
panko::auth::auth_tenant_name: 'service'
|
||||||
|
panko::expirer::minute: {get_param: PankoExpirerMinute}
|
||||||
|
panko::expirer::hour: {get_param: PankoExpirerHour}
|
||||||
|
panko::expirer::monthday: {get_param: PankoExpirerMonthday}
|
||||||
|
panko::expirer::month: {get_param: PankoExpirerMonth}
|
||||||
|
panko::expirer::weekday: {get_param: PankoExpirerWeekday}
|
||||||
service_config_settings:
|
service_config_settings:
|
||||||
keystone:
|
keystone:
|
||||||
panko::keystone::auth::public_url: {get_param: [EndpointMap, PankoPublic, uri]}
|
panko::keystone::auth::public_url: {get_param: [EndpointMap, PankoPublic, uri]}
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Expose panko expirer params to enable and configure it.
|
Loading…
x
Reference in New Issue
Block a user