-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Test Document * Update Link * Fix Link to repo
- Loading branch information
1 parent
b13abca
commit 35e08b8
Showing
1 changed file
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Integration test | ||
|
||
## Steps | ||
1. While the Aurras system is up and running | ||
2. Make sure [wsk cli](https://github.com/apache/openwhisk-cli) is added to the path | ||
3. Install the [event manager action](../../../#installation) | ||
4. Perform a transaction to emit an event from the chain. | ||
5. Navigate to [aurras-event-manager](../../../) source directory. | ||
6. Use wsk cli to list activation ids. | ||
|
||
``` | ||
wsk -i --apihost https://localhost:31001 --auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP activation list | ||
``` | ||
7. To get details of an activation, where ``<Activation ID>`` is a unique id of the activation which is executed as a result for an event emitted from the chain. | ||
|
||
``` | ||
wsk -i --apihost https://localhost:31001 --auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP activation get <Activation ID> | ||
``` | ||
|
||
8. Verify if the activation result contains event data received from the chain matches **response.result.event.data** |