Skip to content

Commit

Permalink
Provide more details on manual vs automatic pipeline restarts. (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smarker authored and c-w committed Mar 1, 2018
1 parent a36c20e commit 355be79
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
4 changes: 2 additions & 2 deletions project-fortis-interfaces/src/components/Admin/Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ class Admin extends React.Component {
const { settings, watchlist } = this.props;

const shouldShowRestartPipelineButton =
index === SETTINGS_TAB ||
index === WATCHLIST_TAB ||
index === TRUSTED_SOURCES_TAB ||
index === STREAM_TAB;
index === BLACKLIST_TAB;

return (
<div>
Expand Down
25 changes: 21 additions & 4 deletions project-fortis-pipeline/docs/admin-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Fortis comes with a settings page with which you can edit site configurations
and also provide details on how events should be monitored and processed.

Through the settings page, you will be able to configure amonst others:

- General settings about your deployment in the "Site Settings" tab
- Blacklist terms and whitelist terms in the "Watchlist" tab.
- Data sources to watch like Twitter, Facebook, Bing, etc in the "Streams" tab.
Expand All @@ -22,6 +23,18 @@ following to start monitoring events:
- One or more data sources on the "Streams" tab; Fortis will only ingest events
sourced from the data sources that you specify on this tab.

## Restarting the Pipeline

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.

| Configurations | Pipeline Restart |
| ----------------|------------------|
| Site Settings | Manual |
| Watchlist | Manual |
| Trusted Sources | Automatic |
| Blacklist | Manual |
| Streams | Automatic |

## Site Settings

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

After changing the site settings, you should click the restart pipeline button to
propagate the changes to the Fortis event ingestion.

## Watchlist

On this page, you can manage the keywords you would like your Fortis site to
Expand Down Expand Up @@ -159,8 +175,7 @@ Manage trusted sources like `twitter`, `facebook`, etc.
| 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) |
| External Source Id | Refer to `All Supported Trusted Sources` table below. |

After changing the trusted sources, you should click the restart pipeline button
to propagate the changes to the Fortis event ingestion.
After changing the trusted sources, the pipeline will automatically be restarted.

### List of All Supported Trusted Sources

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

After changing the blacklist, you should click the restart pipeline button to
propagate the changes to the Fortis event ingestion.

## Streams

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

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

0 comments on commit 355be79

Please sign in to comment.