Skip to content

Commit 355be79

Browse files
Smarkerc-w
authored andcommitted
Provide more details on manual vs automatic pipeline restarts. (#45)
1 parent a36c20e commit 355be79

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

project-fortis-interfaces/src/components/Admin/Admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ class Admin extends React.Component {
6868
const { settings, watchlist } = this.props;
6969

7070
const shouldShowRestartPipelineButton =
71+
index === SETTINGS_TAB ||
7172
index === WATCHLIST_TAB ||
72-
index === TRUSTED_SOURCES_TAB ||
73-
index === STREAM_TAB;
73+
index === BLACKLIST_TAB;
7474

7575
return (
7676
<div>

project-fortis-pipeline/docs/admin-settings.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Fortis comes with a settings page with which you can edit site configurations
44
and also provide details on how events should be monitored and processed.
55

66
Through the settings page, you will be able to configure amonst others:
7+
78
- General settings about your deployment in the "Site Settings" tab
89
- Blacklist terms and whitelist terms in the "Watchlist" tab.
910
- Data sources to watch like Twitter, Facebook, Bing, etc in the "Streams" tab.
@@ -22,6 +23,18 @@ following to start monitoring events:
2223
- One or more data sources on the "Streams" tab; Fortis will only ingest events
2324
sourced from the data sources that you specify on this tab.
2425

26+
## Restarting the Pipeline
27+
28+
It is necessary to restart the pipeline to update Fortis event ingestion with your new admin settings. As some configurations may be updated more frequently than others, these will need a manual pipeline restart. To restart the pipeline manually, use the `restart pipeline button` on the corresponding tab. Configurations that are infrequently changed will have automatic pipeline restarts.
29+
30+
| Configurations | Pipeline Restart |
31+
| ----------------|------------------|
32+
| Site Settings | Manual |
33+
| Watchlist | Manual |
34+
| Trusted Sources | Automatic |
35+
| Blacklist | Manual |
36+
| Streams | Automatic |
37+
2538
## Site Settings
2639

2740
On this page, you can manage general configuration items for the site such as
@@ -79,6 +92,9 @@ The following list explains the settings managed on this site in more detail:
7992
- **Cognitive Text Services Token:** Neded for [sentiment analysis](https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/).
8093
This access key is set up automatically during the initial Fortis deployment.
8194

95+
After changing the site settings, you should click the restart pipeline button to
96+
propagate the changes to the Fortis event ingestion.
97+
8298
## Watchlist
8399

84100
On this page, you can manage the keywords you would like your Fortis site to
@@ -159,8 +175,7 @@ Manage trusted sources like `twitter`, `facebook`, etc.
159175
| Name | Friendly name you assign for your trusted source to act as an alias for the external source id. In the `dashboard` this friendly name will be what is displayed, not the external source id. (external source id will only be displayed if `Name` is not defined) |
160176
| External Source Id | Refer to `All Supported Trusted Sources` table below. |
161177

162-
After changing the trusted sources, you should click the restart pipeline button
163-
to propagate the changes to the Fortis event ingestion.
178+
After changing the trusted sources, the pipeline will automatically be restarted.
164179

165180
### List of All Supported Trusted Sources
166181

@@ -202,6 +217,9 @@ The following list explains the settings managed on this site in more detail:
202217
excluded. For example, you can use this to exclude all events from a
203218
particular city, town or region.
204219

220+
After changing the blacklist, you should click the restart pipeline button to
221+
propagate the changes to the Fortis event ingestion.
222+
205223
## Streams
206224

207225
On this page, you can manage the data sources to which your Fortis site listens.
@@ -227,5 +245,4 @@ The following list explains the settings managed on this site in more detail:
227245
- **Edit:** Open the editor to modify the stream, for example to update API
228246
access credentials.
229247

230-
After changing the streams, you should click the restart pipeline button to
231-
propagate the changes to the Fortis event ingestion.
248+
After changing the streams, the pipeline will automatically be restarted.

0 commit comments

Comments
 (0)