Skip to content

Commit

Permalink
Merge pull request #1065 from anikitinDSR/1.6.79-rc
Browse files Browse the repository at this point in the history
1.6.79 rc
  • Loading branch information
ashcherbakov committed Nov 30, 2018
2 parents 2a8f2ab + c0949cb commit 29a4853
Show file tree
Hide file tree
Showing 401 changed files with 9,113 additions and 28,060 deletions.
826 changes: 826 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

25 changes: 1 addition & 24 deletions Jenkinsfile.cd
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,6 @@ def nodeTestUbuntu = {
}
}

def clientTestUbuntu = {
try {
echo 'Ubuntu Test: Checkout csm'
checkout scm

echo 'Ubuntu Test: Build docker image'
def testEnv = dockerHelpers.build(name)

testEnv.inside('--network host') {
echo 'Ubuntu Test: Install dependencies'
testHelpers.install()

echo 'Ubuntu Test: Test'
testHelpers.testRunner([resFile: "test-result-client.${NODE_NAME}.txt", testDir: 'indy_client'])
//testHelpers.testJUnit(resFile: "test-result-client.${NODE_NAME}.xml")
}
}
finally {
echo 'Ubuntu Test: Cleanup'
step([$class: 'WsCleanup'])
}
}

def commonTestUbuntu = {
try {
echo 'Ubuntu Test: Checkout csm'
Expand Down Expand Up @@ -91,4 +68,4 @@ options = new TestAndPublishOptions()
options.enable([StagesEnum.PACK_RELEASE_COPY, StagesEnum.PACK_RELEASE_COPY_ST])
options.setCopyWithDeps(true)
options.setPrContexts([env.INDY_GITHUB_PR_REQUIRED_CONTEXT ?: "ci/hyperledger-jenkins/pr-merge"])
testAndPublish(name, [ubuntu: [node: nodeTestUbuntu, client: clientTestUbuntu, common: commonTestUbuntu]], true, options, [ubuntu: buildDebUbuntu])
testAndPublish(name, [ubuntu: [node: nodeTestUbuntu, common: commonTestUbuntu]], true, options, [ubuntu: buildDebUbuntu])
8 changes: 0 additions & 8 deletions Jenkinsfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ def tests = [
python: python
)
},
client: { python ->
test(
resFile: "test-result-client.${NODE_NAME}.txt",
testDir: 'indy_client',
python: python,
useRunner: true
)
},
node: { python ->
test(
resFile: "test-result-node.${NODE_NAME}.txt",
Expand Down
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,10 @@ Indy Node repo consists of the following parts:
So, if you want to work with Indy Node, you will need to have the Plenum code as well in most of the cases
and work with two projects at the same time
(see [How to Start Working with the Code](#how-to-start-working-with-the-code) below).
- [indy-anoncreds](https://github.com/hyperledger/indy-anoncreds)
- A python implementation of the anonymous credentials ideas developed by IBM Research.
- This is quite independent from indy-node/plenum. So, in most cases you don't need this code to contribute to Indy-Node.
- It will be deprecated soon in favor of anoncreds implementation in indy-sdk (see below).
- [indy-sdk](https://github.com/hyperledger/indy-sdk)
- An official SDK for Indy.
- it contains client and anoncreds implementation
- You don't need it to contribute to Indy-Node. But please use indy-sdk for your own applications dealing with Indy ecosystem.
- It will replace indy-client and indy-anoncreds parsts soon.
- [indy-crypto](https://github.com/hyperledger/indy-crypto)
- A shared crypto library
- It's based on [AMCL](https://github.com/milagro-crypto/amcl)
Expand Down Expand Up @@ -119,14 +114,6 @@ The described process is automated in one of the ways below (it allow to install
Please have a look at [Dev Setup](docs/setup-dev.md)


## How to Start Indy Client CLI
Once installed, you can play with the command-line interface by running Indy from a terminal.

Note: For Windows, we recommended using either [cmder](http://cmder.net/) or [conemu](https://conemu.github.io/).
```
indy
```

## Continuous Integration and Delivery

Please have a look at [Continuous integration/delivery](docs/ci-cd.md)
Expand Down Expand Up @@ -167,10 +154,12 @@ If you made changes in both indy-plenum and indy-node, you need to do the follow
- Please have a look at documents and diagrams in [docs](docs) folder
- Please have a look at documents and diagrams in Plenum's [docs](https://github.com/hyperledger/indy-plenum/tree/master/docs) folder:
- [Technical Overview of Plenum](https://github.com/hyperledger/indy-plenum/blob/master/docs/main.md)
- [Plenum Consensus Algorithm Diagram](https://github.com/hyperledger/indy-plenum/blob/master/docs/diagrams/consensus-protocol.png)
- [Glossary](https://github.com/hyperledger/indy-plenum/blob/master/docs/glossary.md)
- [Storages](https://github.com/hyperledger/indy-plenum/blob/master/docs/storage.md)
- [Request Handling](https://github.com/hyperledger/indy-plenum/blob/master/docs/request_handling.md)
- [Catchup](https://github.com/hyperledger/indy-plenum/blob/master/docs/catchup.md)
- [Catchup Diagram](https://github.com/hyperledger/indy-plenum/blob/master/docs/diagrams/catchup-procedure.png)
- [Plugins](https://github.com/hyperledger/indy-plenum/blob/master/docs/plugins.md)
- Relationship between Entities and Transactions: [relationship diagram](docs/relationship-diagram.png)
- Supported transactions and their format: [transactions](docs/transactions.md)
Expand Down
74 changes: 37 additions & 37 deletions acceptance/indy-cli-batches/expected/AS-01-01-general-1.expected
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
- pool create AS-pool gen_txn_file=./pool_transactions_genesis
Pool config "AS-pool" has been created
Pool config "AS-pool" has been created

pool connect AS-pool
Pool "AS-pool" has been connected
Pool "AS-pool" has been connected

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

wallet open AS-01-wallet-1 key=testkey
Wallet "AS-01-wallet-1" has been opened
Wallet "AS-01-wallet-1" has been opened

did new seed=000000000000000000000000Trustee1 metadata="default trustee"
Did "V4SGRU86Z58d6TV7PBUe6f" has been created with "~CoRER63DVYnWZtK8uAzNbx" verkey
Metadata has been saved for DID "V4SGRU86Z58d6TV7PBUe6f"
Did "V4SGRU86Z58d6TV7PBUe6f" has been created with "~CoRER63DVYnWZtK8uAzNbx" verkey
Metadata has been saved for DID "V4SGRU86Z58d6TV7PBUe6f"

did new seed=000000000000000000000NewSteward1 metadata="new steward"
Did "5Ur5boqV3EXobXhtfow83q" has been created with "~WWyzovtLNpZW8iAfu9qSN5" verkey
Metadata has been saved for DID "5Ur5boqV3EXobXhtfow83q"
Did "5Ur5boqV3EXobXhtfow83q" has been created with "~WWyzovtLNpZW8iAfu9qSN5" verkey
Metadata has been saved for DID "5Ur5boqV3EXobXhtfow83q"

did use V4SGRU86Z58d6TV7PBUe6f
Did "V4SGRU86Z58d6TV7PBUe6f" has been set as active
Did "V4SGRU86Z58d6TV7PBUe6f" has been set as active

ledger nym did=5Ur5boqV3EXobXhtfow83q verkey=~WWyzovtLNpZW8iAfu9qSN5 role=STEWARD
Nym request has been sent to Ledger.
Metadata:
Nym request has been sent to Ledger.
Metadata:
+---------------------+---------------------+
| Request ID | Transaction time |
+---------------------+---------------------+
| 1527781962070712451 | 2018-05-31 15:52:42 |
+---------------------+---------------------+
Data:
Data:
+------------------------+-------------------------+---------+
| Did | Verkey | Role |
+------------------------+-------------------------+---------+
| 5Ur5boqV3EXobXhtfow83q | ~WWyzovtLNpZW8iAfu9qSN5 | STEWARD |
+------------------------+-------------------------+---------+

did use 5Ur5boqV3EXobXhtfow83q
Did "5Ur5boqV3EXobXhtfow83q" has been set as active
Did "5Ur5boqV3EXobXhtfow83q" has been set as active

did rotate-key
Verkey for did "5Ur5boqV3EXobXhtfow83q" has been updated. New verkey: "J1WyzFAvS4DUoGGf6eo9sX1iXJ7jayeX677Nh3VAwVRk"
Verkey for did "5Ur5boqV3EXobXhtfow83q" has been updated. New verkey: "J1WyzFAvS4DUoGGf6eo9sX1iXJ7jayeX677Nh3VAwVRk"

ledger nym did=NyLkggDnCtZY6ngkfNqzg2 verkey=~LTar8Y3uzcQEt3HdhgqtSz
Nym request has been sent to Ledger.
Metadata:
Nym request has been sent to Ledger.
Metadata:
+---------------------+---------------------+
| Request ID | Transaction time |
+---------------------+---------------------+
| 1527781962599906305 | 2018-05-31 15:52:42 |
+---------------------+---------------------+
Data:
Data:
+------------------------+-------------------------+------+
| Did | Verkey | Role |
+------------------------+-------------------------+------+
| NyLkggDnCtZY6ngkfNqzg2 | ~LTar8Y3uzcQEt3HdhgqtSz | - |
+------------------------+-------------------------+------+

- ledger get-nym did=NyLkggDnCtZY6ngkfNqzg2
Following NYM has been received.
Metadata:
Following NYM has been received.
Metadata:
+-----------------+---------------------+---------------------+
| Sequence Number | Request ID | Transaction time |
+-----------------+---------------------+---------------------+
| 1526 | 1527781962844903608 | 2018-05-31 15:52:42 |
+-----------------+---------------------+---------------------+
Data:
Data:
+------------------------+------------------------+-------------------------+------+
| Identifier | Dest | Verkey | Role |
+------------------------+------------------------+-------------------------+------+
Expand All @@ -80,60 +80,60 @@ did list
+------------------------+----------------------------------------------+-----------------+
| 5Ur5boqV3EXobXhtfow83q | J1WyzFAvS4DUoGGf6eo9sX1iXJ7jayeX677Nh3VAwVRk | new steward |
+------------------------+----------------------------------------------+-----------------+
Current did "5Ur5boqV3EXobXhtfow83q"
Current did "5Ur5boqV3EXobXhtfow83q"

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

wallet open AS-01-identity-wallet key=testkey
Wallet "AS-01-wallet-1" has been closed
Wallet "AS-01-identity-wallet" has been opened
Wallet "AS-01-wallet-1" has been closed
Wallet "AS-01-identity-wallet" has been opened

did new seed=00000000000000000000000Identity1 metadata="new identity"
Did "NyLkggDnCtZY6ngkfNqzg2" has been created with "~LTar8Y3uzcQEt3HdhgqtSz" verkey
Metadata has been saved for DID "NyLkggDnCtZY6ngkfNqzg2"
Did "NyLkggDnCtZY6ngkfNqzg2" has been created with "~LTar8Y3uzcQEt3HdhgqtSz" verkey
Metadata has been saved for DID "NyLkggDnCtZY6ngkfNqzg2"

did use NyLkggDnCtZY6ngkfNqzg2
Did "NyLkggDnCtZY6ngkfNqzg2" has been set as active
Did "NyLkggDnCtZY6ngkfNqzg2" has been set as active

- ledger get-nym did=NyLkggDnCtZY6ngkfNqzg2
Following NYM has been received.
Metadata:
Following NYM has been received.
Metadata:
+-----------------+---------------------+---------------------+
| Sequence Number | Request ID | Transaction time |
+-----------------+---------------------+---------------------+
| 1526 | 1527781964929492594 | 2018-05-31 15:52:42 |
+-----------------+---------------------+---------------------+
Data:
Data:
+------------------------+------------------------+-------------------------+------+
| Identifier | Dest | Verkey | Role |
+------------------------+------------------------+-------------------------+------+
| 5Ur5boqV3EXobXhtfow83q | NyLkggDnCtZY6ngkfNqzg2 | ~LTar8Y3uzcQEt3HdhgqtSz | - |
+------------------------+------------------------+-------------------------+------+

did rotate-key
Verkey for did "NyLkggDnCtZY6ngkfNqzg2" has been updated. New verkey: "5TKaMf8EXoad6tLMptGNuh4563Vg9znFnBJ1iZH7zDJu"
Verkey for did "NyLkggDnCtZY6ngkfNqzg2" has been updated. New verkey: "5TKaMf8EXoad6tLMptGNuh4563Vg9znFnBJ1iZH7zDJu"

- ledger get-nym did=NyLkggDnCtZY6ngkfNqzg2
Following NYM has been received.
Metadata:
Following NYM has been received.
Metadata:
+-----------------+---------------------+---------------------+
| Sequence Number | Request ID | Transaction time |
+-----------------+---------------------+---------------------+
| 1527 | 1527781965229610522 | 2018-05-31 15:52:45 |
+-----------------+---------------------+---------------------+
Data:
Data:
+------------------------+------------------------+----------------------------------------------+------+
| Identifier | Dest | Verkey | Role |
+------------------------+------------------------+----------------------------------------------+------+
| 5Ur5boqV3EXobXhtfow83q | NyLkggDnCtZY6ngkfNqzg2 | 5TKaMf8EXoad6tLMptGNuh4563Vg9znFnBJ1iZH7zDJu | - |
+------------------------+------------------------+----------------------------------------------+------+

wallet close
Wallet "AS-01-identity-wallet" has been closed
Wallet "AS-01-identity-wallet" has been closed

pool disconnect
Pool "AS-pool" has been disconnected
Pool "AS-pool" has been disconnected

wallet list
+-----------------------+----------------------+---------+
Expand All @@ -151,4 +151,4 @@ pool list
| AS-pool |
+---------+

Goodbye...
Goodbye...
Loading

0 comments on commit 29a4853

Please sign in to comment.