Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

As a developer i want to create java smart contracts #520

Closed
4 of 5 tasks
cazfletch opened this issue Feb 5, 2019 · 2 comments · Fixed by #1202
Closed
4 of 5 tasks

As a developer i want to create java smart contracts #520

cazfletch opened this issue Feb 5, 2019 · 2 comments · Fixed by #1202
Assignees
Labels
Milestone

Comments

@cazfletch
Copy link
Contributor

cazfletch commented Feb 5, 2019

A developer can use the extension with java

Possible list of things needed:

  • Generate java tests
  • Submit transactions
  • generate smart contract
  • update tutorial
  • Packaging should run gradle build - not doing as won't run tests on instantiate anymore
@mbwhite
Copy link
Contributor

mbwhite commented May 31, 2019

  • I've an update to the generator to provide a Java contract project. This worked in testing without modifications to the extensions
  • Submitting and evaluation of transactions was working without any required changes - if any changes do have to be made this could be indicative of a defect in the SDK and or Chaincode shim
  • The extension needs to be able to parse the build.gradle and gradle.settings to get version and name.. or the pom.xml in the case of maven builds.

https://github.com/ninetwozero/gradle-to-js has been used in the testing of the Java contracts... does the job!

@mbwhite
Copy link
Contributor

mbwhite commented Jul 22, 2019

Updated the generator to use the newly published 1.4.2 Fabric Java Contract code
IBM-Blockchain/generator-fabric#141

Also put in a request to update the dev tutorial here..
#1165

cazfletch added a commit that referenced this issue Jul 31, 2019
Enabled choosing java contract
Updated README
Added Java samples to samples gallery

closes #520

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>
cazfletch added a commit that referenced this issue Aug 2, 2019
* select CA for enrollment (Closes #1160) (#1166)

Signed-off-by: Akshat Shah <akshatshah@akshats-mbp.hursley.uk.ibm.com>

(cherry picked from commit 3c89e2f)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Update rewrite package json (#1178)

update to set min version

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

(cherry picked from commit 9852860)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* ClosesIssue#1157 (#1181)

Signed-off-by: Akshat Shah <akshatshah@akshats-mbp.hursley.uk.ibm.com>

(cherry picked from commit 89907cc)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Fall back to CCP channel list if access denied (resolves #1142) (#1143)

Signed-off-by: Simon Stone <sstone1@uk.ibm.com>

(cherry picked from commit 85085d2)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Update basic dev tutorial for Java (#1165)

Signed-off-by: Matthew B. White <whitemat@uk.ibm.com>

(cherry picked from commit ad3e69f)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Update fabric to 1.4.2 (#1193)

Updated the version of fabric to be 1.4.2 in the cucumber and integration tests

contributes to #1167

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

(cherry picked from commit c6089d5)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Update menu labels (#1179) (#1199)

Updated smart contract pane menu labels

Signed-off-by: Akshat Shah <akshatshah@akshats-mbp.hursley.uk.ibm.com>

(cherry picked from commit f6761c6)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Show error payloads (#1187)

Added more error handling to show why endorsement fails

closes #1110

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

(cherry picked from commit 98791ab)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Enable Java in the extension (#1202)

Enabled choosing java contract
Updated README
Added Java samples to samples gallery

closes #520

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

(cherry picked from commit bce6550)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* UpdatedDisplayNames (#1200)

Edited the local_fabric & local_fabric_wallet display names.
closes #1105

Signed-off-by: Akshat Shah <akshatshah@akshats-mbp.hursley.uk.ibm.com>

(cherry picked from commit ca46a39)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Removed toggle dev mode (close #877)

Signed-off-by: Jake Turner <jaketurner25@live.com>

(cherry picked from commit a84c7b9)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Update cucumber tests (#1206)

Update cucumber tests to use Java contract

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

(cherry picked from commit 6b45447)
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>

* Merge fixes

Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>
@Jakeeyturner Jakeeyturner reopened this Aug 9, 2019
@cazfletch cazfletch added this to the Sprint 14 milestone Aug 16, 2019
@cazfletch cazfletch modified the milestones: Sprint 14, Sprint 15 Aug 29, 2019
lquintai added a commit to lquintai/blockchain-vscode-extension that referenced this issue Sep 4, 2019
Contributes to IBM-Blockchain#520

Signed-off-by: Leonor Quintais <lquintai@uk.ibm.com>
lquintai added a commit to lquintai/blockchain-vscode-extension that referenced this issue Sep 4, 2019
Contributes to IBM-Blockchain#520

Signed-off-by: Leonor Quintais <lquintai@uk.ibm.com>
cazfletch pushed a commit that referenced this issue Sep 4, 2019
Contributes to #520

Signed-off-by: Leonor Quintais <lquintai@uk.ibm.com>
@cazfletch cazfletch modified the milestones: Sprint 15, Sprint 16 Sep 13, 2019
@cazfletch cazfletch modified the milestones: Sprint 16, Sprint 17 Sep 27, 2019
@cazfletch cazfletch modified the milestones: Sprint 17, Q4 Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants