Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into new-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
dsurnin committed Jul 31, 2018
2 parents 6939b9a + 9457f5b commit 47fea36
Show file tree
Hide file tree
Showing 30 changed files with 206 additions and 41 deletions.
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-01-general-1.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
wallet create AS-01-wallet-1 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-1 key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-wallet-1 key=testkey
#check that general actions work
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
Expand All @@ -13,7 +13,7 @@ did rotate-key
ledger nym did=NyLkggDnCtZY6ngkfNqzg2 verkey=~LTar8Y3uzcQEt3HdhgqtSz
- ledger get-nym did=NyLkggDnCtZY6ngkfNqzg2
did list
wallet create AS-01-identity-wallet pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-identity-wallet key=testkey
did new seed=00000000000000000000000Identity1 metadata="new identity"
did use NyLkggDnCtZY6ngkfNqzg2
Expand Down
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-01-general-2.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
wallet create AS-01-wallet-2 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-2 key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-wallet-2 key=testkey
#check that general actions work
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
Expand All @@ -13,7 +13,7 @@ did rotate-key
ledger nym did=TLvnGKZVC3qkiZgn56esFG verkey=~YXLYfwoWJ8utAU8TBSmgn4
- ledger get-nym did=TLvnGKZVC3qkiZgn56esFG
did list
wallet create AS-01-identity-wallet-2 pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet-2 key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-identity-wallet-2 key=testkey
did new seed=00000000000000000000000Identity2 metadata="new identity"
did use TLvnGKZVC3qkiZgn56esFG
Expand Down
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-01-general-3.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
wallet create AS-01-wallet-3 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-3 key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-wallet-3 key=testkey
#check that general actions work
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
Expand All @@ -13,7 +13,7 @@ did rotate-key
ledger nym did=Qb7oAFvnr2kH6FeCA9UxUN verkey=~MBMEpUF1DPd6CM2irHVyXi
- ledger get-nym did=Qb7oAFvnr2kH6FeCA9UxUN
did list
wallet create AS-01-identity-wallet-3 pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet-3 key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-01-identity-wallet-3 key=testkey
did new seed=00000000000000000000000Identity3 metadata="new identity"
did use Qb7oAFvnr2kH6FeCA9UxUN
Expand Down
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-02-before-migration-1.batch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#prepare test IDs and wallets before client migration
pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
wallet open AS-01-02-trustee-wallet key=testkey
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
did use V4SGRU86Z58d6TV7PBUe6f
ledger nym did=Mzcs3aMUHRQQwnW9bSdFgW verkey=~VkaLiUxDhNHN4sS3LGxbCP role=STEWARD
pool create AS-01-02-steward-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-steward-pool
wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
wallet open AS-01-02-steward-wallet key=testkey
did new seed=0000000000000000000NewSteward121 metadata="new steward1"
did use Mzcs3aMUHRQQwnW9bSdFgW
Expand Down
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-02-before-migration-2.batch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#prepare test IDs and wallets before client migration
pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
wallet open AS-01-02-trustee-wallet key=testkey
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
did use V4SGRU86Z58d6TV7PBUe6f
ledger nym did=UAPL7pTFdHGCXS4MGU8Zqv verkey=~6m1fM2eoZ1ygsXgq8NLPGc role=STEWARD
pool create AS-01-02-steward-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-steward-pool
wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
wallet open AS-01-02-steward-wallet key=testkey
did new seed=0000000000000000000NewSteward122 metadata="new steward2"
did use UAPL7pTFdHGCXS4MGU8Zqv
Expand Down
4 changes: 2 additions & 2 deletions acceptance/indy-cli-batches/AS-01-02-before-migration-3.batch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#prepare test IDs and wallets before client migration
pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
wallet open AS-01-02-trustee-wallet key=testkey
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
did use V4SGRU86Z58d6TV7PBUe6f
ledger nym did=Q4sXZA2FF8ePpnCbaWiNGP verkey=~RiX2km3TqJwmVNXj8WwcM6 role=STEWARD
pool create AS-01-02-steward-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-steward-pool
wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
wallet open AS-01-02-steward-wallet key=testkey
did new seed=0000000000000000000NewSteward123 metadata="new steward3"
did use Q4sXZA2FF8ePpnCbaWiNGP
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-02-01-invalid-cases.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-02-wallet key=testkey
#add node as TRUSTEE (FAIL)
did use V4SGRU86Z58d6TV7PBUe6f
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-02-01-prepare-DIDs.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-02-wallet key=testkey
#additg test DIDs with different roles for roles adding
did new seed=StewardNode500000000000000000000 metadata="node5 steward"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-02-02-invalid-cases.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-02-wallet key=testkey
#node adding invalid cases:
#demote node as STEWARD of ANOTHER node (FAIL)
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-03-01-identity-owner.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup environment
- pool create AS-0301-owner gen_txn_file=./pool_transactions_genesis
pool connect AS-0301-owner
- wallet create AS-03-wallet-owner pool_name=AS-0301-owner key=testkey
- wallet create AS-03-wallet-owner key=testkey storage_config={"pool":"AS-0301-owner"}
wallet open AS-03-wallet-owner key=testkey
# setup section
did new seed=000000000000000000000000Trustee1 metadata="Default Trustee"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-03-01-steward.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup environment
- pool create AS-0301-steward gen_txn_file=./pool_transactions_genesis
pool connect AS-0301-steward
- wallet create AS-03-wallet-steward pool_name=AS-0301-steward key=testkey
- wallet create AS-03-wallet-steward key=testkey storage_config={"pool":"AS-0301-steward"}
wallet open AS-03-wallet-steward key=testkey
# setup section
did new seed=TestTrustee100000000000000000001 metadata="test trustee 1"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-03-01-trust-anchor.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup environment
- pool create AS-0301-anchor gen_txn_file=./pool_transactions_genesis
pool connect AS-0301-anchor
- wallet create AS-03-wallet-anchor pool_name=AS-0301-anchor key=testkey
- wallet create AS-03-wallet-anchor key=testkey storage_config={"pool":"AS-0301-anchor"}
wallet open AS-03-wallet-anchor key=testkey
# setup section
did new seed=000000000000000000000000Trustee1 metadata="Default Trustee"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-03-01-trustee.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup environment
- pool create AS-0301-trustee gen_txn_file=./pool_transactions_genesis
pool connect AS-0301-trustee
- wallet create AS-03-wallet-trustee pool_name=AS-0301-trustee key=testkey
- wallet create AS-03-wallet-trustee key=testkey storage_config={"pool":"AS-0301-trustee"}
wallet open AS-03-wallet-trustee key=testkey
# setup section
did new seed=TestTrustee100000000000000000000 metadata="test trustee 1"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/indy-cli-batches/AS-04-02-before-upgrade.batch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#setup environment
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-pool
wallet create AS-04-wallet pool_name=AS-pool key=testkey
wallet create AS-04-wallet key=testkey storage_config={"pool":"AS-pool"}
wallet open AS-04-wallet key=testkey
did new seed=000000000000000000000000Trustee1 metadata="default trustee"
did use V4SGRU86Z58d6TV7PBUe6f
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

wallet create AS-01-wallet-1 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-1 key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-wallet-1" has been created

wallet open AS-01-wallet-1 key=testkey
Expand Down Expand Up @@ -82,7 +82,7 @@ did list
+------------------------+----------------------------------------------+-----------------+
Current did "5Ur5boqV3EXobXhtfow83q"

wallet create AS-01-identity-wallet pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-identity-wallet" has been created

wallet open AS-01-identity-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

wallet create AS-01-wallet-2 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-2 key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-wallet-2" has been created

wallet open AS-01-wallet-2 key=testkey
Expand Down Expand Up @@ -82,7 +82,7 @@ did list
+------------------------+----------------------------------------------+-----------------+
Current did "L8voaFcbR8oAJu9mKHxuYr"

wallet create AS-01-identity-wallet-2 pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet-2 key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-identity-wallet-2" has been created

wallet open AS-01-identity-wallet-2 key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

wallet create AS-01-wallet-3 pool_name=AS-pool key=testkey
wallet create AS-01-wallet-3 key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-wallet-3" has been created

wallet open AS-01-wallet-3 key=testkey
Expand Down Expand Up @@ -82,7 +82,7 @@ did list
+------------------------+----------------------------------------------+-----------------+
Current did "Dji7gLeU11xUrHxZQVmScq"

wallet create AS-01-identity-wallet-3 pool_name=AS-pool key=testkey
wallet create AS-01-identity-wallet-3 key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-01-identity-wallet-3" has been created

wallet open AS-01-identity-wallet-3 key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
Pool "AS-01-02-trustee-pool" has been connected

wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
Wallet "AS-01-02-trustee-wallet" has been created

wallet open AS-01-02-trustee-wallet key=testkey
Expand Down Expand Up @@ -39,7 +39,7 @@ pool connect AS-01-02-steward-pool
Pool "AS-01-02-trustee-pool" has been disconnected
Pool "AS-01-02-steward-pool" has been connected

wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
Wallet "AS-01-02-steward-wallet" has been created

wallet open AS-01-02-steward-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
Pool "AS-01-02-trustee-pool" has been connected

wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
Wallet "AS-01-02-trustee-wallet" has been created

wallet open AS-01-02-trustee-wallet key=testkey
Expand Down Expand Up @@ -39,7 +39,7 @@ pool connect AS-01-02-steward-pool
Pool "AS-01-02-trustee-pool" has been disconnected
Pool "AS-01-02-steward-pool" has been connected

wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
Wallet "AS-01-02-steward-wallet" has been created

wallet open AS-01-02-steward-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pool create AS-01-02-trustee-pool gen_txn_file=./pool_transactions_genesis
pool connect AS-01-02-trustee-pool
Pool "AS-01-02-trustee-pool" has been connected

wallet create AS-01-02-trustee-wallet pool_name=AS-01-02-trustee-pool key=testkey
wallet create AS-01-02-trustee-wallet key=testkey storage_config={"pool":"AS-01-02-trustee-pool"}
Wallet "AS-01-02-trustee-wallet" has been created

wallet open AS-01-02-trustee-wallet key=testkey
Expand Down Expand Up @@ -39,7 +39,7 @@ pool connect AS-01-02-steward-pool
Pool "AS-01-02-trustee-pool" has been disconnected
Pool "AS-01-02-steward-pool" has been connected

wallet create AS-01-02-steward-wallet pool_name=AS-01-02-steward-pool key=testkey
wallet create AS-01-02-steward-wallet key=testkey storage_config={"pool":"AS-01-02-steward-pool"}
Wallet "AS-01-02-steward-wallet" has been created

wallet open AS-01-02-steward-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-02-wallet" already exists

wallet open AS-02-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-02-wallet" already exists

wallet open AS-02-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

- wallet create AS-02-wallet pool_name=AS-pool key=testkey
- wallet create AS-02-wallet key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-02-wallet" already exists

wallet open AS-02-wallet key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-0301-owner
Pool "AS-0301-owner" has been connected

- wallet create AS-03-wallet-owner pool_name=AS-0301-owner key=testkey
- wallet create AS-03-wallet-owner key=testkey storage_config={"pool":"AS-0301-owner"}
Wallet "AS-03-wallet-owner" has been created

wallet open AS-03-wallet-owner key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-0301-steward
Pool "AS-0301-steward" has been connected

- wallet create AS-03-wallet-steward pool_name=AS-0301-steward key=testkey
- wallet create AS-03-wallet-steward key=testkey storage_config={"pool":"AS-0301-steward"}
Wallet "AS-03-wallet-steward" has been created

wallet open AS-03-wallet-steward key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-0301-anchor
Pool "AS-0301-anchor" has been connected

- wallet create AS-03-wallet-anchor pool_name=AS-0301-anchor key=testkey
- wallet create AS-03-wallet-anchor key=testkey storage_config={"pool":"AS-0301-anchor"}
Wallet "AS-03-wallet-anchor" has been created

wallet open AS-03-wallet-anchor key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-0301-trustee
Pool "AS-0301-trustee" has been connected

- wallet create AS-03-wallet-trustee pool_name=AS-0301-trustee key=testkey
- wallet create AS-03-wallet-trustee key=testkey storage_config={"pool":"AS-0301-trustee"}
Wallet "AS-03-wallet-trustee" has been created

wallet open AS-03-wallet-trustee key=testkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pool connect AS-pool
Pool "AS-pool" has been connected

wallet create AS-04-wallet pool_name=AS-pool key=testkey
wallet create AS-04-wallet key=testkey storage_config={"pool":"AS-pool"}
Wallet "AS-04-wallet" has been created

wallet open AS-04-wallet key=testkey
Expand Down
Loading

0 comments on commit 47fea36

Please sign in to comment.