-
Notifications
You must be signed in to change notification settings - Fork 1
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 #28 from interTwin-eu/dev-slangarita
Dev slangarita
- Loading branch information
Showing
10 changed files
with
84 additions
and
7 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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Decode | ||
|
||
Alteration's Decode decodes the data flow from the chosen encoding. The user must ensure the input data is encoded using the selected encoding. | ||
Three encodes are available: `base64`, `base32` and `hex`. It is similar to the command `base64 -d` or `base32 -d`. For example, If the input data is a string in base64 with the value `aGVsbG8K` or in base32 with the value `NBSWY3DPBI======`. The output data will be the same in both cases, `hello`. | ||
|
||
|
||
Here is the YAML example. | ||
|
||
|
||
``` | ||
alterations: | ||
- action: Decode | ||
Encoding: base64 | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Encode | ||
|
||
Alteration's Encode changes the data flow to the chosen encoding. Three encodings are available: `base64`, `base32` and `hex`. It is similar to the command `base64` `base32` or `hexdump`. | ||
For example, If the input data is a string with the message `hello`. The output message encode in base64 will be `aGVsbG8K`, in base32 will be `NBSWY3DPBI======` and in hex `0000000 6568 6c6c 0a6f 0000006` | ||
|
||
Here is the YAML example. | ||
|
||
``` | ||
alterations: | ||
- action: Encode | ||
Encoding: base64 | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Merge | ||
|
||
Alteration's Merge put together some messages in one. There are two variables to set: the maximum messages `maxMessages` can get and the waiting window time `windowSeconds`. | ||
The final output will aggregate the input messages separated by a lane break. If the receive data order is `I am the message 1` and `I am the message 2` the output will be: | ||
|
||
``` | ||
I am the message 1 | ||
I am the message 2 | ||
``` | ||
|
||
Here is the YAML example. | ||
|
||
|
||
``` | ||
alterations: | ||
- action: Merge | ||
maxMessages: 10 | ||
windowSeconds: 2 | ||
``` |
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
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