Skip to content

Commit 7b8178c

Browse files
authored
Remove Hipchat support from Watcher (#39374)
* Remove Hipchat support from Watcher (#39199) Hipchat has been shut down and has previously been deprecated in Watcher (#39160), therefore we should remove support for these actions. * Add migrate note
1 parent d5046b1 commit 7b8178c

38 files changed

+19
-4328
lines changed

docs/reference/migration/migrate_7_0/plugins.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,9 @@ Tribe node functionality has been removed in favor of
7575

7676
* The method `DiscoveryPlugin#getDiscoveryTypes()` was removed, so that plugins
7777
can no longer provide their own discovery implementations.
78+
79+
[float]
80+
==== Watcher 'hipchat' action removed
81+
82+
Hipchat has been deprecated and shut down as a service. The `hipchat` action for
83+
watches has been removed.

docs/reference/settings/notification-settings.asciidoc

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
You configure {watcher} settings to set up {watcher} and send notifications via
99
<<email-notification-settings,email>>,
10-
<<hipchat-notification-settings,HipChat>>,
1110
<<slack-notification-settings,Slack>>, and
1211
<<pagerduty-notification-settings, PagerDuty>>.
1312

@@ -67,10 +66,10 @@ Specifies the maximum size an HTTP response is allowed to have, defaults to
6766

6867
`xpack.http.whitelist`::
6968
A list of URLs, that the internal HTTP client is allowed to connect to. This
70-
client is used in the HTTP input, the webhook, the slack, pagerduty, hipchat
69+
client is used in the HTTP input, the webhook, the slack, pagerduty,
7170
and jira actions. This setting can be updated dynamically. It defaults to `*`
7271
allowing everything. Note: If you configure this setting and you are using one
73-
of the slack/pagerduty/hipchat actions, you have to ensure that the
72+
of the slack/pagerduty actions, you have to ensure that the
7473
corresponding endpoints are whitelisted as well.
7574

7675
[[ssl-notification-settings]]
@@ -207,54 +206,6 @@ HTML feature groups>>.
207206
Set to `false` to completely disable HTML sanitation. Not recommended.
208207
Defaults to `true`.
209208

210-
[float]
211-
[[hipchat-notification-settings]]
212-
==== HipChat Notification Settings
213-
You can configure the following HipChat notification settings in
214-
`elasticsearch.yml`. For more information about sending notifications
215-
via HipChat, see {xpack-ref}/actions-hipchat.html#configuring-hipchat-actions[Configuring HipChat].
216-
217-
`xpack.notification.hipchat` ::
218-
Specifies account information for sending notifications
219-
via HipChat. You can specify the following HipChat account attributes:
220-
221-
[[hipchat-account-attributes]]
222-
`profile`;;
223-
The HipChat account profile to use: `integration`,
224-
`user`, or `v1`. Required.
225-
226-
`secure_auth_token` (<<secure-settings,Secure>>);;
227-
The authentication token to use to access the HipChat API. Required.
228-
229-
`host`;;
230-
The HipChat server hostname. Defaults to `api.hipchat.com`.
231-
232-
`port`;;
233-
The HipChat server port number. Defaults to 443.
234-
235-
`room`;;
236-
The room you want to send messages to. Must be specified
237-
if the `profile` is set to `integration`. Not valid for
238-
the `user` or `vi` profiles.
239-
240-
`user`;;
241-
The HipChat user account to use to send messages.
242-
Specified as an email address. Must be specified if the
243-
`profile` is set to `user`. Not valid for the `integration`
244-
or `v1` profiles.
245-
246-
`message.format`;;
247-
The format of the message: `text` or `html`.
248-
Defaults to `html`.
249-
250-
`message.color`;;
251-
The background color of the notification in the room.
252-
Defaults to `yellow`.
253-
`message.notify`;;
254-
Indicates whether people in the room should be
255-
actively notified. Defaults to `false`.
256-
257-
258209
[float]
259210
[[slack-notification-settings]]
260211
==== Slack Notification Settings

x-pack/docs/en/watcher/actions.asciidoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ serve as a model for a templated email body.
1616

1717
{watcher} supports the following types of actions:
1818
<<actions-email, email>>, <<actions-webhook, webhook>>, <<actions-index, index>>,
19-
<<actions-logging, logging>>, <<actions-hipchat, hipchat>>, <<actions-slack,
20-
Slack>>, and <<actions-pagerduty, pagerduty>>.
19+
<<actions-logging, logging>>, <<actions-slack, Slack>>,
20+
and <<actions-pagerduty, pagerduty>>.
2121

2222
[float]
2323
[[actions-ack-throttle]]
@@ -271,9 +271,6 @@ include::actions/index.asciidoc[]
271271
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/x-pack/docs/en/watcher/actions/logging.asciidoc
272272
include::actions/logging.asciidoc[]
273273

274-
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/x-pack/docs/en/watcher/actions/hipchat.asciidoc
275-
include::actions/hipchat.asciidoc[]
276-
277274
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/x-pack/docs/en/watcher/actions/slack.asciidoc
278275
include::actions/slack.asciidoc[]
279276

@@ -292,7 +289,7 @@ that even despite the exact same version, an OpenJDK distribution contains
292289
different parts under different Linux distributions.
293290

294291
This can lead to issues with any action or input that uses TLS, like the `jira`,
295-
`pagerduty`, `slack`, `hipchat` or `webhook` one, because of missing CA certs.
292+
`pagerduty`, `slack`, or `webhook` one, because of missing CA certs.
296293
If you encounter TLS errors, when writing watches that connect to TLS endpoints,
297294
you should try to upgrade to the latest available OpenJDK distribution for your
298295
platform and if that does not help, try to upgrade to Oracle JDK.

0 commit comments

Comments
 (0)