Skip to content

Commit

Permalink
[FAB-16712] Update Java chaincode doc links
Browse files Browse the repository at this point in the history
Change-Id: I6db48baaedb81f8249b77c224430e1d9399ab754
Signed-off-by: James Taylor <[email protected]>
  • Loading branch information
jt-nti committed Nov 18, 2019
1 parent 633cfbf commit 9998978
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/release-1.4/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 @@ -29,7 +29,7 @@ Every chaincode program must implement the ``Chaincode`` interface:

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

whose methods are called in response to received transactions.
In particular the ``Init`` method is called when a
Expand All @@ -42,7 +42,7 @@ The other interface in the chaincode "shim" APIs is the ``ChaincodeStubInterface

- `Go <https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim#ChaincodeStubInterface>`__
- `node.js <https://fabric-shim.github.io/ChaincodeStub.html>`__
- `Java <https://fabric-chaincode-java.github.io/org/hyperledger/fabric/shim/ChaincodeStub.html>`_
- `Java <https://hyperledger.github.io/fabric-chaincode-java/release-1.4/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. There are three smart contract SDKs available

* `Go SDK documentation <https://godoc.org/github.com/hyperledger/fabric/core/chaincode/shim>`__.
* `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 9998978

Please sign in to comment.