-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: nain-F49FF806 <[email protected]>
- Loading branch information
1 parent
aadf0d5
commit 4adc7dd
Showing
3 changed files
with
53 additions
and
2 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,46 @@ | ||
# Aries VCX Mediator | ||
|
||
A mediator service for Aries Agents. | ||
|
||
**Status**: Dev | ||
|
||
## Build | ||
|
||
This project depends on `aries-vcx` and is tightly integrated to work with it. | ||
As such we expect this `mediator` module to be in a subdirectory of aries-vcx repo. | ||
You may transplant it, but expect to change the `Cargo.toml` and adjust the dependencies on aries modules manually. | ||
|
||
When ready it's simple to build. | ||
|
||
```bash | ||
# Dev environment build | ||
cargo build | ||
``` | ||
|
||
## Usage | ||
|
||
You can run and test the produced binary using cargo. | ||
|
||
```bash | ||
cargo run | ||
``` | ||
|
||
### Configurable Options | ||
|
||
Currently the mediator reads the following environment variables. | ||
|
||
```yaml | ||
`ENDPOINT_ROOT`: | ||
- **Description**: This is the address at which the mediator will listen for connections. | ||
- **Default**: "127.0.0.1:8005" | ||
- **Usage**: `ENDPOINT_ROOT=127.0.0.1:3000 cargo run` | ||
``` | ||
|
||
## API | ||
|
||
Currently exposed endpoints. | ||
|
||
```yaml | ||
`/register`: | ||
- **Description** : Shows an Aries Out Of Band (OOB) invitation which can be used to connect to the mediator using a conformant Aries Agent. | ||
``` |
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