Skip to content

Commit

Permalink
IS-1139: Updated samples. Corrected some links
Browse files Browse the repository at this point in the history
Signed-off-by: artem.ivanov <[email protected]>
  • Loading branch information
Artemkaaas committed Mar 22, 2019
1 parent 483569f commit f70147e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started/getting-started.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ RUN pip3 install -U \
pip \
setuptools \
jupyter \
python3-indy==1.6.8-dev-906
python3-indy==1.8.1-dev-1039

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88 \
&& add-apt-repository "deb https://repo.sovrin.org/sdk/deb xenial master" \
&& apt-get update \
&& apt-get install -y \
libindy=1.6.8~906
libindy=1.8.1~1039

USER indy

Expand Down
6 changes: 3 additions & 3 deletions libindy/src/api/anoncreds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ pub extern fn indy_prover_get_credentials(command_handle: CommandHandle,
/// #Params
/// wallet_handle: wallet handler (created by open_wallet).
/// query_json: Wql query filter for credentials searching based on tags.
/// where query: indy-sdk/doc/design/011-wallet-query-language/README.md
/// where query: indy-sdk/docs/design/011-wallet-query-language/README.md
/// cb: Callback that takes command result as parameter.
///
/// #Returns
Expand Down Expand Up @@ -1242,7 +1242,7 @@ pub extern fn indy_prover_get_credentials_for_proof_req(command_handle: CommandH
/// "<attr_referent>": <wql query>,
/// "<predicate_referent>": <wql query>,
/// }
/// where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
/// where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
/// cb: Callback that takes command result as parameter.
///
/// #Returns
Expand Down Expand Up @@ -1472,7 +1472,7 @@ pub extern fn indy_prover_close_credentials_search_for_proof_req(command_handle
/// cb: Callback that takes command result as parameter.
///
/// where
/// where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
/// where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
/// attr_referent: Proof-request local identifier of requested attribute
/// attr_info: Describes requested attribute
/// {
Expand Down
2 changes: 1 addition & 1 deletion samples/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<dependency>
<groupId>org.hyperledger</groupId>
<artifactId>indy</artifactId>
<version>1.8.1-dev-985</version>
<version>1.8.1-dev-1039</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion samples/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
author='Artem Ivanov',
author_email='[email protected]',
description='This is the sample of usage python wrapper for Hyperledger Indy SDK.',
install_requires=['python3-indy==1.6.2-dev-720']
install_requires=['python3-indy==1.8.1-dev-1039']
)
4 changes: 2 additions & 2 deletions wrappers/ios/libindy-pod/Indy/Wrapper/IndyAnoncreds.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
@param walletHandle Wallet handler (created by IndyWallet::openWalletWithName).
@param queryJSON Wql style filter for credentials searching based on tags.
(indy-sdk/doc/design/011-wallet-query-language/README.md)
(indy-sdk/docs/design/011-wallet-query-language/README.md)
@param completion Callback that takes command result as parameter.
Returns
searchHandle: Search handle that can be used later to fetch records by small batches (with proverFetchCredentialsWithSearchHandle)
Expand Down Expand Up @@ -524,7 +524,7 @@
"<attr_referent>": <wql query>,
"<predicate_referent>": <wql query>,
}
where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
@param completion Callback that takes command result as parameter.
Returns
searchHandle: Search handle that can be used later to fetch records by small batches (with proverFetchCredentialsForProofReqItemReferent)
Expand Down
10 changes: 5 additions & 5 deletions wrappers/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ to fetch records by small batches \(with proverFetchCredentialsForProofReq\).
"<attr_referent>": <wql query>,
"<predicate_referent>": <wql query>,
}
where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
````
* __->__ `sh`: Handle (Number) - search\_handle: Search handle that can be used later to fetch records by small batches \(with proverFetchCredentialsForProofReq\)
Expand Down Expand Up @@ -652,7 +652,7 @@ The proof contains either proof or self-attested attribute value for each reques
},
}
where
where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
````
* __->__ `proof`: Json - Proof json
For each requested attribute either a proof \(with optionally revealed attribute value\) or
Expand Down Expand Up @@ -2717,9 +2717,9 @@ indy.capi.abbreviateVerkey(did, fullVerkey, function(err, verkey){
Setup an Indy SDK environment, and start a local pool.
* [ubuntu](https://github.com/hyperledger/indy-sdk/blob/master/doc/ubuntu-build.md)
* [osx](https://github.com/hyperledger/indy-sdk/blob/master/doc/mac-build.md)
* [windows](https://github.com/hyperledger/indy-sdk/blob/master/doc/windows-build.md)
* [ubuntu](https://github.com/hyperledger/indy-sdk/blob/master/docs/ubuntu-build.md)
* [osx](https://github.com/hyperledger/indy-sdk/blob/master/docs/mac-build.md)
* [windows](https://github.com/hyperledger/indy-sdk/blob/master/docs/windows-build.md)
```sh
# You will need libindy in your system library path. (i.e. /usr/lib/libindy.so for linux)
Expand Down
6 changes: 3 additions & 3 deletions wrappers/python/indy/anoncreds.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ async def prover_search_credentials(wallet_handle: int,
:param wallet_handle: wallet handler (created by open_wallet).
:param query_json: wql style filter for credentials searching based on tags.
where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
:return:
search_handle: Search handle that can be used later to fetch records by small batches
(with prover_credentials_search_fetch_records)
Expand Down Expand Up @@ -964,7 +964,7 @@ async def prover_search_credentials_for_proof_req(wallet_handle: int,
"<attr_referent>": <wql query>,
"<predicate_referent>": <wql query>,
}
where wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
where wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
:return: search_handle: Search handle that can be used later to fetch records by small batches (with prover_fetch_credentials_for_proof_req)
"""

Expand Down Expand Up @@ -1145,7 +1145,7 @@ async def prover_create_proof(wallet_handle: int,
},
}
where
wql query: indy-sdk/doc/design/011-wallet-query-language/README.md
wql query: indy-sdk/docs/design/011-wallet-query-language/README.md
attr_referent: Proof-request local identifier of requested attribute
attr_info: Describes requested attribute
{
Expand Down

0 comments on commit f70147e

Please sign in to comment.