Remove unused "transformers" field from event pipeline configuration

Transformer was already removed from ceilometer by [1]. This field
was removed from the example configuration file when transformer was
deprecated[2].

[1] 9db5c6c9bfc66018aeb78c4a262e1bfa9b326798
[2] 1dcbd607df0696101b40f77d7721489679ebe0ba

Change-Id: I012d3f960d2a562c2735e7b5c1e408a3a1addb70
This commit is contained in:
Takashi Kajinami 2022-03-25 01:43:07 +09:00
parent 17864e2aec
commit 72235236a1
2 changed files with 6 additions and 13 deletions

View File

@ -27,8 +27,8 @@ describe 'ceilometer::agent::notification' do
end end
let :params do let :params do
{ :manage_service => true, { :manage_service => true,
:enabled => true } :enabled => true }
end end
shared_examples_for 'ceilometer-agent-notification' do shared_examples_for 'ceilometer-agent-notification' do
@ -125,7 +125,6 @@ describe 'ceilometer::agent::notification' do
" - event_sink", " - event_sink",
"sinks:", "sinks:",
" - name: event_sink", " - name: event_sink",
" transformers:",
" publishers:", " publishers:",
" - gnocchi://", " - gnocchi://",
])} ])}
@ -148,7 +147,6 @@ describe 'ceilometer::agent::notification' do
" - event_sink", " - event_sink",
"sinks:", "sinks:",
" - name: event_sink", " - name: event_sink",
" transformers:",
" publishers:", " publishers:",
" - notifier://", " - notifier://",
" - notifier://?topic=alarm.all", " - notifier://?topic=alarm.all",
@ -165,9 +163,8 @@ describe 'ceilometer::agent::notification' do
'sinks' => ['my_event_sink'], 'sinks' => ['my_event_sink'],
], ],
'sinks' => [ 'sinks' => [
'name' => 'my_event_sink', 'name' => 'my_event_sink',
'transformers' => [], 'publishers' => ['gnocchi://'],
'publishers' => ['gnocchi://'],
], ],
} }
)} )}
@ -182,7 +179,6 @@ sources:
- my_event_sink - my_event_sink
sinks: sinks:
- name: my_event_sink - name: my_event_sink
transformers: []
publishers: publishers:
- gnocchi:// - gnocchi://
', ',
@ -219,9 +215,8 @@ sinks:
'sinks' => ['my_sink'], 'sinks' => ['my_sink'],
], ],
'sinks' => [ 'sinks' => [
'name' => 'my_sink', 'name' => 'my_sink',
'transformers' => [], 'publishers' => ['gnocchi://'],
'publishers' => ['gnocchi://'],
], ],
} }
)} )}
@ -236,7 +231,6 @@ sources:
- my_sink - my_sink
sinks: sinks:
- name: my_sink - name: my_sink
transformers: []
publishers: publishers:
- gnocchi:// - gnocchi://
', ',

View File

@ -7,7 +7,6 @@ sources:
- event_sink - event_sink
sinks: sinks:
- name: event_sink - name: event_sink
transformers:
publishers: publishers:
<% @event_pipeline_publishers.each do |publisher| -%> <% @event_pipeline_publishers.each do |publisher| -%>
- <%= publisher %> - <%= publisher %>