8000 feat: connector multidc on alert engine connection by remisultan · Pull Request #969 · gravitee-io/gravitee-docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: connector multidc on alert engine connection #969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions pages/ae/am/am-installation.adoc
8000
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,55 @@ alerts:

CAUTION: By default, to keep the same behavior of the previous version, events are sent over a websocket connection.
The default behavior will switch to http in a next future version.

=== Connect to multiple engines

Let's say you have to connect to multiple Alert Engines in order to propagate the triggers across multiple clusters.
The connector lets you do this:

```yaml
alerts:
alert-engine:
enabled: true
engines:
cluster1:
endpoints:
- https://localhost:8072/
security:
username: admin
password: adminadmin
#ssl:
# keystore:
# type: jks # Supports jks, pem, pkcs12
# path: /path/to/keystore.jks
# password: changeit
# truststore:
# type: jks # Supports jks, pem, pkcs12
# path: /path/to/truststore.jks
# password: changeit
default:
endpoints:
- http://localhost:8073/
security:
username: admin
password: adminadmin
#ssl:
# keystore:
# type: pem # Supports jks, pem, pkcs12
# certs:
# - /path/to/cert.pem
# - /path/to/cert2.pem
# keys:
# - /path/to/key.pem
# - /path/to/key2.pem
# truststore:
# type: pem # Supports jks, pem, pkcs12
# path: /path/to/truststore.pem
```

You can add as many `alerts.alert-engine.engines.<cluster-name>` as possible to connect to your Alert Engines.

NOTE: You will only be able to connect to multiple clusters to send triggers but this not the case on the gateway to send
events, the latter being handled by `alerts.alert-engine.engines.default`.

WARNING: `alerts.alert-engine.engines.default` is a mandatory cluster to add in both management-api and gateway configuration.
52 changes: 52 additions & 0 deletions pages/ae/apim/apim-installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,55 @@ httpClient:
username: user
password: secret
```

=== Connect to multiple engines

Let's say you have to connect to multiple Alert Engines in order to propagate the triggers across multiple clusters.
The connector lets you do this:

```yaml
alerts:
alert-engine:
enabled: true
engines:
cluster1:
endpoints:
- https://localhost:8072/
security:
username: admin
password: adminadmin
#ssl:
# keystore:
# type: jks # Supports jks, pem, pkcs12
# path: /path/to/keystore.jks
# password: changeit
# truststore:
# type: jks # Supports jks, pem, pkcs12
# path: /path/to/truststore.jks
# password: changeit
default:
endpoints:
- http://localhost:8073/
security:
username: admin
password: adminadmin
#ssl:
# keystore:
# type: pem # Supports jks, pem, pkcs12
# certs:
# - /path/to/cert.pem
# - /path/to/cert2.pem
# keys:
# - /path/to/key.pem
# - /path/to/key2.pem
# truststore:
# type: pem # Supports jks, pem, pkcs12
# path: /path/to/truststore.pem
```

You can add as many `alerts.alert-engine.engines.<cluster-name>` as possible to connect to your Alert Engines.

NOTE: You will only be able to connect to multiple clusters to send triggers but this not the case on the gateway to send
events, the latter being handled by `alerts.alert-engine.engines.default`.

WARNING: `alerts.alert-engine.engines.default` is a mandatory cluster to add in both management-api and gateway configuration.
0