-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from mdebarros/fix/v13.0.0-release.2
fix(release): v13.0.0-release.1 - updated readme for clarity - updated dependencies - bump to major version - added .gitignore rule for files containing IGNORE in names, and devspace configs - fixes to CI/CD issue with installing AWS dependencies - fixes to audit resolve
- Loading branch information
Showing
6 changed files
with
739 additions
and
1,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,3 +65,10 @@ typings/ | |
|
||
# VSCode directory | ||
.vscode | ||
|
||
# devspace configuration | ||
.devspace | ||
devspace* | ||
|
||
# IGNORE | ||
*IGNORE* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,67 @@ | ||
# event-stream-processor | ||
** EXPERIMENTAL** Event Stream Processor (ESP) for Event Stream (logs, audits, errors, trace, etc) | ||
|
||
**EXPERIMENTAL** Event Stream Processor (ESP) for Event Stream (logs, audits, errors, trace, etc) | ||
|
||
## 1. Pre-requisites | ||
|
||
### 1.1 Elasticsearch | ||
|
||
Ensure that you have created the following resources prior to deploying the ESP component: | ||
|
||
1. [Create a Policy](#1111-create) with the desired Rollover configurations: [policy-rollover-mojaloop.json](./config/policy-rollover-mojaloop.json) | ||
2. [Create a Template](#1121-create) to associate the Policy Settings to the Logstash index based on the following config: [template-mojaloop.json](./config/template-mojaloop.json) | ||
|
||
> __NOTE__:<br/> | ||
> __NOTE__: | ||
> If ESP component is running prior to configuring the above template, the index mapping will be auto-created and will not take effect. | ||
<br/> | ||
|
||
#### 1.1.1 Mojaloop Index Rollover Policy | ||
|
||
##### 1.1.1.1 Create | ||
|
||
```curl | ||
curl -X PUT "http://elasticsearch:9200/_ilm/policy/mojaloop_rollover_policy?pretty" -H 'Content-Type: application/json' -d @config/policy-rollover-mojaloop.json | ||
``` | ||
|
||
##### 1.1.1.2 Delete | ||
_Note: only needed if you need to remove the policy_ | ||
|
||
> __NOTE__: | ||
> only needed if you need to remove the policy_ | ||
```curl | ||
curl -X DELETE "http://elasticsearch:9200/_ilm/policy/mojaloop_rollover_policy?" | ||
``` | ||
|
||
#### 1.1.1.3 Get | ||
_Note: useful for debugging issues_ | ||
|
||
> __NOTE__: | ||
> useful for debugging issues_ | ||
```curl | ||
curl -X GET "http://elasticsearch:9200/_ilm/policy/mojaloop_rollover_policy?" | ||
``` | ||
|
||
#### 1.1.2 Mojaloop Index Template | ||
|
||
##### 1.1.2.1 Create | ||
|
||
```curl | ||
curl -X PUT "http://elasticsearch:9200/_template/moja_template?pretty" -H 'Content-Type: application/json' -d @config/template-mojaloop.json' | ||
``` | ||
|
||
##### 1.1.2.2 Delete | ||
_Note: only needed if you need to remove the template_ | ||
|
||
> __NOTE__: | ||
> only needed if you need to remove the template_ | ||
```curl | ||
curl -X DELETE "http://elasticsearch:9200/_template/moja_template" | ||
``` | ||
|
||
#### 1.1.3 Get Template | ||
_Note: useful for debugging template issues_ | ||
|
||
#### 1.1.3 Get Template | ||
|
||
> __NOTE__: | ||
useful for debugging template issues_ | ||
|
||
```curl | ||
curl -X GET "http://elasticsearch:9200/_template/moja_template" | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.