@@ -1405,7 +1405,8 @@ peer chaincode invoke -n mycc -c '{"Args":["createComputePlan","{\"tag\":\"a tag
14051405{
14061406 "aggregatetupleKeys" : null ,
14071407 "compositeTraintupleKeys" : null ,
1408- "computePlanID" : " 8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb" ,
1408+ "computePlanID" : " c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4" ,
1409+ "doneCount" : 0 ,
14091410 "status" : " todo" ,
14101411 "tag" : " a tag is simply a string" ,
14111412 "testtupleKeys" : [
@@ -1414,7 +1415,8 @@ peer chaincode invoke -n mycc -c '{"Args":["createComputePlan","{\"tag\":\"a tag
14141415 "traintupleKeys" : [
14151416 " 432fcffdf68892f5e4adeeed8bb618beaeaecf709f840671eca724a3e3109369" ,
14161417 " d23f8cf290b902417ae698d68e2c6835483521d54fcbece31208517759b7c299"
1417- ]
1418+ ],
1419+ "tupleCount" : 3
14181420}
14191421```
14201422#### ------------ Query an ObjectiveLeaderboard ------------
@@ -1488,14 +1490,15 @@ Smart contract: `queryComputePlan`
14881490```
14891491##### Command peer example:
14901492``` bash
1491- peer chaincode invoke -n mycc -c ' {"Args":["queryComputePlan","{\"key\":\"8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb \"}"]}' -C myc
1493+ peer chaincode invoke -n mycc -c ' {"Args":["queryComputePlan","{\"key\":\"c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4 \"}"]}' -C myc
14921494```
14931495##### Command output:
14941496``` json
14951497{
14961498 "aggregatetupleKeys" : null ,
14971499 "compositeTraintupleKeys" : null ,
1498- "computePlanID" : " 8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb" ,
1500+ "computePlanID" : " c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4" ,
1501+ "doneCount" : 0 ,
14991502 "status" : " todo" ,
15001503 "tag" : " a tag is simply a string" ,
15011504 "testtupleKeys" : [
@@ -1504,7 +1507,8 @@ peer chaincode invoke -n mycc -c '{"Args":["queryComputePlan","{\"key\":\"8412c0
15041507 "traintupleKeys" : [
15051508 " 432fcffdf68892f5e4adeeed8bb618beaeaecf709f840671eca724a3e3109369" ,
15061509 " d23f8cf290b902417ae698d68e2c6835483521d54fcbece31208517759b7c299"
1507- ]
1510+ ],
1511+ "tupleCount" : 3
15081512}
15091513```
15101514##### Command peer example:
@@ -1517,7 +1521,8 @@ peer chaincode invoke -n mycc -c '{"Args":["queryComputePlans"]}' -C myc
15171521 {
15181522 "aggregatetupleKeys" : null ,
15191523 "compositeTraintupleKeys" : null ,
1520- "computePlanID" : " 8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb" ,
1524+ "computePlanID" : " c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4" ,
1525+ "doneCount" : 0 ,
15211526 "status" : " todo" ,
15221527 "tag" : " a tag is simply a string" ,
15231528 "testtupleKeys" : [
@@ -1526,7 +1531,8 @@ peer chaincode invoke -n mycc -c '{"Args":["queryComputePlans"]}' -C myc
15261531 "traintupleKeys" : [
15271532 " 432fcffdf68892f5e4adeeed8bb618beaeaecf709f840671eca724a3e3109369" ,
15281533 " d23f8cf290b902417ae698d68e2c6835483521d54fcbece31208517759b7c299"
1529- ]
1534+ ],
1535+ "tupleCount" : 3
15301536 }
15311537]
15321538```
@@ -1540,14 +1546,15 @@ Smart contract: `cancelComputePlan`
15401546```
15411547##### Command peer example:
15421548``` bash
1543- peer chaincode invoke -n mycc -c ' {"Args":["cancelComputePlan","{\"key\":\"8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb \"}"]}' -C myc
1549+ peer chaincode invoke -n mycc -c ' {"Args":["cancelComputePlan","{\"key\":\"c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4 \"}"]}' -C myc
15441550```
15451551##### Command output:
15461552``` json
15471553{
15481554 "aggregatetupleKeys" : null ,
15491555 "compositeTraintupleKeys" : null ,
1550- "computePlanID" : " 8412c09c3ce47cc3f2f4b86d3cb96850bda82ca1c177fbd4f5d4919966db12cb" ,
1556+ "computePlanID" : " c51b1a4fe5a6c5abe5595ed530fbf1a9d822e6f22c57a029102db82ae71b41e4" ,
1557+ "doneCount" : 0 ,
15511558 "status" : " canceled" ,
15521559 "tag" : " a tag is simply a string" ,
15531560 "testtupleKeys" : [
@@ -1556,6 +1563,7 @@ peer chaincode invoke -n mycc -c '{"Args":["cancelComputePlan","{\"key\":\"8412c
15561563 "traintupleKeys" : [
15571564 " 432fcffdf68892f5e4adeeed8bb618beaeaecf709f840671eca724a3e3109369" ,
15581565 " d23f8cf290b902417ae698d68e2c6835483521d54fcbece31208517759b7c299"
1559- ]
1566+ ],
1567+ "tupleCount" : 3
15601568}
15611569```
0 commit comments