Skip to content

Commit

Permalink
Merge "[FAB-16712] Update Java chaincode doc links"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Yellick authored and Gerrit Code Review committed Nov 18, 2019
2 parents 9d1c247 + 2e75f66 commit 4cfafee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/source/build_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Next, you can bring the network up with one of the following commands:
The above command will compile Golang chaincode images and spin up the corresponding
containers. Go is the default chaincode language, however there is also support
for `Node.js <https://fabric-shim.github.io/>`_ and `Java <https://fabric-chaincode-java.github.io/>`_
for `Node.js <https://fabric-shim.github.io/>`_ and `Java <https://hyperledger.github.io/fabric-chaincode-java/>`_
chaincode. If you'd like to run through this tutorial with node chaincode, pass
the following command instead:

Expand All @@ -171,7 +171,7 @@ the following command instead:
`documentation <https://fabric-shim.github.io/ChaincodeInterface.html>`_.

.. note:: For more information on the Java shim, please refer to its
`documentation <https://fabric-chaincode-java.github.io/org/hyperledger/fabric/shim/Chaincode.html>`_.
`documentation <https://hyperledger.github.io/fabric-chaincode-java/master/api/org/hyperledger/fabric/shim/Chaincode.html>`_.

Тo make the sample run with Java chaincode, you have to specify ``-l java`` as follows:

Expand Down
4 changes: 2 additions & 2 deletions docs/source/chaincode4ade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ documentation of the Chaincode Shim API for different languages below:

- `Go <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/shim#Chaincode>`__
- `node.js <https://fabric-shim.github.io/ChaincodeInterface.html>`__
- `Java <https://fabric-chaincode-java.github.io/master/api/org/hyperledger/fabric/shim/Chaincode.html>`_
- `Java <https://hyperledger.github.io/fabric-chaincode-java/master/api/org/hyperledger/fabric/shim/Chaincode.html>`_

In each language, the ``Invoke`` method is called by clients to submit transaction
proposals. This method allows you to use the chaincode to read and write data on
Expand All @@ -55,7 +55,7 @@ The other interface in the chaincode "shim" APIs is the ``ChaincodeStubInterface

- `Go <https://godoc.org/github.com/hyperledger/fabric-chaincode-go/shim#ChaincodeStubInterface>`__
- `node.js <https://fabric-shim.github.io/ChaincodeStub.html>`__
- `Java <https://fabric-chaincode-java.github.io/master/api/org/hyperledger/fabric/shim/ChaincodeStub.html>`_
- `Java <https://hyperledger.github.io/fabric-chaincode-java/master/api/org/hyperledger/fabric/shim/ChaincodeStub.html>`_

which is used to access and modify the ledger, and to make invocations between
chaincodes.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/developapps/smartcontract.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ default contract class is useful in some smart contracts which have multiple con
If you are using a TypeScript implementation, there are similar `@Contract(...)` annotations that fulfill the same purpose as in Java.

For more information on the available annotations, consult the available API documentation:
* [API documentation for Java smart contracts](https://fabric-chaincode-java.github.io/)
* [API documentation for Java smart contracts](https://hyperledger.github.io/fabric-chaincode-java/)
* [API documentation for Node.js smart contracts](https://fabric-shim.github.io/)

These classes, annotations, and the `Context` class, were brought into scope earlier:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ in various programming languages. Smart contract SDKs are available for Go, Node

* `Go SDK documentation <https://github.com/hyperledger/fabric-chaincode-go>`__.
* `Node.js SDK <https://github.com/hyperledger/fabric-chaincode-node>`__ and `Node.js SDK documentation <https://fabric-shim.github.io/>`__.
* `Java SDK <https://github.com/hyperledger/fabric-chaincode-java>`__ and `Java SDK documentation <https://fabric-chaincode-java.github.io/>`__.
* `Java SDK <https://github.com/hyperledger/fabric-chaincode-java>`__ and `Java SDK documentation <https://hyperledger.github.io/fabric-chaincode-java/>`__.

Currently, Node.js and Java support the new smart contract programming model delivered in
Hyperledger Fabric v1.4. Support for Go is planned to be delivered in a later release.
Expand Down

0 comments on commit 4cfafee

Please sign in to comment.