-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvement in streaming CESR over HTTP. (#605)
* First attempt at an ESSR packet. Signed-off-by: pfeairheller <[email protected]> * Test command Signed-off-by: pfeairheller <[email protected]> * Essr support being added to kli and Hab Signed-off-by: pfeairheller <[email protected]> * Update XBRL attestation vLEI script to use new kli commands for credential creation and granting. Signed-off-by: pfeairheller <[email protected]> * New class StreamPoster and PUT endpoint for HttpEnd to allow for streaming many messages over HTTP with significantly reduced overhead. All the IPEX commands have been updated to use the new class for sending events to all endpoint types. Signed-off-by: pfeairheller <[email protected]> * * Add the ability to add headers to any request sent by StreamPoster * Remove unused "share oobi" endpoint. * Update shareArtifacts (credentials) to use a StreamPoster instead of Poster. Signed-off-by: pfeairheller <[email protected]> * Remove print statement Signed-off-by: pfeairheller <[email protected]> * Moving command to new repo. Signed-off-by: pfeairheller <[email protected]> --------- Signed-off-by: pfeairheller <[email protected]>
- Loading branch information
1 parent
1e50cc8
commit 44a1fa7
Showing
23 changed files
with
618 additions
and
362 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,19 @@ | ||
#!/bin/bash | ||
|
||
#kli init --name sender --salt 0ACDEyMzQ1Njc4OWxtbm9aBc --nopasscode --config-dir ${KERI_SCRIPT_DIR} --config-file demo-witness-oobis | ||
#kli incept --name sender --alias sender --file ${KERI_DEMO_SCRIPT_DIR}/data/gleif-sample.json | ||
# | ||
#kli init --name recipient --salt 0ACDEyMzQ1Njc4OWxtbm9qWc --nopasscode --config-dir ${KERI_SCRIPT_DIR} --config-file demo-witness-oobis | ||
#kli incept --name recipient --alias recipient --file ${KERI_DEMO_SCRIPT_DIR}/data/gleif-sample.json | ||
# | ||
#kli oobi resolve --name sender --oobi-alias recipient --oobi http://127.0.0.1:5642/oobi/EFXJsTFSo10FAZGR-8_Uw1DlhU8nuRFOAN9Z8ajJ56ci/witness | ||
#kli oobi resolve --name recipient --oobi-alias sender --oobi http://127.0.0.1:5642/oobi/EJf7MfzNmehwY5310MUWXPSxhAA_3ifPW2bdsjwqnvae/witness | ||
# | ||
#kli vc registry incept --name sender --alias sender --registry-name vLEI | ||
# | ||
#kli vc create --name sender --alias sender --registry-name vLEI --schema EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao --recipient ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k --data @${KERI_DEMO_SCRIPT_DIR}/data/credential-data.json | ||
#SAID=$(kli vc list --name sender --alias sender --issued --said --schema EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao) | ||
# | ||
#kli ipex grant --name sender --alias sender --said "${SAID}" --recipient ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k | ||
|
||
kli essr send --name sender --alias sender --recipient recipient |
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
Oops, something went wrong.