2017-07-19 23:33:43.236 UTC [bccsp] initBCCSP -> DEBU 001 Initialize BCCSP [SW] 2017-07-19 23:33:43.239 UTC [Composer] Debug -> DEBU 002 Entering getLogging 0xc420136ea0 2017-07-19 23:33:43.241 UTC [Composer] Debug -> DEBU 003 Entering Chaincode.Invoke 0xc420136e90 2017-07-19 23:33:43.241 UTC [Composer] Debug -> DEBU 004 Entering ComposerPool.Get 2017-07-19 23:33:43.241 UTC [Composer] Debug -> DEBU 005 Entering NewComposer 2017-07-19 23:33:43.241 UTC [Composer] Debug -> DEBU 006 Entering Composer.createJavaScript 2017-07-19 23:33:43.365 UTC [Composer] Debug -> DEBU 007 Entering getLogging 0xc420137050 2017-07-19 23:33:43.367 UTC [Composer] Debug -> DEBU 008 Entering Chaincode.Invoke 0xc420137040 2017-07-19 23:33:43.367 UTC [Composer] Debug -> DEBU 009 Entering ComposerPool.Get 2017-07-19 23:33:43.367 UTC [Composer] Debug -> DEBU 00a Entering NewComposer 2017-07-19 23:33:43.367 UTC [Composer] Debug -> DEBU 00b Entering Composer.createJavaScript 2017-07-19 23:33:43.389 UTC [Composer] Debug -> DEBU 00c Entering getLogging 0xc4201376e0 2017-07-19 23:33:43.391 UTC [Composer] Debug -> DEBU 00d Entering Chaincode.Invoke 0xc4201376d0 2017-07-19 23:33:43.392 UTC [Composer] Debug -> DEBU 00e Entering ComposerPool.Get 2017-07-19 23:33:43.392 UTC [Composer] Debug -> DEBU 00f Entering NewComposer 2017-07-19 23:33:43.392 UTC [Composer] Debug -> DEBU 010 Entering Composer.createJavaScript 2017-07-19 23:33:43.401 UTC [Composer] Debug -> DEBU 011 Entering getLogging 0xc420137950 2017-07-19 23:33:43.404 UTC [Composer] Debug -> DEBU 012 Entering Chaincode.Invoke 0xc420137940 2017-07-19 23:33:43.404 UTC [Composer] Debug -> DEBU 013 Entering ComposerPool.Get 2017-07-19 23:33:43.404 UTC [Composer] Debug -> DEBU 014 Entering NewComposer 2017-07-19 23:33:43.404 UTC [Composer] Debug -> DEBU 015 Entering Composer.createJavaScript 2017-07-19 23:33:43.416 UTC [Composer] Debug -> DEBU 016 Entering getLogging 0xc42014b100 2017-07-19 23:33:43.418 UTC [Composer] Debug -> DEBU 017 Entering Chaincode.Invoke 0xc42014b0f0 2017-07-19 23:33:43.418 UTC [Composer] Debug -> DEBU 018 Entering ComposerPool.Get 2017-07-19 23:33:43.418 UTC [Composer] Debug -> DEBU 019 Entering NewComposer 2017-07-19 23:33:43.418 UTC [Composer] Debug -> DEBU 01a Entering Composer.createJavaScript 2017-07-19 23:33:43.551 UTC [Composer] Debug -> DEBU 01b Entering getLogging 0xc42014b940 2017-07-19 23:33:43.551 UTC [Composer] Debug -> DEBU 01c Entering getLogging 0xc42014bae0 2017-07-19 23:33:43.551 UTC [Composer] Debug -> DEBU 01d Entering getLogging 0xc420137bc0 2017-07-19 23:33:43.551 UTC [Composer] Debug -> DEBU 01e Entering getLogging 0xc42014bd50 2017-07-19 23:33:43.553 UTC [Composer] Debug -> DEBU 01f Entering getLogging 0xc420171340 2017-07-19 23:33:43.556 UTC [Composer] Debug -> DEBU 020 Entering getLogging 0xc42014bee0 2017-07-19 23:33:43.562 UTC [Composer] Debug -> DEBU 021 Entering getLogging 0xc4201715d0 2017-07-19 23:33:43.564 UTC [Composer] Debug -> DEBU 022 Entering getLogging 0xc420171840 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 023 Entering getLogging 0xc42029aa70 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 024 Entering Chaincode.Invoke 0xc420137bb0 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02d Entering ComposerPool.Get 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02e Entering NewComposer 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02f Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 025 Entering Chaincode.Invoke 0xc4201715c0 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 030 Entering ComposerPool.Get 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 031 Entering NewComposer 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 032 Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 026 Entering Chaincode.Invoke 0xc42014bd40 2017-07-19 23:33:43.575 UTC [Composer] Debug -> DEBU 033 Entering ComposerPool.Get 2017-07-19 23:33:43.575 UTC [Composer] Debug -> DEBU 034 Entering NewComposer 2017-07-19 23:33:43.575 UTC [Composer] Debug -> DEBU 035 Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 027 Entering getLogging 0xc420171ab0 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 028 Entering Chaincode.Invoke 0xc420171830 2017-07-19 23:33:43.579 UTC [Composer] Debug -> DEBU 036 Entering ComposerPool.Get 2017-07-19 23:33:43.579 UTC [Composer] Debug -> DEBU 037 Entering NewComposer 2017-07-19 23:33:43.579 UTC [Composer] Debug -> DEBU 038 Entering Composer.createJavaScript 2017-07-19 23:33:43.582 UTC [Composer] Debug -> DEBU 039 Entering Chaincode.Invoke 0xc42029aa60 2017-07-19 23:33:43.582 UTC [Composer] Debug -> DEBU 03a Entering ComposerPool.Get 2017-07-19 23:33:43.582 UTC [Composer] Debug -> DEBU 03b Entering NewComposer 2017-07-19 23:33:43.582 UTC [Composer] Debug -> DEBU 03c Entering Composer.createJavaScript 2017-07-19 23:33:43.584 UTC [Composer] Debug -> DEBU 03d Entering Chaincode.Invoke 0xc42014b930 2017-07-19 23:33:43.584 UTC [Composer] Debug -> DEBU 03e Entering ComposerPool.Get 2017-07-19 23:33:43.584 UTC [Composer] Debug -> DEBU 03f Entering NewComposer 2017-07-19 23:33:43.584 UTC [Composer] Debug -> DEBU 040 Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02a Entering Chaincode.Invoke 0xc420171330 2017-07-19 23:33:43.585 UTC [Composer] Debug -> DEBU 041 Entering ComposerPool.Get 2017-07-19 23:33:43.585 UTC [Composer] Debug -> DEBU 042 Entering NewComposer 2017-07-19 23:33:43.585 UTC [Composer] Debug -> DEBU 043 Entering Composer.createJavaScript 2017-07-19 23:33:43.587 UTC [Composer] Debug -> DEBU 044 Entering Chaincode.Invoke 0xc420171aa0 2017-07-19 23:33:43.587 UTC [Composer] Debug -> DEBU 045 Entering ComposerPool.Get 2017-07-19 23:33:43.587 UTC [Composer] Debug -> DEBU 046 Entering NewComposer 2017-07-19 23:33:43.587 UTC [Composer] Debug -> DEBU 047 Entering Composer.createJavaScript 2017-07-19 23:33:43.589 UTC [Composer] Debug -> DEBU 048 Entering Chaincode.Invoke 0xc42014bad0 2017-07-19 23:33:43.589 UTC [Composer] Debug -> DEBU 049 Entering ComposerPool.Get 2017-07-19 23:33:43.589 UTC [Composer] Debug -> DEBU 04a Entering NewComposer 2017-07-19 23:33:43.589 UTC [Composer] Debug -> DEBU 04b Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 029 Entering getLogging 0xc42027c310 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02b Entering Chaincode.Invoke 0xc42014bed0 2017-07-19 23:33:43.591 UTC [Composer] Debug -> DEBU 04c Entering ComposerPool.Get 2017-07-19 23:33:43.591 UTC [Composer] Debug -> DEBU 04d Entering NewComposer 2017-07-19 23:33:43.592 UTC [Composer] Debug -> DEBU 04e Entering Composer.createJavaScript 2017-07-19 23:33:43.595 UTC [Composer] Debug -> DEBU 04f Entering Chaincode.Invoke 0xc42027c300 2017-07-19 23:33:43.595 UTC [Composer] Debug -> DEBU 050 Entering ComposerPool.Get 2017-07-19 23:33:43.595 UTC [Composer] Debug -> DEBU 051 Entering NewComposer 2017-07-19 23:33:43.595 UTC [Composer] Debug -> DEBU 052 Entering Composer.createJavaScript 2017-07-19 23:33:43.574 UTC [Composer] Debug -> DEBU 02c Entering getLogging 0xc420171da0 2017-07-19 23:33:43.597 UTC [Composer] Debug -> DEBU 053 Entering Chaincode.Invoke 0xc420171d90 2017-07-19 23:33:43.597 UTC [Composer] Debug -> DEBU 054 Entering ComposerPool.Get 2017-07-19 23:33:43.597 UTC [Composer] Debug -> DEBU 055 Entering NewComposer 2017-07-19 23:33:43.597 UTC [Composer] Debug -> DEBU 056 Entering Composer.createJavaScript 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 057 Exiting Composer.createJavaScript 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 058 Entering NewContainer &{0xc4201ce500} 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 059 Entering NewLoggingService &{0xc4201ce500} &{0xc420028020 } 0xc4202d8ae0 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 05a Exiting NewLoggingService &{0xc420028020 } 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 05b Exiting NewContainer &{0xc420028020 0xc420145700} 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 05c Entering NewEngine &{0xc4201ce500} &{0xc420028020 0xc420145700} 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 05d Entering Container.getLoggingService &{0xc4201ce500} 2017-07-19 23:33:46.719 UTC [Composer] Debug -> DEBU 05e Exiting Container.getLoggingService 1 2017-07-19 23:33:46.723 UTC [Composer] Debug -> DEBU 05f @JS : Engine :constructor() > 2017-07-19 23:33:46.726 UTC [Composer] Debug -> DEBU 060 @JS : Engine :constructor() < 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 061 Exiting NewEngine &{0xc420028020} 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 062 Exiting NewComposer &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 063 Exiting ComposerPool.Get &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 064 Entering Composer.Invoke 0xc4202d9340 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 065 Entering NewContext &{0xc4201ce500} &{0xc420028020} 0xc4202d9430 2017-07-19 23:33:46.727 UTC [Composer] Debug -> DEBU 066 Entering NewDataService &{0xc4201ce500} &{0xc420028020 } 0xc4202d94e0 2017-07-19 23:33:46.729 UTC [Composer] Debug -> DEBU 067 Exiting NewDataService &{0xc420028020 0xc42013b300} 2017-07-19 23:33:46.729 UTC [Composer] Debug -> DEBU 068 Entering NewIdentityService &{0xc4201ce500} &{0xc420028020 0xc420145c40 } 0xc4202d9690 2017-07-19 23:33:46.729 UTC [Composer] Debug -> DEBU 069 Exiting NewIdentityService &{0xc420028020 0xc42013b300} 2017-07-19 23:33:46.729 UTC [Composer] Debug -> DEBU 06a Entering NewEventService &{0xc4201ce500} &{0xc420028020 0xc420145c40 0xc420145d20 } 0xc4202d9800 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 06b Exiting NewEventServce &{0xc420028020 0xc42013b300} 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 06c Entering HTTPService &{0xc4201ce500} &{0xc420028020 0xc420145c40 0xc420145d20 0xc420145e00 } 0xc4202d9980 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 06d Exiting HTTPService &{0xc420028020 0xc42013b300} 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 06e Exiting NewContext &{0xc420028020 0xc420145c40 0xc420145d20 0xc420145e00 0xc420145ee0} 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 06f Entering Engine.Invoke &{0xc420028020 0xc420145c40 0xc420145d20 0xc420145e00 0xc420145ee0} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 070 @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:46.730 UTC [Composer] Debug -> DEBU 071 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:46.731 UTC [Composer] Debug -> DEBU 072 @JS : Context :initialize() > 2017-07-19 23:33:46.747 UTC [Composer] Debug -> DEBU 073 Exiting Engine.Invoke 0xc42015f5c0 2017-07-19 23:33:46.748 UTC [Composer] Debug -> DEBU 074 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:46.753 UTC [Composer] Debug -> DEBU 075 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:46.758 UTC [Composer] Debug -> DEBU 076 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:46.758 UTC [Composer] Debug -> DEBU 077 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:46.758 UTC [Composer] Debug -> DEBU 078 Exiting Context.getDataService 1 2017-07-19 23:33:46.758 UTC [Composer] Debug -> DEBU 079 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:46.760 UTC [Composer] Debug -> DEBU 07a Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc42027caa0 2017-07-19 23:33:46.760 UTC [Composer] Debug -> DEBU 07b Exiting NewDataCollection &{0xc4201422f8 0xc42013b300 $sysdata} 2017-07-19 23:33:46.765 UTC [Composer] Debug -> DEBU 07c Exiting DataService.getCollection 0 2017-07-19 23:33:46.774 UTC [Composer] Debug -> DEBU 07d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:46.774 UTC [Composer] Debug -> DEBU 07e Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:46.790 UTC [Composer] Debug -> DEBU 07f Exiting DataCollection.get 0 2017-07-19 23:33:46.791 UTC [Composer] Debug -> DEBU 080 @JS : Context :[object Object]() < 2017-07-19 23:33:46.794 UTC [Composer] Debug -> DEBU 081 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:46.794 UTC [Composer] Debug -> DEBU 082 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:46.797 UTC [Composer] Debug -> DEBU 083 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 084 Exiting Composer.createJavaScript 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 085 Entering NewContainer &{0xc420140e60} 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 086 Entering NewLoggingService &{0xc420140e60} &{0xc420150140 } 0xc42027d410 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 087 Exiting NewLoggingService &{0xc420150140 } 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 088 Exiting NewContainer &{0xc420150140 0xc42027ade0} 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 089 Entering NewEngine &{0xc420140e60} &{0xc420150140 0xc42027ade0} 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 08a Entering Container.getLoggingService &{0xc420140e60} 2017-07-19 23:33:46.982 UTC [Composer] Debug -> DEBU 08b Exiting Container.getLoggingService 1 2017-07-19 23:33:46.983 UTC [Composer] Debug -> DEBU 08c @JS : Engine :constructor() > 2017-07-19 23:33:46.983 UTC [Composer] Debug -> DEBU 08d @JS : Engine :constructor() < 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 08e Exiting NewEngine &{0xc420150140} 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 08f Exiting NewComposer &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 090 Exiting ComposerPool.Get &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 091 Entering Composer.Invoke 0xc42027dc70 getAllRegistries [Transaction] 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 092 Entering NewContext &{0xc420140e60} &{0xc420150140} 0xc42027dd40 2017-07-19 23:33:46.988 UTC [Composer] Debug -> DEBU 093 Entering NewDataService &{0xc420140e60} &{0xc420150140 } 0xc42027de00 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 094 Exiting NewDataService &{0xc420150140 0xc42013a280} 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 095 Entering NewIdentityService &{0xc420140e60} &{0xc420150140 0xc42027b320 } 0xc42027dfb0 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 096 Exiting NewIdentityService &{0xc420150140 0xc42013a280} 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 097 Entering NewEventService &{0xc420140e60} &{0xc420150140 0xc42027b320 0xc42027b400 } 0xc420366120 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 098 Exiting NewEventServce &{0xc420150140 0xc42013a280} 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 099 Entering HTTPService &{0xc420140e60} &{0xc420150140 0xc42027b320 0xc42027b400 0xc42027b4e0 } 0xc420366290 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 09a Exiting HTTPService &{0xc420150140 0xc42013a280} 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 09b Exiting NewContext &{0xc420150140 0xc42027b320 0xc42027b400 0xc42027b4e0 0xc42027b5c0} 2017-07-19 23:33:46.989 UTC [Composer] Debug -> DEBU 09c Entering Engine.Invoke &{0xc420150140 0xc42027b320 0xc42027b400 0xc42027b4e0 0xc42027b5c0} getAllRegistries [Transaction] 2017-07-19 23:33:46.994 UTC [Composer] Debug -> DEBU 09d @JS : Engine :invoke() > [object Object], getAllRegistries, Transaction 2017-07-19 23:33:46.994 UTC [Composer] Debug -> DEBU 09e @JS : Engine :invoke() Initializing context 2017-07-19 23:33:46.994 UTC [Composer] Debug -> DEBU 09f @JS : Context :initialize() > 2017-07-19 23:33:47.013 UTC [Composer] Debug -> DEBU 0a0 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.018 UTC [Composer] Debug -> DEBU 0a1 Exiting Engine.Invoke 0xc4202ae8a0 2017-07-19 23:33:47.018 UTC [Composer] Debug -> DEBU 0a2 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.023 UTC [Composer] Debug -> DEBU 0a3 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:47.023 UTC [Composer] Debug -> DEBU 0a4 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:47.023 UTC [Composer] Debug -> DEBU 0a5 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:47.023 UTC [Composer] Debug -> DEBU 0a6 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:47.023 UTC [Composer] Debug -> DEBU 0a7 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:47.024 UTC [Composer] Debug -> DEBU 0a8 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:47.024 UTC [Composer] Debug -> DEBU 0a9 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:47.030 UTC [Composer] Debug -> DEBU 0ab @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.024 UTC [Composer] Debug -> DEBU 0aa @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:47.032 UTC [Composer] Debug -> DEBU 0ac @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.032 UTC [Composer] Debug -> DEBU 0ad Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:47.032 UTC [Composer] Debug -> DEBU 0ae Exiting Context.getDataService 1 2017-07-19 23:33:47.033 UTC [Composer] Debug -> DEBU 0af Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:47.035 UTC [Composer] Debug -> DEBU 0b0 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc420340810 2017-07-19 23:33:47.038 UTC [Composer] Debug -> DEBU 0b1 Exiting NewDataCollection &{0xc420142318 0xc42013a280 $sysdata} 2017-07-19 23:33:47.040 UTC [Composer] Debug -> DEBU 0b2 Exiting DataService.getCollection 0 2017-07-19 23:33:47.049 UTC [Composer] Debug -> DEBU 0b3 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.049 UTC [Composer] Debug -> DEBU 0b4 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:47.058 UTC [Composer] Debug -> DEBU 0b5 Exiting DataCollection.get 0 2017-07-19 23:33:47.058 UTC [Composer] Debug -> DEBU 0b6 @JS : Context :[object Object]() < 2017-07-19 23:33:47.061 UTC [Composer] Debug -> DEBU 0b7 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.062 UTC [Composer] Debug -> DEBU 0b8 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.062 UTC [Composer] Debug -> DEBU 0b9 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.106 UTC [Composer] Debug -> DEBU 0ba @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:47.132 UTC [Composer] Debug -> DEBU 0bb @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.153 UTC [Composer] Debug -> DEBU 0bc @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:47.161 UTC [Composer] Debug -> DEBU 0bd @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:47.165 UTC [Composer] Debug -> DEBU 0be @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0bf @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0c0 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0c1 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0c2 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0c3 @JS : ModelManager :constructor() > 2017-07-19 23:33:47.169 UTC [Composer] Debug -> DEBU 0c4 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:47.170 UTC [Composer] Info -> INFO 0c5 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:47.175 UTC [Composer] Debug -> DEBU 0c6 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:47.175 UTC [Composer] Debug -> DEBU 0c7 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:47.175 UTC [Composer] Debug -> DEBU 0c8 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:47.175 UTC [Composer] Debug -> DEBU 0c9 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:47.175 UTC [Composer] Debug -> DEBU 0ca @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:47.176 UTC [Composer] Debug -> DEBU 0cb @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:47.176 UTC [Composer] Debug -> DEBU 0cc @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:47.176 UTC [Composer] Debug -> DEBU 0cd @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:47.227 UTC [Composer] Debug -> DEBU 0ce @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:47.227 UTC [Composer] Debug -> DEBU 0cf @JS : ModelManager :constructor() < 2017-07-19 23:33:47.227 UTC [Composer] Debug -> DEBU 0d0 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:47.227 UTC [Composer] Debug -> DEBU 0d1 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:47.227 UTC [Composer] Debug -> DEBU 0d2 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:47.228 UTC [Composer] Debug -> DEBU 0d3 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:47.228 UTC [Composer] Debug -> DEBU 0d4 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:47.228 UTC [Composer] Debug -> DEBU 0d5 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:47.244 UTC [Composer] Debug -> DEBU 0d6 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:47.275 UTC [Composer] Debug -> DEBU 0d7 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.283 UTC [Composer] Debug -> DEBU 0d8 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:47.320 UTC [Composer] Debug -> DEBU 0d9 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:47.327 UTC [Composer] Debug -> DEBU 0da @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:47.327 UTC [Composer] Debug -> DEBU 0db @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.328 UTC [Composer] Debug -> DEBU 0dc @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:47.328 UTC [Composer] Debug -> DEBU 0dd @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:47.328 UTC [Composer] Debug -> DEBU 0de @JS : ModelManager :constructor() > 2017-07-19 23:33:47.328 UTC [Composer] Debug -> DEBU 0df @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:47.329 UTC [Composer] Info -> INFO 0e0 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:47.341 UTC [Composer] Debug -> DEBU 0e1 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:47.343 UTC [Composer] Debug -> DEBU 0e2 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:47.343 UTC [Composer] Debug -> DEBU 0e3 @JS : ModelManager :constructor() < 2017-07-19 23:33:47.344 UTC [Composer] Debug -> DEBU 0e4 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:47.344 UTC [Composer] Debug -> DEBU 0e5 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:47.350 UTC [Composer] Debug -> DEBU 0e6 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:47.351 UTC [Composer] Debug -> DEBU 0e7 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:47.351 UTC [Composer] Debug -> DEBU 0e8 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:47.351 UTC [Composer] Debug -> DEBU 0e9 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:47.351 UTC [Composer] Debug -> DEBU 0ea @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:47.351 UTC [Composer] Debug -> DEBU 0eb @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:47.364 UTC [Composer] Debug -> DEBU 0ec @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:47.365 UTC [Composer] Debug -> DEBU 0ed @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:47.436 UTC [Composer] Debug -> DEBU 0ee @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:47.437 UTC [Composer] Debug -> DEBU 0ef @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:47.437 UTC [Composer] Debug -> DEBU 0f0 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:47.438 UTC [Composer] Debug -> DEBU 0f1 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:47.438 UTC [Composer] Debug -> DEBU 0f2 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.438 UTC [Composer] Debug -> DEBU 0f3 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:47.438 UTC [Composer] Debug -> DEBU 0f4 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.440 UTC [Composer] Debug -> DEBU 0f5 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.440 UTC [Composer] Debug -> DEBU 0f6 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0f7 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0f8 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0f9 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0fa Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0fb Exiting Context.getDataService 1 2017-07-19 23:33:47.441 UTC [Composer] Debug -> DEBU 0fc Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.444 UTC [Composer] Debug -> DEBU 0fd Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc4203b25a0 2017-07-19 23:33:47.445 UTC [Composer] Debug -> DEBU 0fe Exiting NewDataCollection &{0xc420028350 0xc42013b300 $sysdata} 2017-07-19 23:33:47.453 UTC [Composer] Debug -> DEBU 0ff Exiting DataService.getCollection 0 2017-07-19 23:33:47.454 UTC [Composer] Debug -> DEBU 100 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.454 UTC [Composer] Debug -> DEBU 101 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.458 UTC [Composer] Debug -> DEBU 102 Exiting DataCollection.get 0 2017-07-19 23:33:47.458 UTC [Composer] Debug -> DEBU 103 @JS : Context :[object Object]() < 2017-07-19 23:33:47.458 UTC [Composer] Debug -> DEBU 104 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:47.458 UTC [Composer] Debug -> DEBU 105 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.458 UTC [Composer] Debug -> DEBU 106 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:47.460 UTC [Composer] Debug -> DEBU 107 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:47.460 UTC [Composer] Debug -> DEBU 108 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:47.460 UTC [Composer] Debug -> DEBU 109 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.461 UTC [Composer] Debug -> DEBU 10a @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.461 UTC [Composer] Debug -> DEBU 10b @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.462 UTC [Composer] Debug -> DEBU 10c @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.462 UTC [Composer] Debug -> DEBU 10d @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.463 UTC [Composer] Debug -> DEBU 10e @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:47.463 UTC [Composer] Debug -> DEBU 10f @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:47.463 UTC [Composer] Debug -> DEBU 110 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.464 UTC [Composer] Debug -> DEBU 111 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:47.464 UTC [Composer] Debug -> DEBU 112 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.465 UTC [Composer] Debug -> DEBU 113 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.465 UTC [Composer] Debug -> DEBU 114 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.465 UTC [Composer] Debug -> DEBU 115 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.466 UTC [Composer] Debug -> DEBU 116 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.469 UTC [Composer] Debug -> DEBU 117 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.470 UTC [Composer] Debug -> DEBU 118 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.471 UTC [Composer] Debug -> DEBU 119 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:47.487 UTC [Composer] Debug -> DEBU 11a Exiting Composer.createJavaScript 2017-07-19 23:33:47.487 UTC [Composer] Debug -> DEBU 11b Entering NewContainer &{0xc420144940} 2017-07-19 23:33:47.487 UTC [Composer] Debug -> DEBU 11c Entering NewLoggingService &{0xc420144940} &{0xc420142268 } 0xc4203e4100 2017-07-19 23:33:47.487 UTC [Composer] Debug -> DEBU 11d Exiting NewLoggingService &{0xc420142268 } 2017-07-19 23:33:47.488 UTC [Composer] Debug -> DEBU 11e Exiting NewContainer &{0xc420142268 0xc42033f920} 2017-07-19 23:33:47.488 UTC [Composer] Debug -> DEBU 11f Entering NewEngine &{0xc420144940} &{0xc420142268 0xc42033f920} 2017-07-19 23:33:47.488 UTC [Composer] Debug -> DEBU 120 Entering Container.getLoggingService &{0xc420144940} 2017-07-19 23:33:47.488 UTC [Composer] Debug -> DEBU 121 Exiting Container.getLoggingService 1 2017-07-19 23:33:47.488 UTC [Composer] Debug -> DEBU 122 @JS : Engine :constructor() > 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 123 @JS : Engine :constructor() < 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 124 Exiting NewEngine &{0xc420142268} 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 125 Exiting NewComposer &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 126 Exiting ComposerPool.Get &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 127 Entering Composer.Invoke 0xc4203e4960 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 128 Entering NewContext &{0xc420144940} &{0xc420142268} 0xc4203e4a40 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 129 Entering NewDataService &{0xc420144940} &{0xc420142268 } 0xc4203e4b00 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 12a Exiting NewDataService &{0xc420142268 0xc42013a900} 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 12b Entering NewIdentityService &{0xc420144940} &{0xc420142268 0xc42033fe60 } 0xc4203e4cb0 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 12c Exiting NewIdentityService &{0xc420142268 0xc42013a900} 2017-07-19 23:33:47.489 UTC [Composer] Debug -> DEBU 12d Entering NewEventService &{0xc420144940} &{0xc420142268 0xc42033fe60 0xc42033ff40 } 0xc4203e4e20 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 12e Exiting NewEventServce &{0xc420142268 0xc42013a900} 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 12f Entering HTTPService &{0xc420144940} &{0xc420142268 0xc42033fe60 0xc42033ff40 0xc4203ea020 } 0xc4203e4f90 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 130 Exiting HTTPService &{0xc420142268 0xc42013a900} 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 131 Exiting NewContext &{0xc420142268 0xc42033fe60 0xc42033ff40 0xc4203ea020 0xc4203ea100} 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 132 Entering Engine.Invoke &{0xc420142268 0xc42033fe60 0xc42033ff40 0xc4203ea020 0xc4203ea100} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 133 @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:47.490 UTC [Composer] Debug -> DEBU 134 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.491 UTC [Composer] Debug -> DEBU 135 @JS : Context :initialize() > 2017-07-19 23:33:47.493 UTC [Composer] Debug -> DEBU 136 Exiting Composer.createJavaScript 2017-07-19 23:33:47.493 UTC [Composer] Debug -> DEBU 137 Entering NewContainer &{0xc4201ce220} 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 138 Entering NewLoggingService &{0xc4201ce220} &{0xc420028000 } 0xc4203ac880 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 139 Exiting NewLoggingService &{0xc420028000 } 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 13a Exiting NewContainer &{0xc420028000 0xc4202a3880} 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 13b Entering NewEngine &{0xc4201ce220} &{0xc420028000 0xc4202a3880} 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 13c Entering Container.getLoggingService &{0xc4201ce220} 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 13d Exiting Container.getLoggingService 1 2017-07-19 23:33:47.494 UTC [Composer] Debug -> DEBU 13e @JS : Engine :constructor() > 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 13f @JS : Engine :constructor() < 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 140 Exiting NewEngine &{0xc420028000} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 141 Exiting NewComposer &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 142 Exiting ComposerPool.Get &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 143 Entering Composer.Invoke 0xc4203ad0e0 getAllRegistries [Transaction] 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 144 Entering NewContext &{0xc4201ce220} &{0xc420028000} 0xc4203ad1b0 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 145 Entering NewDataService &{0xc4201ce220} &{0xc420028000 } 0xc4203ad270 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 146 Exiting NewDataService &{0xc420028000 0xc42013b000} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 147 Entering NewIdentityService &{0xc4201ce220} &{0xc420028000 0xc4202a3dc0 } 0xc4203ad420 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 148 Exiting NewIdentityService &{0xc420028000 0xc42013b000} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 149 Entering NewEventService &{0xc4201ce220} &{0xc420028000 0xc4202a3dc0 0xc4202a3ea0 } 0xc4203ad590 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 14a Exiting NewEventServce &{0xc420028000 0xc42013b000} 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 14b Entering HTTPService &{0xc4201ce220} &{0xc420028000 0xc4202a3dc0 0xc4202a3ea0 0xc4202a3f80 } 0xc4203ad700 2017-07-19 23:33:47.495 UTC [Composer] Debug -> DEBU 14c Exiting HTTPService &{0xc420028000 0xc42013b000} 2017-07-19 23:33:47.496 UTC [Composer] Debug -> DEBU 14d Exiting NewContext &{0xc420028000 0xc4202a3dc0 0xc4202a3ea0 0xc4202a3f80 0xc4203f4060} 2017-07-19 23:33:47.496 UTC [Composer] Debug -> DEBU 14e Entering Engine.Invoke &{0xc420028000 0xc4202a3dc0 0xc4202a3ea0 0xc4202a3f80 0xc4203f4060} getAllRegistries [Transaction] 2017-07-19 23:33:47.496 UTC [Composer] Debug -> DEBU 14f @JS : Engine :invoke() > [object Object], getAllRegistries, Transaction 2017-07-19 23:33:47.496 UTC [Composer] Debug -> DEBU 150 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.497 UTC [Composer] Debug -> DEBU 151 @JS : Context :initialize() > 2017-07-19 23:33:47.502 UTC [Composer] Debug -> DEBU 152 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:47.502 UTC [Composer] Debug -> DEBU 153 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:47.502 UTC [Composer] Debug -> DEBU 154 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:47.503 UTC [Composer] Debug -> DEBU 155 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:47.503 UTC [Composer] Debug -> DEBU 156 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:47.504 UTC [Composer] Debug -> DEBU 157 Exiting Engine.Invoke 0xc42038af60 2017-07-19 23:33:47.504 UTC [Composer] Debug -> DEBU 158 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.505 UTC [Composer] Debug -> DEBU 159 Exiting Engine.Invoke 0xc4203855c0 2017-07-19 23:33:47.506 UTC [Composer] Debug -> DEBU 15a @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.506 UTC [Composer] Debug -> DEBU 15b @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.506 UTC [Composer] Debug -> DEBU 15c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.508 UTC [Composer] Debug -> DEBU 15d @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:47.508 UTC [Composer] Debug -> DEBU 15e @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:47.508 UTC [Composer] Debug -> DEBU 15f @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:47.509 UTC [Composer] Debug -> DEBU 160 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:47.509 UTC [Composer] Debug -> DEBU 161 Exiting Context.getDataService 1 2017-07-19 23:33:47.509 UTC [Composer] Debug -> DEBU 162 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:47.511 UTC [Composer] Debug -> DEBU 163 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.511 UTC [Composer] Debug -> DEBU 164 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.511 UTC [Composer] Debug -> DEBU 165 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:47.512 UTC [Composer] Debug -> DEBU 166 Exiting Context.getDataService 1 2017-07-19 23:33:47.512 UTC [Composer] Debug -> DEBU 168 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc4203b2b20 2017-07-19 23:33:47.519 UTC [Composer] Debug -> DEBU 169 Exiting NewDataCollection &{0xc4201424f0 0xc42013a900 $sysdata} 2017-07-19 23:33:47.512 UTC [Composer] Debug -> DEBU 167 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:47.521 UTC [Composer] Debug -> DEBU 16a Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc4203e5e00 2017-07-19 23:33:47.522 UTC [Composer] Debug -> DEBU 16b Exiting DataService.getCollection 0 2017-07-19 23:33:47.522 UTC [Composer] Debug -> DEBU 16c Exiting NewDataCollection &{0xc420150388 0xc42013b000 $sysdata} 2017-07-19 23:33:47.522 UTC [Composer] Debug -> DEBU 16d Exiting DataService.getCollection 0 2017-07-19 23:33:47.523 UTC [Composer] Debug -> DEBU 16e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.523 UTC [Composer] Debug -> DEBU 16f Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:47.524 UTC [Composer] Debug -> DEBU 170 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.524 UTC [Composer] Debug -> DEBU 171 Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:47.527 UTC [Composer] Debug -> DEBU 172 Exiting DataCollection.get 0 2017-07-19 23:33:47.527 UTC [Composer] Debug -> DEBU 173 @JS : Context :[object Object]() < 2017-07-19 23:33:47.528 UTC [Composer] Debug -> DEBU 174 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.528 UTC [Composer] Debug -> DEBU 175 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.528 UTC [Composer] Debug -> DEBU 176 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.528 UTC [Composer] Debug -> DEBU 177 Exiting DataCollection.get 0 2017-07-19 23:33:47.529 UTC [Composer] Debug -> DEBU 178 @JS : Context :[object Object]() < 2017-07-19 23:33:47.532 UTC [Composer] Debug -> DEBU 179 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.532 UTC [Composer] Debug -> DEBU 17a @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.533 UTC [Composer] Debug -> DEBU 17b @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.545 UTC [Composer] Debug -> DEBU 17c @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:47.545 UTC [Composer] Debug -> DEBU 17d @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:47.568 UTC [Composer] Debug -> DEBU 17e @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:47.569 UTC [Composer] Debug -> DEBU 17f @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.570 UTC [Composer] Debug -> DEBU 180 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:47.570 UTC [Composer] Debug -> DEBU 181 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:47.571 UTC [Composer] Debug -> DEBU 182 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:47.571 UTC [Composer] Debug -> DEBU 183 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:47.572 UTC [Composer] Debug -> DEBU 184 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:47.572 UTC [Composer] Debug -> DEBU 185 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:47.573 UTC [Composer] Debug -> DEBU 186 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.573 UTC [Composer] Debug -> DEBU 187 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.573 UTC [Composer] Debug -> DEBU 188 Exiting Context.getDataService 1 2017-07-19 23:33:47.573 UTC [Composer] Debug -> DEBU 189 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.576 UTC [Composer] Debug -> DEBU 18a Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc42040e850 2017-07-19 23:33:47.576 UTC [Composer] Debug -> DEBU 18b Exiting NewDataCollection &{0xc420150440 0xc42013b300 $sysdata} 2017-07-19 23:33:47.576 UTC [Composer] Debug -> DEBU 18c Exiting DataService.getCollection 0 2017-07-19 23:33:47.577 UTC [Composer] Debug -> DEBU 18d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.577 UTC [Composer] Debug -> DEBU 18e Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.580 UTC [Composer] Debug -> DEBU 18f Exiting DataCollection.get 0 2017-07-19 23:33:47.580 UTC [Composer] Debug -> DEBU 190 @JS : Context :[object Object]() < 2017-07-19 23:33:47.580 UTC [Composer] Debug -> DEBU 191 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:47.580 UTC [Composer] Debug -> DEBU 192 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.580 UTC [Composer] Debug -> DEBU 193 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 194 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 195 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 196 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 197 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 198 @JS : QueryCompiler :visit() < 2017-07-19 23:33:47.581 UTC [Composer] Debug -> DEBU 199 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:47.618 UTC [Composer] Debug -> DEBU 19a Exiting Composer.createJavaScript 2017-07-19 23:33:47.618 UTC [Composer] Debug -> DEBU 19b Entering NewContainer &{0xc420141340} 2017-07-19 23:33:47.621 UTC [Composer] Debug -> DEBU 19c Entering NewLoggingService &{0xc420141340} &{0xc420150150 } 0xc42040f720 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 19e Exiting NewLoggingService &{0xc420150150 } 2017-07-19 23:33:47.621 UTC [Composer] Debug -> DEBU 19d @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 19f Exiting NewContainer &{0xc420150150 0xc4203eb8a0} 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 1a0 Entering NewEngine &{0xc420141340} &{0xc420150150 0xc4203eb8a0} 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 1a1 Entering Container.getLoggingService &{0xc420141340} 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 1a2 Exiting Container.getLoggingService 1 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 1a3 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:47.622 UTC [Composer] Debug -> DEBU 1a4 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.623 UTC [Composer] Debug -> DEBU 1a5 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:47.623 UTC [Composer] Debug -> DEBU 1a6 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:47.623 UTC [Composer] Debug -> DEBU 1a7 @JS : Engine :constructor() > 2017-07-19 23:33:47.623 UTC [Composer] Debug -> DEBU 1a8 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1a9 @JS : Engine :constructor() < 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1aa @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1ab @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1ac @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1ad Exiting NewEngine &{0xc420150150} 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1af Exiting NewComposer &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:47.624 UTC [Composer] Debug -> DEBU 1ae @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b1 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b2 Exiting Context.getDataService 1 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b0 Exiting ComposerPool.Get &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b3 Entering Composer.Invoke 0xc420442040 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b4 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.625 UTC [Composer] Debug -> DEBU 1b5 Entering NewContext &{0xc420141340} &{0xc420150150} 0xc420442120 2017-07-19 23:33:47.627 UTC [Composer] Debug -> DEBU 1b6 Entering NewDataService &{0xc420141340} &{0xc420150150 } 0xc4204421e0 2017-07-19 23:33:47.628 UTC [Composer] Debug -> DEBU 1b7 Exiting NewDataService &{0xc420150150 0xc420148900} 2017-07-19 23:33:47.628 UTC [Composer] Debug -> DEBU 1b8 Entering NewIdentityService &{0xc420141340} &{0xc420150150 0xc4203ebde0 } 0xc420442390 2017-07-19 23:33:47.629 UTC [Composer] Debug -> DEBU 1b9 Exiting NewIdentityService &{0xc420150150 0xc420148900} 2017-07-19 23:33:47.629 UTC [Composer] Debug -> DEBU 1bc Entering NewEventService &{0xc420141340} &{0xc420150150 0xc4203ebde0 0xc4203ebec0 } 0xc420442500 2017-07-19 23:33:47.629 UTC [Composer] Debug -> DEBU 1ba @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1bd Exiting NewEventServce &{0xc420150150 0xc420148900} 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1be @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1bf Entering HTTPService &{0xc420141340} &{0xc420150150 0xc4203ebde0 0xc4203ebec0 0xc4203ebfa0 } 0xc420442670 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1c1 Exiting HTTPService &{0xc420150150 0xc420148900} 2017-07-19 23:33:47.629 UTC [Composer] Debug -> DEBU 1bb Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc4203b35f0 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1c2 Exiting NewContext &{0xc420150150 0xc4203ebde0 0xc4203ebec0 0xc4203ebfa0 0xc42044a080} 2017-07-19 23:33:47.631 UTC [Composer] Debug -> DEBU 1c4 Entering Engine.Invoke &{0xc420150150 0xc4203ebde0 0xc4203ebec0 0xc4203ebfa0 0xc42044a080} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1c3 Exiting NewDataCollection &{0xc4200283d0 0xc42013b300 $sysdata} 2017-07-19 23:33:47.631 UTC [Composer] Debug -> DEBU 1c5 Exiting DataService.getCollection 0 2017-07-19 23:33:47.630 UTC [Composer] Debug -> DEBU 1c0 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1c6 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1c7 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1c8 @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1c9 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:47.634 UTC [Composer] Debug -> DEBU 1cd @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1cb @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.635 UTC [Composer] Debug -> DEBU 1cf Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.635 UTC [Composer] Debug -> DEBU 1d0 @JS : Context :initialize() > 2017-07-19 23:33:47.633 UTC [Composer] Debug -> DEBU 1cc @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.634 UTC [Composer] Debug -> DEBU 1ce @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.637 UTC [Composer] Debug -> DEBU 1d1 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.632 UTC [Composer] Debug -> DEBU 1ca @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.639 UTC [Composer] Debug -> DEBU 1d2 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:47.645 UTC [Composer] Debug -> DEBU 1d3 Exiting DataCollection.get 0 2017-07-19 23:33:47.645 UTC [Composer] Debug -> DEBU 1d4 @JS : Context :[object Object]() < 2017-07-19 23:33:47.645 UTC [Composer] Debug -> DEBU 1d5 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:47.645 UTC [Composer] Debug -> DEBU 1d6 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.646 UTC [Composer] Debug -> DEBU 1d7 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:47.646 UTC [Composer] Debug -> DEBU 1d8 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:47.646 UTC [Composer] Debug -> DEBU 1d9 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1da @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1db @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1dc @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1dd @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1de Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1df Exiting Context.getDataService 1 2017-07-19 23:33:47.647 UTC [Composer] Debug -> DEBU 1e0 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:47.648 UTC [Composer] Debug -> DEBU 1e1 Exiting Engine.Invoke 0xc42038be00 2017-07-19 23:33:47.648 UTC [Composer] Debug -> DEBU 1e2 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.648 UTC [Composer] Debug -> DEBU 1e3 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.649 UTC [Composer] Debug -> DEBU 1e4 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.649 UTC [Composer] Debug -> DEBU 1e5 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1e6 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc420476320 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1e7 Exiting NewDataCollection &{0xc420028458 0xc42013a280 $sysdata} 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1e9 Exiting DataService.getCollection 0 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1e8 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1ea @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1eb @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.650 UTC [Composer] Debug -> DEBU 1ec @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:47.651 UTC [Composer] Debug -> DEBU 1ed @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.651 UTC [Composer] Debug -> DEBU 1ee @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.651 UTC [Composer] Debug -> DEBU 1ef Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:47.651 UTC [Composer] Debug -> DEBU 1f0 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:47.651 UTC [Composer] Debug -> DEBU 1f1 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f2 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f3 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f4 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f5 Exiting Context.getDataService 1 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f6 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:47.652 UTC [Composer] Debug -> DEBU 1f7 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.654 UTC [Composer] Debug -> DEBU 1f8 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.654 UTC [Composer] Debug -> DEBU 1f9 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.656 UTC [Composer] Debug -> DEBU 1fa Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc420476c60 2017-07-19 23:33:47.656 UTC [Composer] Debug -> DEBU 1fb Exiting NewDataCollection &{0xc4200284a0 0xc420148900 $sysdata} 2017-07-19 23:33:47.656 UTC [Composer] Debug -> DEBU 1fc Exiting DataCollection.get 0 2017-07-19 23:33:47.656 UTC [Composer] Debug -> DEBU 1fd @JS : Context :[object Object]() < 2017-07-19 23:33:47.657 UTC [Composer] Debug -> DEBU 1fe @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:47.657 UTC [Composer] Debug -> DEBU 1ff @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.657 UTC [Composer] Debug -> DEBU 200 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:47.657 UTC [Composer] Debug -> DEBU 201 Exiting DataService.getCollection 0 2017-07-19 23:33:47.658 UTC [Composer] Debug -> DEBU 202 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.659 UTC [Composer] Debug -> DEBU 203 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:47.659 UTC [Composer] Debug -> DEBU 204 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.659 UTC [Composer] Debug -> DEBU 205 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:47.660 UTC [Composer] Debug -> DEBU 206 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:47.660 UTC [Composer] Debug -> DEBU 207 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.660 UTC [Composer] Debug -> DEBU 208 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:47.661 UTC [Composer] Debug -> DEBU 209 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.661 UTC [Composer] Debug -> DEBU 20a @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.662 UTC [Composer] Debug -> DEBU 20b @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.663 UTC [Composer] Debug -> DEBU 20c @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.663 UTC [Composer] Debug -> DEBU 20d @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.665 UTC [Composer] Debug -> DEBU 20e @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:47.665 UTC [Composer] Debug -> DEBU 20f Exiting DataCollection.get 0 2017-07-19 23:33:47.665 UTC [Composer] Debug -> DEBU 210 @JS : Context :[object Object]() < 2017-07-19 23:33:47.666 UTC [Composer] Debug -> DEBU 212 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:47.666 UTC [Composer] Debug -> DEBU 211 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.666 UTC [Composer] Debug -> DEBU 213 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.668 UTC [Composer] Debug -> DEBU 214 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.669 UTC [Composer] Debug -> DEBU 215 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.669 UTC [Composer] Debug -> DEBU 216 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:47.669 UTC [Composer] Debug -> DEBU 217 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.670 UTC [Composer] Debug -> DEBU 218 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.671 UTC [Composer] Debug -> DEBU 219 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.671 UTC [Composer] Debug -> DEBU 21a @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:47.671 UTC [Composer] Debug -> DEBU 21b @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:47.671 UTC [Composer] Debug -> DEBU 21c @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.673 UTC [Composer] Debug -> DEBU 21e @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.675 UTC [Composer] Debug -> DEBU 21f @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:47.671 UTC [Composer] Debug -> DEBU 21d @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:47.676 UTC [Composer] Debug -> DEBU 220 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:47.676 UTC [Composer] Debug -> DEBU 222 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:47.676 UTC [Composer] Debug -> DEBU 223 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:47.676 UTC [Composer] Debug -> DEBU 221 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:47.676 UTC [Composer] Debug -> DEBU 224 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 225 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 226 @JS : AclCompiler :processScript() < 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 227 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 228 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 229 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 22a @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 22b @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 22c @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:47.677 UTC [Composer] Debug -> DEBU 22d @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:47.678 UTC [Composer] Debug -> DEBU 22e @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:47.678 UTC [Composer] Debug -> DEBU 22f @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:47.679 UTC [Composer] Debug -> DEBU 230 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:47.681 UTC [Composer] Debug -> DEBU 231 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.681 UTC [Composer] Debug -> DEBU 232 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:47.682 UTC [Composer] Debug -> DEBU 233 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:47.682 UTC [Composer] Debug -> DEBU 234 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:47.683 UTC [Composer] Debug -> DEBU 235 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:47.683 UTC [Composer] Debug -> DEBU 236 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.683 UTC [Composer] Debug -> DEBU 237 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:47.705 UTC [Composer] Debug -> DEBU 238 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:47.705 UTC [Composer] Debug -> DEBU 239 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:47.706 UTC [Composer] Debug -> DEBU 23a @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:47.706 UTC [Composer] Debug -> DEBU 23b @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:47.707 UTC [Composer] Debug -> DEBU 23c @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:47.711 UTC [Composer] Debug -> DEBU 23d @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:47.715 UTC [Composer] Debug -> DEBU 23e @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:47.715 UTC [Composer] Debug -> DEBU 23f @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.715 UTC [Composer] Debug -> DEBU 240 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:47.715 UTC [Composer] Debug -> DEBU 241 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 242 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 243 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 244 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 245 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 246 Exiting Context.getDataService 1 2017-07-19 23:33:47.716 UTC [Composer] Debug -> DEBU 247 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 248 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc4204c2af0 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 249 Exiting NewDataCollection &{0xc420150558 0xc42013b300 $sysregistries} 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 24a Exiting DataService.getCollection 0 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 24b @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 24c Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 24d Exiting Context.getDataService 1 2017-07-19 23:33:47.719 UTC [Composer] Debug -> DEBU 24e Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.722 UTC [Composer] Debug -> DEBU 24f Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc420477770 2017-07-19 23:33:47.722 UTC [Composer] Debug -> DEBU 250 Exiting NewDataCollection &{0xc420150580 0xc42013b300 $sysidentities} 2017-07-19 23:33:47.722 UTC [Composer] Debug -> DEBU 251 Exiting DataService.getCollection 0 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 252 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 253 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 254 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 255 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 256 Entering IdentityService.getCurrentUserID &{0xc4201ce500} 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 257 Entering extractNameFromCreator 0xc420477d60 2017-07-19 23:33:47.723 UTC [Composer] Debug -> DEBU 258 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 259 Exiting extractNameFromCreator admin 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25a Common Name admin 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25b Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25c @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25d @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25e @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 25f @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:47.727 UTC [Composer] Debug -> DEBU 260 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 261 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 262 @JS : AccessController :constructor() < 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 263 @JS : Context :initialize() < 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 264 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 265 Exiting Context.getDataService 1 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 266 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 267 Exiting Context.getEventService 1 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 268 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 269 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 26a Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.728 UTC [Composer] Debug -> DEBU 26b Exiting Context.getHTTPService 1 2017-07-19 23:33:47.735 UTC [Composer] Debug -> DEBU 26c @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:47.735 UTC [Composer] Debug -> DEBU 26d @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:47.737 UTC [Composer] Debug -> DEBU 26e Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.737 UTC [Composer] Debug -> DEBU 26f Exiting Context.getDataService 1 2017-07-19 23:33:47.737 UTC [Composer] Debug -> DEBU 270 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.738 UTC [Composer] Debug -> DEBU 271 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.741 UTC [Composer] Debug -> DEBU 272 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.742 UTC [Composer] Debug -> DEBU 273 Exiting DataCollection.get 0 2017-07-19 23:33:47.742 UTC [Composer] Debug -> DEBU 274 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.744 UTC [Composer] Debug -> DEBU 275 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42013b300} 0xc42040a150 2017-07-19 23:33:47.745 UTC [Composer] Debug -> DEBU 276 Exiting NewDataCollection &{0xc4201501c8 0xc42013b300 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:47.745 UTC [Composer] Debug -> DEBU 277 Exiting DataService.getCollection 0 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 278 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 279 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27a Exiting Context.getDataService 1 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27b Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27c Exiting Context.getEventService 1 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27d Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27e Exiting Context.getIdentityService 1 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 27f Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.747 UTC [Composer] Debug -> DEBU 280 Exiting Context.getHTTPService 1 2017-07-19 23:33:47.750 UTC [Composer] Debug -> DEBU 281 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:47.751 UTC [Composer] Debug -> DEBU 282 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 283 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 284 Exiting Context.getDataService 1 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 285 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 286 Exiting Context.getEventService 1 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 287 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 288 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 289 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.752 UTC [Composer] Debug -> DEBU 28a Exiting Context.getHTTPService 1 2017-07-19 23:33:47.757 UTC [Composer] Debug -> DEBU 28b @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:47.757 UTC [Composer] Debug -> DEBU 28c @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.757 UTC [Composer] Debug -> DEBU 28d @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:47.757 UTC [Composer] Debug -> DEBU 28e @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 290 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 291 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 28f Entering EventService.transactionCommit &{0xc4201ce500} 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 292 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 293 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 294 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 295 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 296 Exiting Context.getDataService 1 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 297 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:47.758 UTC [Composer] Debug -> DEBU 298 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:47.760 UTC [Composer] Debug -> DEBU 299 @JS : EventService :getEvents() > 2017-07-19 23:33:47.760 UTC [Composer] Debug -> DEBU 29a @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 29b @JS : EventService :getEvents() < 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 29c Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 29d Exiting EventService.transactionCommit 0 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 29e Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc42040a5d0 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 29f Exiting NewDataCollection &{0xc4202fe1c8 0xc42013a280 $sysdata} 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 2a0 Exiting DataService.getCollection 0 2017-07-19 23:33:47.761 UTC [Composer] Debug -> DEBU 2a1 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.762 UTC [Composer] Debug -> DEBU 2a2 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:47.766 UTC [Composer] Debug -> DEBU 2a3 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:47.766 UTC [Composer] Debug -> DEBU 2a4 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.767 UTC [Composer] Debug -> DEBU 2a5 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:47.767 UTC [Composer] Debug -> DEBU 2a6 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:47.767 UTC [Composer] Debug -> DEBU 2a7 @JS : ModelManager :constructor() > 2017-07-19 23:33:47.767 UTC [Composer] Debug -> DEBU 2a8 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:47.767 UTC [Composer] Info -> INFO 2a9 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:47.768 UTC [Composer] Debug -> DEBU 2aa @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2ab @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2ac @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2ad Exiting DataCollection.get 0 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2ae @JS : Context :[object Object]() < 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2af @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:47.769 UTC [Composer] Debug -> DEBU 2b0 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b1 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b3 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b2 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b4 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b5 @JS : ModelManager :constructor() > 2017-07-19 23:33:47.770 UTC [Composer] Debug -> DEBU 2b6 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:47.770 UTC [Composer] Info -> INFO 2b7 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:47.771 UTC [Composer] Debug -> DEBU 2b8 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2b9 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2ba Exiting Context.getDataService 1 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2bb Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2bc Exiting Context.getEventService 1 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2bd Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2be Exiting Context.getIdentityService 1 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2bf Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.773 UTC [Composer] Debug -> DEBU 2c0 Exiting Context.getHTTPService 1 2017-07-19 23:33:47.774 UTC [Composer] Debug -> DEBU 2c1 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:47.775 UTC [Composer] Debug -> DEBU 2c2 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:47.777 UTC [Composer] Debug -> DEBU 2c3 @JS : QueryCompiler :visit() < 2017-07-19 23:33:47.778 UTC [Composer] Debug -> DEBU 2c4 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:47.779 UTC [Composer] Debug -> DEBU 2c5 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:47.779 UTC [Composer] Debug -> DEBU 2c6 Entering Engine.handleCallback 0xc42015f5c0 &{0xc4201ce500} 2017-07-19 23:33:47.779 UTC [Composer] Debug -> DEBU 2c7 Exiting Engine.handleCallback 0 2017-07-19 23:33:47.779 UTC [Composer] Debug -> DEBU 2c8 Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:47.780 UTC [Composer] Debug -> DEBU 2ca Entering ComposerPool.Put &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:47.780 UTC [Composer] Debug -> DEBU 2cb Exiting ComposerPool.Put true 2017-07-19 23:33:47.780 UTC [Composer] Debug -> DEBU 2cc Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:47.779 UTC [Composer] Debug -> DEBU 2c9 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:47.780 UTC [Composer] Debug -> DEBU 2cd @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:47.780 UTC [Composer] Debug -> DEBU 2ce @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:47.782 UTC [Composer] Debug -> DEBU 2cf @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:47.784 UTC [Composer] Debug -> DEBU 2d0 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:47.785 UTC [Composer] Debug -> DEBU 2d1 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:47.786 UTC [Composer] Debug -> DEBU 2d2 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:47.786 UTC [Composer] Debug -> DEBU 2d3 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:47.798 UTC [Composer] Debug -> DEBU 2d4 Entering getLogging 0xc42040ba70 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2d5 Entering Chaincode.Invoke 0xc42040ba60 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2d6 Entering ComposerPool.Get 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2d7 Exiting ComposerPool.Get &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2d8 Entering Composer.Invoke 0xc42040bed0 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"RHFGSVYTFR_t7","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2d9 Entering NewContext &{0xc4201ce500} &{0xc420028020} 0xc42040bfc0 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2da Entering NewDataService &{0xc4201ce500} &{0xc420028020 } 0xc4203b2080 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2db Exiting NewDataService &{0xc420028020 0xc420072600} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2dc Entering NewIdentityService &{0xc4201ce500} &{0xc420028020 0xc4203eba00 } 0xc4203b2230 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2dd Exiting NewIdentityService &{0xc420028020 0xc420072600} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2de Entering NewEventService &{0xc4201ce500} &{0xc420028020 0xc4203eba00 0xc4203ebae0 } 0xc4203b23a0 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2df Exiting NewEventServce &{0xc420028020 0xc420072600} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2e0 Entering HTTPService &{0xc4201ce500} &{0xc420028020 0xc4203eba00 0xc4203ebae0 0xc4203ebbc0 } 0xc4203b2520 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2e1 Exiting HTTPService &{0xc420028020 0xc420072600} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2e2 Exiting NewContext &{0xc420028020 0xc4203eba00 0xc4203ebae0 0xc4203ebbc0 0xc4203ebca0} 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2e3 Entering Engine.Invoke &{0xc420028020 0xc4203eba00 0xc4203ebae0 0xc4203ebbc0 0xc4203ebca0} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"RHFGSVYTFR_t7","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:47.800 UTC [Composer] Debug -> DEBU 2e4 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"RHFGSVYTFR_t7","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:47.801 UTC [Composer] Debug -> DEBU 2e5 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.801 UTC [Composer] Debug -> DEBU 2e6 @JS : Context :initialize() > 2017-07-19 23:33:47.801 UTC [Composer] Debug -> DEBU 2e7 Exiting Engine.Invoke 0xc4202afb00 2017-07-19 23:33:47.802 UTC [Composer] Debug -> DEBU 2e8 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.803 UTC [Composer] Debug -> DEBU 2e9 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.803 UTC [Composer] Debug -> DEBU 2ea @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.803 UTC [Composer] Debug -> DEBU 2eb Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.803 UTC [Composer] Debug -> DEBU 2ec Exiting Context.getDataService 1 2017-07-19 23:33:47.803 UTC [Composer] Debug -> DEBU 2ed Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.805 UTC [Composer] Debug -> DEBU 2ee Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc4203b31d0 2017-07-19 23:33:47.805 UTC [Composer] Debug -> DEBU 2ef Exiting NewDataCollection &{0xc420028368 0xc420072600 $sysdata} 2017-07-19 23:33:47.805 UTC [Composer] Debug -> DEBU 2f0 Exiting DataService.getCollection 0 2017-07-19 23:33:47.805 UTC [Composer] Debug -> DEBU 2f1 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.805 UTC [Composer] Debug -> DEBU 2f2 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.808 UTC [Composer] Debug -> DEBU 2f3 Exiting DataCollection.get 0 2017-07-19 23:33:47.808 UTC [Composer] Debug -> DEBU 2f4 @JS : Context :[object Object]() < 2017-07-19 23:33:47.808 UTC [Composer] Debug -> DEBU 2f5 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.808 UTC [Composer] Debug -> DEBU 2f6 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.809 UTC [Composer] Debug -> DEBU 2f7 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:47.809 UTC [Composer] Debug -> DEBU 2f8 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.809 UTC [Composer] Debug -> DEBU 2f9 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:47.809 UTC [Composer] Debug -> DEBU 2fa @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:47.810 UTC [Composer] Debug -> DEBU 2fb @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:47.810 UTC [Composer] Debug -> DEBU 2fc @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.810 UTC [Composer] Debug -> DEBU 2fd Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.810 UTC [Composer] Debug -> DEBU 2fe Exiting Context.getDataService 1 2017-07-19 23:33:47.810 UTC [Composer] Debug -> DEBU 2ff Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.812 UTC [Composer] Debug -> DEBU 300 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc4203e5180 2017-07-19 23:33:47.812 UTC [Composer] Debug -> DEBU 301 Exiting NewDataCollection &{0xc4202fe320 0xc420072600 $sysdata} 2017-07-19 23:33:47.812 UTC [Composer] Debug -> DEBU 302 Exiting DataService.getCollection 0 2017-07-19 23:33:47.812 UTC [Composer] Debug -> DEBU 303 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.812 UTC [Composer] Debug -> DEBU 304 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.815 UTC [Composer] Debug -> DEBU 305 Exiting DataCollection.get 0 2017-07-19 23:33:47.815 UTC [Composer] Debug -> DEBU 306 @JS : Context :[object Object]() < 2017-07-19 23:33:47.815 UTC [Composer] Debug -> DEBU 307 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:47.815 UTC [Composer] Debug -> DEBU 308 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.815 UTC [Composer] Debug -> DEBU 309 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:47.818 UTC [Composer] Debug -> DEBU 30a @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:47.818 UTC [Composer] Debug -> DEBU 30b @JS : ModelManager :constructor() < 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 30c @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 30d @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 30e @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 30f @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 310 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 311 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:47.819 UTC [Composer] Debug -> DEBU 312 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 313 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 314 @JS : ModelManager :constructor() < 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 315 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 316 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 317 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:47.820 UTC [Composer] Debug -> DEBU 318 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:47.821 UTC [Composer] Debug -> DEBU 319 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:47.821 UTC [Composer] Debug -> DEBU 31a @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:47.821 UTC [Composer] Debug -> DEBU 31b @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:47.821 UTC [Composer] Debug -> DEBU 31c @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:47.823 UTC [Composer] Debug -> DEBU 31d @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:47.823 UTC [Composer] Debug -> DEBU 31e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.823 UTC [Composer] Debug -> DEBU 31f Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.823 UTC [Composer] Debug -> DEBU 320 Exiting Context.getDataService 1 2017-07-19 23:33:47.823 UTC [Composer] Debug -> DEBU 321 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.825 UTC [Composer] Debug -> DEBU 322 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc4203ac2d0 2017-07-19 23:33:47.826 UTC [Composer] Debug -> DEBU 323 Exiting NewDataCollection &{0xc4201423c0 0xc420072600 $sysdata} 2017-07-19 23:33:47.826 UTC [Composer] Debug -> DEBU 324 Exiting DataService.getCollection 0 2017-07-19 23:33:47.827 UTC [Composer] Debug -> DEBU 325 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:47.828 UTC [Composer] Debug -> DEBU 326 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.828 UTC [Composer] Debug -> DEBU 327 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.832 UTC [Composer] Debug -> DEBU 328 Exiting DataCollection.get 0 2017-07-19 23:33:47.833 UTC [Composer] Debug -> DEBU 329 @JS : Context :[object Object]() < 2017-07-19 23:33:47.833 UTC [Composer] Debug -> DEBU 32a @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:47.833 UTC [Composer] Debug -> DEBU 32b @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.833 UTC [Composer] Debug -> DEBU 32c @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:47.835 UTC [Composer] Debug -> DEBU 32d @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:47.838 UTC [Composer] Debug -> DEBU 32e @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:47.838 UTC [Composer] Debug -> DEBU 32f @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:47.839 UTC [Composer] Debug -> DEBU 330 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:47.840 UTC [Composer] Debug -> DEBU 331 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:47.841 UTC [Composer] Debug -> DEBU 332 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:47.842 UTC [Composer] Debug -> DEBU 333 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.842 UTC [Composer] Debug -> DEBU 334 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.842 UTC [Composer] Debug -> DEBU 335 Exiting Context.getDataService 1 2017-07-19 23:33:47.842 UTC [Composer] Debug -> DEBU 336 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.842 UTC [Composer] Debug -> DEBU 337 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.844 UTC [Composer] Debug -> DEBU 338 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc4202d8440 2017-07-19 23:33:47.845 UTC [Composer] Debug -> DEBU 339 Exiting NewDataCollection &{0xc4202fe3c0 0xc420072600 $sysdata} 2017-07-19 23:33:47.845 UTC [Composer] Debug -> DEBU 33a Exiting DataService.getCollection 0 2017-07-19 23:33:47.845 UTC [Composer] Debug -> DEBU 33b @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:47.846 UTC [Composer] Debug -> DEBU 33c @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:47.847 UTC [Composer] Debug -> DEBU 33d @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:47.847 UTC [Composer] Debug -> DEBU 33e @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.847 UTC [Composer] Debug -> DEBU 33f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.847 UTC [Composer] Debug -> DEBU 340 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.850 UTC [Composer] Debug -> DEBU 341 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:47.851 UTC [Composer] Debug -> DEBU 342 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:47.853 UTC [Composer] Debug -> DEBU 343 Exiting DataCollection.get 0 2017-07-19 23:33:47.853 UTC [Composer] Debug -> DEBU 344 @JS : Context :[object Object]() < 2017-07-19 23:33:47.853 UTC [Composer] Debug -> DEBU 345 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 346 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 347 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 349 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 348 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 34a Exiting Context.getDataService 1 2017-07-19 23:33:47.854 UTC [Composer] Debug -> DEBU 34b Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:47.856 UTC [Composer] Debug -> DEBU 34c Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc4202d8800 2017-07-19 23:33:47.858 UTC [Composer] Debug -> DEBU 34d @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:47.858 UTC [Composer] Debug -> DEBU 34e @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:47.859 UTC [Composer] Debug -> DEBU 34f Exiting NewDataCollection &{0xc4201503c8 0xc42013a280 $sysdata} 2017-07-19 23:33:47.860 UTC [Composer] Debug -> DEBU 350 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:47.861 UTC [Composer] Debug -> DEBU 351 Exiting DataService.getCollection 0 2017-07-19 23:33:47.863 UTC [Composer] Debug -> DEBU 352 Exiting Composer.createJavaScript 2017-07-19 23:33:47.863 UTC [Composer] Debug -> DEBU 353 Entering NewContainer &{0xc4202a2600} 2017-07-19 23:33:47.863 UTC [Composer] Debug -> DEBU 354 Entering NewLoggingService &{0xc4202a2600} &{0xc420150160 } 0xc420366880 2017-07-19 23:33:47.863 UTC [Composer] Debug -> DEBU 355 Exiting NewLoggingService &{0xc420150160 } 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 356 Exiting NewContainer &{0xc420150160 0xc4201cf640} 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 357 Entering NewEngine &{0xc4202a2600} &{0xc420150160 0xc4201cf640} 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 358 Entering Container.getLoggingService &{0xc4202a2600} 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 359 Exiting Container.getLoggingService 1 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 35a @JS : Engine :constructor() > 2017-07-19 23:33:47.864 UTC [Composer] Debug -> DEBU 35b @JS : Engine :constructor() < 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 35c @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 35d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 35e Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 35f Exiting NewEngine &{0xc420150160} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 360 Exiting NewComposer &{0xc420150160 0xc420366870 0xc4200284f8} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 361 Exiting ComposerPool.Get &{0xc420150160 0xc420366870 0xc4200284f8} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 362 Entering Composer.Invoke 0xc4203670d0 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 363 Entering NewContext &{0xc4202a2600} &{0xc420150160} 0xc4203671c0 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 364 Entering NewDataService &{0xc4202a2600} &{0xc420150160 } 0xc420367270 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 365 Exiting NewDataService &{0xc420150160 0xc420149900} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 366 Entering NewIdentityService &{0xc4202a2600} &{0xc420150160 0xc4201cfc40 } 0xc420367420 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 367 Exiting NewIdentityService &{0xc420150160 0xc420149900} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 368 Entering NewEventService &{0xc4202a2600} &{0xc420150160 0xc4201cfc40 0xc4201cfd20 } 0xc420367590 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 369 Exiting NewEventServce &{0xc420150160 0xc420149900} 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 36a Entering HTTPService &{0xc4202a2600} &{0xc420150160 0xc4201cfc40 0xc4201cfd20 0xc4201cfe00 } 0xc420367710 2017-07-19 23:33:47.865 UTC [Composer] Debug -> DEBU 36b Exiting HTTPService &{0xc420150160 0xc420149900} 2017-07-19 23:33:47.866 UTC [Composer] Debug -> DEBU 36c Exiting NewContext &{0xc420150160 0xc4201cfc40 0xc4201cfd20 0xc4201cfe00 0xc4201cfee0} 2017-07-19 23:33:47.866 UTC [Composer] Debug -> DEBU 36d Entering Engine.Invoke &{0xc420150160 0xc4201cfc40 0xc4201cfd20 0xc4201cfe00 0xc4201cfee0} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:47.867 UTC [Composer] Debug -> DEBU 36e @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:47.867 UTC [Composer] Debug -> DEBU 36f Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.867 UTC [Composer] Debug -> DEBU 371 Exiting Context.getDataService 1 2017-07-19 23:33:47.867 UTC [Composer] Debug -> DEBU 372 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.867 UTC [Composer] Debug -> DEBU 370 @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:47.868 UTC [Composer] Debug -> DEBU 373 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:47.869 UTC [Composer] Debug -> DEBU 374 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc420367c60 2017-07-19 23:33:47.869 UTC [Composer] Debug -> DEBU 375 Exiting NewDataCollection &{0xc420142430 0xc420072600 $sysregistries} 2017-07-19 23:33:47.869 UTC [Composer] Debug -> DEBU 376 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.870 UTC [Composer] Debug -> DEBU 377 @JS : Context :initialize() > 2017-07-19 23:33:47.870 UTC [Composer] Debug -> DEBU 378 Exiting DataService.getCollection 0 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 379 Exiting DataCollection.get 0 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 37a @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 37b Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 37c Exiting Context.getDataService 1 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 37d Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.872 UTC [Composer] Debug -> DEBU 37e @JS : Context :[object Object]() < 2017-07-19 23:33:47.873 UTC [Composer] Debug -> DEBU 37f @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:47.873 UTC [Composer] Debug -> DEBU 380 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.874 UTC [Composer] Debug -> DEBU 381 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc4202d9040 2017-07-19 23:33:47.874 UTC [Composer] Debug -> DEBU 382 Exiting NewDataCollection &{0xc420028568 0xc420072600 $sysidentities} 2017-07-19 23:33:47.875 UTC [Composer] Debug -> DEBU 383 Exiting DataService.getCollection 0 2017-07-19 23:33:47.875 UTC [Composer] Debug -> DEBU 384 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:47.875 UTC [Composer] Debug -> DEBU 385 Exiting Engine.Invoke 0xc4201553e0 2017-07-19 23:33:47.876 UTC [Composer] Debug -> DEBU 386 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.876 UTC [Composer] Debug -> DEBU 387 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:47.876 UTC [Composer] Debug -> DEBU 388 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:47.877 UTC [Composer] Debug -> DEBU 389 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:47.877 UTC [Composer] Debug -> DEBU 38a @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.877 UTC [Composer] Debug -> DEBU 38b @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 38c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 38d Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 38e Exiting Context.getDataService 1 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 38f Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 390 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 391 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 392 Entering IdentityService.getCurrentUserID &{0xc4201ce500} 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 393 Entering extractNameFromCreator 0xc4202d96a0 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 394 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 395 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.878 UTC [Composer] Debug -> DEBU 396 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:47.879 UTC [Composer] Debug -> DEBU 397 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:47.879 UTC [Composer] Debug -> DEBU 398 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:47.879 UTC [Composer] Debug -> DEBU 399 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:47.879 UTC [Composer] Debug -> DEBU 39a @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:47.879 UTC [Composer] Debug -> DEBU 39b @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 39c @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 39d Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc4204438e0 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 39e @JS : ModelManager :constructor() > 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 39f @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:47.880 UTC [Composer] Info -> INFO 3a0 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 3a1 Exiting NewDataCollection &{0xc4201424d0 0xc420149900 $sysdata} 2017-07-19 23:33:47.880 UTC [Composer] Debug -> DEBU 3a2 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.881 UTC [Composer] Debug -> DEBU 3a3 Exiting extractNameFromCreator admin 2017-07-19 23:33:47.881 UTC [Composer] Debug -> DEBU 3a4 Common Name admin 2017-07-19 23:33:47.881 UTC [Composer] Debug -> DEBU 3a5 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:47.881 UTC [Composer] Debug -> DEBU 3a6 Exiting DataService.getCollection 0 2017-07-19 23:33:47.881 UTC [Composer] Debug -> DEBU 3a7 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.882 UTC [Composer] Debug -> DEBU 3a8 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.882 UTC [Composer] Debug -> DEBU 3a9 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:47.882 UTC [Composer] Debug -> DEBU 3aa @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:47.882 UTC [Composer] Debug -> DEBU 3ab @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3ac @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3ad Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3af Exiting Composer.createJavaScript 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3b0 Entering NewContainer &{0xc4201cf6e0} 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3b1 Entering NewLoggingService &{0xc4201cf6e0} &{0xc420028048 } 0xc4202c4d30 2017-07-19 23:33:47.883 UTC [Composer] Debug -> DEBU 3ae @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b2 Exiting NewLoggingService &{0xc420028048 } 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b3 Exiting NewContainer &{0xc420028048 0xc4201452a0} 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b4 Entering NewEngine &{0xc4201cf6e0} &{0xc420028048 0xc4201452a0} 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b5 Entering Container.getLoggingService &{0xc4201cf6e0} 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b6 Exiting Container.getLoggingService 1 2017-07-19 23:33:47.884 UTC [Composer] Debug -> DEBU 3b7 @JS : Engine :constructor() > 2017-07-19 23:33:47.885 UTC [Composer] Debug -> DEBU 3b8 @JS : Engine :constructor() < 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3b9 Exiting NewEngine &{0xc420028048} 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3ba Exiting NewComposer &{0xc420028048 0xc4202c4d20 0xc4200285e0} 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3bb Exiting ComposerPool.Get &{0xc420028048 0xc4202c4d20 0xc4200285e0} 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3bc Entering Composer.Invoke 0xc4202c5590 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3bd Entering NewContext &{0xc4201cf6e0} &{0xc420028048} 0xc4202c5680 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3be Entering NewDataService &{0xc4201cf6e0} &{0xc420028048 } 0xc4202c5730 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3bf Exiting NewDataService &{0xc420028048 0xc420149300} 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3c0 Entering NewIdentityService &{0xc4201cf6e0} &{0xc420028048 0xc4201458c0 } 0xc4202c58e0 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3c1 Exiting NewIdentityService &{0xc420028048 0xc420149300} 2017-07-19 23:33:47.890 UTC [Composer] Debug -> DEBU 3c2 Entering NewEventService &{0xc4201cf6e0} &{0xc420028048 0xc4201458c0 0xc4201459a0 } 0xc4202c5a50 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c3 Exiting NewEventServce &{0xc420028048 0xc420149300} 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c4 Entering HTTPService &{0xc4201cf6e0} &{0xc420028048 0xc4201458c0 0xc4201459a0 0xc420145a80 } 0xc4202c5bd0 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c5 Exiting HTTPService &{0xc420028048 0xc420149300} 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c6 Exiting NewContext &{0xc420028048 0xc4201458c0 0xc4201459a0 0xc420145a80 0xc420145b80} 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c7 Entering Engine.Invoke &{0xc420028048 0xc4201458c0 0xc4201459a0 0xc420145a80 0xc420145b80} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c8 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3c9 @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:47.891 UTC [Composer] Debug -> DEBU 3ca @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:47.892 UTC [Composer] Debug -> DEBU 3cb @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:47.892 UTC [Composer] Debug -> DEBU 3cc @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:47.893 UTC [Composer] Debug -> DEBU 3cd @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.893 UTC [Composer] Debug -> DEBU 3ce @JS : Engine :invoke() Initializing context 2017-07-19 23:33:47.893 UTC [Composer] Debug -> DEBU 3cf @JS : Context :initialize() > 2017-07-19 23:33:47.893 UTC [Composer] Debug -> DEBU 3d0 Exiting DataCollection.get 0 2017-07-19 23:33:47.893 UTC [Composer] Debug -> DEBU 3d1 @JS : Context :[object Object]() < 2017-07-19 23:33:47.894 UTC [Composer] Debug -> DEBU 3d2 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.894 UTC [Composer] Debug -> DEBU 3d3 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.895 UTC [Composer] Debug -> DEBU 3d4 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:47.895 UTC [Composer] Debug -> DEBU 3d5 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.897 UTC [Composer] Debug -> DEBU 3d6 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.898 UTC [Composer] Debug -> DEBU 3d7 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:47.903 UTC [Composer] Debug -> DEBU 3d8 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:47.903 UTC [Composer] Debug -> DEBU 3d9 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:47.903 UTC [Composer] Debug -> DEBU 3da @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.909 UTC [Composer] Debug -> DEBU 3db @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:47.909 UTC [Composer] Debug -> DEBU 3dc @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.910 UTC [Composer] Debug -> DEBU 3dd @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:47.910 UTC [Composer] Debug -> DEBU 3de @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.911 UTC [Composer] Debug -> DEBU 3df Exiting Engine.Invoke 0xc420155f80 2017-07-19 23:33:47.911 UTC [Composer] Debug -> DEBU 3e0 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:47.912 UTC [Composer] Debug -> DEBU 3e1 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:47.912 UTC [Composer] Debug -> DEBU 3e2 @JS : ModelManager :constructor() < 2017-07-19 23:33:47.912 UTC [Composer] Debug -> DEBU 3e3 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:47.912 UTC [Composer] Debug -> DEBU 3e4 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:47.913 UTC [Composer] Debug -> DEBU 3e5 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:47.913 UTC [Composer] Debug -> DEBU 3e6 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:47.913 UTC [Composer] Debug -> DEBU 3e7 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:47.913 UTC [Composer] Debug -> DEBU 3e8 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:47.913 UTC [Composer] Debug -> DEBU 3e9 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3ea @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3eb @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3ec Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3ed Exiting Context.getDataService 1 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3ee Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:47.914 UTC [Composer] Debug -> DEBU 3ef @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.915 UTC [Composer] Debug -> DEBU 3f0 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:47.916 UTC [Composer] Debug -> DEBU 3f1 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc42027c440 2017-07-19 23:33:47.917 UTC [Composer] Debug -> DEBU 3f2 Exiting NewDataCollection &{0xc4201504d0 0xc420149300 $sysdata} 2017-07-19 23:33:47.917 UTC [Composer] Debug -> DEBU 3f3 Exiting DataService.getCollection 0 2017-07-19 23:33:47.917 UTC [Composer] Debug -> DEBU 3f4 @JS : AccessController :constructor() < 2017-07-19 23:33:47.920 UTC [Composer] Debug -> DEBU 3f5 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.920 UTC [Composer] Debug -> DEBU 3f6 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3f7 @JS : Context :initialize() < 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3f8 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3f9 Exiting Context.getDataService 1 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3fa Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3fb Exiting Context.getEventService 1 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3fc Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3fd Exiting Context.getIdentityService 1 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3fe Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.921 UTC [Composer] Debug -> DEBU 3ff Exiting Context.getHTTPService 1 2017-07-19 23:33:47.922 UTC [Composer] Debug -> DEBU 400 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.924 UTC [Composer] Debug -> DEBU 401 Exiting DataCollection.get 0 2017-07-19 23:33:47.924 UTC [Composer] Debug -> DEBU 402 @JS : Context :[object Object]() < 2017-07-19 23:33:47.924 UTC [Composer] Debug -> DEBU 403 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:47.924 UTC [Composer] Debug -> DEBU 404 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.925 UTC [Composer] Debug -> DEBU 405 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:47.927 UTC [Composer] Debug -> DEBU 406 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:47.930 UTC [Composer] Debug -> DEBU 407 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:47.937 UTC [Composer] Debug -> DEBU 408 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:47.937 UTC [Composer] Debug -> DEBU 409 @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"RHFGSVYTFR_t7","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:47.937 UTC [Composer] Debug -> DEBU 40a Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.937 UTC [Composer] Debug -> DEBU 40b Exiting Context.getDataService 1 2017-07-19 23:33:47.939 UTC [Composer] Debug -> DEBU 40c Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:47.941 UTC [Composer] Debug -> DEBU 40d Exiting DataCollection.get 0 2017-07-19 23:33:47.943 UTC [Composer] Debug -> DEBU 40e Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:47.946 UTC [Composer] Debug -> DEBU 40f Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc420072600} 0xc42027d070 2017-07-19 23:33:47.948 UTC [Composer] Debug -> DEBU 410 Exiting NewDataCollection &{0xc420028668 0xc420072600 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:47.948 UTC [Composer] Debug -> DEBU 411 Exiting DataService.getCollection 0 2017-07-19 23:33:47.951 UTC [Composer] Debug -> DEBU 412 @JS : AccessController :check() > org.example.mynetwork.Trader#RHFGSVYTFR_t7, CREATE 2017-07-19 23:33:47.951 UTC [Composer] Debug -> DEBU 413 @JS : AccessController :check() No participant 2017-07-19 23:33:47.952 UTC [Composer] Debug -> DEBU 414 @JS : AccessController :check() < 2017-07-19 23:33:47.954 UTC [Composer] Debug -> DEBU 415 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:47.954 UTC [Composer] Debug -> DEBU 416 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:47.955 UTC [Composer] Debug -> DEBU 417 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:47.956 UTC [Composer] Debug -> DEBU 418 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 419 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 41a @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 41b @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 41c @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 41d @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:47.957 UTC [Composer] Debug -> DEBU 41e @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.958 UTC [Composer] Debug -> DEBU 41f @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:47.958 UTC [Composer] Debug -> DEBU 420 @JS : AclCompiler :processScript() < 2017-07-19 23:33:47.958 UTC [Composer] Debug -> DEBU 421 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:47.958 UTC [Composer] Debug -> DEBU 422 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 423 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 424 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 425 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 426 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 427 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:47.959 UTC [Composer] Debug -> DEBU 428 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.960 UTC [Composer] Debug -> DEBU 429 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.960 UTC [Composer] Debug -> DEBU 42a @JS : Context :initialize() Got business network archive 2017-07-19 23:33:47.960 UTC [Composer] Debug -> DEBU 42b @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:47.961 UTC [Composer] Debug -> DEBU 42c @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:47.961 UTC [Composer] Debug -> DEBU 42d @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:47.962 UTC [Composer] Debug -> DEBU 42e @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:47.962 UTC [Composer] Debug -> DEBU 42f @JS : Context :initialize() Got business network archive 2017-07-19 23:33:47.962 UTC [Composer] Debug -> DEBU 430 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:47.962 UTC [Composer] Debug -> DEBU 431 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:47.963 UTC [Composer] Debug -> DEBU 432 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.963 UTC [Composer] Debug -> DEBU 433 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:47.963 UTC [Composer] Debug -> DEBU 434 Exiting Context.getDataService 1 2017-07-19 23:33:47.963 UTC [Composer] Debug -> DEBU 435 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:47.963 UTC [Composer] Debug -> DEBU 436 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:47.964 UTC [Composer] Debug -> DEBU 437 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:47.965 UTC [Composer] Debug -> DEBU 438 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc42014b0c0 2017-07-19 23:33:47.965 UTC [Composer] Debug -> DEBU 439 Exiting NewDataCollection &{0xc420028760 0xc42013b000 $sysdata} 2017-07-19 23:33:47.965 UTC [Composer] Debug -> DEBU 43b Exiting DataService.getCollection 0 2017-07-19 23:33:47.965 UTC [Composer] Debug -> DEBU 43a Entering DataCollection.add &{0xc4201ce500} 2017-07-19 23:33:47.965 UTC [Composer] Debug -> DEBU 43c @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:47.967 UTC [Composer] Debug -> DEBU 43d @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:47.968 UTC [Composer] Debug -> DEBU 43e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:47.968 UTC [Composer] Debug -> DEBU 43f Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:47.968 UTC [Composer] Debug -> DEBU 440 Exiting Context.getDataService 1 2017-07-19 23:33:47.968 UTC [Composer] Debug -> DEBU 441 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:47.969 UTC [Composer] Debug -> DEBU 442 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc4201718d0 2017-07-19 23:33:47.970 UTC [Composer] Debug -> DEBU 443 Exiting DataCollection.add 0 2017-07-19 23:33:47.970 UTC [Composer] Debug -> DEBU 444 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:47.970 UTC [Composer] Debug -> DEBU 445 Exiting NewDataCollection &{0xc4202fe5d8 0xc42013a900 $sysdata} 2017-07-19 23:33:47.971 UTC [Composer] Debug -> DEBU 446 Exiting DataService.getCollection 0 2017-07-19 23:33:47.971 UTC [Composer] Debug -> DEBU 447 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:47.971 UTC [Composer] Debug -> DEBU 448 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:47.971 UTC [Composer] Debug -> DEBU 449 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.971 UTC [Composer] Debug -> DEBU 44a Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:47.973 UTC [Composer] Debug -> DEBU 44b @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 44c @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 44d Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 44e Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 44f Exiting Context.getDataService 1 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 450 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 451 Exiting Context.getEventService 1 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 452 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 453 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 454 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.974 UTC [Composer] Debug -> DEBU 455 Exiting Context.getHTTPService 1 2017-07-19 23:33:47.977 UTC [Composer] Debug -> DEBU 456 Exiting DataCollection.get 0 2017-07-19 23:33:47.977 UTC [Composer] Debug -> DEBU 457 @JS : Context :[object Object]() < 2017-07-19 23:33:47.978 UTC [Composer] Debug -> DEBU 458 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:47.978 UTC [Composer] Debug -> DEBU 459 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.978 UTC [Composer] Debug -> DEBU 45a @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:47.978 UTC [Composer] Debug -> DEBU 45b Exiting DataCollection.get 0 2017-07-19 23:33:47.979 UTC [Composer] Debug -> DEBU 45c @JS : Context :[object Object]() < 2017-07-19 23:33:47.979 UTC [Composer] Debug -> DEBU 45d @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:47.979 UTC [Composer] Debug -> DEBU 45e @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:47.979 UTC [Composer] Debug -> DEBU 45f @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:47.980 UTC [Composer] Debug -> DEBU 460 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:47.980 UTC [Composer] Debug -> DEBU 461 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:47.981 UTC [Composer] Debug -> DEBU 462 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:47.981 UTC [Composer] Debug -> DEBU 463 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:47.981 UTC [Composer] Debug -> DEBU 464 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.981 UTC [Composer] Debug -> DEBU 465 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:47.982 UTC [Composer] Debug -> DEBU 466 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.982 UTC [Composer] Debug -> DEBU 467 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.982 UTC [Composer] Debug -> DEBU 468 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:47.983 UTC [Composer] Debug -> DEBU 469 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.983 UTC [Composer] Debug -> DEBU 46a @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 46b @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 46c @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 46d @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 46e @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 46f @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:47.984 UTC [Composer] Debug -> DEBU 470 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:47.985 UTC [Composer] Debug -> DEBU 471 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:47.985 UTC [Composer] Debug -> DEBU 472 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.986 UTC [Composer] Debug -> DEBU 473 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:47.986 UTC [Composer] Debug -> DEBU 474 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:47.986 UTC [Composer] Debug -> DEBU 475 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:47.987 UTC [Composer] Debug -> DEBU 476 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.992 UTC [Composer] Debug -> DEBU 477 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:47.993 UTC [Composer] Debug -> DEBU 478 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.993 UTC [Composer] Debug -> DEBU 479 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47a @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47b Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47c Exiting Context.getDataService 1 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47d Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47e Exiting Context.getEventService 1 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 47f Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 480 Exiting Context.getIdentityService 1 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 481 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 482 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 483 Exiting Context.getHTTPService 1 2017-07-19 23:33:47.994 UTC [Composer] Debug -> DEBU 484 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.995 UTC [Composer] Debug -> DEBU 485 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:47.995 UTC [Composer] Debug -> DEBU 486 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:47.995 UTC [Composer] Debug -> DEBU 487 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.995 UTC [Composer] Debug -> DEBU 488 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:47.998 UTC [Composer] Debug -> DEBU 489 Entering EventService.transactionCommit &{0xc4201ce500} 2017-07-19 23:33:48.000 UTC [Composer] Debug -> DEBU 48a @JS : EventService :getEvents() > 2017-07-19 23:33:48.003 UTC [Composer] Debug -> DEBU 48b @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.003 UTC [Composer] Debug -> DEBU 48c @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.004 UTC [Composer] Debug -> DEBU 48d @JS : EventService :getEvents() < 2017-07-19 23:33:48.004 UTC [Composer] Debug -> DEBU 48e Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.004 UTC [Composer] Debug -> DEBU 48f Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.005 UTC [Composer] Debug -> DEBU 491 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.005 UTC [Composer] Debug -> DEBU 492 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.005 UTC [Composer] Debug -> DEBU 493 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.005 UTC [Composer] Debug -> DEBU 490 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 494 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 495 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 496 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 497 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 498 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.006 UTC [Composer] Debug -> DEBU 499 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49a @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49b @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49c @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49d @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49e @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 49f @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.007 UTC [Composer] Debug -> DEBU 4a0 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a1 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a2 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a3 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a4 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a5 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a6 Exiting Context.getDataService 1 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a7 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a8 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.008 UTC [Composer] Debug -> DEBU 4a9 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4aa @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4ab Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4ac @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4ad Exiting Context.getDataService 1 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4ae Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4af Exiting Context.getEventService 1 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b0 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b2 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b3 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b4 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b5 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc4204c37e0 2017-07-19 23:33:48.011 UTC [Composer] Debug -> DEBU 4b6 Exiting NewDataCollection &{0xc420028850 0xc42013a280 $sysregistries} 2017-07-19 23:33:48.011 UTC [Composer] Debug -> DEBU 4b7 Exiting DataService.getCollection 0 2017-07-19 23:33:48.011 UTC [Composer] Debug -> DEBU 4b8 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.014 UTC [Composer] Debug -> DEBU 4b9 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.014 UTC [Composer] Debug -> DEBU 4ba Exiting Context.getDataService 1 2017-07-19 23:33:48.014 UTC [Composer] Debug -> DEBU 4bb Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.016 UTC [Composer] Debug -> DEBU 4bc Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc4204c3eb0 2017-07-19 23:33:48.017 UTC [Composer] Debug -> DEBU 4bd Exiting NewDataCollection &{0xc4202fe738 0xc42013a280 $sysidentities} 2017-07-19 23:33:48.017 UTC [Composer] Debug -> DEBU 4be Exiting DataService.getCollection 0 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4bf @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c0 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c1 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c2 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c3 Entering IdentityService.getCurrentUserID &{0xc420140e60} 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c4 Entering extractNameFromCreator 0xc42051a4a0 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c5 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c6 Exiting extractNameFromCreator admin 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c8 Common Name admin 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c7 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4c9 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.018 UTC [Composer] Debug -> DEBU 4ca @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.019 UTC [Composer] Debug -> DEBU 4cc @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.019 UTC [Composer] Debug -> DEBU 4cd @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.020 UTC [Composer] Debug -> DEBU 4ce @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.020 UTC [Composer] Debug -> DEBU 4cf @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.020 UTC [Composer] Debug -> DEBU 4d1 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.020 UTC [Composer] Debug -> DEBU 4d0 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d2 @JS : Engine :invoke() < 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d3 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d4 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d5 Entering Engine.handleCallback 0xc4202afb00 &{0xc4201ce500} 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d6 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.021 UTC [Composer] Debug -> DEBU 4d7 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4da @JS : AccessController :constructor() < 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4db @JS : Context :initialize() < 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4dc Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4dd Exiting Context.getDataService 1 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4de Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4df Exiting Context.getEventService 1 2017-07-19 23:33:48.023 UTC [Composer] Debug -> DEBU 4e0 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.024 UTC [Composer] Debug -> DEBU 4e1 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.024 UTC [Composer] Debug -> DEBU 4e2 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.024 UTC [Composer] Debug -> DEBU 4e3 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.010 UTC [Composer] Debug -> DEBU 4b1 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.025 UTC [Composer] Debug -> DEBU 4e4 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.025 UTC [Composer] Debug -> DEBU 4e5 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.026 UTC [Composer] Debug -> DEBU 4e6 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.027 UTC [Composer] Debug -> DEBU 4e7 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.027 UTC [Composer] Debug -> DEBU 4e8 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.027 UTC [Composer] Debug -> DEBU 4e9 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.027 UTC [Composer] Debug -> DEBU 4ea Exiting Context.getDataService 1 2017-07-19 23:33:48.027 UTC [Composer] Debug -> DEBU 4eb Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.022 UTC [Composer] Debug -> DEBU 4d8 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.029 UTC [Composer] Debug -> DEBU 4ec Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc42051b200 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4ed Exiting NewDataCollection &{0xc420028920 0xc420148900 $sysdata} 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4ee @JS : Engine :invoke() Calling engine function getAllRegistries 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4ef Exiting DataService.getCollection 0 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4f0 @JS : EngineRegistries :getAllRegistries() > [object Object], Transaction 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4f1 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.030 UTC [Composer] Debug -> DEBU 4f2 Exiting Context.getDataService 1 2017-07-19 23:33:48.031 UTC [Composer] Debug -> DEBU 4f3 Entering DataCollection.getAll &{0xc420140e60} 2017-07-19 23:33:48.032 UTC [Composer] Debug -> DEBU 4f4 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.032 UTC [Composer] Debug -> DEBU 4f5 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:48.019 UTC [Composer] Debug -> DEBU 4cb @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.033 UTC [Composer] Debug -> DEBU 4f6 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.022 UTC [Composer] Debug -> DEBU 4d9 Exiting Composer.Invoke 2017-07-19 23:33:48.034 UTC [Composer] Debug -> DEBU 4f7 Entering ComposerPool.Put &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:48.034 UTC [Composer] Debug -> DEBU 4f8 Exiting ComposerPool.Put true 2017-07-19 23:33:48.034 UTC [Composer] Debug -> DEBU 4f9 Exiting Chaincode.Invoke 200 2017-07-19 23:33:48.034 UTC [Composer] Debug -> DEBU 4fa @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.036 UTC [Composer] Debug -> DEBU 4fb @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.036 UTC [Composer] Debug -> DEBU 4fc @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.038 UTC [Composer] Debug -> DEBU 4fd @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.039 UTC [Composer] Debug -> DEBU 4fe @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.039 UTC [Composer] Debug -> DEBU 4ff @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.039 UTC [Composer] Debug -> DEBU 500 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.039 UTC [Composer] Debug -> DEBU 501 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.039 UTC [Composer] Debug -> DEBU 502 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.040 UTC [Composer] Debug -> DEBU 503 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.040 UTC [Composer] Debug -> DEBU 504 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.052 UTC [Composer] Debug -> DEBU 505 Exiting DataCollection.getAll 0 2017-07-19 23:33:48.052 UTC [Composer] Debug -> DEBU 506 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.052 UTC [Composer] Debug -> DEBU 507 Exiting Composer.createJavaScript 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 508 Entering NewContainer &{0xc4201cf140} 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50a Entering NewLoggingService &{0xc4201cf140} &{0xc420028028 } 0xc42051bc10 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 509 Exiting DataCollection.get 0 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50b Exiting NewLoggingService &{0xc420028028 } 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50c Exiting NewContainer &{0xc420028028 0xc42051d0e0} 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50d Entering NewEngine &{0xc4201cf140} &{0xc420028028 0xc42051d0e0} 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50e Entering Container.getLoggingService &{0xc4201cf140} 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 50f Exiting Container.getLoggingService 1 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 510 @JS : Context :[object Object]() < 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 511 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 512 @JS : Engine :constructor() > 2017-07-19 23:33:48.053 UTC [Composer] Debug -> DEBU 513 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.054 UTC [Composer] Debug -> DEBU 514 @JS : Engine :constructor() < 2017-07-19 23:33:48.054 UTC [Composer] Debug -> DEBU 515 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 516 Exiting NewEngine &{0xc420028028} 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 517 Exiting NewComposer &{0xc420028028 0xc42051bc00 0xc4202fe7b8} 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 518 Exiting ComposerPool.Get &{0xc420028028 0xc42051bc00 0xc4202fe7b8} 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 519 Entering Composer.Invoke 0xc420550460 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51a Entering NewContext &{0xc4201cf140} &{0xc420028028} 0xc420550550 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51b Entering NewDataService &{0xc4201cf140} &{0xc420028028 } 0xc420550600 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51c Exiting NewDataService &{0xc420028028 0xc42008d200} 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51d Entering NewIdentityService &{0xc4201cf140} &{0xc420028028 0xc42051d620 } 0xc4205507b0 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51e Exiting NewIdentityService &{0xc420028028 0xc42008d200} 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 51f Entering NewEventService &{0xc4201cf140} &{0xc420028028 0xc42051d620 0xc42051d700 } 0xc420550920 2017-07-19 23:33:48.057 UTC [Composer] Debug -> DEBU 520 Exiting NewEventServce &{0xc420028028 0xc42008d200} 2017-07-19 23:33:48.058 UTC [Composer] Debug -> DEBU 521 Entering HTTPService &{0xc4201cf140} &{0xc420028028 0xc42051d620 0xc42051d700 0xc42051d7e0 } 0xc420550aa0 2017-07-19 23:33:48.058 UTC [Composer] Debug -> DEBU 522 Exiting HTTPService &{0xc420028028 0xc42008d200} 2017-07-19 23:33:48.058 UTC [Composer] Debug -> DEBU 523 Exiting NewContext &{0xc420028028 0xc42051d620 0xc42051d700 0xc42051d7e0 0xc42051d8c0} 2017-07-19 23:33:48.058 UTC [Composer] Debug -> DEBU 524 Entering Engine.Invoke &{0xc420028028 0xc42051d620 0xc42051d700 0xc42051d7e0 0xc42051d8c0} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.060 UTC [Composer] Debug -> DEBU 525 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.060 UTC [Composer] Debug -> DEBU 526 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.061 UTC [Composer] Debug -> DEBU 527 @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.061 UTC [Composer] Debug -> DEBU 528 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.062 UTC [Composer] Debug -> DEBU 529 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc42013a280} 0xc4205524c0 2017-07-19 23:33:48.062 UTC [Composer] Debug -> DEBU 52a Exiting NewDataCollection &{0xc4201427a8 0xc42013a280 Transaction:default} 2017-07-19 23:33:48.063 UTC [Composer] Debug -> DEBU 52b @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.063 UTC [Composer] Debug -> DEBU 52c @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.063 UTC [Composer] Debug -> DEBU 52d @JS : Context :initialize() > 2017-07-19 23:33:48.063 UTC [Composer] Debug -> DEBU 52e @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.065 UTC [Composer] Debug -> DEBU 52f @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.065 UTC [Composer] Debug -> DEBU 530 Exiting DataService.getCollection 0 2017-07-19 23:33:48.065 UTC [Composer] Debug -> DEBU 531 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.066 UTC [Composer] Debug -> DEBU 532 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.067 UTC [Composer] Debug -> DEBU 533 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.067 UTC [Composer] Debug -> DEBU 534 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.067 UTC [Composer] Debug -> DEBU 535 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.068 UTC [Composer] Debug -> DEBU 536 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.069 UTC [Composer] Debug -> DEBU 537 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.069 UTC [Composer] Debug -> DEBU 538 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.069 UTC [Composer] Debug -> DEBU 539 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.069 UTC [Composer] Debug -> DEBU 53a @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.069 UTC [Composer] Debug -> DEBU 53b @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 53c @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 53d @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 53e @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 53f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 540 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 541 Exiting Context.getDataService 1 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 542 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.070 UTC [Composer] Debug -> DEBU 543 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.071 UTC [Composer] Debug -> DEBU 544 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.071 UTC [Composer] Debug -> DEBU 545 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.071 UTC [Composer] Debug -> DEBU 546 @JS : EngineRegistries :getAllRegistries() < [object Object] 2017-07-19 23:33:48.072 UTC [Composer] Debug -> DEBU 547 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 548 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 549 Exiting Context.getDataService 1 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54a Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54b Exiting Context.getEventService 1 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54c Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54d Exiting Context.getIdentityService 1 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54e Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.073 UTC [Composer] Debug -> DEBU 54f Exiting Context.getHTTPService 1 2017-07-19 23:33:48.074 UTC [Composer] Debug -> DEBU 550 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.074 UTC [Composer] Debug -> DEBU 551 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc420568050 2017-07-19 23:33:48.074 UTC [Composer] Debug -> DEBU 552 Exiting NewDataCollection &{0xc420142828 0xc42013a900 $sysdata} 2017-07-19 23:33:48.075 UTC [Composer] Debug -> DEBU 553 Exiting DataService.getCollection 0 2017-07-19 23:33:48.075 UTC [Composer] Debug -> DEBU 554 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.075 UTC [Composer] Debug -> DEBU 555 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.075 UTC [Composer] Debug -> DEBU 556 Exiting Engine.Invoke 0xc4203dfe00 2017-07-19 23:33:48.076 UTC [Composer] Debug -> DEBU 557 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.077 UTC [Composer] Debug -> DEBU 558 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 559 Exiting DataCollection.get 0 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 55a @JS : Context :[object Object]() < 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 55b @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 55c @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 55d @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.079 UTC [Composer] Debug -> DEBU 55e @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.080 UTC [Composer] Debug -> DEBU 55f @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.080 UTC [Composer] Debug -> DEBU 560 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.080 UTC [Composer] Debug -> DEBU 561 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.081 UTC [Composer] Debug -> DEBU 562 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.082 UTC [Composer] Debug -> DEBU 563 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.082 UTC [Composer] Debug -> DEBU 564 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:48.082 UTC [Composer] Debug -> DEBU 565 Exiting Context.getDataService 1 2017-07-19 23:33:48.082 UTC [Composer] Debug -> DEBU 566 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:48.082 UTC [Composer] Debug -> DEBU 567 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.083 UTC [Composer] Debug -> DEBU 568 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.084 UTC [Composer] Debug -> DEBU 569 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc420553150 2017-07-19 23:33:48.084 UTC [Composer] Debug -> DEBU 56a @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.085 UTC [Composer] Debug -> DEBU 56b Exiting NewDataCollection &{0xc4202fe860 0xc42008d200 $sysdata} 2017-07-19 23:33:48.085 UTC [Composer] Debug -> DEBU 56c @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.086 UTC [Composer] Debug -> DEBU 56d Exiting DataService.getCollection 0 2017-07-19 23:33:48.086 UTC [Composer] Debug -> DEBU 56e @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.087 UTC [Composer] Debug -> DEBU 56f @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.087 UTC [Composer] Debug -> DEBU 570 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.087 UTC [Composer] Debug -> DEBU 571 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.087 UTC [Composer] Debug -> DEBU 572 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 573 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 574 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 575 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 576 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 577 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 578 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 579 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 57a Exiting Context.getDataService 1 2017-07-19 23:33:48.088 UTC [Composer] Debug -> DEBU 57b Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.090 UTC [Composer] Debug -> DEBU 57c Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc420568f00 2017-07-19 23:33:48.091 UTC [Composer] Debug -> DEBU 57d Exiting NewDataCollection &{0xc420150800 0xc42013b000 $sysdata} 2017-07-19 23:33:48.091 UTC [Composer] Debug -> DEBU 57e Exiting DataService.getCollection 0 2017-07-19 23:33:48.091 UTC [Composer] Debug -> DEBU 57f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.091 UTC [Composer] Debug -> DEBU 580 Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 581 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 582 Exiting Context.getDataService 1 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 583 Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 584 Exiting Context.getEventService 1 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 585 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 586 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 587 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.092 UTC [Composer] Debug -> DEBU 588 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.093 UTC [Composer] Debug -> DEBU 589 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.093 UTC [Composer] Debug -> DEBU 58a Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:48.095 UTC [Composer] Debug -> DEBU 58b Exiting DataCollection.get 0 2017-07-19 23:33:48.095 UTC [Composer] Debug -> DEBU 58c @JS : Context :[object Object]() < 2017-07-19 23:33:48.095 UTC [Composer] Debug -> DEBU 58d @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.095 UTC [Composer] Debug -> DEBU 58e @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 58f @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 590 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 591 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 592 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 593 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.096 UTC [Composer] Debug -> DEBU 594 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.097 UTC [Composer] Debug -> DEBU 595 @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 596 Exiting DataCollection.get 0 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 597 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 599 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 59a @JS : Context :[object Object]() < 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 598 Entering EventService.transactionCommit &{0xc420140e60} 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 59b @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.098 UTC [Composer] Debug -> DEBU 59c @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.099 UTC [Composer] Debug -> DEBU 59d @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.099 UTC [Composer] Debug -> DEBU 59e @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.099 UTC [Composer] Debug -> DEBU 59f @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.099 UTC [Composer] Debug -> DEBU 5a0 @JS : EventService :getEvents() > 2017-07-19 23:33:48.100 UTC [Composer] Debug -> DEBU 5a1 @JS : EventService :getEvents() < 2017-07-19 23:33:48.101 UTC [Composer] Debug -> DEBU 5a2 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.101 UTC [Composer] Debug -> DEBU 5a3 Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.101 UTC [Composer] Debug -> DEBU 5a4 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.102 UTC [Composer] Debug -> DEBU 5a5 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.107 UTC [Composer] Debug -> DEBU 5a6 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.108 UTC [Composer] Debug -> DEBU 5a7 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.108 UTC [Composer] Debug -> DEBU 5a8 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.108 UTC [Composer] Debug -> DEBU 5a9 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.108 UTC [Composer] Debug -> DEBU 5aa @JS : ModelManager :constructor() > 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5ab @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5ac Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5ad Exiting Context.getDataService 1 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5ae Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5af Exiting Context.getEventService 1 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5b0 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5b1 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5b2 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.109 UTC [Composer] Debug -> DEBU 5b3 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.110 UTC [Composer] Info -> INFO 5b4 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5b5 Exiting Composer.createJavaScript 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5b6 Entering NewContainer &{0xc4201455c0} 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5b7 Entering NewLoggingService &{0xc4201455c0} &{0xc420142280 } 0xc420569f90 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5b8 Exiting NewLoggingService &{0xc420142280 } 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5b9 Exiting NewContainer &{0xc420142280 0xc420590dc0} 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5ba Entering NewEngine &{0xc4201455c0} &{0xc420142280 0xc420590dc0} 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5bb Entering Container.getLoggingService &{0xc4201455c0} 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5bc Exiting Container.getLoggingService 1 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5bd @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.113 UTC [Composer] Debug -> DEBU 5be @JS : Engine :constructor() > 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5bf @JS : Engine :constructor() < 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c0 Exiting NewEngine &{0xc420142280} 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c1 Exiting NewComposer &{0xc420142280 0xc420569f80 0xc420028bb8} 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c2 Exiting ComposerPool.Get &{0xc420142280 0xc420569f80 0xc420028bb8} 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c3 Entering Composer.Invoke 0xc4205c2890 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c4 Entering NewContext &{0xc4201455c0} &{0xc420142280} 0xc4205c2980 2017-07-19 23:33:48.114 UTC [Composer] Debug -> DEBU 5c5 Entering NewDataService &{0xc4201455c0} &{0xc420142280 } 0xc4205c2a30 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5c6 Exiting NewDataService &{0xc420142280 0xc42008cf00} 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5c7 Entering NewIdentityService &{0xc4201455c0} &{0xc420142280 0xc420591380 } 0xc4205c2be0 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5c8 Exiting NewIdentityService &{0xc420142280 0xc42008cf00} 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5c9 Entering NewEventService &{0xc4201455c0} &{0xc420142280 0xc420591380 0xc420591460 } 0xc4205c2d50 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5ca Exiting NewEventServce &{0xc420142280 0xc42008cf00} 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5cb Entering HTTPService &{0xc4201455c0} &{0xc420142280 0xc420591380 0xc420591460 0xc420591540 } 0xc4205c2ed0 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5cc Exiting HTTPService &{0xc420142280 0xc42008cf00} 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5cd Exiting NewContext &{0xc420142280 0xc420591380 0xc420591460 0xc420591540 0xc420591620} 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5ce Entering Engine.Invoke &{0xc420142280 0xc420591380 0xc420591460 0xc420591540 0xc420591620} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.115 UTC [Composer] Debug -> DEBU 5cf @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.116 UTC [Composer] Debug -> DEBU 5d0 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.116 UTC [Composer] Debug -> DEBU 5d1 @JS : Context :initialize() > 2017-07-19 23:33:48.120 UTC [Composer] Debug -> DEBU 5d2 Exiting Engine.Invoke 0xc4205c8060 2017-07-19 23:33:48.121 UTC [Composer] Debug -> DEBU 5d3 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.122 UTC [Composer] Debug -> DEBU 5d4 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:48.123 UTC [Composer] Debug -> DEBU 5d5 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.123 UTC [Composer] Debug -> DEBU 5d6 Entering Engine.handleCallback 0xc4202ae8a0 &{0xc420140e60} 2017-07-19 23:33:48.123 UTC [Composer] Debug -> DEBU 5d7 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5d8 Exiting Composer.Invoke [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5d9 Entering ComposerPool.Put &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5da Exiting ComposerPool.Put true 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5db Exiting Chaincode.Invoke 200 [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5dc @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5dd Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5de Exiting Context.getDataService 1 2017-07-19 23:33:48.124 UTC [Composer] Debug -> DEBU 5df Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:48.126 UTC [Composer] Debug -> DEBU 5e0 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.137 UTC [Composer] Debug -> DEBU 5e1 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc4205b69d0 2017-07-19 23:33:48.141 UTC [Composer] Debug -> DEBU 5e2 Exiting NewDataCollection &{0xc420028c48 0xc42008cf00 $sysdata} 2017-07-19 23:33:48.142 UTC [Composer] Debug -> DEBU 5e3 Entering getLogging 0xc420553ec0 2017-07-19 23:33:48.142 UTC [Composer] Debug -> DEBU 5e4 Exiting DataService.getCollection 0 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5e5 Entering Chaincode.Invoke 0xc420553eb0 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5e6 Entering ComposerPool.Get 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5e7 Exiting ComposerPool.Get &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5e8 Entering Composer.Invoke 0xc4205d8310 submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#JURHULBMVL_c3","newOwner":"resource:org.example.mynetwork.Trader#JURHULBMVL_t0","transactionId":"44ed880c-9906-4349-998a-c2fad16e932d","timestamp":"2017-07-19T23:33:41.060Z"}] 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5e9 Entering NewContext &{0xc4201ce500} &{0xc420028020} 0xc4205d83f0 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5ea Entering NewDataService &{0xc4201ce500} &{0xc420028020 } 0xc4205d84b0 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5eb Exiting NewDataService &{0xc420028020 0xc42055f200} 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5ec Entering NewIdentityService &{0xc4201ce500} &{0xc420028020 0xc4205611e0 } 0xc4205d8660 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5ed @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5ee Exiting NewIdentityService &{0xc420028020 0xc42055f200} 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5f0 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5f1 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5f2 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:48.145 UTC [Composer] Debug -> DEBU 5f3 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.145 UTC [Composer] Debug -> DEBU 5f4 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:48.145 UTC [Composer] Debug -> DEBU 5f5 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.144 UTC [Composer] Debug -> DEBU 5ef Entering NewEventService &{0xc4201ce500} &{0xc420028020 0xc4205611e0 0xc4205612c0 } 0xc4205d87d0 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5f6 Exiting NewEventServce &{0xc420028020 0xc42055f200} 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5f7 Entering HTTPService &{0xc4201ce500} &{0xc420028020 0xc4205611e0 0xc4205612c0 0xc4205613a0 } 0xc4205d8940 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5f8 Exiting HTTPService &{0xc420028020 0xc42055f200} 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5f9 Exiting NewContext &{0xc420028020 0xc4205611e0 0xc4205612c0 0xc4205613a0 0xc420561480} 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5fa Entering Engine.Invoke &{0xc420028020 0xc4205611e0 0xc4205612c0 0xc4205613a0 0xc420561480} submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#JURHULBMVL_c3","newOwner":"resource:org.example.mynetwork.Trader#JURHULBMVL_t0","transactionId":"44ed880c-9906-4349-998a-c2fad16e932d","timestamp":"2017-07-19T23:33:41.060Z"}] 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5fb @JS : Engine :invoke() > [object Object], submitTransaction, default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#JURHULBMVL_c3","newOwner":"resource:org.example.mynetwork.Trader#JURHULBMVL_t0","transactionId":"44ed880c-9906-4349-998a-c2fad16e932d","timestamp":"2017-07-19T23:33:41.060Z"} 2017-07-19 23:33:48.146 UTC [Composer] Debug -> DEBU 5fc @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.147 UTC [Composer] Debug -> DEBU 5fd @JS : Context :initialize() > 2017-07-19 23:33:48.147 UTC [Composer] Debug -> DEBU 5fe Exiting Engine.Invoke 0xc4205ce7e0 2017-07-19 23:33:48.147 UTC [Composer] Debug -> DEBU 5ff @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.149 UTC [Composer] Debug -> DEBU 600 Exiting DataCollection.get 0 2017-07-19 23:33:48.149 UTC [Composer] Debug -> DEBU 601 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.149 UTC [Composer] Debug -> DEBU 602 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.149 UTC [Composer] Debug -> DEBU 603 @JS : Context :[object Object]() < 2017-07-19 23:33:48.150 UTC [Composer] Debug -> DEBU 604 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.150 UTC [Composer] Debug -> DEBU 605 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.151 UTC [Composer] Debug -> DEBU 606 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.151 UTC [Composer] Debug -> DEBU 607 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.152 UTC [Composer] Debug -> DEBU 608 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.153 UTC [Composer] Debug -> DEBU 609 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.153 UTC [Composer] Debug -> DEBU 60a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.153 UTC [Composer] Debug -> DEBU 60b Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 60c Exiting Context.getDataService 1 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 60d @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 60e Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 60f Exiting Context.getDataService 1 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 610 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.154 UTC [Composer] Debug -> DEBU 611 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.156 UTC [Composer] Debug -> DEBU 612 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.156 UTC [Composer] Debug -> DEBU 613 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc4205d9790 2017-07-19 23:33:48.156 UTC [Composer] Debug -> DEBU 614 Exiting NewDataCollection &{0xc4201508f0 0xc42055f200 $sysdata} 2017-07-19 23:33:48.156 UTC [Composer] Debug -> DEBU 615 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc4205b7370 2017-07-19 23:33:48.157 UTC [Composer] Debug -> DEBU 616 Exiting DataService.getCollection 0 2017-07-19 23:33:48.157 UTC [Composer] Debug -> DEBU 617 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.157 UTC [Composer] Debug -> DEBU 618 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.157 UTC [Composer] Debug -> DEBU 619 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.158 UTC [Composer] Debug -> DEBU 61a @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.158 UTC [Composer] Debug -> DEBU 61b Exiting NewDataCollection &{0xc420142950 0xc42013a900 $sysdata} 2017-07-19 23:33:48.158 UTC [Composer] Debug -> DEBU 61c Exiting DataService.getCollection 0 2017-07-19 23:33:48.158 UTC [Composer] Debug -> DEBU 61d @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.158 UTC [Composer] Debug -> DEBU 61e @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 61f @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 620 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 621 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 622 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 623 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 624 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 625 Exiting Context.getDataService 1 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 626 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.159 UTC [Composer] Debug -> DEBU 627 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.160 UTC [Composer] Debug -> DEBU 628 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:48.160 UTC [Composer] Debug -> DEBU 629 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.161 UTC [Composer] Debug -> DEBU 62a Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc4205b7620 2017-07-19 23:33:48.161 UTC [Composer] Debug -> DEBU 62b Exiting NewDataCollection &{0xc4201429d0 0xc420148900 $sysdata} 2017-07-19 23:33:48.161 UTC [Composer] Debug -> DEBU 62c Exiting DataService.getCollection 0 2017-07-19 23:33:48.162 UTC [Composer] Debug -> DEBU 62d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.162 UTC [Composer] Debug -> DEBU 62e Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:48.162 UTC [Composer] Debug -> DEBU 62f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.162 UTC [Composer] Debug -> DEBU 630 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 631 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 632 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 633 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 634 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 635 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.165 UTC [Composer] Debug -> DEBU 636 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.166 UTC [Composer] Debug -> DEBU 637 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.166 UTC [Composer] Info -> INFO 638 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.167 UTC [Composer] Debug -> DEBU 639 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.167 UTC [Composer] Debug -> DEBU 63a Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.168 UTC [Composer] Debug -> DEBU 63b Exiting DataCollection.get 0 2017-07-19 23:33:48.168 UTC [Composer] Debug -> DEBU 63c @JS : Context :[object Object]() < 2017-07-19 23:33:48.168 UTC [Composer] Debug -> DEBU 63d @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.169 UTC [Composer] Debug -> DEBU 63e @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.169 UTC [Composer] Debug -> DEBU 63f @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.169 UTC [Composer] Debug -> DEBU 640 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.169 UTC [Composer] Debug -> DEBU 641 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.170 UTC [Composer] Debug -> DEBU 642 Exiting DataCollection.get 0 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 643 @JS : Context :[object Object]() < 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 644 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 645 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 646 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 647 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 648 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 649 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:48.171 UTC [Composer] Debug -> DEBU 64a @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 64b Exiting DataCollection.get 0 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 64c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 64d Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 64e @JS : Context :[object Object]() < 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 64f Exiting Context.getDataService 1 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 650 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 651 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 652 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.172 UTC [Composer] Debug -> DEBU 653 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.174 UTC [Composer] Debug -> DEBU 654 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc4205fccf0 2017-07-19 23:33:48.180 UTC [Composer] Debug -> DEBU 655 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:48.180 UTC [Composer] Debug -> DEBU 656 Exiting NewDataCollection &{0xc420028cd0 0xc42013b000 $sysdata} 2017-07-19 23:33:48.180 UTC [Composer] Debug -> DEBU 657 @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.180 UTC [Composer] Debug -> DEBU 658 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.181 UTC [Composer] Debug -> DEBU 659 Exiting DataService.getCollection 0 2017-07-19 23:33:48.181 UTC [Composer] Debug -> DEBU 65a @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.181 UTC [Composer] Debug -> DEBU 65b @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.182 UTC [Composer] Debug -> DEBU 65c @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.182 UTC [Composer] Debug -> DEBU 65d @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:48.182 UTC [Composer] Debug -> DEBU 65e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.182 UTC [Composer] Debug -> DEBU 65f Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.183 UTC [Composer] Debug -> DEBU 660 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 661 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 662 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 663 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 664 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 665 Exiting Context.getDataService 1 2017-07-19 23:33:48.185 UTC [Composer] Debug -> DEBU 666 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.186 UTC [Composer] Debug -> DEBU 667 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 668 Exiting DataCollection.get 0 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 669 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66a @JS : Context :[object Object]() < 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66b @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66c @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66d @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66e Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc42062c300 2017-07-19 23:33:48.187 UTC [Composer] Debug -> DEBU 66f Exiting NewDataCollection &{0xc420142a50 0xc42055f200 $sysdata} 2017-07-19 23:33:48.188 UTC [Composer] Debug -> DEBU 670 Exiting Composer.createJavaScript 2017-07-19 23:33:48.188 UTC [Composer] Debug -> DEBU 671 Entering NewContainer &{0xc420145580} 2017-07-19 23:33:48.188 UTC [Composer] Debug -> DEBU 672 Entering NewLoggingService &{0xc420145580} &{0xc420142278 } 0xc420610f40 2017-07-19 23:33:48.193 UTC [Composer] Debug -> DEBU 673 Exiting DataService.getCollection 0 2017-07-19 23:33:48.193 UTC [Composer] Debug -> DEBU 674 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.193 UTC [Composer] Debug -> DEBU 675 Exiting NewLoggingService &{0xc420142278 } 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 676 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 677 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 678 Exiting NewContainer &{0xc420142278 0xc42060cc40} 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 679 Entering NewEngine &{0xc420145580} &{0xc420142278 0xc42060cc40} 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 67a Entering Container.getLoggingService &{0xc420145580} 2017-07-19 23:33:48.194 UTC [Composer] Debug -> DEBU 67b Exiting Container.getLoggingService 1 2017-07-19 23:33:48.195 UTC [Composer] Debug -> DEBU 67c @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:48.195 UTC [Composer] Debug -> DEBU 67d @JS : Engine :constructor() > 2017-07-19 23:33:48.195 UTC [Composer] Debug -> DEBU 67e @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.196 UTC [Composer] Debug -> DEBU 67f @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.196 UTC [Composer] Debug -> DEBU 680 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:48.196 UTC [Composer] Debug -> DEBU 681 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:48.196 UTC [Composer] Debug -> DEBU 682 @JS : Engine :constructor() < 2017-07-19 23:33:48.196 UTC [Composer] Debug -> DEBU 683 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 684 Exiting NewEngine &{0xc420142278} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 685 Exiting NewComposer &{0xc420142278 0xc420610f30 0xc420028d50} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 686 Exiting ComposerPool.Get &{0xc420142278 0xc420610f30 0xc420028d50} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 687 Entering Composer.Invoke 0xc4206119d0 getAllRegistries [Transaction] 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 688 Entering NewContext &{0xc420145580} &{0xc420142278} 0xc420611aa0 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 689 Entering NewDataService &{0xc420145580} &{0xc420142278 } 0xc420611b60 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68a Exiting NewDataService &{0xc420142278 0xc420149c80} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68b Entering NewIdentityService &{0xc420145580} &{0xc420142278 0xc42060d300 } 0xc420611d10 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68c Exiting NewIdentityService &{0xc420142278 0xc420149c80} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68d Entering NewEventService &{0xc420145580} &{0xc420142278 0xc42060d300 0xc42060d3e0 } 0xc420611e80 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68e @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 68f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 690 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.197 UTC [Composer] Debug -> DEBU 691 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.198 UTC [Composer] Debug -> DEBU 692 Exiting NewEventServce &{0xc420142278 0xc420149c80} 2017-07-19 23:33:48.198 UTC [Composer] Debug -> DEBU 693 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.198 UTC [Composer] Debug -> DEBU 694 Entering HTTPService &{0xc420145580} &{0xc420142278 0xc42060d300 0xc42060d3e0 0xc42060d4c0 } 0xc420611ff0 2017-07-19 23:33:48.198 UTC [Composer] Debug -> DEBU 695 Exiting HTTPService &{0xc420142278 0xc420149c80} 2017-07-19 23:33:48.199 UTC [Composer] Debug -> DEBU 696 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.199 UTC [Composer] Debug -> DEBU 697 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.199 UTC [Composer] Debug -> DEBU 698 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 699 Exiting NewContext &{0xc420142278 0xc42060d300 0xc42060d3e0 0xc42060d4c0 0xc42060d5a0} 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 69a Entering Engine.Invoke &{0xc420142278 0xc42060d300 0xc42060d3e0 0xc42060d4c0 0xc42060d5a0} getAllRegistries [Transaction] 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 69b @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 69d @JS : Engine :invoke() > [object Object], getAllRegistries, Transaction 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 69e @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.200 UTC [Composer] Debug -> DEBU 69c @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.201 UTC [Composer] Debug -> DEBU 69f @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.201 UTC [Composer] Debug -> DEBU 6a0 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.201 UTC [Composer] Debug -> DEBU 6a1 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.202 UTC [Composer] Debug -> DEBU 6a2 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:48.203 UTC [Composer] Debug -> DEBU 6a3 Exiting DataCollection.get 0 2017-07-19 23:33:48.203 UTC [Composer] Debug -> DEBU 6a4 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:48.203 UTC [Composer] Debug -> DEBU 6a5 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.203 UTC [Composer] Debug -> DEBU 6a6 @JS : Context :initialize() > 2017-07-19 23:33:48.205 UTC [Composer] Debug -> DEBU 6a7 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.205 UTC [Composer] Debug -> DEBU 6a8 @JS : Context :[object Object]() < 2017-07-19 23:33:48.205 UTC [Composer] Debug -> DEBU 6a9 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:48.205 UTC [Composer] Debug -> DEBU 6aa @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.205 UTC [Composer] Debug -> DEBU 6ab @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6ac @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6ad @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6ae @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6af @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6b0 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6b1 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6b2 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.206 UTC [Composer] Debug -> DEBU 6b3 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b4 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b5 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b6 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b7 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b8 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6ba @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6bb @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6b9 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6bc @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6bd @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6bf @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.207 UTC [Composer] Debug -> DEBU 6be @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.208 UTC [Composer] Debug -> DEBU 6c0 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.209 UTC [Composer] Debug -> DEBU 6c1 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.209 UTC [Composer] Debug -> DEBU 6c2 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.209 UTC [Composer] Debug -> DEBU 6c3 Exiting Engine.Invoke 0xc4205c9260 2017-07-19 23:33:48.210 UTC [Composer] Debug -> DEBU 6c4 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.211 UTC [Composer] Debug -> DEBU 6c5 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.212 UTC [Composer] Debug -> DEBU 6c6 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.213 UTC [Composer] Debug -> DEBU 6c7 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.213 UTC [Composer] Debug -> DEBU 6c8 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.213 UTC [Composer] Debug -> DEBU 6c9 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.214 UTC [Composer] Debug -> DEBU 6ca @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.214 UTC [Composer] Debug -> DEBU 6cb @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.215 UTC [Composer] Debug -> DEBU 6cc @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.216 UTC [Composer] Debug -> DEBU 6cd @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.216 UTC [Composer] Debug -> DEBU 6ce @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.216 UTC [Composer] Debug -> DEBU 6cf Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:48.216 UTC [Composer] Debug -> DEBU 6d0 Exiting Context.getDataService 1 2017-07-19 23:33:48.216 UTC [Composer] Debug -> DEBU 6d1 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:48.217 UTC [Composer] Debug -> DEBU 6d2 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.217 UTC [Composer] Debug -> DEBU 6d3 Exiting Context.getDataService 1 2017-07-19 23:33:48.217 UTC [Composer] Debug -> DEBU 6d4 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.218 UTC [Composer] Debug -> DEBU 6d5 Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc420633d20 2017-07-19 23:33:48.219 UTC [Composer] Debug -> DEBU 6d6 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc4206528d0 2017-07-19 23:33:48.219 UTC [Composer] Debug -> DEBU 6d7 Exiting NewDataCollection &{0xc4202feb70 0xc42055f200 $sysdata} 2017-07-19 23:33:48.219 UTC [Composer] Debug -> DEBU 6d8 Exiting NewDataCollection &{0xc420150a38 0xc420149c80 $sysdata} 2017-07-19 23:33:48.219 UTC [Composer] Debug -> DEBU 6d9 Exiting DataService.getCollection 0 2017-07-19 23:33:48.220 UTC [Composer] Debug -> DEBU 6da @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:48.221 UTC [Composer] Debug -> DEBU 6db Exiting DataService.getCollection 0 2017-07-19 23:33:48.221 UTC [Composer] Debug -> DEBU 6dc @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.221 UTC [Composer] Debug -> DEBU 6dd Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.222 UTC [Composer] Debug -> DEBU 6de @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.222 UTC [Composer] Debug -> DEBU 6df @JS : AclCompiler :processScript() < 2017-07-19 23:33:48.222 UTC [Composer] Debug -> DEBU 6e0 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:48.222 UTC [Composer] Debug -> DEBU 6e1 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:48.223 UTC [Composer] Debug -> DEBU 6e2 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:48.224 UTC [Composer] Debug -> DEBU 6e3 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:48.224 UTC [Composer] Debug -> DEBU 6e4 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.224 UTC [Composer] Debug -> DEBU 6e5 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:48.224 UTC [Composer] Debug -> DEBU 6e6 Entering DataCollection.get &{0xc420145580} 2017-07-19 23:33:48.224 UTC [Composer] Debug -> DEBU 6e7 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:48.226 UTC [Composer] Debug -> DEBU 6e8 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.226 UTC [Composer] Debug -> DEBU 6e9 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.226 UTC [Composer] Debug -> DEBU 6eb @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:48.226 UTC [Composer] Debug -> DEBU 6ea @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.227 UTC [Composer] Debug -> DEBU 6ec @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.227 UTC [Composer] Debug -> DEBU 6ed @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.227 UTC [Composer] Debug -> DEBU 6ee @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.227 UTC [Composer] Debug -> DEBU 6ef @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:48.228 UTC [Composer] Debug -> DEBU 6f0 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.228 UTC [Composer] Debug -> DEBU 6f2 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.228 UTC [Composer] Debug -> DEBU 6f1 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.228 UTC [Composer] Debug -> DEBU 6f3 Exiting DataCollection.get 0 2017-07-19 23:33:48.228 UTC [Composer] Debug -> DEBU 6f4 @JS : Context :[object Object]() < 2017-07-19 23:33:48.229 UTC [Composer] Debug -> DEBU 6f5 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.229 UTC [Composer] Debug -> DEBU 6f6 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.229 UTC [Composer] Debug -> DEBU 6f7 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:48.230 UTC [Composer] Debug -> DEBU 6f8 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.230 UTC [Composer] Debug -> DEBU 6f9 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:48.230 UTC [Composer] Debug -> DEBU 6fa @JS : AclCompiler :processScript() < 2017-07-19 23:33:48.230 UTC [Composer] Debug -> DEBU 6fb @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:48.231 UTC [Composer] Debug -> DEBU 6fc @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:48.231 UTC [Composer] Debug -> DEBU 6fd @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:48.232 UTC [Composer] Debug -> DEBU 6ff Exiting DataCollection.get 0 2017-07-19 23:33:48.232 UTC [Composer] Debug -> DEBU 6fe @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:48.232 UTC [Composer] Debug -> DEBU 700 @JS : Context :[object Object]() < 2017-07-19 23:33:48.232 UTC [Composer] Debug -> DEBU 701 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.232 UTC [Composer] Debug -> DEBU 702 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 703 Exiting Composer.createJavaScript 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 704 Entering NewContainer &{0xc42027a640} 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 705 Entering NewLoggingService &{0xc42027a640} &{0xc4202fe000 } 0xc42069a640 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 706 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 708 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.233 UTC [Composer] Debug -> DEBU 707 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:48.234 UTC [Composer] Debug -> DEBU 709 Exiting NewLoggingService &{0xc4202fe000 } 2017-07-19 23:33:48.234 UTC [Composer] Debug -> DEBU 70a @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:48.235 UTC [Composer] Debug -> DEBU 70b Exiting NewContainer &{0xc4202fe000 0xc420639500} 2017-07-19 23:33:48.235 UTC [Composer] Debug -> DEBU 70c Entering NewEngine &{0xc42027a640} &{0xc4202fe000 0xc420639500} 2017-07-19 23:33:48.235 UTC [Composer] Debug -> DEBU 70d Entering Container.getLoggingService &{0xc42027a640} 2017-07-19 23:33:48.235 UTC [Composer] Debug -> DEBU 70e Exiting Container.getLoggingService 1 2017-07-19 23:33:48.235 UTC [Composer] Debug -> DEBU 70f @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.236 UTC [Composer] Debug -> DEBU 710 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.236 UTC [Composer] Debug -> DEBU 711 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.236 UTC [Composer] Debug -> DEBU 712 @JS : Engine :constructor() > 2017-07-19 23:33:48.236 UTC [Composer] Debug -> DEBU 713 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 714 @JS : Engine :constructor() < 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 715 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 717 Exiting NewEngine &{0xc4202fe000} 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 718 Exiting NewComposer &{0xc4202fe000 0xc42069a630 0xc420150a78} 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 719 Exiting ComposerPool.Get &{0xc4202fe000 0xc42069a630 0xc420150a78} 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 71a Entering Composer.Invoke 0xc4210320e0 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 71b Entering NewContext &{0xc42027a640} &{0xc4202fe000} 0xc4210321d0 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 71c Entering NewDataService &{0xc42027a640} &{0xc4202fe000 } 0xc421032280 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 71d Exiting NewDataService &{0xc4202fe000 0xc42008d500} 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 71e Entering NewIdentityService &{0xc42027a640} &{0xc4202fe000 0xc4206ba3c0 } 0xc421032430 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 71f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.237 UTC [Composer] Debug -> DEBU 716 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 720 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 722 Exiting Context.getDataService 1 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 723 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 721 Exiting NewIdentityService &{0xc4202fe000 0xc42008d500} 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 724 Entering NewEventService &{0xc42027a640} &{0xc4202fe000 0xc4206ba3c0 0xc4206ba4a0 } 0xc4210325a0 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 725 Exiting NewEventServce &{0xc4202fe000 0xc42008d500} 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 726 Entering HTTPService &{0xc42027a640} &{0xc4202fe000 0xc4206ba3c0 0xc4206ba4a0 0xc4206ba580 } 0xc421032720 2017-07-19 23:33:48.238 UTC [Composer] Debug -> DEBU 727 Exiting HTTPService &{0xc4202fe000 0xc42008d500} 2017-07-19 23:33:48.239 UTC [Composer] Debug -> DEBU 728 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.240 UTC [Composer] Debug -> DEBU 729 Exiting NewContext &{0xc4202fe000 0xc4206ba3c0 0xc4206ba4a0 0xc4206ba580 0xc4206ba660} 2017-07-19 23:33:48.240 UTC [Composer] Debug -> DEBU 72a Entering Engine.Invoke &{0xc4202fe000 0xc4206ba3c0 0xc4206ba4a0 0xc4206ba580 0xc4206ba660} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:48.240 UTC [Composer] Debug -> DEBU 72b Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc420653c40 2017-07-19 23:33:48.240 UTC [Composer] Debug -> DEBU 72c Exiting NewDataCollection &{0xc420028e88 0xc42055f200 $sysdata} 2017-07-19 23:33:48.241 UTC [Composer] Debug -> DEBU 72d @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.241 UTC [Composer] Debug -> DEBU 72e @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:48.241 UTC [Composer] Debug -> DEBU 730 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.241 UTC [Composer] Debug -> DEBU 731 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.241 UTC [Composer] Debug -> DEBU 72f Exiting DataService.getCollection 0 2017-07-19 23:33:48.242 UTC [Composer] Debug -> DEBU 732 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.242 UTC [Composer] Debug -> DEBU 733 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.242 UTC [Composer] Debug -> DEBU 734 Exiting Context.getDataService 1 2017-07-19 23:33:48.242 UTC [Composer] Debug -> DEBU 735 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.242 UTC [Composer] Debug -> DEBU 736 @JS : Context :initialize() > 2017-07-19 23:33:48.243 UTC [Composer] Debug -> DEBU 737 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.244 UTC [Composer] Debug -> DEBU 738 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc42066f4c0 2017-07-19 23:33:48.245 UTC [Composer] Debug -> DEBU 739 Exiting NewDataCollection &{0xc420142bd8 0xc420148900 $sysdata} 2017-07-19 23:33:48.245 UTC [Composer] Debug -> DEBU 73a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.245 UTC [Composer] Debug -> DEBU 73c Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.245 UTC [Composer] Debug -> DEBU 73b Exiting DataService.getCollection 0 2017-07-19 23:33:48.248 UTC [Composer] Debug -> DEBU 73d @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.252 UTC [Composer] Debug -> DEBU 73e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.252 UTC [Composer] Debug -> DEBU 73f Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:48.252 UTC [Composer] Debug -> DEBU 740 Exiting DataCollection.get 0 2017-07-19 23:33:48.253 UTC [Composer] Debug -> DEBU 741 @JS : Context :[object Object]() < 2017-07-19 23:33:48.253 UTC [Composer] Debug -> DEBU 742 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.253 UTC [Composer] Debug -> DEBU 743 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.254 UTC [Composer] Debug -> DEBU 744 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.254 UTC [Composer] Debug -> DEBU 745 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.254 UTC [Composer] Debug -> DEBU 746 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.254 UTC [Composer] Debug -> DEBU 747 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.254 UTC [Composer] Debug -> DEBU 748 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.255 UTC [Composer] Debug -> DEBU 749 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.255 UTC [Composer] Debug -> DEBU 74a @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.255 UTC [Composer] Debug -> DEBU 74b @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.260 UTC [Composer] Debug -> DEBU 74c @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:48.261 UTC [Composer] Debug -> DEBU 74d Exiting DataCollection.get 0 2017-07-19 23:33:48.261 UTC [Composer] Debug -> DEBU 74e @JS : Context :[object Object]() < 2017-07-19 23:33:48.262 UTC [Composer] Debug -> DEBU 74f @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.262 UTC [Composer] Debug -> DEBU 750 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.262 UTC [Composer] Debug -> DEBU 751 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:48.266 UTC [Composer] Debug -> DEBU 752 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:48.266 UTC [Composer] Debug -> DEBU 753 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 754 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 755 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 756 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 757 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 758 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 759 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 75a Exiting Context.getDataService 1 2017-07-19 23:33:48.267 UTC [Composer] Debug -> DEBU 75b Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.269 UTC [Composer] Debug -> DEBU 75c Exiting Engine.Invoke 0xc420637020 2017-07-19 23:33:48.269 UTC [Composer] Debug -> DEBU 75d @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.269 UTC [Composer] Debug -> DEBU 75e Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc4210335c0 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 75f Exiting NewDataCollection &{0xc420142c88 0xc42013a900 $sysregistries} 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 760 Exiting DataService.getCollection 0 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 761 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 762 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 763 Exiting Context.getDataService 1 2017-07-19 23:33:48.270 UTC [Composer] Debug -> DEBU 764 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.271 UTC [Composer] Debug -> DEBU 765 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:48.271 UTC [Composer] Debug -> DEBU 766 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.272 UTC [Composer] Debug -> DEBU 767 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc421033c90 2017-07-19 23:33:48.272 UTC [Composer] Debug -> DEBU 768 Exiting NewDataCollection &{0xc420150b78 0xc42013a900 $sysidentities} 2017-07-19 23:33:48.272 UTC [Composer] Debug -> DEBU 76a Exiting DataService.getCollection 0 2017-07-19 23:33:48.272 UTC [Composer] Debug -> DEBU 769 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:48.272 UTC [Composer] Debug -> DEBU 76b @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 76c @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 76d Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 76e Exiting Context.getIdentityService 1 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 76f Entering IdentityService.getCurrentUserID &{0xc420144940} 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 770 Entering extractNameFromCreator 0xc42106e280 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 771 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 772 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 773 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 774 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 775 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 776 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.273 UTC [Composer] Debug -> DEBU 777 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 778 Exiting Context.getDataService 1 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 779 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77a Exiting extractNameFromCreator admin 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77d Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77b Common Name admin 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77e Exiting Context.getDataService 1 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 77f Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 780 Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 781 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.274 UTC [Composer] Debug -> DEBU 782 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.275 UTC [Composer] Debug -> DEBU 783 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.275 UTC [Composer] Debug -> DEBU 784 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.275 UTC [Composer] Debug -> DEBU 785 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.275 UTC [Composer] Debug -> DEBU 786 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 787 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 788 Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc42106f310 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 789 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc421064950 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78a @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78b Exiting NewDataCollection &{0xc420142cd0 0xc42008d500 $sysdata} 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78c Exiting NewDataCollection &{0xc4202fec48 0xc42055f200 $sysregistries} 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78d Exiting DataService.getCollection 0 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78f @JS : AccessController :constructor() < 2017-07-19 23:33:48.277 UTC [Composer] Debug -> DEBU 78e Exiting DataService.getCollection 0 2017-07-19 23:33:48.278 UTC [Composer] Debug -> DEBU 790 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 791 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 792 @JS : Context :initialize() < 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 793 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 794 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 795 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.279 UTC [Composer] Debug -> DEBU 796 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 797 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 798 Exiting Context.getDataService 1 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 799 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79a Exiting Context.getEventService 1 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79b Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79c Exiting Context.getIdentityService 1 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79d Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79e Exiting Context.getHTTPService 1 2017-07-19 23:33:48.280 UTC [Composer] Debug -> DEBU 79f @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a1 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a2 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a3 Exiting Context.getDataService 1 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a0 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a5 Entering DataCollection.get &{0xc42027a640} 2017-07-19 23:33:48.281 UTC [Composer] Debug -> DEBU 7a4 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.284 UTC [Composer] Debug -> DEBU 7a6 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc42106fa00 2017-07-19 23:33:48.284 UTC [Composer] Debug -> DEBU 7a7 Exiting NewDataCollection &{0xc420142d00 0xc42055f200 $sysidentities} 2017-07-19 23:33:48.284 UTC [Composer] Debug -> DEBU 7a8 Exiting DataService.getCollection 0 2017-07-19 23:33:48.285 UTC [Composer] Debug -> DEBU 7a9 Exiting DataCollection.get 0 2017-07-19 23:33:48.285 UTC [Composer] Debug -> DEBU 7aa @JS : Context :[object Object]() < 2017-07-19 23:33:48.285 UTC [Composer] Debug -> DEBU 7ab @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.286 UTC [Composer] Debug -> DEBU 7ac @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.286 UTC [Composer] Debug -> DEBU 7ad @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.286 UTC [Composer] Debug -> DEBU 7af @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.287 UTC [Composer] Debug -> DEBU 7b0 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.287 UTC [Composer] Debug -> DEBU 7b1 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.288 UTC [Composer] Debug -> DEBU 7b2 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.286 UTC [Composer] Debug -> DEBU 7ae @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.289 UTC [Composer] Debug -> DEBU 7b3 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.290 UTC [Composer] Debug -> DEBU 7b4 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:48.290 UTC [Composer] Debug -> DEBU 7b5 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.290 UTC [Composer] Debug -> DEBU 7b6 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:48.290 UTC [Composer] Debug -> DEBU 7b7 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7b8 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7b9 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7ba @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7bb Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7bc Exiting Context.getDataService 1 2017-07-19 23:33:48.291 UTC [Composer] Debug -> DEBU 7bd Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.293 UTC [Composer] Debug -> DEBU 7be Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc421043520 2017-07-19 23:33:48.293 UTC [Composer] Debug -> DEBU 7bf Exiting NewDataCollection &{0xc420142dc0 0xc42013b000 $sysregistries} 2017-07-19 23:33:48.293 UTC [Composer] Debug -> DEBU 7c0 Exiting DataService.getCollection 0 2017-07-19 23:33:48.294 UTC [Composer] Debug -> DEBU 7c1 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.294 UTC [Composer] Debug -> DEBU 7c2 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.294 UTC [Composer] Debug -> DEBU 7c3 Exiting Context.getDataService 1 2017-07-19 23:33:48.294 UTC [Composer] Debug -> DEBU 7c4 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.295 UTC [Composer] Debug -> DEBU 7c5 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.295 UTC [Composer] Debug -> DEBU 7c6 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.295 UTC [Composer] Debug -> DEBU 7c7 Entering IdentityService.getCurrentUserID &{0xc4201ce500} 2017-07-19 23:33:48.295 UTC [Composer] Debug -> DEBU 7c8 Entering extractNameFromCreator 0xc42069baa0 2017-07-19 23:33:48.295 UTC [Composer] Debug -> DEBU 7c9 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.298 UTC [Composer] Debug -> DEBU 7ca Exiting extractNameFromCreator admin 2017-07-19 23:33:48.298 UTC [Composer] Debug -> DEBU 7cb Common Name admin 2017-07-19 23:33:48.298 UTC [Composer] Debug -> DEBU 7cc Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.299 UTC [Composer] Debug -> DEBU 7cd @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.299 UTC [Composer] Debug -> DEBU 7ce @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:48.300 UTC [Composer] Debug -> DEBU 7d0 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.300 UTC [Composer] Debug -> DEBU 7d1 @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:48.300 UTC [Composer] Debug -> DEBU 7d2 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.301 UTC [Composer] Debug -> DEBU 7d3 Exiting Context.getDataService 1 2017-07-19 23:33:48.301 UTC [Composer] Debug -> DEBU 7d4 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.299 UTC [Composer] Debug -> DEBU 7cf @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.304 UTC [Composer] Debug -> DEBU 7d5 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc421043bf0 2017-07-19 23:33:48.304 UTC [Composer] Debug -> DEBU 7d6 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.304 UTC [Composer] Debug -> DEBU 7d7 Exiting NewDataCollection &{0xc420028fc8 0xc42013b000 $sysidentities} 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7d9 Exiting DataService.getCollection 0 2017-07-19 23:33:48.305 UTC [Composer] Debug -> DEBU 7d8 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7da @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7db @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7dc Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7dd Exiting Context.getIdentityService 1 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7de Entering IdentityService.getCurrentUserID &{0xc4201ce220} 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7df Entering extractNameFromCreator 0xc421065fc0 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7e0 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7e1 Exiting extractNameFromCreator admin 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7e2 Common Name admin 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7e3 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.306 UTC [Composer] Debug -> DEBU 7e4 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7e5 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7e6 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7e7 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7e8 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7e9 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7ea @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7eb @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7ec @JS : AccessController :constructor() < 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7ed @JS : Context :initialize() < 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7ee Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7ef Exiting Context.getDataService 1 2017-07-19 23:33:48.307 UTC [Composer] Debug -> DEBU 7f0 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.308 UTC [Composer] Debug -> DEBU 7f1 Exiting Context.getEventService 1 2017-07-19 23:33:48.308 UTC [Composer] Debug -> DEBU 7f2 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.308 UTC [Composer] Debug -> DEBU 7f3 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.308 UTC [Composer] Debug -> DEBU 7f4 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.308 UTC [Composer] Debug -> DEBU 7f5 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.309 UTC [Composer] Debug -> DEBU 7f6 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.310 UTC [Composer] Debug -> DEBU 7f7 Exiting DataCollection.get 0 2017-07-19 23:33:48.310 UTC [Composer] Debug -> DEBU 7f8 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.317 UTC [Composer] Debug -> DEBU 7f9 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.321 UTC [Composer] Debug -> DEBU 7fa Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.323 UTC [Composer] Debug -> DEBU 7fb Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42013a900} 0xc4210c56d0 2017-07-19 23:33:48.323 UTC [Composer] Debug -> DEBU 7fc Exiting NewDataCollection &{0xc420028fd0 0xc42013a900 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.323 UTC [Composer] Debug -> DEBU 7fd Exiting DataService.getCollection 0 2017-07-19 23:33:48.324 UTC [Composer] Debug -> DEBU 7fe @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.325 UTC [Composer] Debug -> DEBU 7ff @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.326 UTC [Composer] Debug -> DEBU 800 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.326 UTC [Composer] Debug -> DEBU 801 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:48.326 UTC [Composer] Debug -> DEBU 802 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.326 UTC [Composer] Debug -> DEBU 803 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 804 @JS : AccessController :constructor() < 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 805 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 806 Exiting Context.getDataService 1 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 807 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 808 Exiting Context.getEventService 1 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 809 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 80a Exiting Context.getIdentityService 1 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 80b Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:48.327 UTC [Composer] Debug -> DEBU 80c Exiting Context.getHTTPService 1 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 80d @JS : Context :initialize() < 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 80e Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 80f Exiting Context.getDataService 1 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 810 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 811 Exiting Context.getEventService 1 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 812 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 813 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 814 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 815 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.329 UTC [Composer] Debug -> DEBU 816 @JS : Engine :invoke() Calling engine function getAllRegistries 2017-07-19 23:33:48.330 UTC [Composer] Debug -> DEBU 817 @JS : EngineRegistries :getAllRegistries() > [object Object], Transaction 2017-07-19 23:33:48.330 UTC [Composer] Debug -> DEBU 818 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.330 UTC [Composer] Debug -> DEBU 819 Exiting Context.getDataService 1 2017-07-19 23:33:48.330 UTC [Composer] Debug -> DEBU 81a Entering DataCollection.getAll &{0xc4201ce220} 2017-07-19 23:33:48.332 UTC [Composer] Debug -> DEBU 81b @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.332 UTC [Composer] Debug -> DEBU 81c @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.332 UTC [Composer] Debug -> DEBU 81d @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 81e Exiting Composer.createJavaScript 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 81f Entering NewContainer &{0xc42027a680} 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 820 Entering NewLoggingService &{0xc42027a680} &{0xc4202fe008 } 0xc4210ea600 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 821 Exiting NewLoggingService &{0xc4202fe008 } 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 822 Exiting NewContainer &{0xc4202fe008 0xc4210ec480} 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 823 Entering NewEngine &{0xc42027a680} &{0xc4202fe008 0xc4210ec480} 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 824 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.334 UTC [Composer] Debug -> DEBU 825 Entering Container.getLoggingService &{0xc42027a680} 2017-07-19 23:33:48.335 UTC [Composer] Debug -> DEBU 826 Exiting Container.getLoggingService 1 2017-07-19 23:33:48.335 UTC [Composer] Debug -> DEBU 827 @JS : Engine :constructor() > 2017-07-19 23:33:48.335 UTC [Composer] Debug -> DEBU 828 @JS : Engine :constructor() < 2017-07-19 23:33:48.335 UTC [Composer] Debug -> DEBU 829 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82a Exiting DataCollection.getAll 0 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82b Exiting NewEngine &{0xc4202fe008} 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82c Exiting NewComposer &{0xc4202fe008 0xc4210ea5f0 0xc420142f60} 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82d Exiting ComposerPool.Get &{0xc4202fe008 0xc4210ea5f0 0xc420142f60} 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82e Entering Composer.Invoke 0xc4210ead00 getAllRegistries [Transaction] 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 82f Entering NewContext &{0xc42027a680} &{0xc4202fe008} 0xc4210eadd0 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 830 Entering NewDataService &{0xc42027a680} &{0xc4202fe008 } 0xc4210eae90 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 831 Exiting NewDataService &{0xc4202fe008 0xc42008d900} 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 832 Entering NewIdentityService &{0xc42027a680} &{0xc4202fe008 0xc4210ec9a0 } 0xc4210eb040 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 833 Exiting NewIdentityService &{0xc4202fe008 0xc42008d900} 2017-07-19 23:33:48.336 UTC [Composer] Debug -> DEBU 834 Entering NewEventService &{0xc42027a680} &{0xc4202fe008 0xc4210ec9a0 0xc4210eca80 } 0xc4210eb1b0 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 835 Exiting NewEventServce &{0xc4202fe008 0xc42008d900} 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 836 Entering HTTPService &{0xc42027a680} &{0xc4202fe008 0xc4210ec9a0 0xc4210eca80 0xc4210ecb60 } 0xc4210eb320 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 837 Exiting HTTPService &{0xc4202fe008 0xc42008d900} 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 838 Exiting NewContext &{0xc4202fe008 0xc4210ec9a0 0xc4210eca80 0xc4210ecb60 0xc4210ecc40} 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 839 Entering Engine.Invoke &{0xc4202fe008 0xc4210ec9a0 0xc4210eca80 0xc4210ecb60 0xc4210ecc40} getAllRegistries [Transaction] 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 83a @JS : Engine :invoke() > [object Object], getAllRegistries, Transaction 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 83b @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.337 UTC [Composer] Debug -> DEBU 83c @JS : AclCompiler :processScript() < 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 83d Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 83e Exiting Context.getDataService 1 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 83f Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 840 Exiting Context.getEventService 1 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 841 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 842 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 843 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 844 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 845 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.338 UTC [Composer] Debug -> DEBU 846 @JS : Context :initialize() > 2017-07-19 23:33:48.339 UTC [Composer] Debug -> DEBU 847 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.341 UTC [Composer] Debug -> DEBU 848 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42013b000} 0xc4210eba90 2017-07-19 23:33:48.341 UTC [Composer] Debug -> DEBU 849 Exiting NewDataCollection &{0xc4202fed98 0xc42013b000 Transaction:default} 2017-07-19 23:33:48.342 UTC [Composer] Debug -> DEBU 84a Exiting DataService.getCollection 0 2017-07-19 23:33:48.342 UTC [Composer] Debug -> DEBU 84b @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.343 UTC [Composer] Debug -> DEBU 84c @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.343 UTC [Composer] Debug -> DEBU 84d @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.343 UTC [Composer] Debug -> DEBU 84e @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.343 UTC [Composer] Debug -> DEBU 84f @JS : ModelManager :constructor() > 2017-07-19 23:33:48.343 UTC [Composer] Debug -> DEBU 850 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.343 UTC [Composer] Info -> INFO 851 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.344 UTC [Composer] Debug -> DEBU 852 Entering EventService.transactionCommit &{0xc420144940} 2017-07-19 23:33:48.345 UTC [Composer] Debug -> DEBU 853 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.345 UTC [Composer] Debug -> DEBU 854 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.345 UTC [Composer] Debug -> DEBU 855 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.345 UTC [Composer] Debug -> DEBU 856 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.346 UTC [Composer] Debug -> DEBU 857 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.346 UTC [Composer] Debug -> DEBU 858 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.346 UTC [Composer] Info -> INFO 859 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.349 UTC [Composer] Debug -> DEBU 85a Exiting Composer.createJavaScript 2017-07-19 23:33:48.349 UTC [Composer] Debug -> DEBU 85b Entering NewContainer &{0xc4201cf6a0} 2017-07-19 23:33:48.349 UTC [Composer] Debug -> DEBU 85c Entering NewLoggingService &{0xc4201cf6a0} &{0xc420028030 } 0xc4210ad2f0 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 85d Exiting NewLoggingService &{0xc420028030 } 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 85e @JS : EventService :getEvents() > 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 85f Exiting NewContainer &{0xc420028030 0xc4211141c0} 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 860 Entering NewEngine &{0xc4201cf6a0} &{0xc420028030 0xc4211141c0} 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 861 Entering Container.getLoggingService &{0xc4201cf6a0} 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 863 Exiting Container.getLoggingService 1 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 862 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 864 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 865 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.350 UTC [Composer] Debug -> DEBU 866 @JS : Engine :constructor() > 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 867 @JS : EventService :getEvents() < 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 869 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 868 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86a Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86b @JS : Engine :constructor() < 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86c @JS : Engine :invoke() Calling engine function submitTransaction 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86e Exiting Engine.Invoke 0xc4210a15c0 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86d @JS : EngineRegistries :getAllRegistries() < [object Object] 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 86f Exiting NewEngine &{0xc420028030} 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 870 Exiting NewComposer &{0xc420028030 0xc4210ad2e0 0xc4202fede8} 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 871 Exiting ComposerPool.Get &{0xc420028030 0xc4210ad2e0 0xc4202fede8} 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 872 Entering Composer.Invoke 0xc4210adb40 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 873 Entering NewContext &{0xc4201cf6a0} &{0xc420028030} 0xc4210adc30 2017-07-19 23:33:48.354 UTC [Composer] Debug -> DEBU 874 Entering NewDataService &{0xc4201cf6a0} &{0xc420028030 } 0xc4210adce0 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 875 Exiting NewDataService &{0xc420028030 0xc420149000} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 876 Entering NewIdentityService &{0xc4201cf6a0} &{0xc420028030 0xc421114700 } 0xc4210ade90 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 877 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 878 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87a Exiting NewIdentityService &{0xc420028030 0xc420149000} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87b Entering NewEventService &{0xc4201cf6a0} &{0xc420028030 0xc421114700 0xc4211147e0 } 0xc42112e000 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87c Exiting NewEventServce &{0xc420028030 0xc420149000} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87d Entering HTTPService &{0xc4201cf6a0} &{0xc420028030 0xc421114700 0xc4211147e0 0xc4211148c0 } 0xc42112e180 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 879 Exiting Context.getDataService 1 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87e Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 87f Exiting HTTPService &{0xc420028030 0xc420149000} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 880 Exiting Context.getEventService 1 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 881 @JS : EngineTransactions :submitTransaction() > [object Object], default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#JURHULBMVL_c3","newOwner":"resource:org.example.mynetwork.Trader#JURHULBMVL_t0","transactionId":"44ed880c-9906-4349-998a-c2fad16e932d","timestamp":"2017-07-19T23:33:41.060Z"} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 882 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 883 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 885 Exiting NewContext &{0xc420028030 0xc421114700 0xc4211147e0 0xc4211148c0 0xc4211149a0} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 886 Exiting Context.getDataService 1 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 884 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 888 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 889 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 887 Entering Engine.Invoke &{0xc420028030 0xc421114700 0xc4211147e0 0xc4211148c0 0xc4211149a0} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 88a @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.355 UTC [Composer] Debug -> DEBU 88b @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.356 UTC [Composer] Debug -> DEBU 88c @JS : EngineTransactions :submitTransaction() Parsing transaction from JSON 2017-07-19 23:33:48.356 UTC [Composer] Debug -> DEBU 88d @JS : Context :initialize() > 2017-07-19 23:33:48.356 UTC [Composer] Debug -> DEBU 88e @JS : EngineTransactions :submitTransaction() Parsing transaction from parsed JSON object 2017-07-19 23:33:48.357 UTC [Composer] Debug -> DEBU 88f Exiting Engine.Invoke 0xc4210a19e0 2017-07-19 23:33:48.357 UTC [Composer] Debug -> DEBU 890 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.357 UTC [Composer] Debug -> DEBU 891 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 892 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 893 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 894 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 895 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 896 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 897 Exiting Context.getDataService 1 2017-07-19 23:33:48.358 UTC [Composer] Debug -> DEBU 898 Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 899 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89a Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89b Exiting Context.getDataService 1 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89c Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89d @JS : TransactionLogger :constructor() > Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d}, [object Object], [object Object] 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89e Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 89f Exiting Context.getDataService 1 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a0 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a1 Exiting Context.getEventService 1 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a2 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a3 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a4 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:48.359 UTC [Composer] Debug -> DEBU 8a5 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.360 UTC [Composer] Debug -> DEBU 8a6 @JS : TransactionLogger :constructor() < 2017-07-19 23:33:48.361 UTC [Composer] Debug -> DEBU 8a7 Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4210ddbb0 2017-07-19 23:33:48.361 UTC [Composer] Debug -> DEBU 8a8 Exiting NewDataCollection &{0xc4202fee40 0xc420149000 $sysdata} 2017-07-19 23:33:48.361 UTC [Composer] Debug -> DEBU 8a9 Exiting DataService.getCollection 0 2017-07-19 23:33:48.362 UTC [Composer] Debug -> DEBU 8aa Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4210bd520 2017-07-19 23:33:48.362 UTC [Composer] Debug -> DEBU 8ab @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.362 UTC [Composer] Debug -> DEBU 8ac Entering DataCollection.get &{0xc4201cf6a0} 2017-07-19 23:33:48.362 UTC [Composer] Debug -> DEBU 8ad @JS : EngineTransactions :submitTransaction() Parsed transaction, resolving it Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.362 UTC [Composer] Debug -> DEBU 8ae Exiting NewDataCollection &{0xc420029150 0xc42008d900 $sysdata} 2017-07-19 23:33:48.363 UTC [Composer] Debug -> DEBU 8af @JS : Resolver :constructor() > [object Object] 2017-07-19 23:33:48.363 UTC [Composer] Debug -> DEBU 8b0 @JS : Resolver :constructor() < 2017-07-19 23:33:48.363 UTC [Composer] Debug -> DEBU 8b1 Exiting DataService.getCollection 0 2017-07-19 23:33:48.363 UTC [Composer] Debug -> DEBU 8b2 @JS : Resolver :resolve() > Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.364 UTC [Composer] Debug -> DEBU 8b3 Exiting DataCollection.get 0 2017-07-19 23:33:48.364 UTC [Composer] Debug -> DEBU 8b4 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d}, [object Object] 2017-07-19 23:33:48.364 UTC [Composer] Debug -> DEBU 8b5 @JS : Context :[object Object]() < 2017-07-19 23:33:48.365 UTC [Composer] Debug -> DEBU 8b6 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.365 UTC [Composer] Debug -> DEBU 8b7 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.365 UTC [Composer] Debug -> DEBU 8b8 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.365 UTC [Composer] Debug -> DEBU 8b9 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.365 UTC [Composer] Debug -> DEBU 8ba Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:48.366 UTC [Composer] Debug -> DEBU 8bb @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:48.367 UTC [Composer] Debug -> DEBU 8bc @JS : Resolver :resolveResourceOrConcept() Looking at property commodity 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8bd Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8be Exiting Context.getDataService 1 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8bf @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Commodity#JURHULBMVL_c3} 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8c0 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8c1 Exiting Context.getEventService 1 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8c2 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.368 UTC [Composer] Debug -> DEBU 8c3 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.369 UTC [Composer] Debug -> DEBU 8c4 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.369 UTC [Composer] Debug -> DEBU 8c5 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.374 UTC [Composer] Debug -> DEBU 8c6 @JS : Resolver :resolveResourceOrConcept() Looking at property newOwner 2017-07-19 23:33:48.378 UTC [Composer] Debug -> DEBU 8c7 Exiting DataCollection.get 0 2017-07-19 23:33:48.378 UTC [Composer] Debug -> DEBU 8c8 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:48.378 UTC [Composer] Debug -> DEBU 8c9 @JS : Context :[object Object]() < 2017-07-19 23:33:48.378 UTC [Composer] Debug -> DEBU 8ca @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t0} 2017-07-19 23:33:48.378 UTC [Composer] Debug -> DEBU 8cb @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.379 UTC [Composer] Debug -> DEBU 8cc @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.379 UTC [Composer] Debug -> DEBU 8cd @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8ce @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8cf Entering Engine.handleCallback 0xc42038af60 &{0xc420144940} 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d0 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d1 Entering EventService.transactionCommit &{0xc4201ce220} 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d2 Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d3 Entering ComposerPool.Put &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d4 Exiting ComposerPool.Put true 2017-07-19 23:33:48.381 UTC [Composer] Debug -> DEBU 8d5 Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:48.383 UTC [Composer] Debug -> DEBU 8d6 @JS : EventService :getEvents() > 2017-07-19 23:33:48.393 UTC [Composer] Debug -> DEBU 8d7 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:48.393 UTC [Composer] Debug -> DEBU 8d8 @JS : EventService :getEvents() < 2017-07-19 23:33:48.393 UTC [Composer] Debug -> DEBU 8d9 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.393 UTC [Composer] Debug -> DEBU 8da Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.395 UTC [Composer] Debug -> DEBU 8db @JS : Resolver :resolveResourceOrConcept() Looking at property transactionId 2017-07-19 23:33:48.395 UTC [Composer] Debug -> DEBU 8dc @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 44ed880c-9906-4349-998a-c2fad16e932d 2017-07-19 23:33:48.397 UTC [Composer] Debug -> DEBU 8dd @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:48.397 UTC [Composer] Debug -> DEBU 8de @JS : Resolver :resolveResourceOrConcept() Looking at property timestamp 2017-07-19 23:33:48.400 UTC [Composer] Debug -> DEBU 8df Entering getLogging 0xc42112f860 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e0 Entering Chaincode.Invoke 0xc42112f850 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e1 Entering ComposerPool.Get 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e2 Exiting ComposerPool.Get &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e3 Entering Composer.Invoke 0xc42112fcc0 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"NOGNXFTMNQ_t5","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e4 Entering NewContext &{0xc420140e60} &{0xc420150140} 0xc42112fdb0 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e5 Entering NewDataService &{0xc420140e60} &{0xc420150140 } 0xc42112fe70 2017-07-19 23:33:48.402 UTC [Composer] Debug -> DEBU 8e6 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 2017-07-19 23:33:41.060+00:00 2017-07-19 23:33:48.403 UTC [Composer] Debug -> DEBU 8e7 Exiting NewDataService &{0xc420150140 0xc421160a80} 2017-07-19 23:33:48.403 UTC [Composer] Debug -> DEBU 8e8 Entering NewIdentityService &{0xc420140e60} &{0xc420150140 0xc421115ea0 } 0xc421176020 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8e9 Exiting NewIdentityService &{0xc420150140 0xc421160a80} 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8ea Entering NewEventService &{0xc420140e60} &{0xc420150140 0xc421115ea0 0xc421115f80 } 0xc421176190 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8eb Exiting NewEventServce &{0xc420150140 0xc421160a80} 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8ec Entering HTTPService &{0xc420140e60} &{0xc420150140 0xc421115ea0 0xc421115f80 0xc42117a060 } 0xc421176300 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8ed Exiting HTTPService &{0xc420150140 0xc421160a80} 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8ee Exiting NewContext &{0xc420150140 0xc421115ea0 0xc421115f80 0xc42117a060 0xc42117a140} 2017-07-19 23:33:48.404 UTC [Composer] Debug -> DEBU 8ef Entering Engine.Invoke &{0xc420150140 0xc421115ea0 0xc421115f80 0xc42117a060 0xc42117a140} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"NOGNXFTMNQ_t5","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f0 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"NOGNXFTMNQ_t5","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f1 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f2 @JS : Context :initialize() > 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f3 Exiting Engine.Invoke 0xc4210b5aa0 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f4 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f5 Exiting Context.getDataService 1 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f6 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.405 UTC [Composer] Debug -> DEBU 8f7 Exiting Context.getEventService 1 2017-07-19 23:33:48.406 UTC [Composer] Debug -> DEBU 8f8 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.406 UTC [Composer] Debug -> DEBU 8f9 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.406 UTC [Composer] Debug -> DEBU 8fa Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.406 UTC [Composer] Debug -> DEBU 8fb Exiting Context.getHTTPService 1 2017-07-19 23:33:48.413 UTC [Composer] Debug -> DEBU 8fc @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Commodity#JURHULBMVL_c3}, [object Object] 2017-07-19 23:33:48.413 UTC [Composer] Debug -> DEBU 8fd @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Commodity#JURHULBMVL_c3} 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 8fe @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 8ff @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 900 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 901 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 902 Exiting Context.getDataService 1 2017-07-19 23:33:48.414 UTC [Composer] Debug -> DEBU 903 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.415 UTC [Composer] Debug -> DEBU 904 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Commodity super=Asset enum=false abstract=false} 2017-07-19 23:33:48.417 UTC [Composer] Debug -> DEBU 905 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc42116a180 2017-07-19 23:33:48.417 UTC [Composer] Debug -> DEBU 906 Exiting NewDataCollection &{0xc4202fef58 0xc421160a80 $sysdata} 2017-07-19 23:33:48.417 UTC [Composer] Debug -> DEBU 907 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Commodity 2017-07-19 23:33:48.419 UTC [Composer] Debug -> DEBU 908 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.419 UTC [Composer] Debug -> DEBU 909 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.420 UTC [Composer] Debug -> DEBU 90a @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.420 UTC [Composer] Debug -> DEBU 90b Exiting DataService.getCollection 0 2017-07-19 23:33:48.420 UTC [Composer] Debug -> DEBU 90c @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.420 UTC [Composer] Debug -> DEBU 90d Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:48.422 UTC [Composer] Debug -> DEBU 90e Exiting DataCollection.get 0 2017-07-19 23:33:48.425 UTC [Composer] Debug -> DEBU 90f Exiting DataCollection.get 0 2017-07-19 23:33:48.425 UTC [Composer] Debug -> DEBU 910 @JS : Context :[object Object]() < 2017-07-19 23:33:48.425 UTC [Composer] Debug -> DEBU 911 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.426 UTC [Composer] Debug -> DEBU 912 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.426 UTC [Composer] Debug -> DEBU 914 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:48.426 UTC [Composer] Debug -> DEBU 913 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.426 UTC [Composer] Debug -> DEBU 915 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.427 UTC [Composer] Debug -> DEBU 916 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.427 UTC [Composer] Debug -> DEBU 917 Exiting Composer.createJavaScript 2017-07-19 23:33:48.427 UTC [Composer] Debug -> DEBU 918 Entering NewContainer &{0xc4202a2680} 2017-07-19 23:33:48.427 UTC [Composer] Debug -> DEBU 919 Entering NewLoggingService &{0xc4202a2680} &{0xc420150170 } 0xc421142fe0 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91a Exiting NewLoggingService &{0xc420150170 } 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91b Exiting NewContainer &{0xc420150170 0xc421196020} 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91c Entering NewEngine &{0xc4202a2680} &{0xc420150170 0xc421196020} 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91d Entering Container.getLoggingService &{0xc4202a2680} 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91e Exiting Container.getLoggingService 1 2017-07-19 23:33:48.428 UTC [Composer] Debug -> DEBU 91f @JS : Engine :constructor() > 2017-07-19 23:33:48.429 UTC [Composer] Debug -> DEBU 920 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc42116af70 2017-07-19 23:33:48.429 UTC [Composer] Debug -> DEBU 921 Exiting NewDataCollection &{0xc420150e88 0xc42055f200 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:48.429 UTC [Composer] Debug -> DEBU 922 Exiting DataService.getCollection 0 2017-07-19 23:33:48.430 UTC [Composer] Debug -> DEBU 923 @JS : Engine :constructor() < 2017-07-19 23:33:48.430 UTC [Composer] Debug -> DEBU 924 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.431 UTC [Composer] Debug -> DEBU 925 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 926 Exiting NewEngine &{0xc420150170} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 927 Exiting NewComposer &{0xc420150170 0xc421142fd0 0xc420029268} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 928 Exiting ComposerPool.Get &{0xc420150170 0xc421142fd0 0xc420029268} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 929 Entering Composer.Invoke 0xc421143830 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92a Entering NewContext &{0xc4202a2680} &{0xc420150170} 0xc421143920 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92b Entering NewDataService &{0xc4202a2680} &{0xc420150170 } 0xc4211439d0 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92c Exiting NewDataService &{0xc420150170 0xc4202a4200} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92d Entering NewIdentityService &{0xc4202a2680} &{0xc420150170 0xc4211965c0 } 0xc421143b80 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92e Exiting NewIdentityService &{0xc420150170 0xc4202a4200} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 92f Entering NewEventService &{0xc4202a2680} &{0xc420150170 0xc4211965c0 0xc4211966a0 } 0xc421143cf0 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 930 Exiting NewEventServce &{0xc420150170 0xc4202a4200} 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 931 Entering HTTPService &{0xc4202a2680} &{0xc420150170 0xc4211965c0 0xc4211966a0 0xc421196780 } 0xc421143e70 2017-07-19 23:33:48.434 UTC [Composer] Debug -> DEBU 932 Exiting HTTPService &{0xc420150170 0xc4202a4200} 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 933 Exiting NewContext &{0xc420150170 0xc4211965c0 0xc4211966a0 0xc421196780 0xc421196860} 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 934 Entering Engine.Invoke &{0xc420150170 0xc4211965c0 0xc4211966a0 0xc421196780 0xc421196860} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 935 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 936 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 937 Entering Engine.handleCallback 0xc4203855c0 &{0xc4201ce220} 2017-07-19 23:33:48.435 UTC [Composer] Debug -> DEBU 938 @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.436 UTC [Composer] Debug -> DEBU 939 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.436 UTC [Composer] Debug -> DEBU 93a @JS : ModelManager :constructor() < 2017-07-19 23:33:48.436 UTC [Composer] Debug -> DEBU 93b @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.436 UTC [Composer] Debug -> DEBU 93c @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 93d @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 93e @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 93f Exiting Engine.handleCallback 0 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 940 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 941 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 942 Exiting Composer.Invoke [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 943 Entering ComposerPool.Put &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 944 Exiting ComposerPool.Put true 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 945 Exiting Chaincode.Invoke 200 [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 946 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 947 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 948 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 949 Exiting Context.getDataService 1 2017-07-19 23:33:48.437 UTC [Composer] Debug -> DEBU 94a Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.438 UTC [Composer] Debug -> DEBU 94b @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.439 UTC [Composer] Debug -> DEBU 94c @JS : Context :initialize() > 2017-07-19 23:33:48.439 UTC [Composer] Debug -> DEBU 94d @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:48.440 UTC [Composer] Debug -> DEBU 94e @JS : Resolver :resolveRelationship() Getting resource in registry JURHULBMVL_c3 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 94f Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 950 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc42112daa0 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 951 Exiting NewDataCollection &{0xc4200292d8 0xc421160a80 $sysdata} 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 952 Exiting DataService.getCollection 0 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 953 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.441 UTC [Composer] Debug -> DEBU 954 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:48.442 UTC [Composer] Debug -> DEBU 955 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.444 UTC [Composer] Debug -> DEBU 956 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.446 UTC [Composer] Debug -> DEBU 957 Exiting Engine.Invoke 0xc42112ade0 2017-07-19 23:33:48.447 UTC [Composer] Debug -> DEBU 958 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.447 UTC [Composer] Debug -> DEBU 959 Exiting DataCollection.get 0 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95a @JS : Context :[object Object]() < 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95b @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95c @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95d @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95e @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.448 UTC [Composer] Debug -> DEBU 95f @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 960 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 961 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 962 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 963 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 964 Exiting Context.getDataService 1 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 966 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 965 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.449 UTC [Composer] Debug -> DEBU 967 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.450 UTC [Composer] Debug -> DEBU 968 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.450 UTC [Composer] Debug -> DEBU 969 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.450 UTC [Composer] Debug -> DEBU 96b @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 96c @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 96d @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 96e @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 96f @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 970 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.451 UTC [Composer] Debug -> DEBU 971 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 972 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 973 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 974 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 975 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 976 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.450 UTC [Composer] Debug -> DEBU 96a @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 977 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 978 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 979 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 97a @JS : ModelManager :constructor() < 2017-07-19 23:33:48.452 UTC [Composer] Debug -> DEBU 97b @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 97c @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 97d @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 97e @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 97f @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 980 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 984 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 981 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 985 Exiting Composer.createJavaScript 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 987 Entering NewContainer &{0xc4202a2640} 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 986 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc4211c8340 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 989 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 983 Exiting DataCollection.get 0 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 982 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98b @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98a Exiting NewDataCollection &{0xc420143188 0xc421160a80 $sysdata} 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98d Exiting DataService.getCollection 0 2017-07-19 23:33:48.453 UTC [Composer] Debug -> DEBU 988 Entering NewLoggingService &{0xc4202a2640} &{0xc420150168 } 0xc421177200 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98c Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98e Exiting Context.getDataService 1 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 98f Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:48.454 UTC [Composer] Debug -> DEBU 990 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.455 UTC [Composer] Debug -> DEBU 991 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.455 UTC [Composer] Debug -> DEBU 992 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 993 Exiting NewLoggingService &{0xc420150168 } 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 994 Exiting NewContainer &{0xc420150168 0xc42117aca0} 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 995 Entering NewEngine &{0xc4202a2640} &{0xc420150168 0xc42117aca0} 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 996 Entering Container.getLoggingService &{0xc4202a2640} 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 997 Exiting Container.getLoggingService 1 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 998 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 999 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 99a Exiting Context.getDataService 1 2017-07-19 23:33:48.456 UTC [Composer] Debug -> DEBU 99b Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.458 UTC [Composer] Debug -> DEBU 99c @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.458 UTC [Composer] Debug -> DEBU 99d Entering getLogging 0xc4211c8960 2017-07-19 23:33:48.458 UTC [Composer] Debug -> DEBU 99e Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc4211a55f0 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 99f Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc4211c8a80 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a0 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a1 Exiting NewDataCollection &{0xc420143228 0xc420148900 $sysregistries} 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a3 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a4 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a2 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a5 Exiting Context.getDataService 1 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a6 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:48.459 UTC [Composer] Debug -> DEBU 9a7 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9a8 Exiting DataService.getCollection 0 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9a9 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9aa @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9ac Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9ad Exiting Context.getDataService 1 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9ae Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.460 UTC [Composer] Debug -> DEBU 9ab @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.461 UTC [Composer] Debug -> DEBU 9af @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.461 UTC [Composer] Debug -> DEBU 9b0 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.461 UTC [Composer] Debug -> DEBU 9b1 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.462 UTC [Composer] Debug -> DEBU 9b2 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b4 Entering Chaincode.Invoke 0xc4211c8950 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b5 Entering ComposerPool.Get 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b6 Exiting ComposerPool.Get &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b7 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc4211ea070 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b9 Exiting NewDataCollection &{0xc420143268 0xc420148900 $sysidentities} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9ba Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc4211c8dc0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9b8 Entering Composer.Invoke 0xc4211f2020 submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#TOSEDVQKUV_c1","newOwner":"resource:org.example.mynetwork.Trader#TOSEDVQKUV_t1","transactionId":"09403b58-3126-45d5-b650-9f4ca0ec3a81","timestamp":"2017-07-19T23:33:43.372Z"}] 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9bc Entering NewContext &{0xc420144940} &{0xc420142268} 0xc4211ea2f0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9bd Entering NewDataService &{0xc420144940} &{0xc420142268 } 0xc4211ea3b0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9be Exiting NewDataCollection &{0xc420150f70 0xc420149300 $sysdata} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9bf Exiting NewDataService &{0xc420142268 0xc4211c6580} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c0 Exiting DataService.getCollection 0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9bb Exiting DataService.getCollection 0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c1 Entering NewIdentityService &{0xc420144940} &{0xc420142268 0xc421187f80 } 0xc4211ea560 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c2 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c3 Exiting NewIdentityService &{0xc420142268 0xc4211c6580} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c4 Entering NewEventService &{0xc420144940} &{0xc420142268 0xc421187f80 0xc421197de0 } 0xc4211f21c0 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c5 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c7 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c8 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9c9 Entering IdentityService.getCurrentUserID &{0xc420141340} 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9ca Entering extractNameFromCreator 0xc4211ea980 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9cb creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.463 UTC [Composer] Debug -> DEBU 9c6 Exiting NewEventServce &{0xc420142268 0xc4211c6580} 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9cc Entering HTTPService &{0xc420144940} &{0xc420142268 0xc421187f80 0xc421197de0 0xc421197ec0 } 0xc4211c9040 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9cd Exiting HTTPService &{0xc420142268 0xc4211c6580} 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9ce Exiting extractNameFromCreator admin 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9cf Common Name admin 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9d0 Exiting NewDataCollection &{0xc420029370 0xc4202a4200 $sysdata} 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9d1 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9d2 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9d3 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.464 UTC [Composer] Debug -> DEBU 9d4 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.465 UTC [Composer] Debug -> DEBU 9d5 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.465 UTC [Composer] Debug -> DEBU 9d6 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.465 UTC [Composer] Debug -> DEBU 9d7 @JS : AccessController :constructor() < 2017-07-19 23:33:48.469 UTC [Composer] Debug -> DEBU 9d8 Exiting NewContext &{0xc420142268 0xc421187f80 0xc421197de0 0xc421197ec0 0xc4211b0d40} 2017-07-19 23:33:48.469 UTC [Composer] Debug -> DEBU 9d9 Entering Engine.Invoke &{0xc420142268 0xc421187f80 0xc421197de0 0xc421197ec0 0xc4211b0d40} submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#TOSEDVQKUV_c1","newOwner":"resource:org.example.mynetwork.Trader#TOSEDVQKUV_t1","transactionId":"09403b58-3126-45d5-b650-9f4ca0ec3a81","timestamp":"2017-07-19T23:33:43.372Z"}] 2017-07-19 23:33:48.462 UTC [Composer] Debug -> DEBU 9b3 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.469 UTC [Composer] Debug -> DEBU 9da @JS : AccessController :check() > org.example.mynetwork.Commodity#JURHULBMVL_c3, READ 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9db Exiting DataService.getCollection 0 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9dc @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9dd @JS : Engine :constructor() > 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9de @JS : Engine :constructor() < 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9df Exiting NewEngine &{0xc420150168} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e0 Exiting NewComposer &{0xc420150168 0xc4211771f0 0xc4202fefa8} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e1 Exiting ComposerPool.Get &{0xc420150168 0xc4211771f0 0xc4202fefa8} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e2 Entering Composer.Invoke 0xc421208000 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e3 Entering NewContext &{0xc4202a2640} &{0xc420150168} 0xc4212080f0 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e4 Entering NewDataService &{0xc4202a2640} &{0xc420150168 } 0xc4212081a0 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e5 Exiting NewDataService &{0xc420150168 0xc42008de00} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e6 Entering NewIdentityService &{0xc4202a2640} &{0xc420150168 0xc42117b480 } 0xc421208350 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e7 Exiting NewIdentityService &{0xc420150168 0xc42008de00} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e8 Entering NewEventService &{0xc4202a2640} &{0xc420150168 0xc42117b480 0xc42117b560 } 0xc4212084c0 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9e9 Exiting NewEventServce &{0xc420150168 0xc42008de00} 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9ea Entering HTTPService &{0xc4202a2640} &{0xc420150168 0xc42117b480 0xc42117b560 0xc42117b640 } 0xc421208640 2017-07-19 23:33:48.470 UTC [Composer] Debug -> DEBU 9eb Exiting HTTPService &{0xc420150168 0xc42008de00} 2017-07-19 23:33:48.471 UTC [Composer] Debug -> DEBU 9ed @JS : AccessController :check() No participant 2017-07-19 23:33:48.471 UTC [Composer] Debug -> DEBU 9ec @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.471 UTC [Composer] Debug -> DEBU 9ee Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:48.471 UTC [Composer] Debug -> DEBU 9ef @JS : Engine :invoke() > [object Object], submitTransaction, default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#TOSEDVQKUV_c1","newOwner":"resource:org.example.mynetwork.Trader#TOSEDVQKUV_t1","transactionId":"09403b58-3126-45d5-b650-9f4ca0ec3a81","timestamp":"2017-07-19T23:33:43.372Z"} 2017-07-19 23:33:48.471 UTC [Composer] Debug -> DEBU 9f0 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f1 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f2 Entering DataCollection.get &{0xc4202a2680} 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f3 Exiting NewContext &{0xc420150168 0xc42117b480 0xc42117b560 0xc42117b640 0xc42117b720} 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f4 Entering Engine.Invoke &{0xc420150168 0xc42117b480 0xc42117b560 0xc42117b640 0xc42117b720} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f5 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:48.472 UTC [Composer] Debug -> DEBU 9f6 @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.473 UTC [Composer] Debug -> DEBU 9f7 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.474 UTC [Composer] Debug -> DEBU 9f8 @JS : Context :initialize() > 2017-07-19 23:33:48.474 UTC [Composer] Debug -> DEBU 9f9 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9fa @JS : Context :initialize() < 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9fb @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9fd Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9fc Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9fe Exiting Context.getDataService 1 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU 9ff Exiting Context.getDataService 1 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a00 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a01 Exiting Context.getEventService 1 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a03 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a04 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a05 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a06 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a07 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.475 UTC [Composer] Debug -> DEBU a02 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.476 UTC [Composer] Debug -> DEBU a08 @JS : Context :initialize() > 2017-07-19 23:33:48.476 UTC [Composer] Debug -> DEBU a09 @JS : AccessController :check() < 2017-07-19 23:33:48.477 UTC [Composer] Debug -> DEBU a0b @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.476 UTC [Composer] Debug -> DEBU a0a Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:48.477 UTC [Composer] Debug -> DEBU a0c Exiting DataCollection.get 0 2017-07-19 23:33:48.478 UTC [Composer] Debug -> DEBU a0d Exiting DataCollection.get 0 2017-07-19 23:33:48.478 UTC [Composer] Debug -> DEBU a0e @JS : Context :[object Object]() < 2017-07-19 23:33:48.478 UTC [Composer] Debug -> DEBU a0f @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.478 UTC [Composer] Debug -> DEBU a10 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.478 UTC [Composer] Debug -> DEBU a11 @JS : Context :[object Object]() < 2017-07-19 23:33:48.479 UTC [Composer] Debug -> DEBU a12 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc4211c9860 2017-07-19 23:33:48.479 UTC [Composer] Debug -> DEBU a13 Exiting NewDataCollection &{0xc4202ff050 0xc420149900 $sysdata} 2017-07-19 23:33:48.479 UTC [Composer] Debug -> DEBU a14 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.480 UTC [Composer] Debug -> DEBU a15 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.480 UTC [Composer] Debug -> DEBU a16 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.480 UTC [Composer] Debug -> DEBU a17 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.482 UTC [Composer] Debug -> DEBU a18 Exiting DataCollection.get 0 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a19 @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1a Exiting Composer.createJavaScript 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1b Entering NewContainer &{0xc4201450e0} 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1c Entering NewLoggingService &{0xc4201450e0} &{0xc420142270 } 0xc421232540 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1d Exiting NewLoggingService &{0xc420142270 } 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1e Exiting NewContainer &{0xc420142270 0xc4211f5e20} 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a1f Entering NewEngine &{0xc4201450e0} &{0xc420142270 0xc4211f5e20} 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a20 Entering Container.getLoggingService &{0xc4201450e0} 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a21 Exiting Container.getLoggingService 1 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a22 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.484 UTC [Composer] Debug -> DEBU a23 Exiting Engine.Invoke 0xc4211e84e0 2017-07-19 23:33:48.485 UTC [Composer] Debug -> DEBU a24 @JS : Context :[object Object]() < 2017-07-19 23:33:48.485 UTC [Composer] Debug -> DEBU a25 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.485 UTC [Composer] Debug -> DEBU a26 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Commodity#JURHULBMVL_c3}, [object Object] 2017-07-19 23:33:48.486 UTC [Composer] Debug -> DEBU a27 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a28 @JS : Engine :constructor() > 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a29 @JS : Engine :constructor() < 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2a Exiting NewEngine &{0xc420142270} 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2b Exiting NewComposer &{0xc420142270 0xc421232530 0xc420143368} 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2c Exiting ComposerPool.Get &{0xc420142270 0xc421232530 0xc420143368} 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2d Entering Composer.Invoke 0xc421232e60 getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2e Entering NewContext &{0xc4201450e0} &{0xc420142270} 0xc421232f40 2017-07-19 23:33:48.489 UTC [Composer] Debug -> DEBU a2f Entering NewDataService &{0xc4201450e0} &{0xc420142270 } 0xc421233000 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a30 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a31 Exiting NewDataService &{0xc420142270 0xc420149600} 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a32 Entering NewIdentityService &{0xc4201450e0} &{0xc420142270 0xc42123c400 } 0xc4212331b0 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a33 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a34 Exiting DataService.getCollection 0 2017-07-19 23:33:48.491 UTC [Composer] Debug -> DEBU a35 Exiting NewIdentityService &{0xc420142270 0xc420149600} 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a37 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a36 Entering NewEventService &{0xc4201450e0} &{0xc420142270 0xc42123c400 0xc42123c4e0 } 0xc4211c9cf0 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a38 Exiting Composer.createJavaScript 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a39 Exiting NewEventServce &{0xc420142270 0xc420149600} 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3b Entering HTTPService &{0xc4201450e0} &{0xc420142270 0xc42123c400 0xc42123c4e0 0xc4211b1620 } 0xc4211c9e70 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3a Entering NewContainer &{0xc4202a2220} 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3c Entering NewLoggingService &{0xc4202a2220} &{0xc420150158 } 0xc4212096a0 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3d Exiting HTTPService &{0xc420142270 0xc420149600} 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3e Exiting NewLoggingService &{0xc420150158 } 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a3f @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a40 Exiting NewContext &{0xc420142270 0xc42123c400 0xc42123c4e0 0xc4211b1620 0xc4211b1700} 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a41 Entering Engine.Invoke &{0xc420142270 0xc42123c400 0xc42123c4e0 0xc4211b1620 0xc4211b1700} getRegistry [Participant org.example.mynetwork.Trader] 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a42 @JS : Engine :invoke() > [object Object], getRegistry, Participant,org.example.mynetwork.Trader 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a43 @JS : Resolver :resolveResourceOrConcept() Looking at property tradingSymbol 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a44 Exiting Engine.Invoke 0xc4211a6720 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a45 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a46 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.492 UTC [Composer] Debug -> DEBU a47 @JS : Context :initialize() > 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a48 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a49 Exiting Engine.Invoke 0xc4211e8ba0 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a4a @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a4b @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a4c @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a4d @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.493 UTC [Composer] Debug -> DEBU a4e @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a4f @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a50 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a51 Exiting NewContainer &{0xc420150158 0xc42123e0e0} 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a52 Entering NewEngine &{0xc4202a2220} &{0xc420150158 0xc42123e0e0} 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a53 Entering Container.getLoggingService &{0xc4202a2220} 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a54 Exiting Container.getLoggingService 1 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a55 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a56 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a57 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.494 UTC [Composer] Debug -> DEBU a58 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a59 @JS : Engine :constructor() > 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5a @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring JURHULBMVL_c3 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5b @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5d @JS : Resolver :resolveResourceOrConcept() Looking at property description 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5e @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Sample Commodity 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5c Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a60 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a5f @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.495 UTC [Composer] Debug -> DEBU a61 Exiting Context.getDataService 1 2017-07-19 23:33:48.496 UTC [Composer] Debug -> DEBU a62 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.496 UTC [Composer] Debug -> DEBU a63 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.496 UTC [Composer] Debug -> DEBU a64 @JS : Engine :constructor() < 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a65 @JS : Resolver :resolveResourceOrConcept() Looking at property mainExchange 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a66 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a67 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a68 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a6a @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring IDK 2017-07-19 23:33:48.497 UTC [Composer] Debug -> DEBU a69 Exiting NewEngine &{0xc420150158} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a6b @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a6d Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4212521a0 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a6e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a6f Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a70 Exiting Context.getDataService 1 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a71 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a72 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a73 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a6c Exiting NewComposer &{0xc420150158 0xc421209690 0xc4202ff098} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a74 Exiting ComposerPool.Get &{0xc420150158 0xc421209690 0xc4202ff098} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a75 Entering Composer.Invoke 0xc421240cf0 getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a76 Entering NewContext &{0xc4202a2220} &{0xc420150158} 0xc421240de0 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a77 Entering NewDataService &{0xc4202a2220} &{0xc420150158 } 0xc421240e90 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a78 Exiting NewDataService &{0xc420150158 0xc42013b600} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a79 Entering NewIdentityService &{0xc4202a2220} &{0xc420150158 0xc4212561c0 } 0xc421241040 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a7a Exiting NewIdentityService &{0xc420150158 0xc42013b600} 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a7c @JS : Resolver :resolveResourceOrConcept() Looking at property quantity 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a7d @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a7f @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a80 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 0 2017-07-19 23:33:48.498 UTC [Composer] Debug -> DEBU a7b Entering NewEventService &{0xc4202a2220} &{0xc420150158 0xc4212561c0 0xc4212562a0 } 0xc4212411b0 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a81 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a82 Exiting NewEventServce &{0xc420150158 0xc42013b600} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a83 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a84 Entering HTTPService &{0xc4202a2220} &{0xc420150158 0xc4212561c0 0xc4212562a0 0xc42123e780 } 0xc4212524f0 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a85 Exiting Context.getDataService 1 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a87 Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a86 Exiting HTTPService &{0xc420150158 0xc42013b600} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a88 Exiting NewContext &{0xc420150158 0xc4212561c0 0xc4212562a0 0xc42123e780 0xc42123e860} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a7e Exiting NewDataCollection &{0xc4201433e0 0xc4211c6580 $sysdata} 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a89 Entering Engine.Invoke &{0xc420150158 0xc4212561c0 0xc4212562a0 0xc42123e780 0xc42123e860} getRegistry [Asset org.example.mynetwork.Commodity] 2017-07-19 23:33:48.499 UTC [Composer] Debug -> DEBU a8a Exiting DataService.getCollection 0 2017-07-19 23:33:48.501 UTC [Composer] Debug -> DEBU a8b @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a8c Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc42126c030 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a8d Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc421252a40 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a8e @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a8f Exiting NewDataCollection &{0xc420143410 0xc42008de00 $sysdata} 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a93 Exiting DataService.getCollection 0 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a94 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.503 UTC [Composer] Debug -> DEBU a95 Exiting Context.getDataService 1 2017-07-19 23:33:48.503 UTC [Composer] Debug -> DEBU a96 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a91 @JS : Engine :invoke() > [object Object], getRegistry, Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a92 @JS : Resolver :resolveResourceOrConcept() Looking at property owner 2017-07-19 23:33:48.502 UTC [Composer] Debug -> DEBU a90 Exiting NewDataCollection &{0xc420151088 0xc420149600 $sysdata} 2017-07-19 23:33:48.503 UTC [Composer] Debug -> DEBU a97 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.504 UTC [Composer] Debug -> DEBU a98 @JS : Context :initialize() > 2017-07-19 23:33:48.504 UTC [Composer] Debug -> DEBU a99 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t1} 2017-07-19 23:33:48.504 UTC [Composer] Debug -> DEBU a9a @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU a9b Exiting DataCollection.get 0 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU a9c Exiting DataService.getCollection 0 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU a9d Exiting DataCollection.get 0 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU a9e @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU a9f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU aa0 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.505 UTC [Composer] Debug -> DEBU aa1 @JS : Context :[object Object]() < 2017-07-19 23:33:48.506 UTC [Composer] Debug -> DEBU aa2 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.506 UTC [Composer] Debug -> DEBU aa3 Entering DataCollection.get &{0xc4202a2640} 2017-07-19 23:33:48.506 UTC [Composer] Debug -> DEBU aa4 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:48.506 UTC [Composer] Debug -> DEBU aa5 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.506 UTC [Composer] Debug -> DEBU aa6 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.508 UTC [Composer] Debug -> DEBU aa7 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aa8 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aa9 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aaa Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420148900} 0xc421252e50 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aab Exiting NewDataCollection &{0xc4201510b8 0xc420148900 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aac Exiting DataService.getCollection 0 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aae Exiting DataCollection.get 0 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aaf @JS : Context :[object Object]() < 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab0 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab1 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab2 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab3 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.510 UTC [Composer] Debug -> DEBU aad @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t1}, [object Object] 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab4 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab5 Exiting Context.getDataService 1 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab6 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.511 UTC [Composer] Debug -> DEBU ab7 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.512 UTC [Composer] Debug -> DEBU ab8 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.512 UTC [Composer] Debug -> DEBU ab9 Exiting Engine.Invoke 0xc4211a6f00 2017-07-19 23:33:48.512 UTC [Composer] Debug -> DEBU aba Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:48.513 UTC [Composer] Debug -> DEBU abb @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.513 UTC [Composer] Debug -> DEBU abc @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.515 UTC [Composer] Debug -> DEBU abd @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.515 UTC [Composer] Debug -> DEBU abe Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc42128a530 2017-07-19 23:33:48.515 UTC [Composer] Debug -> DEBU abf @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.515 UTC [Composer] Debug -> DEBU ac0 Exiting NewDataCollection &{0xc420029540 0xc421160a80 $sysdata} 2017-07-19 23:33:48.516 UTC [Composer] Debug -> DEBU ac1 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.516 UTC [Composer] Debug -> DEBU ac2 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.516 UTC [Composer] Debug -> DEBU ac3 @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t1} 2017-07-19 23:33:48.517 UTC [Composer] Debug -> DEBU ac4 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:48.517 UTC [Composer] Debug -> DEBU ac5 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:48.517 UTC [Composer] Debug -> DEBU ac6 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU ac8 Exiting DataService.getCollection 0 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU ac9 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU aca Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU acb Exiting Context.getDataService 1 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU acc Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:48.518 UTC [Composer] Debug -> DEBU acd @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:48.519 UTC [Composer] Debug -> DEBU ace Exiting DataCollection.get 0 2017-07-19 23:33:48.517 UTC [Composer] Debug -> DEBU ac7 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.519 UTC [Composer] Debug -> DEBU acf @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.519 UTC [Composer] Debug -> DEBU ad1 @JS : Context :[object Object]() < 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad2 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.519 UTC [Composer] Debug -> DEBU ad0 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad3 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad4 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad5 Exiting Context.getDataService 1 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad6 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad7 Exiting Context.getEventService 1 2017-07-19 23:33:48.520 UTC [Composer] Debug -> DEBU ad8 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU ad9 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU ada Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU adb Exiting Context.getHTTPService 1 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU adc Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc42128ac50 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU ade Exiting NewDataCollection &{0xc420029578 0xc42013b600 $sysdata} 2017-07-19 23:33:48.521 UTC [Composer] Debug -> DEBU add @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.522 UTC [Composer] Debug -> DEBU adf Exiting DataCollection.get 0 2017-07-19 23:33:48.523 UTC [Composer] Debug -> DEBU ae0 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae1 Exiting DataService.getCollection 0 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae2 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae4 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae5 Exiting Context.getDataService 1 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae3 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae6 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.529 UTC [Composer] Debug -> DEBU ae7 Exiting DataCollection.get 0 2017-07-19 23:33:48.530 UTC [Composer] Debug -> DEBU ae8 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.530 UTC [Composer] Debug -> DEBU ae9 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:48.530 UTC [Composer] Debug -> DEBU aea @JS : Context :[object Object]() < 2017-07-19 23:33:48.530 UTC [Composer] Debug -> DEBU aeb @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.530 UTC [Composer] Debug -> DEBU aec @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.531 UTC [Composer] Debug -> DEBU aed @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.531 UTC [Composer] Debug -> DEBU aee @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.531 UTC [Composer] Debug -> DEBU aef @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.531 UTC [Composer] Debug -> DEBU af0 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af1 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af2 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af3 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af4 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af5 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.532 UTC [Composer] Debug -> DEBU af6 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc42128b2a0 2017-07-19 23:33:48.535 UTC [Composer] Debug -> DEBU af7 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.535 UTC [Composer] Debug -> DEBU af8 Exiting NewDataCollection &{0xc420143518 0xc4211c6580 $sysdata} 2017-07-19 23:33:48.535 UTC [Composer] Debug -> DEBU af9 Exiting DataService.getCollection 0 2017-07-19 23:33:48.535 UTC [Composer] Debug -> DEBU afa @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.536 UTC [Composer] Debug -> DEBU afb @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.536 UTC [Composer] Debug -> DEBU afc @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.536 UTC [Composer] Debug -> DEBU afd Entering DataCollection.get &{0xc4202a2220} 2017-07-19 23:33:48.536 UTC [Composer] Debug -> DEBU afe @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.537 UTC [Composer] Debug -> DEBU aff @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.537 UTC [Composer] Debug -> DEBU b00 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.538 UTC [Composer] Debug -> DEBU b01 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.538 UTC [Composer] Debug -> DEBU b02 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.539 UTC [Composer] Debug -> DEBU b03 Exiting DataCollection.get 0 2017-07-19 23:33:48.539 UTC [Composer] Debug -> DEBU b04 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.539 UTC [Composer] Debug -> DEBU b05 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.541 UTC [Composer] Debug -> DEBU b06 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc42126dec0 2017-07-19 23:33:48.542 UTC [Composer] Debug -> DEBU b07 Exiting NewDataCollection &{0xc4202ff240 0xc42055f200 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b08 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0c Exiting Context.getDataService 1 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0d Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0e Exiting Context.getEventService 1 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0f Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b10 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b11 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b09 @JS : Context :[object Object]() < 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b13 Exiting DataService.getCollection 0 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0a Exiting DataCollection.get 0 2017-07-19 23:33:48.549 UTC [Composer] Debug -> DEBU b15 @JS : Context :[object Object]() < 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b0b @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b12 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.548 UTC [Composer] Debug -> DEBU b14 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.554 UTC [Composer] Debug -> DEBU b16 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.555 UTC [Composer] Debug -> DEBU b17 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.555 UTC [Composer] Debug -> DEBU b18 Exiting DataCollection.get 0 2017-07-19 23:33:48.555 UTC [Composer] Debug -> DEBU b19 @JS : Context :[object Object]() < 2017-07-19 23:33:48.555 UTC [Composer] Debug -> DEBU b1a @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.556 UTC [Composer] Debug -> DEBU b1b @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.556 UTC [Composer] Debug -> DEBU b1c @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.556 UTC [Composer] Debug -> DEBU b1d @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:48.556 UTC [Composer] Debug -> DEBU b1e @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.557 UTC [Composer] Debug -> DEBU b1f @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:48.557 UTC [Composer] Debug -> DEBU b20 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.557 UTC [Composer] Debug -> DEBU b21 @JS : Context :loadBusinessNetworkDefinition() Business network is not in cache, loading 2017-07-19 23:33:48.559 UTC [Composer] Debug -> DEBU b22 Entering EventService.transactionCommit &{0xc420141340} 2017-07-19 23:33:48.561 UTC [Composer] Debug -> DEBU b23 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.561 UTC [Composer] Debug -> DEBU b24 @JS : EventService :getEvents() > 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b25 @JS : EventService :getEvents() < 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b26 @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b28 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b29 Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b27 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.563 UTC [Composer] Debug -> DEBU b2a @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.564 UTC [Composer] Debug -> DEBU b2b @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.564 UTC [Composer] Debug -> DEBU b2c @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.565 UTC [Composer] Debug -> DEBU b2d @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.565 UTC [Composer] Debug -> DEBU b2e @JS : Resolver :resolveRelationship() Getting resource in registry JURHULBMVL_t1 2017-07-19 23:33:48.569 UTC [Composer] Debug -> DEBU b2f Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b30 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b32 Exiting Context.getDataService 1 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b33 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b34 Exiting Context.getEventService 1 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b35 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b36 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b37 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b38 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b31 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.571 UTC [Composer] Debug -> DEBU b39 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.572 UTC [Composer] Debug -> DEBU b3a @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.572 UTC [Composer] Debug -> DEBU b3b @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.572 UTC [Composer] Debug -> DEBU b3c @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.573 UTC [Composer] Debug -> DEBU b3d @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.573 UTC [Composer] Debug -> DEBU b3e @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.573 UTC [Composer] Debug -> DEBU b3f @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.574 UTC [Composer] Debug -> DEBU b40 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.574 UTC [Composer] Debug -> DEBU b41 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.575 UTC [Composer] Debug -> DEBU b42 Exiting DataCollection.get 0 2017-07-19 23:33:48.575 UTC [Composer] Debug -> DEBU b43 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.575 UTC [Composer] Debug -> DEBU b44 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b45 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b46 Entering Engine.handleCallback 0xc42038be00 &{0xc420141340} 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b47 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b48 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b49 Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b4a Entering ComposerPool.Put &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b4b Exiting ComposerPool.Put true 2017-07-19 23:33:48.576 UTC [Composer] Debug -> DEBU b4c Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:48.577 UTC [Composer] Debug -> DEBU b4d @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.578 UTC [Composer] Debug -> DEBU b4e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.578 UTC [Composer] Debug -> DEBU b4f Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.578 UTC [Composer] Debug -> DEBU b50 Exiting Context.getDataService 1 2017-07-19 23:33:48.581 UTC [Composer] Debug -> DEBU b51 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.582 UTC [Composer] Debug -> DEBU b52 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.584 UTC [Composer] Debug -> DEBU b53 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.585 UTC [Composer] Debug -> DEBU b54 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.589 UTC [Composer] Debug -> DEBU b55 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.589 UTC [Composer] Debug -> DEBU b56 Exiting Context.getDataService 1 2017-07-19 23:33:48.589 UTC [Composer] Debug -> DEBU b57 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b58 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b59 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b5a @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b5b @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b5c @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.594 UTC [Composer] Debug -> DEBU b5d @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.595 UTC [Composer] Debug -> DEBU b5e @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.595 UTC [Composer] Debug -> DEBU b5f @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.595 UTC [Composer] Debug -> DEBU b60 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.601 UTC [Composer] Debug -> DEBU b61 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc4212ef350 2017-07-19 23:33:48.601 UTC [Composer] Debug -> DEBU b62 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.601 UTC [Composer] Debug -> DEBU b63 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.604 UTC [Composer] Debug -> DEBU b64 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4212ef590 2017-07-19 23:33:48.604 UTC [Composer] Debug -> DEBU b65 Exiting NewDataCollection &{0xc420029768 0xc4211c6580 $sysdata} 2017-07-19 23:33:48.605 UTC [Composer] Debug -> DEBU b66 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.606 UTC [Composer] Debug -> DEBU b67 Exiting NewDataCollection &{0xc4202ff348 0xc421160a80 $sysregistries} 2017-07-19 23:33:48.606 UTC [Composer] Debug -> DEBU b68 Exiting DataService.getCollection 0 2017-07-19 23:33:48.606 UTC [Composer] Debug -> DEBU b69 Entering getLogging 0xc4212bd700 2017-07-19 23:33:48.607 UTC [Composer] Debug -> DEBU b6a @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.607 UTC [Composer] Debug -> DEBU b6b @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b6c Exiting DataService.getCollection 0 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b6d Entering Chaincode.Invoke 0xc4212bd6f0 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b6e Entering ComposerPool.Get 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b6f Exiting ComposerPool.Get &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b70 Entering Composer.Invoke 0xc4212ff1f0 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"TSNLFMEFFA_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b71 Entering NewContext &{0xc4201ce220} &{0xc420028000} 0xc4212ff2f0 2017-07-19 23:33:48.608 UTC [Composer] Debug -> DEBU b72 Entering NewDataService &{0xc4201ce220} &{0xc420028000 } 0xc4212ff3a0 2017-07-19 23:33:48.613 UTC [Composer] Debug -> DEBU b73 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.613 UTC [Composer] Debug -> DEBU b74 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.613 UTC [Composer] Debug -> DEBU b75 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.613 UTC [Composer] Debug -> DEBU b76 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b77 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b78 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b7a @JS : AccessController :check() > org.example.mynetwork.Trader#JURHULBMVL_t1, READ 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b7b @JS : AccessController :check() No participant 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b7c @JS : AccessController :check() < 2017-07-19 23:33:48.615 UTC [Composer] Debug -> DEBU b7d @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:48.615 UTC [Composer] Debug -> DEBU b7e @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t1}, [object Object] 2017-07-19 23:33:48.615 UTC [Composer] Debug -> DEBU b7f @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.614 UTC [Composer] Debug -> DEBU b79 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.615 UTC [Composer] Debug -> DEBU b80 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b82 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b83 Exiting Context.getDataService 1 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b81 Exiting NewDataService &{0xc420028000 0xc42131e400} 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b85 Entering NewIdentityService &{0xc4201ce220} &{0xc420028000 0xc4212d1ae0 } 0xc4212ff550 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b86 Exiting NewIdentityService &{0xc420028000 0xc42131e400} 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b87 Entering NewEventService &{0xc4201ce220} &{0xc420028000 0xc4212d1ae0 0xc4212d1ca0 } 0xc4212ff6c0 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b88 Exiting NewEventServce &{0xc420028000 0xc42131e400} 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b84 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b89 Entering HTTPService &{0xc4201ce220} &{0xc420028000 0xc4212d1ae0 0xc4212d1ca0 0xc4212d1d80 } 0xc4212ff840 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b8b @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b8c @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b8d @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring JURHULBMVL_t1 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b8e @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:48.617 UTC [Composer] Debug -> DEBU b8f @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:48.616 UTC [Composer] Debug -> DEBU b8a Exiting HTTPService &{0xc420028000 0xc42131e400} 2017-07-19 23:33:48.617 UTC [Composer] Debug -> DEBU b90 Exiting NewContext &{0xc420028000 0xc4212d1ae0 0xc4212d1ca0 0xc4212d1d80 0xc4212d1e60} 2017-07-19 23:33:48.617 UTC [Composer] Debug -> DEBU b91 Entering Engine.Invoke &{0xc420028000 0xc4212d1ae0 0xc4212d1ca0 0xc4212d1d80 0xc4212d1e60} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"TSNLFMEFFA_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:48.617 UTC [Composer] Debug -> DEBU b92 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"TSNLFMEFFA_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:48.617 UTC [Composer] Debug -> DEBU b93 @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:48.618 UTC [Composer] Debug -> DEBU b94 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:48.618 UTC [Composer] Debug -> DEBU b95 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:48.618 UTC [Composer] Debug -> DEBU b96 @JS : Context :initialize() > 2017-07-19 23:33:48.618 UTC [Composer] Debug -> DEBU b97 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.618 UTC [Composer] Debug -> DEBU b98 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.619 UTC [Composer] Debug -> DEBU b99 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc42133a700 2017-07-19 23:33:48.619 UTC [Composer] Debug -> DEBU b9a @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.620 UTC [Composer] Debug -> DEBU b9b @JS : ModelManager :constructor() > 2017-07-19 23:33:48.622 UTC [Composer] Debug -> DEBU b9c @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t1} 2017-07-19 23:33:48.622 UTC [Composer] Debug -> DEBU b9d @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.623 UTC [Composer] Debug -> DEBU b9e Exiting Engine.Invoke 0xc4212abd40 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba5 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba6 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba7 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba8 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba9 Exiting Context.getDataService 1 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU baa Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.623 UTC [Composer] Debug -> DEBU b9f Exiting NewDataCollection &{0xc4201436a0 0xc421160a80 $sysidentities} 2017-07-19 23:33:48.625 UTC [Composer] Debug -> DEBU bab Exiting DataService.getCollection 0 2017-07-19 23:33:48.626 UTC [Composer] Debug -> DEBU bac Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc4202c4150 2017-07-19 23:33:48.627 UTC [Composer] Debug -> DEBU bad Exiting NewDataCollection &{0xc4202fe050 0xc42131e400 $sysdata} 2017-07-19 23:33:48.627 UTC [Composer] Debug -> DEBU bae @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.627 UTC [Composer] Debug -> DEBU baf @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.627 UTC [Composer] Debug -> DEBU bb0 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.629 UTC [Composer] Debug -> DEBU bb1 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.629 UTC [Composer] Debug -> DEBU bb2 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.629 UTC [Composer] Debug -> DEBU bb3 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.630 UTC [Composer] Debug -> DEBU bb4 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.630 UTC [Composer] Debug -> DEBU bb5 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.630 UTC [Composer] Debug -> DEBU bb6 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.630 UTC [Composer] Info -> INFO bb7 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.623 UTC [Composer] Debug -> DEBU ba0 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t1} 2017-07-19 23:33:48.623 UTC [Composer] Debug -> DEBU ba1 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.633 UTC [Composer] Debug -> DEBU bb8 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba2 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.624 UTC [Composer] Info -> INFO ba3 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.634 UTC [Composer] Debug -> DEBU bb9 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.624 UTC [Composer] Debug -> DEBU ba4 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.640 UTC [Composer] Debug -> DEBU bba @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.640 UTC [Composer] Debug -> DEBU bbb @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.640 UTC [Composer] Debug -> DEBU bbc Exiting DataCollection.get 0 2017-07-19 23:33:48.641 UTC [Composer] Debug -> DEBU bbd @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.641 UTC [Composer] Debug -> DEBU bbe @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Commodity#JURHULBMVL_c3} 2017-07-19 23:33:48.641 UTC [Composer] Debug -> DEBU bbf @JS : Context :[object Object]() < 2017-07-19 23:33:48.641 UTC [Composer] Debug -> DEBU bc0 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.641 UTC [Composer] Debug -> DEBU bc1 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc2 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc3 Exiting DataService.getCollection 0 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc4 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc5 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc6 Entering IdentityService.getCurrentUserID &{0xc420140e60} 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc7 Entering extractNameFromCreator 0xc4212fe820 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc8 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bc9 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bca Exiting extractNameFromCreator admin 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bcc Common Name admin 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bcd Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bce @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:48.645 UTC [Composer] Debug -> DEBU bcf @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.644 UTC [Composer] Debug -> DEBU bcb Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.645 UTC [Composer] Debug -> DEBU bd0 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.645 UTC [Composer] Debug -> DEBU bd1 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.646 UTC [Composer] Debug -> DEBU bd2 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.646 UTC [Composer] Debug -> DEBU bd3 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.646 UTC [Composer] Debug -> DEBU bd4 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.646 UTC [Composer] Debug -> DEBU bd5 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.647 UTC [Composer] Debug -> DEBU bd6 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.647 UTC [Composer] Debug -> DEBU bd7 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.647 UTC [Composer] Debug -> DEBU bd8 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.647 UTC [Composer] Debug -> DEBU bd9 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Commodity#JURHULBMVL_c3} 2017-07-19 23:33:48.647 UTC [Composer] Debug -> DEBU bda @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.654 UTC [Composer] Debug -> DEBU bdb Exiting DataCollection.get 0 2017-07-19 23:33:48.654 UTC [Composer] Debug -> DEBU bdc @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t0}, [object Object] 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU bdd @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#JURHULBMVL_t0} 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU bde @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU bdf @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU be0 @JS : AccessController :constructor() < 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU be1 @JS : Context :[object Object]() < 2017-07-19 23:33:48.655 UTC [Composer] Debug -> DEBU be2 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.656 UTC [Composer] Debug -> DEBU be3 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:48.656 UTC [Composer] Debug -> DEBU be4 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:48.656 UTC [Composer] Debug -> DEBU be5 @JS : Context :initialize() < 2017-07-19 23:33:48.656 UTC [Composer] Debug -> DEBU be6 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU be7 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU be8 Exiting Context.getDataService 1 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU be9 Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU beb Exiting Context.getEventService 1 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bec Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bed Exiting Context.getIdentityService 1 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bee Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bef Exiting Context.getHTTPService 1 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bf0 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.657 UTC [Composer] Debug -> DEBU bea @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:48.658 UTC [Composer] Debug -> DEBU bf1 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.658 UTC [Composer] Debug -> DEBU bf2 Exiting DataCollection.get 0 2017-07-19 23:33:48.660 UTC [Composer] Debug -> DEBU bf3 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.660 UTC [Composer] Debug -> DEBU bf4 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.660 UTC [Composer] Debug -> DEBU bf5 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:48.662 UTC [Composer] Debug -> DEBU bf6 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc4212eef40 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bf7 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bf8 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bf9 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bfa Exiting NewDataCollection &{0xc4202fe0f8 0xc42055f200 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bfb @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.663 UTC [Composer] Debug -> DEBU bfc @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.664 UTC [Composer] Debug -> DEBU bfd Exiting DataService.getCollection 0 2017-07-19 23:33:48.664 UTC [Composer] Debug -> DEBU bfe @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.664 UTC [Composer] Debug -> DEBU c00 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.664 UTC [Composer] Debug -> DEBU bff @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.665 UTC [Composer] Debug -> DEBU c01 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.665 UTC [Composer] Debug -> DEBU c02 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.665 UTC [Composer] Debug -> DEBU c03 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.665 UTC [Composer] Debug -> DEBU c04 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.666 UTC [Composer] Debug -> DEBU c05 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.667 UTC [Composer] Debug -> DEBU c06 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.667 UTC [Composer] Debug -> DEBU c07 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.667 UTC [Composer] Debug -> DEBU c08 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.667 UTC [Composer] Debug -> DEBU c09 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.668 UTC [Composer] Debug -> DEBU c0a @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.668 UTC [Composer] Debug -> DEBU c0b @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:48.668 UTC [Composer] Debug -> DEBU c0c @JS : Resolver :resolveRelationship() Getting resource in registry JURHULBMVL_t0 2017-07-19 23:33:48.668 UTC [Composer] Debug -> DEBU c0d Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.668 UTC [Composer] Debug -> DEBU c0e @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.669 UTC [Composer] Debug -> DEBU c0f @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.670 UTC [Composer] Debug -> DEBU c10 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:48.670 UTC [Composer] Debug -> DEBU c11 @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"NOGNXFTMNQ_t5","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:48.670 UTC [Composer] Debug -> DEBU c12 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.671 UTC [Composer] Debug -> DEBU c13 Exiting Context.getDataService 1 2017-07-19 23:33:48.671 UTC [Composer] Debug -> DEBU c14 Exiting DataCollection.get 0 2017-07-19 23:33:48.672 UTC [Composer] Debug -> DEBU c15 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:48.674 UTC [Composer] Debug -> DEBU c16 Exiting DataCollection.get 0 2017-07-19 23:33:48.674 UTC [Composer] Debug -> DEBU c18 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.674 UTC [Composer] Debug -> DEBU c17 @JS : AccessController :check() > org.example.mynetwork.Trader#JURHULBMVL_t0, READ 2017-07-19 23:33:48.674 UTC [Composer] Debug -> DEBU c19 @JS : AccessController :check() No participant 2017-07-19 23:33:48.674 UTC [Composer] Debug -> DEBU c1a @JS : AccessController :check() < 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c1b @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c1c Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c1d @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c1e Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c1f Exiting Context.getDataService 1 2017-07-19 23:33:48.675 UTC [Composer] Debug -> DEBU c20 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.677 UTC [Composer] Debug -> DEBU c21 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.677 UTC [Composer] Debug -> DEBU c22 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421160a80} 0xc4212bc380 2017-07-19 23:33:48.677 UTC [Composer] Debug -> DEBU c23 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.677 UTC [Composer] Debug -> DEBU c24 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.678 UTC [Composer] Debug -> DEBU c25 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4202d9040 2017-07-19 23:33:48.679 UTC [Composer] Debug -> DEBU c26 Exiting NewDataCollection &{0xc420142348 0xc421160a80 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.679 UTC [Composer] Debug -> DEBU c27 Exiting NewDataCollection &{0xc420142358 0xc4211c6580 $sysdata} 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c28 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c29 @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c2a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c2b Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c2c Exiting Context.getDataService 1 2017-07-19 23:33:48.680 UTC [Composer] Debug -> DEBU c2d Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.681 UTC [Composer] Debug -> DEBU c2e @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t0}, [object Object] 2017-07-19 23:33:48.682 UTC [Composer] Debug -> DEBU c2f Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc42128a360 2017-07-19 23:33:48.682 UTC [Composer] Debug -> DEBU c30 Exiting DataService.getCollection 0 2017-07-19 23:33:48.682 UTC [Composer] Debug -> DEBU c31 Exiting NewDataCollection &{0xc4201423b0 0xc42131e400 $sysdata} 2017-07-19 23:33:48.683 UTC [Composer] Debug -> DEBU c32 Exiting DataService.getCollection 0 2017-07-19 23:33:48.683 UTC [Composer] Debug -> DEBU c33 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.683 UTC [Composer] Debug -> DEBU c34 @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:48.683 UTC [Composer] Debug -> DEBU c35 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring JURHULBMVL_t0 2017-07-19 23:33:48.684 UTC [Composer] Debug -> DEBU c36 @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:48.686 UTC [Composer] Debug -> DEBU c37 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:48.686 UTC [Composer] Debug -> DEBU c38 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.690 UTC [Composer] Debug -> DEBU c39 @JS : AccessController :check() > org.example.mynetwork.Trader#NOGNXFTMNQ_t5, CREATE 2017-07-19 23:33:48.690 UTC [Composer] Debug -> DEBU c3a @JS : AccessController :check() No participant 2017-07-19 23:33:48.690 UTC [Composer] Debug -> DEBU c3b @JS : AccessController :check() < 2017-07-19 23:33:48.690 UTC [Composer] Debug -> DEBU c3c Exiting DataService.getCollection 0 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c3d @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c3e @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c40 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c41 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c3f @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.691 UTC [Composer] Debug -> DEBU c42 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.692 UTC [Composer] Debug -> DEBU c43 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.692 UTC [Composer] Debug -> DEBU c44 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.692 UTC [Composer] Debug -> DEBU c45 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.692 UTC [Composer] Debug -> DEBU c46 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.693 UTC [Composer] Debug -> DEBU c47 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.693 UTC [Composer] Debug -> DEBU c48 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.693 UTC [Composer] Debug -> DEBU c49 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.693 UTC [Composer] Debug -> DEBU c4a Exiting Context.getDataService 1 2017-07-19 23:33:48.693 UTC [Composer] Debug -> DEBU c4b Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:48.694 UTC [Composer] Debug -> DEBU c4c @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t0} 2017-07-19 23:33:48.694 UTC [Composer] Debug -> DEBU c4d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.694 UTC [Composer] Debug -> DEBU c4e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c4f Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c50 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc4202d9960 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c51 Entering DataCollection.add &{0xc420140e60} 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c52 Exiting NewDataCollection &{0xc420150428 0xc420149300 $sysdata} 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c53 Exiting DataService.getCollection 0 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c54 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#JURHULBMVL_t0} 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c55 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.695 UTC [Composer] Debug -> DEBU c56 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:48.699 UTC [Composer] Debug -> DEBU c57 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.701 UTC [Composer] Debug -> DEBU c58 Exiting DataCollection.add 0 2017-07-19 23:33:48.701 UTC [Composer] Debug -> DEBU c59 Exiting DataCollection.get 0 2017-07-19 23:33:48.701 UTC [Composer] Debug -> DEBU c5a @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c5b @JS : Context :[object Object]() < 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c5d Exiting DataCollection.get 0 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c5e @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c5c @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c5f @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c60 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c61 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c62 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.702 UTC [Composer] Debug -> DEBU c63 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c64 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c65 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c66 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c67 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c68 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c69 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c6a @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c6b @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c6c @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c6d @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.703 UTC [Composer] Debug -> DEBU c6e @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.704 UTC [Composer] Debug -> DEBU c6f @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.704 UTC [Composer] Debug -> DEBU c70 @JS : Context :[object Object]() < 2017-07-19 23:33:48.704 UTC [Composer] Debug -> DEBU c71 @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:48.704 UTC [Composer] Debug -> DEBU c72 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.704 UTC [Composer] Debug -> DEBU c73 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.705 UTC [Composer] Debug -> DEBU c74 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.707 UTC [Composer] Debug -> DEBU c75 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.708 UTC [Composer] Debug -> DEBU c76 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c77 @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c79 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c78 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7a Exiting Context.getDataService 1 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7b Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7c Exiting Context.getEventService 1 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7d Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7e Exiting Context.getIdentityService 1 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c7f Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c80 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c81 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:48.715 UTC [Composer] Debug -> DEBU c82 @JS : Resolver :resolve() < Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c83 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c84 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c85 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c86 Exiting Context.getDataService 1 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c87 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:48.716 UTC [Composer] Debug -> DEBU c88 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.717 UTC [Composer] Debug -> DEBU c89 @JS : Api :constructor() > [object Object] 2017-07-19 23:33:48.717 UTC [Composer] Debug -> DEBU c8a Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.717 UTC [Composer] Debug -> DEBU c8b Exiting Context.getHTTPService 1 2017-07-19 23:33:48.717 UTC [Composer] Debug -> DEBU c8c Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.718 UTC [Composer] Debug -> DEBU c8d Exiting Context.getEventService 1 2017-07-19 23:33:48.718 UTC [Composer] Debug -> DEBU c8e Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.718 UTC [Composer] Debug -> DEBU c8f Exiting Context.getDataService 1 2017-07-19 23:33:48.718 UTC [Composer] Debug -> DEBU c90 @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.718 UTC [Composer] Debug -> DEBU c91 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc4212406d0 2017-07-19 23:33:48.719 UTC [Composer] Debug -> DEBU c92 Exiting NewDataCollection &{0xc420150578 0xc42008cf00 $sysdata} 2017-07-19 23:33:48.721 UTC [Composer] Debug -> DEBU c93 Exiting DataCollection.get 0 2017-07-19 23:33:48.721 UTC [Composer] Debug -> DEBU c94 Exiting DataService.getCollection 0 2017-07-19 23:33:48.721 UTC [Composer] Debug -> DEBU c95 @JS : Api :constructor() < 2017-07-19 23:33:48.721 UTC [Composer] Debug -> DEBU c96 @JS : BusinessNetworkDefinition:fromArchive() > 5500 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c97 @JS : Context :[object Object]() < 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c98 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c99 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c9a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c9b Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:48.722 UTC [Composer] Debug -> DEBU c9c @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:48.723 UTC [Composer] Debug -> DEBU c9d @JS : CompiledScriptBundle :execute() > [object Object], Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.724 UTC [Composer] Debug -> DEBU c9e @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.725 UTC [Composer] Debug -> DEBU c9f @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.725 UTC [Composer] Debug -> DEBU ca0 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.725 UTC [Composer] Debug -> DEBU ca1 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.725 UTC [Composer] Debug -> DEBU ca2 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.726 UTC [Composer] Debug -> DEBU ca3 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.726 UTC [Composer] Debug -> DEBU ca4 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.726 UTC [Composer] Info -> INFO ca5 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.726 UTC [Composer] Debug -> DEBU ca6 @JS : CompiledScriptBundle :findFunctionNames() > Resource {id=org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d} 2017-07-19 23:33:48.726 UTC [Composer] Debug -> DEBU ca7 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.726 UTC [Composer] Debug -> DEBU ca8 @JS : CompiledScriptBundle :findFunctionNames() Looking at function declaration tradeCommodity 2017-07-19 23:33:48.727 UTC [Composer] Debug -> DEBU ca9 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.727 UTC [Composer] Debug -> DEBU caa @JS : CompiledScriptBundle :findFunctionNames() Function is annotated with @transaction 2017-07-19 23:33:48.728 UTC [Composer] Debug -> DEBU cab @JS : CompiledScriptBundle :findFunctionNames() Function parameter type matches transaction 2017-07-19 23:33:48.728 UTC [Composer] Debug -> DEBU cac @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.729 UTC [Composer] Debug -> DEBU cad @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.733 UTC [Composer] Debug -> DEBU cae Exiting DataCollection.get 0 2017-07-19 23:33:48.733 UTC [Composer] Debug -> DEBU caf @JS : CompiledScriptBundle :findFunctionNames() < tradeCommodity 2017-07-19 23:33:48.734 UTC [Composer] Debug -> DEBU cb0 @JS : Context :[object Object]() < 2017-07-19 23:33:48.734 UTC [Composer] Debug -> DEBU cb1 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.734 UTC [Composer] Debug -> DEBU cb2 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.737 UTC [Composer] Debug -> DEBU cb3 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.738 UTC [Composer] Debug -> DEBU cb4 @JS : BusinessNetworkDefinition:fromArchive() Loading README.md 2017-07-19 23:33:48.738 UTC [Composer] Debug -> DEBU cb5 @JS : BusinessNetworkDefinition:fromArchive() Loading package.json 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cb6 @JS : BusinessNetworkDefinition:fromArchive() Looking for model files 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cb7 @JS : BusinessNetworkDefinition:fromArchive() Found model file, loading it models/sample.cto 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cb8 @JS : BusinessNetworkDefinition:fromArchive() Looking for JavaScript files 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cb9 @JS : BusinessNetworkDefinition:fromArchive() Found JavaScript file, loading it lib/logic.js 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cba @JS : BusinessNetworkDefinition:fromArchive() Loading permissions.acl 2017-07-19 23:33:48.739 UTC [Composer] Debug -> DEBU cbb @JS : BusinessNetworkDefinition:fromArchive() Loading query queries.qry 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cbc @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cbd @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cbe Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cbf Exiting Context.getDataService 1 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cc0 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.740 UTC [Composer] Debug -> DEBU cc1 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc2 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc3 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc4 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc5 Exiting Context.getDataService 1 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc6 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.741 UTC [Composer] Debug -> DEBU cc7 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU cc8 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc42128bd00 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU cc9 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU cca @JS : CompiledScriptBundle :execute() Executing function tradeCommodity 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU ccc Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc42126df00 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU ccd @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU ccb Exiting NewDataCollection &{0xc420028588 0xc42131e400 $sysdata} 2017-07-19 23:33:48.744 UTC [Composer] Debug -> DEBU cce @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU ccf @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU cd0 @JS : Api :getAssetRegistry() > org.example.mynetwork.Commodity 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU cd1 Exiting NewDataCollection &{0xc420142508 0xc4211c6580 $sysregistries} 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU cd2 Exiting DataService.getCollection 0 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU cd3 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.745 UTC [Composer] Debug -> DEBU cd4 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.746 UTC [Composer] Debug -> DEBU cd5 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.746 UTC [Composer] Debug -> DEBU cd6 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.746 UTC [Composer] Debug -> DEBU cd7 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.747 UTC [Composer] Debug -> DEBU cd8 Exiting DataService.getCollection 0 2017-07-19 23:33:48.748 UTC [Composer] Debug -> DEBU cd9 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.748 UTC [Composer] Debug -> DEBU cda @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.748 UTC [Composer] Debug -> DEBU cdb @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.748 UTC [Composer] Debug -> DEBU cdc Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU cdd Exiting DataCollection.get 0 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU cde Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU cdf @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU ce0 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU ce1 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.749 UTC [Composer] Debug -> DEBU ce2 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.750 UTC [Composer] Debug -> DEBU ce3 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.750 UTC [Composer] Debug -> DEBU ce4 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.750 UTC [Composer] Debug -> DEBU ce5 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.750 UTC [Composer] Debug -> DEBU ce6 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.750 UTC [Composer] Debug -> DEBU ce7 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.750 UTC [Composer] Info -> INFO ce8 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.752 UTC [Composer] Debug -> DEBU ce9 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc421232890 2017-07-19 23:33:48.752 UTC [Composer] Debug -> DEBU cea Exiting NewDataCollection &{0xc420142548 0xc42055f200 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:48.752 UTC [Composer] Debug -> DEBU ceb Exiting DataService.getCollection 0 2017-07-19 23:33:48.752 UTC [Composer] Debug -> DEBU cec @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.755 UTC [Composer] Debug -> DEBU ced @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.757 UTC [Composer] Debug -> DEBU cee @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.757 UTC [Composer] Debug -> DEBU cef @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf0 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf1 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf2 Exiting DataCollection.get 0 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf3 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf4 @JS : Context :[object Object]() < 2017-07-19 23:33:48.759 UTC [Composer] Debug -> DEBU cf5 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cf6 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cf7 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cf8 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cf9 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cfa @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cfb @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cfc @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cfd Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cfe Exiting Context.getDataService 1 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU cff @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.760 UTC [Composer] Debug -> DEBU d00 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d01 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d02 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d03 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d06 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d07 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d08 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d04 @JS : AssetRegistry :constructor() > [object Object] 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d09 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.761 UTC [Composer] Debug -> DEBU d05 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0a Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0b Exiting Context.getDataService 1 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0c Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0e Exiting Context.getEventService 1 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0d @JS : AssetRegistry :constructor() < 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d0f Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d10 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d11 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d12 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d13 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.762 UTC [Composer] Debug -> DEBU d14 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.763 UTC [Composer] Debug -> DEBU d15 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.764 UTC [Composer] Debug -> DEBU d16 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.764 UTC [Composer] Debug -> DEBU d17 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4212530c0 2017-07-19 23:33:48.764 UTC [Composer] Debug -> DEBU d18 Exiting NewDataCollection &{0xc420142640 0xc4211c6580 $sysidentities} 2017-07-19 23:33:48.764 UTC [Composer] Debug -> DEBU d19 Exiting DataService.getCollection 0 2017-07-19 23:33:48.765 UTC [Composer] Debug -> DEBU d1a @JS : Api :getAssetRegistry() < [object Object] 2017-07-19 23:33:48.765 UTC [Composer] Debug -> DEBU d1b @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.766 UTC [Composer] Debug -> DEBU d1c @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.766 UTC [Composer] Debug -> DEBU d1d @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.769 UTC [Composer] Debug -> DEBU d1e @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.769 UTC [Composer] Debug -> DEBU d1f @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.769 UTC [Composer] Debug -> DEBU d20 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.769 UTC [Composer] Debug -> DEBU d21 @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.769 UTC [Composer] Debug -> DEBU d22 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.770 UTC [Composer] Debug -> DEBU d23 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d24 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d25 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d26 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d27 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d28 Entering IdentityService.getCurrentUserID &{0xc420144940} 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d29 Entering extractNameFromCreator 0xc421209fe0 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d2a creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d2b @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d2c Exiting extractNameFromCreator admin 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d2d Common Name admin 2017-07-19 23:33:48.771 UTC [Composer] Debug -> DEBU d2e Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.773 UTC [Composer] Debug -> DEBU d2f @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.773 UTC [Composer] Debug -> DEBU d30 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.774 UTC [Composer] Debug -> DEBU d31 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.774 UTC [Composer] Debug -> DEBU d32 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.774 UTC [Composer] Debug -> DEBU d33 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.774 UTC [Composer] Debug -> DEBU d34 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.775 UTC [Composer] Info -> INFO d35 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.775 UTC [Composer] Debug -> DEBU d36 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.775 UTC [Composer] Debug -> DEBU d37 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.775 UTC [Composer] Debug -> DEBU d38 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.775 UTC [Composer] Debug -> DEBU d39 Exiting Context.getDataService 1 2017-07-19 23:33:48.775 UTC [Composer] Debug -> DEBU d3a Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d3b @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d3c Exiting DataCollection.get 0 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d3d @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d3e @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d3f @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:48.777 UTC [Composer] Debug -> DEBU d40 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d41 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d42 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d43 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d44 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d45 Exiting Context.getDataService 1 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d46 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc4211eb730 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d47 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d48 Entering EventService.transactionCommit &{0xc420140e60} 2017-07-19 23:33:48.778 UTC [Composer] Debug -> DEBU d49 @JS : AccessController :check() > org.example.mynetwork.Commodity#JURHULBMVL_c3, UPDATE 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4a Exiting NewDataCollection &{0xc420142730 0xc42131e400 $sysdata} 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4b @JS : AccessController :check() No participant 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4c @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4e @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4f Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d50 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d51 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d52 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.779 UTC [Composer] Debug -> DEBU d4d @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.780 UTC [Composer] Debug -> DEBU d53 @JS : AccessController :check() < 2017-07-19 23:33:48.780 UTC [Composer] Debug -> DEBU d54 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.782 UTC [Composer] Debug -> DEBU d55 Exiting DataService.getCollection 0 2017-07-19 23:33:48.782 UTC [Composer] Debug -> DEBU d56 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.783 UTC [Composer] Debug -> DEBU d57 @JS : EventService :getEvents() > 2017-07-19 23:33:48.783 UTC [Composer] Debug -> DEBU d58 @JS : EventService :getEvents() < 2017-07-19 23:33:48.783 UTC [Composer] Debug -> DEBU d59 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.783 UTC [Composer] Debug -> DEBU d5a Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.784 UTC [Composer] Debug -> DEBU d5b Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc421253a40 2017-07-19 23:33:48.784 UTC [Composer] Debug -> DEBU d5c Exiting NewDataCollection &{0xc420142760 0xc42008d200 $sysdata} 2017-07-19 23:33:48.784 UTC [Composer] Debug -> DEBU d5d Entering DataCollection.update &{0xc4201ce500} 2017-07-19 23:33:48.784 UTC [Composer] Debug -> DEBU d5e @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.784 UTC [Composer] Debug -> DEBU d5f @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d60 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d61 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d62 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d63 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d64 Exiting Context.getDataService 1 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d65 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:48.785 UTC [Composer] Debug -> DEBU d66 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.786 UTC [Composer] Debug -> DEBU d67 Exiting DataService.getCollection 0 2017-07-19 23:33:48.788 UTC [Composer] Debug -> DEBU d68 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.788 UTC [Composer] Debug -> DEBU d69 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc4211b20d0 2017-07-19 23:33:48.788 UTC [Composer] Debug -> DEBU d6a Exiting NewDataCollection &{0xc4202fe480 0xc420149900 $sysdata} 2017-07-19 23:33:48.788 UTC [Composer] Debug -> DEBU d6b Exiting DataCollection.update 0 2017-07-19 23:33:48.788 UTC [Composer] Debug -> DEBU d6c Exiting DataService.getCollection 0 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d6d Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d6e Exiting Context.getDataService 1 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d6f Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d70 Exiting Context.getEventService 1 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d71 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d72 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d73 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d74 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.789 UTC [Composer] Debug -> DEBU d75 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.790 UTC [Composer] Debug -> DEBU d76 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.790 UTC [Composer] Debug -> DEBU d77 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.790 UTC [Composer] Debug -> DEBU d78 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.791 UTC [Composer] Debug -> DEBU d79 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.791 UTC [Composer] Debug -> DEBU d7a @JS : ModelManager :constructor() > 2017-07-19 23:33:48.791 UTC [Composer] Debug -> DEBU d7b @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.791 UTC [Composer] Info -> INFO d7c @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.791 UTC [Composer] Debug -> DEBU d7d @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d7e @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d7f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d80 Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d81 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d82 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d83 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d84 Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.792 UTC [Composer] Debug -> DEBU d85 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.793 UTC [Composer] Debug -> DEBU d86 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.793 UTC [Composer] Debug -> DEBU d87 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.793 UTC [Composer] Debug -> DEBU d88 Exiting Context.getDataService 1 2017-07-19 23:33:48.793 UTC [Composer] Debug -> DEBU d89 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:48.796 UTC [Composer] Debug -> DEBU d8a @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.797 UTC [Composer] Debug -> DEBU d8b Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc4211c8840 2017-07-19 23:33:48.797 UTC [Composer] Debug -> DEBU d8c @JS : TransactionLogger :onResourceUpdated() > [object Object] 2017-07-19 23:33:48.798 UTC [Composer] Debug -> DEBU d8d Exiting DataCollection.get 0 2017-07-19 23:33:48.798 UTC [Composer] Debug -> DEBU d8e @JS : Context :[object Object]() < 2017-07-19 23:33:48.798 UTC [Composer] Debug -> DEBU d8f @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.799 UTC [Composer] Debug -> DEBU d90 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.799 UTC [Composer] Debug -> DEBU d91 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.799 UTC [Composer] Debug -> DEBU d92 Exiting NewDataCollection &{0xc420150770 0xc420149300 $sysdata} 2017-07-19 23:33:48.799 UTC [Composer] Debug -> DEBU d93 Exiting DataService.getCollection 0 2017-07-19 23:33:48.799 UTC [Composer] Debug -> DEBU d94 @JS : AccessController :constructor() < 2017-07-19 23:33:48.800 UTC [Composer] Debug -> DEBU d95 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.800 UTC [Composer] Debug -> DEBU d96 Exiting DataCollection.get 0 2017-07-19 23:33:48.800 UTC [Composer] Debug -> DEBU d97 @JS : Context :initialize() < 2017-07-19 23:33:48.800 UTC [Composer] Debug -> DEBU d98 @JS : TransactionLogger :onResourceUpdated() Serialized old resource 2017-07-19 23:33:48.801 UTC [Composer] Debug -> DEBU d99 @JS : Context :[object Object]() < 2017-07-19 23:33:48.801 UTC [Composer] Debug -> DEBU d9a @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.801 UTC [Composer] Debug -> DEBU d9b @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU d9c Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU d9d Exiting Context.getDataService 1 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU d9e Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU d9f Exiting Context.getEventService 1 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU da0 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU da1 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU da2 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:48.803 UTC [Composer] Debug -> DEBU da3 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da4 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da5 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da6 Exiting DataCollection.get 0 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da7 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da8 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU da9 @JS : Context :[object Object]() < 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU daa @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.804 UTC [Composer] Debug -> DEBU dab @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.805 UTC [Composer] Debug -> DEBU dac @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.805 UTC [Composer] Debug -> DEBU dad @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.805 UTC [Composer] Debug -> DEBU dae @JS : TransactionLogger :onResourceUpdated() Serialized new resource 2017-07-19 23:33:48.806 UTC [Composer] Debug -> DEBU daf @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db0 @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db1 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db2 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db3 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db4 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db5 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db6 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.807 UTC [Composer] Debug -> DEBU db7 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU db8 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU dba @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU dbb @JS : TransactionLogger :onResourceUpdated() Generated JSON Patch [object Object] 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU db9 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU dbc @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU dbd @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.808 UTC [Composer] Debug -> DEBU dbe @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dbf @JS : TransactionLogger :undefined() < 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dc0 Exiting DataCollection.get 0 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dc1 @JS : Context :[object Object]() < 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dc2 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dc3 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.809 UTC [Composer] Debug -> DEBU dc4 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.810 UTC [Composer] Debug -> DEBU dc5 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:48.810 UTC [Composer] Debug -> DEBU dc6 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.810 UTC [Composer] Debug -> DEBU dc8 @JS : CompiledScriptBundle :execute() Function executed (returned promise) 2017-07-19 23:33:48.811 UTC [Composer] Debug -> DEBU dc9 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.811 UTC [Composer] Debug -> DEBU dca @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:48.810 UTC [Composer] Debug -> DEBU dc7 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.812 UTC [Composer] Debug -> DEBU dcb @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.812 UTC [Composer] Debug -> DEBU dcc @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:48.813 UTC [Composer] Debug -> DEBU dcd @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.813 UTC [Composer] Debug -> DEBU dce @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.813 UTC [Composer] Debug -> DEBU dcf @JS : BusinessNetworkDefinition:fromArchive() Loaded README.md 2017-07-19 23:33:48.813 UTC [Composer] Debug -> DEBU dd0 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.814 UTC [Composer] Debug -> DEBU dd1 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.815 UTC [Composer] Debug -> DEBU dd2 @JS : Engine :invoke() < 2017-07-19 23:33:48.815 UTC [Composer] Debug -> DEBU dd3 Entering Engine.handleCallback 0xc4210b5aa0 &{0xc420140e60} 2017-07-19 23:33:48.815 UTC [Composer] Debug -> DEBU dd4 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dd5 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dd6 Exiting Composer.Invoke 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dd7 @JS : CompiledScriptBundle :execute() < 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dd8 Entering ComposerPool.Put &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dd9 Exiting ComposerPool.Put true 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU dda Exiting Chaincode.Invoke 200 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU ddb @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.816 UTC [Composer] Debug -> DEBU ddc @JS : ModelManager :constructor() < 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU ddd @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU dde @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU ddf @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU de0 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU de1 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU de2 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.817 UTC [Composer] Debug -> DEBU de3 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de4 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de5 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de6 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de7 Exiting Context.getDataService 1 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de8 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.818 UTC [Composer] Debug -> DEBU de9 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.819 UTC [Composer] Debug -> DEBU deb @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.819 UTC [Composer] Debug -> DEBU dea @JS : EngineTransactions :submitTransaction() Getting default transaction registry 2017-07-19 23:33:48.819 UTC [Composer] Debug -> DEBU dec Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:48.819 UTC [Composer] Debug -> DEBU ded @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU dee @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU def @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU df0 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU df1 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU df2 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.820 UTC [Composer] Debug -> DEBU df3 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:48.821 UTC [Composer] Debug -> DEBU df4 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc42116a1e0 2017-07-19 23:33:48.821 UTC [Composer] Debug -> DEBU df5 Exiting NewDataCollection &{0xc4200288d0 0xc42131e400 $sysregistries} 2017-07-19 23:33:48.821 UTC [Composer] Debug -> DEBU df6 Exiting DataService.getCollection 0 2017-07-19 23:33:48.822 UTC [Composer] Debug -> DEBU df7 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.822 UTC [Composer] Debug -> DEBU df8 Exiting DataCollection.get 0 2017-07-19 23:33:48.822 UTC [Composer] Debug -> DEBU df9 @JS : ModelManager :constructor() < 2017-07-19 23:33:48.822 UTC [Composer] Debug -> DEBU dfa @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.822 UTC [Composer] Debug -> DEBU dfb @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.823 UTC [Composer] Debug -> DEBU dfc @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.823 UTC [Composer] Debug -> DEBU dfd @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.823 UTC [Composer] Debug -> DEBU dfe @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.823 UTC [Composer] Debug -> DEBU dff @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.823 UTC [Composer] Debug -> DEBU e00 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.824 UTC [Composer] Debug -> DEBU e01 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.824 UTC [Composer] Debug -> DEBU e02 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:48.824 UTC [Composer] Debug -> DEBU e03 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:48.825 UTC [Composer] Debug -> DEBU e04 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.826 UTC [Composer] Debug -> DEBU e05 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42055f200} 0xc4211a5600 2017-07-19 23:33:48.828 UTC [Composer] Debug -> DEBU e06 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.828 UTC [Composer] Debug -> DEBU e07 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.828 UTC [Composer] Debug -> DEBU e08 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.828 UTC [Composer] Debug -> DEBU e09 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.828 UTC [Composer] Debug -> DEBU e0a @JS : ModelManager :constructor() > 2017-07-19 23:33:48.829 UTC [Composer] Debug -> DEBU e0b @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.829 UTC [Composer] Info -> INFO e0c @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.829 UTC [Composer] Debug -> DEBU e0d @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.829 UTC [Composer] Debug -> DEBU e0e @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.829 UTC [Composer] Debug -> DEBU e0f @JS : Engine :invoke() Calling engine function submitTransaction 2017-07-19 23:33:48.829 UTC [Composer] Debug -> DEBU e10 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e11 Exiting NewDataCollection &{0xc420142968 0xc42055f200 Transaction:default} 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e12 Exiting DataService.getCollection 0 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e13 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e14 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e15 Exiting Context.getDataService 1 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e16 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.830 UTC [Composer] Debug -> DEBU e17 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.831 UTC [Composer] Debug -> DEBU e18 @JS : EngineTransactions :submitTransaction() > [object Object], default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#TOSEDVQKUV_c1","newOwner":"resource:org.example.mynetwork.Trader#TOSEDVQKUV_t1","transactionId":"09403b58-3126-45d5-b650-9f4ca0ec3a81","timestamp":"2017-07-19T23:33:43.372Z"} 2017-07-19 23:33:48.831 UTC [Composer] Debug -> DEBU e19 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:48.831 UTC [Composer] Debug -> DEBU e1a Exiting Context.getDataService 1 2017-07-19 23:33:48.831 UTC [Composer] Debug -> DEBU e1b @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.832 UTC [Composer] Debug -> DEBU e1c Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc421177e00 2017-07-19 23:33:48.832 UTC [Composer] Debug -> DEBU e1d @JS : EngineTransactions :submitTransaction() Parsing transaction from JSON 2017-07-19 23:33:48.832 UTC [Composer] Debug -> DEBU e1e Exiting NewDataCollection &{0xc4202fe628 0xc42131e400 $sysidentities} 2017-07-19 23:33:48.832 UTC [Composer] Debug -> DEBU e20 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.832 UTC [Composer] Debug -> DEBU e1f @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.833 UTC [Composer] Debug -> DEBU e21 Exiting DataService.getCollection 0 2017-07-19 23:33:48.833 UTC [Composer] Debug -> DEBU e22 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.833 UTC [Composer] Debug -> DEBU e23 @JS : EngineTransactions :submitTransaction() Parsing transaction from parsed JSON object 2017-07-19 23:33:48.834 UTC [Composer] Debug -> DEBU e24 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e25 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e26 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e27 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e28 Entering IdentityService.getCurrentUserID &{0xc4201ce220} 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e29 Entering extractNameFromCreator 0xc42116ab40 2017-07-19 23:33:48.840 UTC [Composer] Debug -> DEBU e2a creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e2b Exiting extractNameFromCreator admin 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e2c Common Name admin 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e2d Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e2e @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e2f @JS : TransactionLogger :constructor() > Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81}, [object Object], [object Object] 2017-07-19 23:33:48.841 UTC [Composer] Debug -> DEBU e30 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e31 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e32 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e33 @JS : TransactionLogger :constructor() < 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e34 @JS : EngineTransactions :submitTransaction() Storing executed transaction in transaction registry 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e35 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.842 UTC [Composer] Debug -> DEBU e36 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.843 UTC [Composer] Debug -> DEBU e37 @JS : AccessController :check() > org.example.mynetwork.Trade#44ed880c-9906-4349-998a-c2fad16e932d, CREATE 2017-07-19 23:33:48.843 UTC [Composer] Debug -> DEBU e38 @JS : AccessController :check() No participant 2017-07-19 23:33:48.843 UTC [Composer] Debug -> DEBU e39 @JS : AccessController :check() < 2017-07-19 23:33:48.844 UTC [Composer] Debug -> DEBU e3a @JS : EngineTransactions :submitTransaction() Parsed transaction, resolving it Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:48.844 UTC [Composer] Debug -> DEBU e3b @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.844 UTC [Composer] Debug -> DEBU e3c @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.844 UTC [Composer] Debug -> DEBU e3d @JS : AccessController :constructor() < 2017-07-19 23:33:48.845 UTC [Composer] Debug -> DEBU e3e @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.845 UTC [Composer] Debug -> DEBU e3f @JS : Context :initialize() < 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e40 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e41 Exiting Context.getDataService 1 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e42 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e43 Exiting Context.getEventService 1 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e44 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e45 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e46 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e47 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.846 UTC [Composer] Debug -> DEBU e48 Entering DataCollection.add &{0xc4201ce500} 2017-07-19 23:33:48.849 UTC [Composer] Debug -> DEBU e49 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.850 UTC [Composer] Debug -> DEBU e4a Exiting DataCollection.add 0 2017-07-19 23:33:48.851 UTC [Composer] Debug -> DEBU e4b @JS : Resolver :constructor() > [object Object] 2017-07-19 23:33:48.852 UTC [Composer] Debug -> DEBU e4c @JS : Resolver :constructor() < 2017-07-19 23:33:48.852 UTC [Composer] Debug -> DEBU e4d @JS : TransactionLogger :onResourceAdded() > [object Object] 2017-07-19 23:33:48.852 UTC [Composer] Debug -> DEBU e4e @JS : TransactionLogger :undefined() < 2017-07-19 23:33:48.852 UTC [Composer] Debug -> DEBU e4f @JS : Resolver :resolve() > Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e50 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81}, [object Object] 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e51 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e53 Exiting Context.getDataService 1 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e54 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e55 Exiting Context.getEventService 1 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e56 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e57 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e58 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e59 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.854 UTC [Composer] Debug -> DEBU e5a @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.853 UTC [Composer] Debug -> DEBU e52 @JS : Resolver :resolveResourceOrConcept() Looking at property commodity 2017-07-19 23:33:48.855 UTC [Composer] Debug -> DEBU e5b @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e5c @JS : ModelManager :constructor() < 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e5d @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e5e @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e5f @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e60 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.856 UTC [Composer] Debug -> DEBU e61 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.857 UTC [Composer] Debug -> DEBU e62 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.857 UTC [Composer] Debug -> DEBU e63 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1} 2017-07-19 23:33:48.858 UTC [Composer] Debug -> DEBU e64 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.858 UTC [Composer] Debug -> DEBU e65 @JS : AclCompiler :processScript() < 2017-07-19 23:33:48.858 UTC [Composer] Debug -> DEBU e66 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:48.859 UTC [Composer] Debug -> DEBU e67 @JS : BusinessNetworkDefinition:fromArchive() Loaded model file 2017-07-19 23:33:48.867 UTC [Composer] Debug -> DEBU e68 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:48.867 UTC [Composer] Debug -> DEBU e69 @JS : BusinessNetworkDefinition:fromArchive() Loaded JavaScript file 2017-07-19 23:33:48.868 UTC [Composer] Debug -> DEBU e6a @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.869 UTC [Composer] Debug -> DEBU e6b @JS : Resolver :resolveResourceOrConcept() Looking at property newOwner 2017-07-19 23:33:48.869 UTC [Composer] Debug -> DEBU e6c @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e6d @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e6e @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e6f @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1} 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e70 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e71 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e72 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.871 UTC [Composer] Debug -> DEBU e73 @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"TSNLFMEFFA_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:48.872 UTC [Composer] Debug -> DEBU e74 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.872 UTC [Composer] Debug -> DEBU e75 Exiting Context.getDataService 1 2017-07-19 23:33:48.872 UTC [Composer] Debug -> DEBU e76 Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:48.874 UTC [Composer] Debug -> DEBU e77 Exiting DataCollection.get 0 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e78 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e79 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e7a @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e7b @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e7c @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e7d @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.875 UTC [Composer] Debug -> DEBU e7e @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.876 UTC [Composer] Debug -> DEBU e7f @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.876 UTC [Composer] Debug -> DEBU e80 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.876 UTC [Composer] Debug -> DEBU e81 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.876 UTC [Composer] Debug -> DEBU e82 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.876 UTC [Composer] Debug -> DEBU e83 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e84 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e85 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e86 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e87 Exiting Context.getDataService 1 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e88 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e89 @JS : Resolver :resolveResourceOrConcept() Looking at property transactionId 2017-07-19 23:33:48.877 UTC [Composer] Debug -> DEBU e8a Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc42131e400} 0xc4210eacc0 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e8b Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e8c Exiting Context.getDataService 1 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e8d Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e8e Exiting Context.getEventService 1 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e8f Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e90 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e91 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.878 UTC [Composer] Debug -> DEBU e92 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.879 UTC [Composer] Debug -> DEBU e93 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc42112fb70 2017-07-19 23:33:48.879 UTC [Composer] Debug -> DEBU e94 Exiting NewDataCollection &{0xc420028af8 0xc42008cf00 $sysdata} 2017-07-19 23:33:48.880 UTC [Composer] Debug -> DEBU e95 Exiting DataService.getCollection 0 2017-07-19 23:33:48.880 UTC [Composer] Debug -> DEBU e96 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.884 UTC [Composer] Debug -> DEBU e97 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e98 @JS : BusinessNetworkDefinition:fromArchive() Loaded permissions.acl 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e99 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 09403b58-3126-45d5-b650-9f4ca0ec3a81 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e9a @JS : Resolver :resolveResourceOrConcept() Looking at property timestamp 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e9b Exiting DataCollection.get 0 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e9c @JS : Context :[object Object]() < 2017-07-19 23:33:48.886 UTC [Composer] Debug -> DEBU e9d @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.887 UTC [Composer] Debug -> DEBU e9e Exiting NewDataCollection &{0xc420028a80 0xc42131e400 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:48.887 UTC [Composer] Debug -> DEBU e9f Exiting DataService.getCollection 0 2017-07-19 23:33:48.887 UTC [Composer] Debug -> DEBU ea0 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.887 UTC [Composer] Debug -> DEBU ea1 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.892 UTC [Composer] Debug -> DEBU ea2 @JS : BusinessNetworkDefinition:fromArchive() Loaded package.json 2017-07-19 23:33:48.892 UTC [Composer] Debug -> DEBU ea3 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 2017-07-19 23:33:43.372+00:00 2017-07-19 23:33:48.893 UTC [Composer] Debug -> DEBU ea4 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.893 UTC [Composer] Debug -> DEBU ea5 @JS : BusinessNetworkDefinition:constructor() > null, null 2017-07-19 23:33:48.893 UTC [Composer] Debug -> DEBU ea6 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU ea7 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU ea8 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU ea9 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU eaa @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU eab @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU eac @JS : ModelManager :constructor() < 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU ead @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU eaf @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.894 UTC [Composer] Debug -> DEBU eae @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:48.895 UTC [Composer] Debug -> DEBU eb0 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:48.895 UTC [Composer] Debug -> DEBU eb1 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:48.895 UTC [Composer] Debug -> DEBU eb2 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:48.895 UTC [Composer] Debug -> DEBU eb3 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:48.896 UTC [Composer] Debug -> DEBU eb4 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:48.896 UTC [Composer] Debug -> DEBU eb5 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU eb6 @JS : AccessController :check() > org.example.mynetwork.Trader#TSNLFMEFFA_t9, CREATE 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU eb7 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU eb8 @JS : BusinessNetworkDefinition:constructor() Using package.json{"engines":{"composer":"^0.10.0"},"name":"my-network","version":"0.1.2","description":"The Hello World of Hyperledger Composer samples","networkImage":"https://github.com/hyperledger/composer-sample-networks/blob/master/packages/my-network/networkimage.png","scripts":{"prepublish":"mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna","pretest":"npm run lint","lint":"eslint .","postlint":"npm run licchk","licchk":"license-check","postlicchk":"npm run doc","doc":"jsdoc --pedantic --recurse -c jsdoc.conf","test-inner":"mocha -t 0 --recursive && cucumber-js","test-cover":"nyc npm run test-inner","test":"npm run test-inner"},"repository":{"type":"git","url":"https://github.com/hyperledger/composer-sample-networks.git"},"keywords":["sample","composer","composer-network"],"author":"Hyperledger Composer","license":"Apache-2.0","devDependencies":{"browserfs":"^1.2.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","composer-admin":"^0.9.0","composer-cli":"^0.9.0","composer-client":"^0.9.0","composer-connector-embedded":"^0.9.0","composer-cucumber-steps":"^0.9.0","cucumber":"^2.2.0","eslint":"^3.6.1","istanbul":"^0.4.5","jsdoc":"^3.4.1","license-check":"^1.1.5","mkdirp":"^0.5.1","mocha":"^3.2.0","moment":"^2.17.1","nyc":"^11.0.2"},"license-check-config":{"src":["**/*.js","!./coverage/**/*","!./node_modules/**/*","!./out/**/*","!./scripts/**/*"],"path":"header.txt","blocking":true,"logInfo":false,"logError":true},"nyc":{"exclude":["coverage/**","features/**","out/**","test/**"],"reporter":["text-summary","html"],"all":true,"check-coverage":true,"statements":100,"branches":100,"functions":100,"lines":100}} 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU eb9 @JS : AccessController :check() No participant 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU eba @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1}, [object Object] 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU ebb @JS : AccessController :check() < 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ebe @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1} 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ebf @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU ebc Entering EventService.transactionCommit &{0xc4201ce500} 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec0 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec1 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Commodity super=Asset enum=false abstract=false} 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec2 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec3 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.897 UTC [Composer] Debug -> DEBU ebd @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec4 @JS : EventService :getEvents() > 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ec6 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ec7 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Commodity 2017-07-19 23:33:48.898 UTC [Composer] Debug -> DEBU ec5 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ec8 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ec9 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU eca @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ecb @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.899 UTC [Composer] Debug -> DEBU ecc @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.900 UTC [Composer] Debug -> DEBU ecd @JS : EventService :getEvents() < 2017-07-19 23:33:48.900 UTC [Composer] Debug -> DEBU ece Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.900 UTC [Composer] Debug -> DEBU ecf Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed0 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed1 @JS : ModelManager :constructor() > 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed2 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed3 @JS : QueryCompiler :visit() < 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed4 @JS : ModelManager :addSystemModels() > 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed5 Entering DataCollection.add &{0xc4201ce220} 2017-07-19 23:33:48.901 UTC [Composer] Debug -> DEBU ed6 Exiting DataCollection.get 0 2017-07-19 23:33:48.902 UTC [Composer] Debug -> DEBU ed7 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:48.902 UTC [Composer] Debug -> DEBU ed8 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:48.902 UTC [Composer] Info -> INFO ed9 @JS : ModelManager :info() namespace org.hyperledger.composer.system abstract asset Asset { } abstract participant Participant { } abstract transaction Transaction identified by transactionId{ o String transactionId o DateTime timestamp } abstract event Event identified by eventId{ o String eventId o DateTime timestamp } 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU eda @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU edb @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU edc @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU edd @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU ede @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU edf @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.903 UTC [Composer] Debug -> DEBU ee0 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:48.904 UTC [Composer] Debug -> DEBU ee1 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.904 UTC [Composer] Debug -> DEBU ee2 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee4 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee5 Exiting Context.getDataService 1 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee6 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee7 Exiting Context.getEventService 1 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee8 Exiting DataCollection.add 0 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eea Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee3 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ee9 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eec Exiting Context.getIdentityService 1 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eed Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eef Exiting Context.getHTTPService 1 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ef0 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eee @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU eeb Exiting Context.getDataService 1 2017-07-19 23:33:48.905 UTC [Composer] Debug -> DEBU ef1 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:48.907 UTC [Composer] Debug -> DEBU ef2 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4210c54d0 2017-07-19 23:33:48.907 UTC [Composer] Debug -> DEBU ef3 Exiting NewDataCollection &{0xc420150a30 0xc4211c6580 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:48.907 UTC [Composer] Debug -> DEBU ef4 Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc4210dd0e0 2017-07-19 23:33:48.908 UTC [Composer] Debug -> DEBU ef5 Exiting NewDataCollection &{0xc420142c20 0xc420149c80 $sysdata} 2017-07-19 23:33:48.908 UTC [Composer] Debug -> DEBU ef6 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.908 UTC [Composer] Debug -> DEBU ef7 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:48.908 UTC [Composer] Debug -> DEBU ef8 Exiting Context.getDataService 1 2017-07-19 23:33:48.908 UTC [Composer] Debug -> DEBU ef9 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:48.909 UTC [Composer] Debug -> DEBU efa Exiting DataService.getCollection 0 2017-07-19 23:33:48.909 UTC [Composer] Debug -> DEBU efb Exiting DataService.getCollection 0 2017-07-19 23:33:48.909 UTC [Composer] Debug -> DEBU efc @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU efd Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU efe Exiting Context.getDataService 1 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU eff Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU f00 Exiting Context.getEventService 1 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU f01 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU f02 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU f03 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.910 UTC [Composer] Debug -> DEBU f04 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.912 UTC [Composer] Debug -> DEBU f05 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.912 UTC [Composer] Debug -> DEBU f06 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.912 UTC [Composer] Debug -> DEBU f07 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.916 UTC [Composer] Debug -> DEBU f08 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.918 UTC [Composer] Debug -> DEBU f09 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc42112da80 2017-07-19 23:33:48.920 UTC [Composer] Debug -> DEBU f0a Exiting NewDataCollection &{0xc4202fe7f0 0xc420149900 $sysdata} 2017-07-19 23:33:48.920 UTC [Composer] Debug -> DEBU f0b Exiting DataService.getCollection 0 2017-07-19 23:33:48.922 UTC [Composer] Debug -> DEBU f0c @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:48.923 UTC [Composer] Debug -> DEBU f0d @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.923 UTC [Composer] Debug -> DEBU f0e @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.925 UTC [Composer] Debug -> DEBU f0f @JS : Resolver :resolveRelationship() Getting resource in registry TOSEDVQKUV_c1 2017-07-19 23:33:48.925 UTC [Composer] Debug -> DEBU f11 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.925 UTC [Composer] Debug -> DEBU f10 Entering DataCollection.get &{0xc420145580} 2017-07-19 23:33:48.928 UTC [Composer] Debug -> DEBU f12 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.928 UTC [Composer] Debug -> DEBU f13 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:48.931 UTC [Composer] Debug -> DEBU f14 Exiting DataCollection.get 0 2017-07-19 23:33:48.932 UTC [Composer] Debug -> DEBU f15 Exiting DataCollection.get 0 2017-07-19 23:33:48.932 UTC [Composer] Debug -> DEBU f16 Exiting DataCollection.get 0 2017-07-19 23:33:48.932 UTC [Composer] Debug -> DEBU f17 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.932 UTC [Composer] Debug -> DEBU f18 @JS : Context :[object Object]() < 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f19 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1a @JS : Context :[object Object]() < 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1b @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1c @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1d @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1e @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f1f @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f20 @JS : AccessController :check() > org.example.mynetwork.Commodity#TOSEDVQKUV_c1, READ 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f21 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f22 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f23 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.933 UTC [Composer] Debug -> DEBU f24 @JS : Engine :invoke() < 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f25 @JS : AccessController :check() No participant 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f26 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f27 Exiting Context.getDataService 1 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f28 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f29 Exiting Context.getEventService 1 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2a Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2b Exiting Context.getIdentityService 1 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2c Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2d Exiting Context.getHTTPService 1 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2e @JS : AccessController :check() < 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f2f Entering Engine.handleCallback 0xc4205ce7e0 &{0xc4201ce500} 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f30 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.934 UTC [Composer] Debug -> DEBU f31 Exiting Composer.Invoke 2017-07-19 23:33:48.935 UTC [Composer] Debug -> DEBU f32 Entering ComposerPool.Put &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:48.935 UTC [Composer] Debug -> DEBU f33 Exiting ComposerPool.Put true 2017-07-19 23:33:48.935 UTC [Composer] Debug -> DEBU f34 Exiting Chaincode.Invoke 200 2017-07-19 23:33:48.935 UTC [Composer] Debug -> DEBU f35 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:48.935 UTC [Composer] Debug -> DEBU f36 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:48.937 UTC [Composer] Debug -> DEBU f37 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:48.938 UTC [Composer] Debug -> DEBU f38 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:48.938 UTC [Composer] Debug -> DEBU f39 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:48.938 UTC [Composer] Debug -> DEBU f3a @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.939 UTC [Composer] Debug -> DEBU f3b @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.939 UTC [Composer] Debug -> DEBU f3c @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.939 UTC [Composer] Debug -> DEBU f3d @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.939 UTC [Composer] Debug -> DEBU f3e Entering EventService.transactionCommit &{0xc4201ce220} 2017-07-19 23:33:48.939 UTC [Composer] Debug -> DEBU f3f @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.940 UTC [Composer] Debug -> DEBU f40 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:48.940 UTC [Composer] Debug -> DEBU f41 @JS : EventService :getEvents() > 2017-07-19 23:33:48.940 UTC [Composer] Debug -> DEBU f42 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:48.940 UTC [Composer] Debug -> DEBU f43 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:48.940 UTC [Composer] Debug -> DEBU f44 @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f45 @JS : EventService :getEvents() < 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f46 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f47 Exiting EventService.transactionCommit 0 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f48 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1}, [object Object] 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f49 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f4a @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:48.941 UTC [Composer] Debug -> DEBU f4b @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.943 UTC [Composer] Debug -> DEBU f4c @JS : Resolver :resolveResourceOrConcept() Looking at property tradingSymbol 2017-07-19 23:33:48.944 UTC [Composer] Debug -> DEBU f4e @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.943 UTC [Composer] Debug -> DEBU f4d @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:48.945 UTC [Composer] Debug -> DEBU f4f @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:48.946 UTC [Composer] Debug -> DEBU f51 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring TOSEDVQKUV_c1 2017-07-19 23:33:48.945 UTC [Composer] Debug -> DEBU f50 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.947 UTC [Composer] Debug -> DEBU f52 @JS : Resolver :resolveResourceOrConcept() Looking at property description 2017-07-19 23:33:48.947 UTC [Composer] Debug -> DEBU f53 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.947 UTC [Composer] Debug -> DEBU f54 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.947 UTC [Composer] Debug -> DEBU f55 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f56 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Sample Commodity 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f57 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f58 Exiting Context.getDataService 1 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f59 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5a Exiting Context.getEventService 1 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5b Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5c Exiting Context.getIdentityService 1 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5d @JS : Resolver :resolveResourceOrConcept() Looking at property mainExchange 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5e Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f60 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.949 UTC [Composer] Debug -> DEBU f5f @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.950 UTC [Composer] Debug -> DEBU f61 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring IDK 2017-07-19 23:33:48.950 UTC [Composer] Debug -> DEBU f62 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:48.951 UTC [Composer] Debug -> DEBU f63 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.951 UTC [Composer] Debug -> DEBU f64 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:48.951 UTC [Composer] Debug -> DEBU f65 @JS : Resolver :resolveResourceOrConcept() Looking at property quantity 2017-07-19 23:33:48.951 UTC [Composer] Debug -> DEBU f67 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:48.952 UTC [Composer] Debug -> DEBU f68 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 0 2017-07-19 23:33:48.951 UTC [Composer] Debug -> DEBU f66 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.952 UTC [Composer] Debug -> DEBU f69 @JS : Resolver :resolveResourceOrConcept() Looking at property owner 2017-07-19 23:33:48.953 UTC [Composer] Debug -> DEBU f6a @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.953 UTC [Composer] Debug -> DEBU f6b @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:48.953 UTC [Composer] Debug -> DEBU f6c @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0} 2017-07-19 23:33:48.956 UTC [Composer] Debug -> DEBU f6d @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:48.959 UTC [Composer] Debug -> DEBU f6e @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:48.961 UTC [Composer] Debug -> DEBU f6f @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:48.963 UTC [Composer] Debug -> DEBU f70 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f71 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f72 @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0}, [object Object] 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f73 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f74 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f75 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f76 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f77 Exiting Context.getDataService 1 2017-07-19 23:33:48.964 UTC [Composer] Debug -> DEBU f78 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:48.965 UTC [Composer] Debug -> DEBU f79 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:48.965 UTC [Composer] Debug -> DEBU f7a @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:48.965 UTC [Composer] Debug -> DEBU f7b @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0} 2017-07-19 23:33:48.967 UTC [Composer] Debug -> DEBU f7c Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc421065740 2017-07-19 23:33:48.967 UTC [Composer] Debug -> DEBU f7d Exiting NewDataCollection &{0xc420142d58 0xc420149300 $sysregistries} 2017-07-19 23:33:48.967 UTC [Composer] Debug -> DEBU f7e Exiting DataService.getCollection 0 2017-07-19 23:33:48.968 UTC [Composer] Debug -> DEBU f7f @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:48.968 UTC [Composer] Debug -> DEBU f80 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.968 UTC [Composer] Debug -> DEBU f81 Exiting Context.getDataService 1 2017-07-19 23:33:48.968 UTC [Composer] Debug -> DEBU f82 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:48.969 UTC [Composer] Debug -> DEBU f83 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:48.969 UTC [Composer] Debug -> DEBU f84 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:48.970 UTC [Composer] Debug -> DEBU f85 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc421065e10 2017-07-19 23:33:48.970 UTC [Composer] Debug -> DEBU f86 Exiting NewDataCollection &{0xc420028e58 0xc420149300 $sysidentities} 2017-07-19 23:33:48.970 UTC [Composer] Debug -> DEBU f87 Exiting DataService.getCollection 0 2017-07-19 23:33:48.971 UTC [Composer] Debug -> DEBU f88 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:48.971 UTC [Composer] Debug -> DEBU f89 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:48.971 UTC [Composer] Debug -> DEBU f8a @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:48.971 UTC [Composer] Debug -> DEBU f8b @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:48.972 UTC [Composer] Debug -> DEBU f8c @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:48.972 UTC [Composer] Debug -> DEBU f8d @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.972 UTC [Composer] Debug -> DEBU f8e @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:48.972 UTC [Composer] Debug -> DEBU f8f @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f90 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f91 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f92 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f93 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f94 Entering IdentityService.getCurrentUserID &{0xc4201cf6e0} 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f95 Entering extractNameFromCreator 0xc4210accd0 2017-07-19 23:33:48.975 UTC [Composer] Debug -> DEBU f96 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f97 Exiting extractNameFromCreator admin 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f98 Common Name admin 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f99 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f9a @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f9b @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f9c @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f9d @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:48.976 UTC [Composer] Debug -> DEBU f9e @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU f9f @JS : AccessController :constructor() < 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa0 @JS : Context :initialize() < 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa1 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa2 Exiting Context.getDataService 1 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa3 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa4 Exiting Context.getEventService 1 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa5 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa6 Exiting Context.getIdentityService 1 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa7 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:48.977 UTC [Composer] Debug -> DEBU fa8 Exiting Context.getHTTPService 1 2017-07-19 23:33:48.978 UTC [Composer] Debug -> DEBU fa9 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:48.978 UTC [Composer] Debug -> DEBU faa Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:48.980 UTC [Composer] Debug -> DEBU fab @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:48.980 UTC [Composer] Debug -> DEBU fac Exiting DataCollection.get 0 2017-07-19 23:33:48.981 UTC [Composer] Debug -> DEBU fad @JS : Context :initialize() Got business network archive 2017-07-19 23:33:48.986 UTC [Composer] Debug -> DEBU fae @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:48.986 UTC [Composer] Debug -> DEBU faf @JS : Engine :invoke() < 2017-07-19 23:33:48.986 UTC [Composer] Debug -> DEBU fb0 Entering Engine.handleCallback 0xc4212abd40 &{0xc4201ce220} 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb1 Exiting Engine.handleCallback 0 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb2 Exiting Composer.Invoke 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb3 Entering ComposerPool.Put &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb4 Exiting ComposerPool.Put true 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb5 Exiting Chaincode.Invoke 200 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb6 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb7 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:48.987 UTC [Composer] Debug -> DEBU fb8 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fb9 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fba @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fbb @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fbc @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fbd @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:48.988 UTC [Composer] Debug -> DEBU fbe @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fbf @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc0 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc1 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc2 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc3 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc4 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc5 Exiting Context.getDataService 1 2017-07-19 23:33:48.989 UTC [Composer] Debug -> DEBU fc6 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:48.991 UTC [Composer] Debug -> DEBU fc7 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc42066e800 2017-07-19 23:33:48.992 UTC [Composer] Debug -> DEBU fc8 Exiting NewDataCollection &{0xc420150c30 0xc42008d200 $sysdata} 2017-07-19 23:33:48.992 UTC [Composer] Debug -> DEBU fc9 Exiting DataService.getCollection 0 2017-07-19 23:33:48.992 UTC [Composer] Debug -> DEBU fca @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:48.992 UTC [Composer] Debug -> DEBU fcb Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:48.994 UTC [Composer] Debug -> DEBU fcc Exiting DataCollection.get 0 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fcd @JS : Context :[object Object]() < 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fce @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fcf @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fd0 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fd1 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:48.995 UTC [Composer] Debug -> DEBU fd2 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:48.996 UTC [Composer] Debug -> DEBU fd3 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:48.996 UTC [Composer] Debug -> DEBU fd4 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.001 UTC [Composer] Debug -> DEBU fd5 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.002 UTC [Composer] Debug -> DEBU fd6 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.002 UTC [Composer] Debug -> DEBU fd7 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.002 UTC [Composer] Debug -> DEBU fd8 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.002 UTC [Composer] Debug -> DEBU fd9 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.002 UTC [Composer] Debug -> DEBU fda @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.003 UTC [Composer] Debug -> DEBU fdb @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.003 UTC [Composer] Debug -> DEBU fdc @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.003 UTC [Composer] Debug -> DEBU fdd @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.003 UTC [Composer] Debug -> DEBU fde @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fdf Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe0 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe1 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe2 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe3 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe4 Exiting Context.getDataService 1 2017-07-19 23:33:49.004 UTC [Composer] Debug -> DEBU fe5 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.005 UTC [Composer] Debug -> DEBU fe6 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.007 UTC [Composer] Debug -> DEBU fe7 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.007 UTC [Composer] Debug -> DEBU fe8 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc42106fab0 2017-07-19 23:33:49.007 UTC [Composer] Debug -> DEBU fe9 Exiting NewDataCollection &{0xc420142dc8 0xc420149600 $sysdata} 2017-07-19 23:33:49.007 UTC [Composer] Debug -> DEBU fea Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc42066eea0 2017-07-19 23:33:49.007 UTC [Composer] Debug -> DEBU feb Exiting NewDataCollection &{0xc420142da8 0xc4211c6580 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.010 UTC [Composer] Debug -> DEBU fed @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.010 UTC [Composer] Debug -> DEBU fee Exiting DataService.getCollection 0 2017-07-19 23:33:49.009 UTC [Composer] Debug -> DEBU fec @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.010 UTC [Composer] Debug -> DEBU fef @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff0 Exiting DataService.getCollection 0 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff1 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff2 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff3 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff4 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff5 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff6 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.011 UTC [Composer] Debug -> DEBU ff7 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.012 UTC [Composer] Debug -> DEBU ff8 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.012 UTC [Composer] Debug -> DEBU ff9 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.012 UTC [Composer] Debug -> DEBU ffa @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.012 UTC [Composer] Debug -> DEBU ffb @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU ffc @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU ffd @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU ffe @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU fff Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU 1000 Exiting Context.getDataService 1 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU 1001 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU 1002 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.014 UTC [Composer] Debug -> DEBU 1004 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.015 UTC [Composer] Debug -> DEBU 1005 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc421043f10 2017-07-19 23:33:49.015 UTC [Composer] Debug -> DEBU 1006 Exiting NewDataCollection &{0xc420029028 0xc42008cf00 $sysdata} 2017-07-19 23:33:49.013 UTC [Composer] Debug -> DEBU 1003 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.016 UTC [Composer] Debug -> DEBU 1007 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.016 UTC [Composer] Debug -> DEBU 1008 Exiting Context.getDataService 1 2017-07-19 23:33:49.016 UTC [Composer] Debug -> DEBU 1009 Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.017 UTC [Composer] Debug -> DEBU 100a @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.018 UTC [Composer] Debug -> DEBU 100b Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc42106fe80 2017-07-19 23:33:49.018 UTC [Composer] Debug -> DEBU 100c Exiting NewDataCollection &{0xc4202fea08 0xc420149000 $sysdata} 2017-07-19 23:33:49.018 UTC [Composer] Debug -> DEBU 100d Exiting DataService.getCollection 0 2017-07-19 23:33:49.019 UTC [Composer] Debug -> DEBU 100e Exiting DataService.getCollection 0 2017-07-19 23:33:49.020 UTC [Composer] Debug -> DEBU 100f Exiting DataCollection.get 0 2017-07-19 23:33:49.020 UTC [Composer] Debug -> DEBU 1010 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1011 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1012 @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1013 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1014 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1015 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1016 @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1017 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.021 UTC [Composer] Debug -> DEBU 1018 Exiting Context.getDataService 1 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 1019 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101a Entering DataCollection.get &{0xc4201cf6a0} 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101b @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101c @JS : Context :[object Object]() < 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101d @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101e Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.022 UTC [Composer] Debug -> DEBU 101f @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.023 UTC [Composer] Debug -> DEBU 1020 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.023 UTC [Composer] Debug -> DEBU 1021 @JS : ModelManager :addSystemModels() < 2017-07-19 23:33:49.023 UTC [Composer] Debug -> DEBU 1022 @JS : ModelManager :constructor() < 2017-07-19 23:33:49.023 UTC [Composer] Debug -> DEBU 1023 @JS : BusinessNetworkMetadata :constructor() > # Basic Sample Business Network > This is the "Hello World" of Hyperledger Composer samples, which demonstrates the core functionality of Hyperledger Composer by changing the value of an asset. This business network defines: **Participant** `SampleParticipant` **Asset** `SampleAsset` **Transaction** `SampleTransaction` **Event** `SampleEvent` SampleAssets are owned by a SampleParticipant, and the value property on a SampleAsset can be modified by submitting a SampleTransaction. The SampleTransaction emits a SampleEvent that notifies applications of the old and new values for each modified SampleAsset. To test this Business Network Definition in the **Test** tab: Create a `SampleParticipant` participant: ``` { "$class": "org.acme.sample.SampleParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" } ``` Create a `SampleAsset` asset: ``` { "$class": "org.acme.sample.SampleAsset", "assetId": "assetId:1", "owner": "resource:org.acme.sample.SampleParticipant#Toby", "value": "original value" } ``` Submit a `SampleTransaction` transaction: ``` { "$class": "org.acme.sample.SampleTransaction", "asset": "resource:org.acme.sample.SampleAsset#assetId:1", "newValue": "new value" } ``` After submitting this transaction, you should now see the transaction in the Transaction Registry and that a `SampleEvent` has been emitted. As a result, the value of the `assetId:1` should now be `new value` in the Asset Registry. Congratulations! 2017-07-19 23:33:49.024 UTC [Composer] Debug -> DEBU 1024 @JS : BusinessNetworkMetadata :constructor() < 2017-07-19 23:33:49.024 UTC [Composer] Debug -> DEBU 1025 @JS : BusinessNetworkDefinition:constructor() < 2017-07-19 23:33:49.024 UTC [Composer] Debug -> DEBU 1026 @JS : BusinessNetworkDefinition:fromArchive() Loaded all model, JavaScript, ACL files and Query files 2017-07-19 23:33:49.025 UTC [Composer] Debug -> DEBU 1027 Exiting DataCollection.get 0 2017-07-19 23:33:49.025 UTC [Composer] Debug -> DEBU 1028 @JS : BusinessNetworkDefinition:fromArchive() Adding model files to model manager 2017-07-19 23:33:49.026 UTC [Composer] Debug -> DEBU 1029 @JS : ModelManager :addModelFiles() > addModelFiles, /** * My commodity trading network */ namespace org.example.mynetwork asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } , models/sample.cto 2017-07-19 23:33:49.026 UTC [Composer] Debug -> DEBU 102a @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.026 UTC [Composer] Debug -> DEBU 102b @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.026 UTC [Composer] Debug -> DEBU 102c @JS : Resolver :resolveRelationship() Getting resource in registry TOSEDVQKUV_t0 2017-07-19 23:33:49.027 UTC [Composer] Debug -> DEBU 102d Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.028 UTC [Composer] Debug -> DEBU 102e Exiting DataCollection.get 0 2017-07-19 23:33:49.028 UTC [Composer] Debug -> DEBU 102f Exiting DataCollection.get 0 2017-07-19 23:33:49.028 UTC [Composer] Debug -> DEBU 1030 @JS : Context :[object Object]() < 2017-07-19 23:33:49.028 UTC [Composer] Debug -> DEBU 1031 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1033 @JS : Context :[object Object]() < 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1032 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1035 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1036 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1034 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc420149300} 0xc420632d20 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1037 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.029 UTC [Composer] Debug -> DEBU 1038 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.030 UTC [Composer] Debug -> DEBU 1039 Exiting NewDataCollection &{0xc420029078 0xc420149300 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.031 UTC [Composer] Debug -> DEBU 103a @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.031 UTC [Composer] Debug -> DEBU 103b @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:49.031 UTC [Composer] Debug -> DEBU 103c @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:49.031 UTC [Composer] Debug -> DEBU 103d @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:49.031 UTC [Composer] Debug -> DEBU 103e @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.032 UTC [Composer] Debug -> DEBU 103f @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.032 UTC [Composer] Debug -> DEBU 1040 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.032 UTC [Composer] Debug -> DEBU 1041 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.033 UTC [Composer] Debug -> DEBU 1042 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.033 UTC [Composer] Debug -> DEBU 1043 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.033 UTC [Composer] Debug -> DEBU 1044 Exiting DataCollection.get 0 2017-07-19 23:33:49.033 UTC [Composer] Debug -> DEBU 1045 Exiting DataService.getCollection 0 2017-07-19 23:33:49.033 UTC [Composer] Debug -> DEBU 1046 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.034 UTC [Composer] Debug -> DEBU 1047 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.034 UTC [Composer] Debug -> DEBU 1048 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.034 UTC [Composer] Debug -> DEBU 1049 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.034 UTC [Composer] Debug -> DEBU 104a @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.034 UTC [Composer] Debug -> DEBU 104b @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.035 UTC [Composer] Debug -> DEBU 104c @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.035 UTC [Composer] Debug -> DEBU 104d @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 104e @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 104f @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1050 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1051 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1052 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1054 @JS : AccessController :check() > org.example.mynetwork.Trader#TOSEDVQKUV_t0, READ 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1055 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1056 @JS : AccessController :check() No participant 2017-07-19 23:33:49.036 UTC [Composer] Debug -> DEBU 1053 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 1057 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 1058 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 1059 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 105a @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 105b @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 105c @JS : AccessController :check() < 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 105d @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.037 UTC [Composer] Debug -> DEBU 105e @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 105f @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 1060 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 1061 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 1062 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 1063 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.038 UTC [Composer] Debug -> DEBU 1064 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1065 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1066 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1067 Exiting Context.getDataService 1 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1068 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1069 Exiting Context.getEventService 1 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106a Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106b Exiting Context.getIdentityService 1 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106c Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106d Exiting Context.getHTTPService 1 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106e @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 106f @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.039 UTC [Composer] Debug -> DEBU 1070 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.040 UTC [Composer] Debug -> DEBU 1071 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.040 UTC [Composer] Debug -> DEBU 1072 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.041 UTC [Composer] Debug -> DEBU 1073 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.041 UTC [Composer] Debug -> DEBU 1074 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.041 UTC [Composer] Debug -> DEBU 1075 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.041 UTC [Composer] Debug -> DEBU 1076 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.041 UTC [Composer] Debug -> DEBU 1077 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 1078 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 1079 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 107a @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 107b @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 107c @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.042 UTC [Composer] Debug -> DEBU 107d @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 107e @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 107f @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 1080 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 1081 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 1082 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.043 UTC [Composer] Debug -> DEBU 1083 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1084 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1085 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1086 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1087 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1088 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.044 UTC [Composer] Debug -> DEBU 1089 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.045 UTC [Composer] Debug -> DEBU 108a @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:49.045 UTC [Composer] Debug -> DEBU 108b @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0}, [object Object] 2017-07-19 23:33:49.045 UTC [Composer] Debug -> DEBU 108c @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.045 UTC [Composer] Debug -> DEBU 108d @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.045 UTC [Composer] Debug -> DEBU 108e @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:49.046 UTC [Composer] Debug -> DEBU 1090 @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:49.046 UTC [Composer] Debug -> DEBU 1091 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.046 UTC [Composer] Debug -> DEBU 108f @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.047 UTC [Composer] Debug -> DEBU 1092 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.047 UTC [Composer] Debug -> DEBU 1093 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.047 UTC [Composer] Debug -> DEBU 1094 Exiting Context.getDataService 1 2017-07-19 23:33:49.048 UTC [Composer] Debug -> DEBU 1095 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.048 UTC [Composer] Debug -> DEBU 1096 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.049 UTC [Composer] Debug -> DEBU 1097 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 1098 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4206109d0 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 1099 Exiting NewDataCollection &{0xc420150d60 0xc42008d900 $sysdata} 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 109a @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 109b @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 109c @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring TOSEDVQKUV_t0 2017-07-19 23:33:49.050 UTC [Composer] Debug -> DEBU 109d Exiting DataService.getCollection 0 2017-07-19 23:33:49.051 UTC [Composer] Debug -> DEBU 109e @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.051 UTC [Composer] Debug -> DEBU 109f @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.051 UTC [Composer] Debug -> DEBU 10a0 @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:49.051 UTC [Composer] Debug -> DEBU 10a1 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a2 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a3 Exiting Context.getDataService 1 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a5 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a6 Exiting Context.getEventService 1 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a7 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a8 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a9 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10aa Exiting Context.getHTTPService 1 2017-07-19 23:33:49.052 UTC [Composer] Debug -> DEBU 10a4 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:49.053 UTC [Composer] Debug -> DEBU 10ab @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:49.053 UTC [Composer] Debug -> DEBU 10ac @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.053 UTC [Composer] Debug -> DEBU 10ad @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.054 UTC [Composer] Debug -> DEBU 10ae @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.054 UTC [Composer] Debug -> DEBU 10af Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.054 UTC [Composer] Debug -> DEBU 10b0 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:49.057 UTC [Composer] Debug -> DEBU 10b1 @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0} 2017-07-19 23:33:49.058 UTC [Composer] Debug -> DEBU 10b2 Entering EventService.transactionCommit &{0xc4201cf6e0} 2017-07-19 23:33:49.058 UTC [Composer] Debug -> DEBU 10b3 Exiting DataCollection.get 0 2017-07-19 23:33:49.059 UTC [Composer] Debug -> DEBU 10b4 @JS : Context :[object Object]() < 2017-07-19 23:33:49.059 UTC [Composer] Debug -> DEBU 10b5 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.059 UTC [Composer] Debug -> DEBU 10b6 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.059 UTC [Composer] Debug -> DEBU 10b7 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.059 UTC [Composer] Debug -> DEBU 10b8 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10b9 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10ba @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10bb @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10bc Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10bd Exiting Context.getDataService 1 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10be Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.060 UTC [Composer] Debug -> DEBU 10bf @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c0 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c1 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t0} 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c2 @JS : EventService :getEvents() > 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c3 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c4 @JS : EventService :getEvents() < 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c5 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c6 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.061 UTC [Composer] Debug -> DEBU 10c7 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.062 UTC [Composer] Debug -> DEBU 10c8 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc420653fb0 2017-07-19 23:33:49.063 UTC [Composer] Debug -> DEBU 10c9 Exiting NewDataCollection &{0xc420143000 0xc420149900 $sysregistries} 2017-07-19 23:33:49.063 UTC [Composer] Debug -> DEBU 10cb @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.063 UTC [Composer] Debug -> DEBU 10cc @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.063 UTC [Composer] Debug -> DEBU 10cd @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.063 UTC [Composer] Debug -> DEBU 10ca Exiting DataService.getCollection 0 2017-07-19 23:33:49.064 UTC [Composer] Debug -> DEBU 10ce @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.064 UTC [Composer] Debug -> DEBU 10cf @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.064 UTC [Composer] Debug -> DEBU 10d0 @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1} 2017-07-19 23:33:49.064 UTC [Composer] Debug -> DEBU 10d1 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.064 UTC [Composer] Debug -> DEBU 10d2 Exiting Context.getDataService 1 2017-07-19 23:33:49.065 UTC [Composer] Debug -> DEBU 10d3 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.065 UTC [Composer] Debug -> DEBU 10d4 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.066 UTC [Composer] Debug -> DEBU 10d5 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc4205fd790 2017-07-19 23:33:49.067 UTC [Composer] Debug -> DEBU 10d6 Exiting NewDataCollection &{0xc4200291d0 0xc420149900 $sysidentities} 2017-07-19 23:33:49.067 UTC [Composer] Debug -> DEBU 10d7 Exiting DataService.getCollection 0 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10d8 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Commodity#TOSEDVQKUV_c1} 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10d9 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10da @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10db @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10dc Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10dd Exiting Context.getDataService 1 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10de Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.069 UTC [Composer] Debug -> DEBU 10df @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e1 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e2 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e3 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e4 Entering IdentityService.getCurrentUserID &{0xc4202a2600} 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e5 Entering extractNameFromCreator 0xc420611690 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e0 Exiting Context.getEventService 1 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e7 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e8 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e9 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10ea Exiting Context.getHTTPService 1 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10e6 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10eb Exiting extractNameFromCreator admin 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10ec Common Name admin 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10ed Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10ee @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10ef @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.070 UTC [Composer] Debug -> DEBU 10f0 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.071 UTC [Composer] Debug -> DEBU 10f1 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f2 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f3 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f4 @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1}, [object Object] 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f5 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f6 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f7 @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1} 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f8 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.073 UTC [Composer] Debug -> DEBU 10f9 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10fa @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10fb @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10fc @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10fd @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10fe Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 10ff @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 1100 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1102 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.074 UTC [Composer] Debug -> DEBU 1101 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1103 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1104 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1105 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1106 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1107 @JS : AccessController :constructor() < 2017-07-19 23:33:49.075 UTC [Composer] Debug -> DEBU 1108 @JS : Context :initialize() < 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 1109 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110a Exiting Context.getDataService 1 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110b Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110c Exiting Context.getEventService 1 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110d Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110e Exiting Context.getIdentityService 1 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 110f Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.076 UTC [Composer] Debug -> DEBU 1110 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.077 UTC [Composer] Debug -> DEBU 1111 Exiting DataCollection.get 0 2017-07-19 23:33:49.077 UTC [Composer] Debug -> DEBU 1112 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.077 UTC [Composer] Debug -> DEBU 1113 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.078 UTC [Composer] Debug -> DEBU 1114 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.078 UTC [Composer] Debug -> DEBU 1115 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.081 UTC [Composer] Debug -> DEBU 1116 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.081 UTC [Composer] Debug -> DEBU 1117 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.081 UTC [Composer] Debug -> DEBU 1118 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.082 UTC [Composer] Debug -> DEBU 1119 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.082 UTC [Composer] Debug -> DEBU 111a @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.082 UTC [Composer] Debug -> DEBU 111b @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.083 UTC [Composer] Debug -> DEBU 111c @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.083 UTC [Composer] Debug -> DEBU 111d Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.083 UTC [Composer] Debug -> DEBU 111e @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.084 UTC [Composer] Debug -> DEBU 111f @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.084 UTC [Composer] Debug -> DEBU 1120 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.084 UTC [Composer] Debug -> DEBU 1121 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1122 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1123 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1124 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc4205d9160 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1125 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1127 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1126 Exiting NewDataCollection &{0xc4202fecd0 0xc4211c6580 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.085 UTC [Composer] Debug -> DEBU 1128 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 1129 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112a Exiting DataService.getCollection 0 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112b @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112c @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112d @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112e @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.086 UTC [Composer] Debug -> DEBU 112f @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.087 UTC [Composer] Debug -> DEBU 1130 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.087 UTC [Composer] Debug -> DEBU 1131 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.087 UTC [Composer] Debug -> DEBU 1132 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.087 UTC [Composer] Debug -> DEBU 1133 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.088 UTC [Composer] Debug -> DEBU 1134 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.088 UTC [Composer] Debug -> DEBU 1135 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.088 UTC [Composer] Debug -> DEBU 1137 @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.089 UTC [Composer] Debug -> DEBU 1138 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.089 UTC [Composer] Debug -> DEBU 1139 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.089 UTC [Composer] Debug -> DEBU 113a @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.088 UTC [Composer] Debug -> DEBU 1136 Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.089 UTC [Composer] Debug -> DEBU 113b Exiting Context.getDataService 1 2017-07-19 23:33:49.089 UTC [Composer] Debug -> DEBU 113c Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.090 UTC [Composer] Debug -> DEBU 113d @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 113e @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 113f Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4205b6e10 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 1140 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 1141 Entering Engine.handleCallback 0xc420155f80 &{0xc4201cf6e0} 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 1142 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.091 UTC [Composer] Debug -> DEBU 1143 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1144 Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1145 Entering ComposerPool.Put &{0xc420028048 0xc4202c4d20 0xc4200285e0} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1146 @JS : Resolver :resolveRelationship() Getting resource in registry TOSEDVQKUV_t1 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1148 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1147 Exiting ComposerPool.Put true 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1149 Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114b Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114c Exiting Context.getDataService 1 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114e Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114d @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 114f Exiting NewDataCollection &{0xc4202fecf8 0xc42008d500 $sysdata} 2017-07-19 23:33:49.092 UTC [Composer] Debug -> DEBU 1150 Exiting DataService.getCollection 0 2017-07-19 23:33:49.095 UTC [Composer] Debug -> DEBU 1151 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc420596760 2017-07-19 23:33:49.095 UTC [Composer] Debug -> DEBU 1152 Exiting NewDataCollection &{0xc4202fed18 0xc42008d200 $sysdata} 2017-07-19 23:33:49.104 UTC [Composer] Debug -> DEBU 1153 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.106 UTC [Composer] Debug -> DEBU 1154 Exiting DataCollection.get 0 2017-07-19 23:33:49.106 UTC [Composer] Debug -> DEBU 1155 Exiting DataService.getCollection 0 2017-07-19 23:33:49.111 UTC [Composer] Debug -> DEBU 1156 Entering getLogging 0xc420568420 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 1157 Entering Chaincode.Invoke 0xc420568410 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 1158 Entering ComposerPool.Get 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 1159 Exiting ComposerPool.Get &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 115a Entering Composer.Invoke 0xc4205c3ef0 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"EAMSPLOYCJ_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 115b Entering NewContext &{0xc420141340} &{0xc420150150} 0xc4205c3fe0 2017-07-19 23:33:49.113 UTC [Composer] Debug -> DEBU 115c Entering NewDataService &{0xc420141340} &{0xc420150150 } 0xc4205520a0 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 115d Exiting NewDataService &{0xc420150150 0xc42129bb00} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 115e Entering NewIdentityService &{0xc420141340} &{0xc420150150 0xc420141780 } 0xc420552250 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 115f Exiting NewIdentityService &{0xc420150150 0xc42129bb00} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1160 Entering NewEventService &{0xc420141340} &{0xc420150150 0xc420141780 0xc420141860 } 0xc4205523c0 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1161 Exiting NewEventServce &{0xc420150150 0xc42129bb00} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1162 Entering HTTPService &{0xc420141340} &{0xc420150150 0xc420141780 0xc420141860 0xc420141980 } 0xc420552530 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1163 Exiting HTTPService &{0xc420150150 0xc42129bb00} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1164 Exiting NewContext &{0xc420150150 0xc420141780 0xc420141860 0xc420141980 0xc420141a60} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1165 Entering Engine.Invoke &{0xc420150150 0xc420141780 0xc420141860 0xc420141980 0xc420141a60} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"EAMSPLOYCJ_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1166 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"EAMSPLOYCJ_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1167 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1168 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116a @JS : Context :initialize() > 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116c Entering DataCollection.get &{0xc42027a640} 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116d Exiting Engine.Invoke 0xc4210eed20 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 116f Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.114 UTC [Composer] Debug -> DEBU 1169 @JS : AccessController :check() > org.example.mynetwork.Trader#TOSEDVQKUV_t1, READ 2017-07-19 23:33:49.115 UTC [Composer] Debug -> DEBU 1170 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1171 @JS : AccessController :check() No participant 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1173 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1172 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1174 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1175 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1176 Exiting Context.getDataService 1 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1177 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1178 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.119 UTC [Composer] Debug -> DEBU 1179 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117b @JS : AccessController :check() < 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117c @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117d Exiting DataCollection.get 0 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117e @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1180 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1181 Exiting Context.getDataService 1 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1182 @JS : Context :[object Object]() < 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1183 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1184 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 1185 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.120 UTC [Composer] Debug -> DEBU 117a @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.121 UTC [Composer] Debug -> DEBU 1186 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.121 UTC [Composer] Debug -> DEBU 1187 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.122 UTC [Composer] Debug -> DEBU 1188 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc420597070 2017-07-19 23:33:49.122 UTC [Composer] Debug -> DEBU 1189 Exiting NewDataCollection &{0xc420029378 0xc42129bb00 $sysdata} 2017-07-19 23:33:49.123 UTC [Composer] Debug -> DEBU 118a Exiting DataService.getCollection 0 2017-07-19 23:33:49.123 UTC [Composer] Debug -> DEBU 118b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.123 UTC [Composer] Debug -> DEBU 118c Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.124 UTC [Composer] Debug -> DEBU 118d Exiting DataCollection.get 0 2017-07-19 23:33:49.124 UTC [Composer] Debug -> DEBU 118e Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.125 UTC [Composer] Debug -> DEBU 118f @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.126 UTC [Composer] Debug -> DEBU 1190 Exiting DataCollection.get 0 2017-07-19 23:33:49.126 UTC [Composer] Debug -> DEBU 1191 Exiting DataCollection.get 0 2017-07-19 23:33:49.126 UTC [Composer] Debug -> DEBU 1192 @JS : Context :[object Object]() < 2017-07-19 23:33:49.126 UTC [Composer] Debug -> DEBU 1193 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.127 UTC [Composer] Debug -> DEBU 1194 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.127 UTC [Composer] Debug -> DEBU 1195 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.127 UTC [Composer] Debug -> DEBU 1196 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc420149900} 0xc4205978e0 2017-07-19 23:33:49.127 UTC [Composer] Debug -> DEBU 1197 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 1198 Exiting NewDataCollection &{0xc4201431e0 0xc420149900 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 1199 @JS : Context :[object Object]() < 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 119a Exiting DataService.getCollection 0 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 119b @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 119c @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 119d @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.128 UTC [Composer] Debug -> DEBU 119e @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 119f @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a0 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a1 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a2 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a3 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a4 Exiting Context.getDataService 1 2017-07-19 23:33:49.129 UTC [Composer] Debug -> DEBU 11a5 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:49.130 UTC [Composer] Debug -> DEBU 11a6 @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:49.130 UTC [Composer] Debug -> DEBU 11a7 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.131 UTC [Composer] Debug -> DEBU 11a8 Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc4205b7e70 2017-07-19 23:33:49.131 UTC [Composer] Debug -> DEBU 11a9 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1}, [object Object] 2017-07-19 23:33:49.131 UTC [Composer] Debug -> DEBU 11aa @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.131 UTC [Composer] Debug -> DEBU 11ab Exiting NewDataCollection &{0xc420029430 0xc420149c80 $sysdata} 2017-07-19 23:33:49.131 UTC [Composer] Debug -> DEBU 11ac @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11ad Exiting DataService.getCollection 0 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11ae @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11af Entering DataCollection.get &{0xc420145580} 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11b0 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11b1 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.132 UTC [Composer] Debug -> DEBU 11b2 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b3 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b4 Exiting Context.getDataService 1 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b5 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b6 Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b7 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b8 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11b9 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11ba @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.133 UTC [Composer] Debug -> DEBU 11bb @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11bc @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11bd @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11be @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11bf @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11c0 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11c1 Exiting Context.getDataService 1 2017-07-19 23:33:49.134 UTC [Composer] Debug -> DEBU 11c2 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.135 UTC [Composer] Debug -> DEBU 11c3 Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc420597f50 2017-07-19 23:33:49.136 UTC [Composer] Debug -> DEBU 11c4 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc420569f90 2017-07-19 23:33:49.137 UTC [Composer] Debug -> DEBU 11c5 Exiting NewDataCollection &{0xc4202fee60 0xc420149600 $sysdata} 2017-07-19 23:33:49.137 UTC [Composer] Debug -> DEBU 11c6 Exiting DataService.getCollection 0 2017-07-19 23:33:49.137 UTC [Composer] Debug -> DEBU 11c7 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.137 UTC [Composer] Debug -> DEBU 11c8 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11c9 @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11ca Exiting DataCollection.get 0 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11cb @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11cc @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring TOSEDVQKUV_t1 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11cd @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11ce @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11cf Exiting NewDataCollection &{0xc420143208 0xc4202a4200 $sysdata} 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11d0 @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.139 UTC [Composer] Debug -> DEBU 11d1 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d2 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d3 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d4 Exiting Context.getDataService 1 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d5 Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d6 Exiting Context.getEventService 1 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d7 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d8 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11d9 Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11da @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11db Exiting Context.getHTTPService 1 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11dc @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11dd Exiting DataService.getCollection 0 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11de @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11df @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11e0 @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.140 UTC [Composer] Debug -> DEBU 11e1 @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e2 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e4 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e5 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e6 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e7 Exiting DataCollection.get 0 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e8 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.141 UTC [Composer] Debug -> DEBU 11e9 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11ea @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11ec @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11ed @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11ee @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11ef @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11f0 @JS : Context :[object Object]() < 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11f1 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.143 UTC [Composer] Debug -> DEBU 11f2 @JS : ModelManager :addModelFiles() < [object Object] 2017-07-19 23:33:49.143 UTC [Composer] Debug -> DEBU 11f3 @JS : BusinessNetworkDefinition:fromArchive() Added model files to model manager 2017-07-19 23:33:49.143 UTC [Composer] Debug -> DEBU 11f4 @JS : BusinessNetworkDefinition:fromArchive() Adding JavaScript files to script manager 2017-07-19 23:33:49.142 UTC [Composer] Debug -> DEBU 11eb @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.145 UTC [Composer] Debug -> DEBU 11f5 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.145 UTC [Composer] Debug -> DEBU 11f6 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:49.145 UTC [Composer] Debug -> DEBU 11f7 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11f8 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11f9 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11fa @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11fb @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11fc @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1} 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11fd @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11fe @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 11ff @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.146 UTC [Composer] Debug -> DEBU 1200 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1201 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1202 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1203 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1204 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1205 Entering DataCollection.get &{0xc4202a2680} 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1206 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.147 UTC [Composer] Debug -> DEBU 1207 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.148 UTC [Composer] Debug -> DEBU 1208 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.148 UTC [Composer] Debug -> DEBU 1209 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.148 UTC [Composer] Debug -> DEBU 120a @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.149 UTC [Composer] Debug -> DEBU 120b @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.149 UTC [Composer] Debug -> DEBU 120c @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.149 UTC [Composer] Debug -> DEBU 120d @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.149 UTC [Composer] Debug -> DEBU 120e @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.149 UTC [Composer] Debug -> DEBU 120f @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1210 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1211 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1213 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1212 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#TOSEDVQKUV_t1} 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1214 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1216 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1215 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1217 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1218 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 1219 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 121a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.150 UTC [Composer] Debug -> DEBU 121b Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 121c Exiting Context.getDataService 1 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 121d Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 121e @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 121f @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1220 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1221 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1222 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1223 Exiting Context.getDataService 1 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1224 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1226 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.151 UTC [Composer] Debug -> DEBU 1225 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.152 UTC [Composer] Debug -> DEBU 1227 Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4204c3290 2017-07-19 23:33:49.152 UTC [Composer] Debug -> DEBU 1228 Exiting NewDataCollection &{0xc420143308 0xc420149000 $sysdata} 2017-07-19 23:33:49.153 UTC [Composer] Debug -> DEBU 1229 Exiting DataService.getCollection 0 2017-07-19 23:33:49.153 UTC [Composer] Debug -> DEBU 122a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.153 UTC [Composer] Debug -> DEBU 122b Entering DataCollection.get &{0xc4201cf6a0} 2017-07-19 23:33:49.153 UTC [Composer] Debug -> DEBU 122c @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 122d @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 122f @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1230 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 122e Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc42051b6f0 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1231 Exiting NewDataCollection &{0xc4202ff008 0xc42008cf00 $sysregistries} 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1232 Exiting DataService.getCollection 0 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1233 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1234 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1235 Exiting Context.getDataService 1 2017-07-19 23:33:49.154 UTC [Composer] Debug -> DEBU 1236 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.162 UTC [Composer] Debug -> DEBU 1237 Exiting DataCollection.get 0 2017-07-19 23:33:49.162 UTC [Composer] Debug -> DEBU 1238 @JS : Context :[object Object]() < 2017-07-19 23:33:49.162 UTC [Composer] Debug -> DEBU 1239 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.162 UTC [Composer] Debug -> DEBU 123a @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 123b @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 123c Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc42040e090 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 123d Exiting NewDataCollection &{0xc420143348 0xc42008cf00 $sysidentities} 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 123e Exiting DataService.getCollection 0 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 123f @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1240 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1241 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1242 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1243 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1244 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.163 UTC [Composer] Debug -> DEBU 1245 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1246 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1247 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1248 Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1249 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124a @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124b Entering IdentityService.getCurrentUserID &{0xc4201455c0} 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124c Entering extractNameFromCreator 0xc42040e680 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124d creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124e @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 124f @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1250 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1251 Common Name admin 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1252 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1253 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1254 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1255 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1256 Exiting DataCollection.get 0 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1257 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1258 @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:49.164 UTC [Composer] Debug -> DEBU 1259 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125a @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125b @JS : AccessController :constructor() < 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125c @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125d @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125e @JS : Context :[object Object]() < 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 125f @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.165 UTC [Composer] Debug -> DEBU 1260 @JS : Resolver :resolve() < Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1261 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1262 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1263 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1264 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1265 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.166 UTC [Composer] Debug -> DEBU 1266 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1267 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1268 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1269 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126a Exiting Context.getDataService 1 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126d Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126e Exiting Context.getEventService 1 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126f Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1270 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1271 Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1272 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126c @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 126b @JS : Context :initialize() < 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1273 @JS : Api :constructor() > [object Object] 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1274 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.167 UTC [Composer] Debug -> DEBU 1275 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1276 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1277 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1278 Exiting Context.getEventService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1279 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127a Exiting Context.getDataService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127b Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127c Exiting Context.getDataService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127d Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127e Exiting Context.getEventService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 127f Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1280 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1281 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.168 UTC [Composer] Debug -> DEBU 1282 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.169 UTC [Composer] Debug -> DEBU 1283 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.169 UTC [Composer] Debug -> DEBU 1284 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.169 UTC [Composer] Debug -> DEBU 1285 Exiting Context.getDataService 1 2017-07-19 23:33:49.169 UTC [Composer] Debug -> DEBU 1286 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.170 UTC [Composer] Debug -> DEBU 1287 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.170 UTC [Composer] Debug -> DEBU 1288 @JS : Api :constructor() < 2017-07-19 23:33:49.170 UTC [Composer] Debug -> DEBU 1289 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.171 UTC [Composer] Debug -> DEBU 128a @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.171 UTC [Composer] Debug -> DEBU 128b @JS : CompiledScriptBundle :execute() > [object Object], Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:49.171 UTC [Composer] Debug -> DEBU 128c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.171 UTC [Composer] Debug -> DEBU 128d Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.171 UTC [Composer] Debug -> DEBU 128e Exiting Context.getDataService 1 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 128f @JS : BusinessNetworkDefinition:fromArchive() Added JavaScript files to script manager 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1290 Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc42040f920 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1291 Exiting NewDataCollection &{0xc4202ff100 0xc42013b600 $sysdata} 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1292 Exiting DataService.getCollection 0 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1293 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1294 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1295 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.172 UTC [Composer] Debug -> DEBU 1296 @JS : CompiledScriptBundle :findFunctionNames() > Resource {id=org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81} 2017-07-19 23:33:49.173 UTC [Composer] Debug -> DEBU 1297 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.173 UTC [Composer] Debug -> DEBU 1298 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.173 UTC [Composer] Debug -> DEBU 1299 Entering EventService.transactionCommit &{0xc4202a2600} 2017-07-19 23:33:49.173 UTC [Composer] Debug -> DEBU 129a @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.174 UTC [Composer] Debug -> DEBU 129b @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.174 UTC [Composer] Debug -> DEBU 129c @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.174 UTC [Composer] Debug -> DEBU 129d Entering DataCollection.get &{0xc4202a2220} 2017-07-19 23:33:49.174 UTC [Composer] Debug -> DEBU 129e Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc42040b020 2017-07-19 23:33:49.174 UTC [Composer] Debug -> DEBU 129f Exiting NewDataCollection &{0xc420029648 0xc42129bb00 $sysdata} 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a0 @JS : EventService :getEvents() > 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a1 @JS : EventService :getEvents() < 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a2 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a3 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a4 @JS : CompiledScriptBundle :findFunctionNames() Looking at function declaration tradeCommodity 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a7 @JS : CompiledScriptBundle :findFunctionNames() Function is annotated with @transaction 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a5 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.176 UTC [Composer] Debug -> DEBU 12a8 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.176 UTC [Composer] Debug -> DEBU 12a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.175 UTC [Composer] Debug -> DEBU 12a6 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.176 UTC [Composer] Debug -> DEBU 12aa @JS : CompiledScriptBundle :findFunctionNames() Function parameter type matches transaction 2017-07-19 23:33:49.177 UTC [Composer] Debug -> DEBU 12ab @JS : BusinessNetworkDefinition:fromArchive() Adding ACL files to ACL manager 2017-07-19 23:33:49.177 UTC [Composer] Debug -> DEBU 12ac @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.177 UTC [Composer] Debug -> DEBU 12ad @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.177 UTC [Composer] Debug -> DEBU 12ae @JS : CompiledScriptBundle :findFunctionNames() < tradeCommodity 2017-07-19 23:33:49.177 UTC [Composer] Debug -> DEBU 12af @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.179 UTC [Composer] Debug -> DEBU 12b0 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.180 UTC [Composer] Debug -> DEBU 12b1 Exiting DataCollection.get 0 2017-07-19 23:33:49.180 UTC [Composer] Debug -> DEBU 12b3 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.180 UTC [Composer] Debug -> DEBU 12b2 @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.180 UTC [Composer] Debug -> DEBU 12b4 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12b5 Exiting Context.getDataService 1 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12b6 Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12b7 Exiting Context.getEventService 1 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12b9 @JS : Context :[object Object]() < 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12b8 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12ba Exiting Context.getIdentityService 1 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12bb Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12bc @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12bd Exiting Context.getHTTPService 1 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12be @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12bf @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12c0 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.181 UTC [Composer] Debug -> DEBU 12c1 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.183 UTC [Composer] Debug -> DEBU 12c2 @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.183 UTC [Composer] Debug -> DEBU 12c3 @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.183 UTC [Composer] Debug -> DEBU 12c4 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12c5 @JS : CompiledScriptBundle :execute() Executing function tradeCommodity 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12c6 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12c7 @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12c8 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12c9 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12ca Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12cb Exiting Context.getDataService 1 2017-07-19 23:33:49.184 UTC [Composer] Debug -> DEBU 12cc Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.185 UTC [Composer] Debug -> DEBU 12cd Exiting DataCollection.get 0 2017-07-19 23:33:49.185 UTC [Composer] Debug -> DEBU 12ce @JS : Context :[object Object]() < 2017-07-19 23:33:49.185 UTC [Composer] Debug -> DEBU 12cf @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d0 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d1 @JS : Api :getAssetRegistry() > org.example.mynetwork.Commodity 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d2 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d3 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d4 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.186 UTC [Composer] Debug -> DEBU 12d5 Exiting DataCollection.get 0 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12d6 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12d7 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12d8 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12d9 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12da @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.187 UTC [Composer] Debug -> DEBU 12db Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.188 UTC [Composer] Debug -> DEBU 12dc @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.188 UTC [Composer] Debug -> DEBU 12dd @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.188 UTC [Composer] Debug -> DEBU 12de @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.189 UTC [Composer] Debug -> DEBU 12df @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.189 UTC [Composer] Debug -> DEBU 12e0 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.189 UTC [Composer] Debug -> DEBU 12e1 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.189 UTC [Composer] Debug -> DEBU 12e2 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.190 UTC [Composer] Debug -> DEBU 12e3 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.190 UTC [Composer] Debug -> DEBU 12e4 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.191 UTC [Composer] Debug -> DEBU 12e5 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc42008cf00} 0xc4203e5160 2017-07-19 23:33:49.191 UTC [Composer] Debug -> DEBU 12e6 Exiting NewDataCollection &{0xc4201512d0 0xc42008cf00 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.191 UTC [Composer] Debug -> DEBU 12e7 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12e8 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12e9 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12ea @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12eb @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12ec @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12ed Exiting DataService.getCollection 0 2017-07-19 23:33:49.192 UTC [Composer] Debug -> DEBU 12ee @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.193 UTC [Composer] Debug -> DEBU 12ef @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.193 UTC [Composer] Debug -> DEBU 12f0 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.193 UTC [Composer] Debug -> DEBU 12f1 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.193 UTC [Composer] Debug -> DEBU 12f2 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.193 UTC [Composer] Debug -> DEBU 12f3 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f4 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f5 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f6 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f7 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f8 Entering Engine.handleCallback 0xc4201553e0 &{0xc4202a2600} 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12f9 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12fa Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12fb Entering ComposerPool.Put &{0xc420150160 0xc420366870 0xc4200284f8} 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12fc Exiting ComposerPool.Put true 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12fd Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.194 UTC [Composer] Debug -> DEBU 12fe @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.195 UTC [Composer] Debug -> DEBU 12ff @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.196 UTC [Composer] Debug -> DEBU 1300 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.196 UTC [Composer] Debug -> DEBU 1301 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.196 UTC [Composer] Debug -> DEBU 1302 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1303 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1304 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1306 Exiting Context.getDataService 1 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1307 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1308 Exiting DataCollection.get 0 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1309 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 130a @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.197 UTC [Composer] Debug -> DEBU 1305 @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.199 UTC [Composer] Debug -> DEBU 130b @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.199 UTC [Composer] Debug -> DEBU 130c @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.199 UTC [Composer] Debug -> DEBU 130d @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.199 UTC [Composer] Debug -> DEBU 130e @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 130f @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1310 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1311 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1312 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1313 Exiting Context.getDataService 1 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1314 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1315 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1316 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1317 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.200 UTC [Composer] Debug -> DEBU 1318 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.201 UTC [Composer] Debug -> DEBU 1319 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.201 UTC [Composer] Debug -> DEBU 131a Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.201 UTC [Composer] Debug -> DEBU 131b @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.202 UTC [Composer] Debug -> DEBU 131c @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 131d @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 131e @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 131f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 1320 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 1321 Exiting Context.getDataService 1 2017-07-19 23:33:49.203 UTC [Composer] Debug -> DEBU 1322 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:49.204 UTC [Composer] Debug -> DEBU 1323 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.204 UTC [Composer] Debug -> DEBU 1324 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.205 UTC [Composer] Debug -> DEBU 1325 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.205 UTC [Composer] Debug -> DEBU 1326 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.205 UTC [Composer] Debug -> DEBU 1328 @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.205 UTC [Composer] Debug -> DEBU 1327 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.210 UTC [Composer] Debug -> DEBU 1329 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc420366120 2017-07-19 23:33:49.210 UTC [Composer] Debug -> DEBU 132a Exiting NewDataCollection &{0xc4202ff2c0 0xc420149600 $sysdata} 2017-07-19 23:33:49.210 UTC [Composer] Debug -> DEBU 132b Exiting DataService.getCollection 0 2017-07-19 23:33:49.210 UTC [Composer] Debug -> DEBU 132c Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc420486a90 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 132d Exiting NewDataCollection &{0xc4202ff360 0xc420149c80 $sysdata} 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 132f Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc420366510 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1330 Exiting DataService.getCollection 0 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1331 Exiting NewDataCollection &{0xc420143530 0xc4211c6580 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1332 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1333 Exiting DataService.getCollection 0 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1334 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1335 @JS : AssetRegistry :constructor() > [object Object] 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 1336 Entering DataCollection.get &{0xc420145580} 2017-07-19 23:33:49.212 UTC [Composer] Debug -> DEBU 1337 @JS : AssetRegistry :constructor() < 2017-07-19 23:33:49.212 UTC [Composer] Debug -> DEBU 1338 @JS : Api :getAssetRegistry() < [object Object] 2017-07-19 23:33:49.211 UTC [Composer] Debug -> DEBU 132e Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc4203663f0 2017-07-19 23:33:49.212 UTC [Composer] Debug -> DEBU 1339 Exiting NewDataCollection &{0xc4200297b0 0xc42129bb00 $sysdata} 2017-07-19 23:33:49.212 UTC [Composer] Debug -> DEBU 133a Exiting DataService.getCollection 0 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 133b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 133c Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 133d Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 133e Exiting Context.getDataService 1 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1340 Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1342 Exiting Context.getEventService 1 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1343 Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1344 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1345 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1346 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1347 Entering getLogging 0xc420340000 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 133f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1348 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1341 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134a Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.213 UTC [Composer] Debug -> DEBU 1349 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134b Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134c Exiting Context.getDataService 1 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134d Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134e Exiting Context.getEventService 1 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 134f Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1350 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1351 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1352 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1353 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1354 Entering EventService.transactionCommit &{0xc4201455c0} 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1355 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.214 UTC [Composer] Debug -> DEBU 1356 @JS : EventService :getEvents() > 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1357 @JS : EventService :getEvents() < 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1358 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1359 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135a @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135b Exiting DataCollection.get 0 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135c @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135d Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135e Exiting Context.getDataService 1 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 135f Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1360 Exiting Context.getEventService 1 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1361 Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1362 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1363 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1364 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1365 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1366 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1367 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1368 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.215 UTC [Composer] Debug -> DEBU 1369 Exiting Context.getDataService 1 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136a Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136b @JS : Context :[object Object]() < 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136c @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136d Entering Engine.handleCallback 0xc4205c8060 &{0xc4201455c0} 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136e Exiting Engine.handleCallback 0 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 136f @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1370 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1371 @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1372 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1373 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1374 Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.216 UTC [Composer] Debug -> DEBU 1375 Entering ComposerPool.Put &{0xc420142280 0xc420569f80 0xc420028bb8} 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 1376 Exiting ComposerPool.Put true 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 1377 Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 1378 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 1379 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 137a @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.217 UTC [Composer] Debug -> DEBU 137b @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.218 UTC [Composer] Debug -> DEBU 137c @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.218 UTC [Composer] Debug -> DEBU 137d @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.218 UTC [Composer] Debug -> DEBU 137e @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 137f @JS : BusinessNetworkDefinition:fromArchive() Added ACL files to ACL manager 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1380 @JS : BusinessNetworkDefinition:fromArchive() Adding Query files to query manager 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1381 @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1382 @JS : BusinessNetworkDefinition:fromArchive() Added Query files to query manager 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1383 @JS : BusinessNetworkDefinition:fromArchive() < [object Object] 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1384 @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1385 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1386 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.219 UTC [Composer] Debug -> DEBU 1387 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.220 UTC [Composer] Debug -> DEBU 1388 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.220 UTC [Composer] Debug -> DEBU 1389 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.220 UTC [Composer] Debug -> DEBU 138a Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.220 UTC [Composer] Debug -> DEBU 138b Exiting Context.getDataService 1 2017-07-19 23:33:49.220 UTC [Composer] Debug -> DEBU 138c Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.223 UTC [Composer] Debug -> DEBU 138d Entering Chaincode.Invoke 0xc4203e5ff0 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1390 Entering ComposerPool.Get 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1391 Exiting ComposerPool.Get &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1392 Entering Composer.Invoke 0xc420341d00 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"QGANPSUJMV_c14","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#QGANPSUJMV_t1"}] 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1393 Entering NewContext &{0xc420140e60} &{0xc420150140} 0xc420341e10 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1394 Entering NewDataService &{0xc420140e60} &{0xc420150140 } 0xc420341ec0 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1396 Exiting DataCollection.get 0 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 1397 Exiting NewDataService &{0xc420150140 0xc421275200} 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 1398 Entering NewIdentityService &{0xc420140e60} &{0xc420150140 0xc421048e60 } 0xc42029a070 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 139c Exiting NewIdentityService &{0xc420150140 0xc421275200} 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 139d Entering NewEventService &{0xc420140e60} &{0xc420150140 0xc421048e60 0xc421048f40 } 0xc42029a1e0 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 139e Exiting NewEventServce &{0xc420150140 0xc421275200} 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 13a0 Entering HTTPService &{0xc420140e60} &{0xc420150140 0xc421048e60 0xc421048f40 0xc421049020 } 0xc42029a360 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 13a2 Exiting HTTPService &{0xc420150140 0xc421275200} 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 13a3 Exiting NewContext &{0xc420150140 0xc421048e60 0xc421048f40 0xc421049020 0xc421049100} 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 13a4 Entering Engine.Invoke &{0xc420150140 0xc421048e60 0xc421048f40 0xc421049020 0xc421049100} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"QGANPSUJMV_c14","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#QGANPSUJMV_t1"}] 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 1399 @JS : AccessController :check() > org.example.mynetwork.Commodity#TOSEDVQKUV_c1, UPDATE 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13a5 @JS : AccessController :check() No participant 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13a6 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"QGANPSUJMV_c14","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#QGANPSUJMV_t1"} 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13a7 @JS : AccessController :check() < 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 139a Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4203acd60 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13a8 Exiting NewDataCollection &{0xc4202ff4f0 0xc42008d900 $sysdata} 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.223 UTC [Composer] Debug -> DEBU 138f @JS : Context :cacheBusinessNetwork() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.227 UTC [Composer] Debug -> DEBU 13aa @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13ab Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13ac @JS : Context :cacheBusinessNetwork() < 2017-07-19 23:33:49.223 UTC [Composer] Debug -> DEBU 138e Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4205066b0 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13ad @JS : Context :loadBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13ae Exiting NewDataCollection &{0xc4202ff480 0xc420149000 $sysdata} 2017-07-19 23:33:49.224 UTC [Composer] Debug -> DEBU 1395 Exiting DataCollection.get 0 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13af @JS : Context :[object Object]() < 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13b0 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13b1 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 139f @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.228 UTC [Composer] Debug -> DEBU 13b2 Exiting DataService.getCollection 0 2017-07-19 23:33:49.226 UTC [Composer] Debug -> DEBU 13a1 @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.229 UTC [Composer] Debug -> DEBU 13b3 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.229 UTC [Composer] Debug -> DEBU 13b4 Entering DataCollection.get &{0xc4201cf6a0} 2017-07-19 23:33:49.229 UTC [Composer] Debug -> DEBU 13b5 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.229 UTC [Composer] Debug -> DEBU 13b6 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.225 UTC [Composer] Debug -> DEBU 139b Exiting DataCollection.get 0 2017-07-19 23:33:49.229 UTC [Composer] Debug -> DEBU 13b7 @JS : Context :initialize() > 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13b8 @JS : Context :[object Object]() < 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13b9 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13ba @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13bb @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13bc @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13bd @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.230 UTC [Composer] Debug -> DEBU 13be @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13bf @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c0 Exiting Engine.Invoke 0xc420643a40 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c1 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c2 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c3 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c4 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c5 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c7 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c8 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c9 Exiting Context.getDataService 1 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13ca Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13cb @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13cc @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13cd @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13ce @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13cf @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13d1 Exiting DataCollection.get 0 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13d2 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13d3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13d4 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13d5 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13d6 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13d7 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13d8 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13d9 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13da @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13db @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13dc @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.233 UTC [Composer] Debug -> DEBU 13dd @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.234 UTC [Composer] Debug -> DEBU 13de @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.234 UTC [Composer] Debug -> DEBU 13df @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.234 UTC [Composer] Debug -> DEBU 13e0 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.234 UTC [Composer] Debug -> DEBU 13e1 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.234 UTC [Composer] Debug -> DEBU 13e2 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.235 UTC [Composer] Debug -> DEBU 13e3 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.235 UTC [Composer] Debug -> DEBU 13e4 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.235 UTC [Composer] Debug -> DEBU 13e5 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.236 UTC [Composer] Debug -> DEBU 13e6 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.236 UTC [Composer] Debug -> DEBU 13e7 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13e8 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13e9 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13ea @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13eb @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13ec @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13ee @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.232 UTC [Composer] Debug -> DEBU 13d0 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13ef @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13f0 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f1 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f2 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f3 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f4 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f5 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f7 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f6 Entering DataCollection.update &{0xc420144940} 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f8 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13f9 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13fa @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.231 UTC [Composer] Debug -> DEBU 13c6 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 13fc @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 13fd Entering getLogging 0xc42029b050 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 13fe Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc42029b170 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 13ff Exiting NewDataCollection &{0xc4202ff578 0xc42129bb00 $sysdata} 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1400 Exiting DataService.getCollection 0 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1401 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1402 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1403 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1404 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1405 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.239 UTC [Composer] Debug -> DEBU 1406 Exiting Context.getDataService 1 2017-07-19 23:33:49.240 UTC [Composer] Debug -> DEBU 1407 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.240 UTC [Composer] Debug -> DEBU 1408 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.237 UTC [Composer] Debug -> DEBU 13ed @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.240 UTC [Composer] Debug -> DEBU 1409 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140b Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140d Exiting Context.getDataService 1 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140e @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140c @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.238 UTC [Composer] Debug -> DEBU 13fb @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 140f Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 1411 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 1410 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 1412 Exiting Context.getDataService 1 2017-07-19 23:33:49.243 UTC [Composer] Debug -> DEBU 1413 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1414 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1415 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1416 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1417 Exiting Context.getDataService 1 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1418 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1419 Entering Chaincode.Invoke 0xc42029b040 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141a Entering ComposerPool.Get 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141b Exiting DataCollection.get 0 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141d Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141c Exiting ComposerPool.Get &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141e Entering Composer.Invoke 0xc421032f20 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"XYITKICOYD_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#XYITKICOYD_t0"}] 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 141f Entering NewContext &{0xc4201ce500} &{0xc420028020} 0xc421033010 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1420 Entering NewDataService &{0xc4201ce500} &{0xc420028020 } 0xc4210330d0 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1421 @JS : Context :[object Object]() < 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1422 Exiting NewDataService &{0xc420028020 0xc42049d700} 2017-07-19 23:33:49.244 UTC [Composer] Debug -> DEBU 1423 Entering NewIdentityService &{0xc4201ce500} &{0xc420028020 0xc42053b960 } 0xc421033280 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1424 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1425 Exiting NewIdentityService &{0xc420028020 0xc42049d700} 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1427 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1426 Entering NewEventService &{0xc4201ce500} &{0xc420028020 0xc42053b960 0xc42053ba40 } 0xc4210333f0 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1428 Exiting NewEventServce &{0xc420028020 0xc42049d700} 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1429 Entering HTTPService &{0xc4201ce500} &{0xc420028020 0xc42053b960 0xc42053ba40 0xc42053bb20 } 0xc421033560 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142a @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142b Exiting HTTPService &{0xc420028020 0xc42049d700} 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142c Exiting NewContext &{0xc420028020 0xc42053b960 0xc42053ba40 0xc42053bb20 0xc42053bc00} 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142d Entering Engine.Invoke &{0xc420028020 0xc42053b960 0xc42053ba40 0xc42053bb20 0xc42053bc00} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"XYITKICOYD_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#XYITKICOYD_t0"}] 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142e @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 142f @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1430 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"XYITKICOYD_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#XYITKICOYD_t0"} 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1431 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.245 UTC [Composer] Debug -> DEBU 1432 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1433 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1434 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1435 @JS : Context :initialize() > 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1436 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1437 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.246 UTC [Composer] Debug -> DEBU 1438 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.247 UTC [Composer] Debug -> DEBU 1439 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.247 UTC [Composer] Debug -> DEBU 143a @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.247 UTC [Composer] Debug -> DEBU 143b @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 143c Exiting DataCollection.get 0 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 143d @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 143f @JS : Context :[object Object]() < 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 1440 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 143e @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 1442 Exiting Engine.Invoke 0xc421212960 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 1443 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.248 UTC [Composer] Debug -> DEBU 1441 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1444 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1445 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1446 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1447 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1448 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 1449 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 144c @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 144a @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 144d Exiting DataCollection.update 0 2017-07-19 23:33:49.249 UTC [Composer] Debug -> DEBU 144b @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 144e @JS : TransactionLogger :onResourceUpdated() > [object Object] 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 144f @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 1450 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 1451 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.250 UTC [Composer] Debug -> DEBU 1452 Exiting Context.getDataService 1 2017-07-19 23:33:49.251 UTC [Composer] Debug -> DEBU 1453 @JS : TransactionLogger :onResourceUpdated() Serialized old resource 2017-07-19 23:33:49.251 UTC [Composer] Debug -> DEBU 1454 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 1455 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 1456 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 1457 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 1458 @JS : TransactionLogger :onResourceUpdated() Serialized new resource 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 1459 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc42029b8f0 2017-07-19 23:33:49.252 UTC [Composer] Debug -> DEBU 145a Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc42014b290 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 145b @JS : TransactionLogger :onResourceUpdated() Generated JSON Patch [object Object] 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 145c Exiting NewDataCollection &{0xc4202ff5c0 0xc421275200 $sysdata} 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 145d @JS : TransactionLogger :undefined() < 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 145e Exiting DataService.getCollection 0 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 145f @JS : CompiledScriptBundle :execute() Function executed (returned promise) 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 1461 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 1462 @JS : CompiledScriptBundle :execute() < 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 1463 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 1464 @JS : EngineTransactions :submitTransaction() Getting default transaction registry 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1465 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.253 UTC [Composer] Debug -> DEBU 1460 Exiting NewDataCollection &{0xc420029930 0xc42008de00 $sysdata} 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1467 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1468 Exiting DataService.getCollection 0 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1469 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146a Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146b Exiting Context.getDataService 1 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146c Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146e Entering DataCollection.get &{0xc4202a2640} 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1466 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc42029bca0 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 146f Exiting NewDataCollection &{0xc4202ff610 0xc42008d900 $sysdata} 2017-07-19 23:33:49.254 UTC [Composer] Debug -> DEBU 1470 Exiting DataService.getCollection 0 2017-07-19 23:33:49.255 UTC [Composer] Debug -> DEBU 1471 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.255 UTC [Composer] Debug -> DEBU 1472 Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.255 UTC [Composer] Debug -> DEBU 1473 Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc42014b380 2017-07-19 23:33:49.255 UTC [Composer] Debug -> DEBU 1474 Exiting NewDataCollection &{0xc4201437c8 0xc4202a4200 $sysdata} 2017-07-19 23:33:49.256 UTC [Composer] Debug -> DEBU 1475 Exiting DataService.getCollection 0 2017-07-19 23:33:49.256 UTC [Composer] Debug -> DEBU 1476 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 1477 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 1478 @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 1479 @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 147a @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 147b @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 147c @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 147d @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.257 UTC [Composer] Debug -> DEBU 147e @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.258 UTC [Composer] Debug -> DEBU 147f @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.258 UTC [Composer] Debug -> DEBU 1480 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.258 UTC [Composer] Debug -> DEBU 1481 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.258 UTC [Composer] Debug -> DEBU 1482 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.258 UTC [Composer] Debug -> DEBU 1483 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.260 UTC [Composer] Debug -> DEBU 1484 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc42133a5a0 2017-07-19 23:33:49.260 UTC [Composer] Debug -> DEBU 1485 Exiting NewDataCollection &{0xc420143810 0xc42129bb00 $sysregistries} 2017-07-19 23:33:49.260 UTC [Composer] Debug -> DEBU 1486 Exiting DataService.getCollection 0 2017-07-19 23:33:49.260 UTC [Composer] Debug -> DEBU 1487 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.260 UTC [Composer] Debug -> DEBU 1488 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.261 UTC [Composer] Debug -> DEBU 1489 Exiting Context.getDataService 1 2017-07-19 23:33:49.261 UTC [Composer] Debug -> DEBU 148a Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.261 UTC [Composer] Debug -> DEBU 148b Exiting DataCollection.get 0 2017-07-19 23:33:49.261 UTC [Composer] Debug -> DEBU 148c Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.262 UTC [Composer] Debug -> DEBU 148d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.264 UTC [Composer] Debug -> DEBU 148f Exiting DataCollection.get 0 2017-07-19 23:33:49.264 UTC [Composer] Debug -> DEBU 1490 @JS : Context :[object Object]() < 2017-07-19 23:33:49.265 UTC [Composer] Debug -> DEBU 1491 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc4201377c0 2017-07-19 23:33:49.265 UTC [Composer] Debug -> DEBU 1492 Exiting NewDataCollection &{0xc420143840 0xc42049d700 $sysdata} 2017-07-19 23:33:49.262 UTC [Composer] Debug -> DEBU 148e Entering DataCollection.get &{0xc4202a2680} 2017-07-19 23:33:49.265 UTC [Composer] Debug -> DEBU 1493 Exiting DataService.getCollection 0 2017-07-19 23:33:49.265 UTC [Composer] Debug -> DEBU 1494 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.265 UTC [Composer] Debug -> DEBU 1495 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 1496 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 1497 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 1498 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 1499 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc4212b0870 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 149a @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 149b Exiting NewDataCollection &{0xc4202ff748 0xc42129bb00 $sysidentities} 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 149c Exiting DataService.getCollection 0 2017-07-19 23:33:49.266 UTC [Composer] Debug -> DEBU 149d @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 149e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 149f Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a0 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc4211c6580} 0xc42014bd50 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a1 Exiting NewDataCollection &{0xc420143848 0xc4211c6580 Transaction:default} 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a2 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a3 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a4 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a5 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a6 Entering IdentityService.getCurrentUserID &{0xc420141340} 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a7 Entering extractNameFromCreator 0xc42133b6a0 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.267 UTC [Composer] Debug -> DEBU 14a8 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14aa Exiting extractNameFromCreator admin 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14ab Common Name admin 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14ac Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14ad @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14ae @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14af @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14b0 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14b1 Exiting Context.getDataService 1 2017-07-19 23:33:49.268 UTC [Composer] Debug -> DEBU 14b2 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.269 UTC [Composer] Debug -> DEBU 14b3 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.269 UTC [Composer] Debug -> DEBU 14b4 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.270 UTC [Composer] Debug -> DEBU 14b5 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.270 UTC [Composer] Debug -> DEBU 14b7 Exiting DataCollection.get 0 2017-07-19 23:33:49.270 UTC [Composer] Debug -> DEBU 14b8 Exiting DataCollection.get 0 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14b9 @JS : Context :[object Object]() < 2017-07-19 23:33:49.270 UTC [Composer] Debug -> DEBU 14b6 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14ba @JS : Context :[object Object]() < 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14bb @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14bc @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14bd @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14be @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14bf @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14c0 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.271 UTC [Composer] Debug -> DEBU 14c1 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c2 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c3 @JS : AccessController :constructor() < 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c4 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c5 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c6 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is not in cache, loading 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c7 @JS : Context :initialize() < 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c8 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14ca Exiting Context.getDataService 1 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14cb @JS : ScriptCompiler :compile() > [object Object] 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14cc Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14cd Exiting Context.getEventService 1 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14ce Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14cf Exiting Context.getIdentityService 1 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14d0 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14d1 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14d2 @JS : ScriptCompiler :compile() Adding global assert 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14d3 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.272 UTC [Composer] Debug -> DEBU 14c9 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d4 @JS : ScriptCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d5 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d6 @JS : ScriptCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d7 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d8 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14d9 @JS : ScriptCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14da @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14db Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14dc Exiting Context.getDataService 1 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14dd Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.273 UTC [Composer] Debug -> DEBU 14de @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.274 UTC [Composer] Debug -> DEBU 14df @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"EAMSPLOYCJ_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.274 UTC [Composer] Debug -> DEBU 14e0 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.274 UTC [Composer] Debug -> DEBU 14e1 Exiting Context.getDataService 1 2017-07-19 23:33:49.274 UTC [Composer] Debug -> DEBU 14e2 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.274 UTC [Composer] Debug -> DEBU 14e3 @JS : ScriptCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.275 UTC [Composer] Debug -> DEBU 14e4 @JS : ScriptCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.275 UTC [Composer] Debug -> DEBU 14e5 @JS : ScriptCompiler :compile() Adding API method post 2017-07-19 23:33:49.275 UTC [Composer] Debug -> DEBU 14e6 Exiting DataCollection.get 0 2017-07-19 23:33:49.275 UTC [Composer] Debug -> DEBU 14e7 Exiting DataCollection.get 0 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14e8 @JS : Context :[object Object]() < 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14e9 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14ea @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14eb @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14ec @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.276 UTC [Composer] Debug -> DEBU 14ed @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.277 UTC [Composer] Debug -> DEBU 14ee @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.277 UTC [Composer] Debug -> DEBU 14ef @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.277 UTC [Composer] Debug -> DEBU 14f0 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.277 UTC [Composer] Debug -> DEBU 14f1 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.277 UTC [Composer] Debug -> DEBU 14f2 @JS : Context :[object Object]() < 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f3 @JS : EngineTransactions :submitTransaction() Storing executed transaction in transaction registry 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f4 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f5 @JS : AccessController :check() > org.example.mynetwork.Trade#09403b58-3126-45d5-b650-9f4ca0ec3a81, CREATE 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f6 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f7 @JS : AccessController :check() No participant 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f8 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14f9 @JS : AccessController :check() < 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14fa @JS : ScriptCompiler :compile() Adding API method emit 2017-07-19 23:33:49.278 UTC [Composer] Debug -> DEBU 14fb @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 14fc @JS : ScriptCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 14fd @JS : ScriptCompiler :compile() Adding API method query 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 14fe @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1500 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1501 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1502 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1504 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1505 Exiting Context.getDataService 1 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1506 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1507 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 14ff @JS : ScriptCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1508 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1509 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150a @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150b @JS : ScriptCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150c @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150d @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150e @JS : ScriptCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 150f @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1510 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1511 @JS : ScriptCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1512 @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1513 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1514 @JS : ScriptCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1515 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1516 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1517 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1518 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.280 UTC [Composer] Debug -> DEBU 1519 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151a @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151b Entering DataCollection.add &{0xc420144940} 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151c @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151d @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151e @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 151f @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.281 UTC [Composer] Debug -> DEBU 1520 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1521 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1522 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1523 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1524 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1525 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1526 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.282 UTC [Composer] Debug -> DEBU 1527 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.283 UTC [Composer] Debug -> DEBU 1528 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.283 UTC [Composer] Debug -> DEBU 1529 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.283 UTC [Composer] Debug -> DEBU 152a @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 152b @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 152c Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 152d Exiting Context.getDataService 1 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 152e Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 152f @JS : ScriptCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 1530 @JS : ScriptCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 1531 @JS : ScriptCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 1532 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.284 UTC [Composer] Debug -> DEBU 1533 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1534 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1536 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1535 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc421420520 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1537 Exiting NewDataCollection &{0xc4202ff7e0 0xc421275200 $sysdata} 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1538 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 1539 Exiting DataService.getCollection 0 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 153a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.285 UTC [Composer] Debug -> DEBU 153b Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:49.279 UTC [Composer] Debug -> DEBU 1503 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 153c Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc4214104a0 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 153d Exiting DataCollection.get 0 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 153e @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 153f @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1540 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1541 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1542 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1543 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154a @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154b @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154c @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154d @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154e @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.288 UTC [Composer] Debug -> DEBU 154f Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.289 UTC [Composer] Debug -> DEBU 1550 Exiting Context.getDataService 1 2017-07-19 23:33:49.289 UTC [Composer] Debug -> DEBU 1551 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1544 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.289 UTC [Composer] Debug -> DEBU 1552 Exiting DataCollection.get 0 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1545 Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4213d5db0 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1553 @JS : Context :[object Object]() < 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1554 Exiting NewDataCollection &{0xc420151658 0xc42008d500 $sysdata} 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1555 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1556 Exiting DataService.getCollection 0 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1557 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1558 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.290 UTC [Composer] Debug -> DEBU 1559 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155a @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155c @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155d Entering DataCollection.get &{0xc42027a640} 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155e @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 155f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 1560 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 1561 Exiting Context.getDataService 1 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 1562 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1546 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 1563 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc42129bb00} 0xc421411570 2017-07-19 23:33:49.291 UTC [Composer] Debug -> DEBU 1564 Exiting NewDataCollection &{0xc420029ba0 0xc42129bb00 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 1565 Exiting DataService.getCollection 0 2017-07-19 23:33:49.286 UTC [Composer] Debug -> DEBU 1547 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc4213df5c0 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 1566 Exiting NewDataCollection &{0xc4201438b8 0xc420149600 $sysregistries} 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 1567 Exiting DataService.getCollection 0 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 1568 @JS : AccessController :check() > org.example.mynetwork.Trader#EAMSPLOYCJ_t9, CREATE 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 1569 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156b @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156c Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156d Exiting Context.getDataService 1 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156e Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.287 UTC [Composer] Debug -> DEBU 1548 Exiting NewDataCollection &{0xc420143938 0xc42049d700 $sysdata} 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156f Exiting DataService.getCollection 0 2017-07-19 23:33:49.287 UTC [Composer] Debug -> DEBU 1549 Exiting DataCollection.add 0 2017-07-19 23:33:49.293 UTC [Composer] Debug -> DEBU 1570 @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.293 UTC [Composer] Debug -> DEBU 1571 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.293 UTC [Composer] Debug -> DEBU 1572 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.292 UTC [Composer] Debug -> DEBU 156a @JS : AccessController :check() No participant 2017-07-19 23:33:49.294 UTC [Composer] Debug -> DEBU 1573 @JS : AccessController :check() < 2017-07-19 23:33:49.294 UTC [Composer] Debug -> DEBU 1574 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.295 UTC [Composer] Debug -> DEBU 1579 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:49.294 UTC [Composer] Debug -> DEBU 1575 @JS : TransactionLogger :onResourceAdded() > [object Object] 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157a Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc421411990 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157b @JS : TransactionLogger :undefined() < 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157c Exiting NewDataCollection &{0xc420029bf8 0xc42008d200 $sysregistries} 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157d Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157f Exiting Context.getDataService 1 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 157e Exiting DataService.getCollection 0 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 1581 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 1582 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 1583 Exiting Context.getDataService 1 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 1584 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.294 UTC [Composer] Debug -> DEBU 1576 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 1586 Exiting DataCollection.get 0 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 1587 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 1588 @JS : ScriptCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 1589 @JS : ScriptCompiler :processScript() Adding function declaration tradeCommodity 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158a @JS : Context :[object Object]() < 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158b @JS : ScriptCompiler :processScript() < 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158c @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158d @JS : ScriptCompiler :processScriptManager() < 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158e @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 158f @JS : ScriptCompiler :compile() Adding function declaration tradeCommodity 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1590 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.295 UTC [Composer] Debug -> DEBU 1578 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc4213df920 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1591 Exiting NewDataCollection &{0xc4202ff9e8 0xc421275200 $sysdata} 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1592 Exiting DataService.getCollection 0 2017-07-19 23:33:49.294 UTC [Composer] Debug -> DEBU 1577 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1594 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1595 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1596 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc4214741b0 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1598 Exiting DataCollection.get 0 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1599 Exiting NewDataCollection &{0xc4201516c8 0xc420149600 $sysidentities} 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 159a Exiting DataService.getCollection 0 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 159b @JS : Context :[object Object]() < 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 159c @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 159d @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 159e @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 159f @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 15a0 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 15a1 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 15a3 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a4 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a5 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a6 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a7 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a8 Exiting Context.getDataService 1 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15a9 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1597 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:49.298 UTC [Composer] Debug -> DEBU 1585 Entering DataCollection.add &{0xc420141340} 2017-07-19 23:33:49.296 UTC [Composer] Debug -> DEBU 1580 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15aa Exiting Context.getEventService 1 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15ab Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15ac Exiting Context.getIdentityService 1 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15ad Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.301 UTC [Composer] Debug -> DEBU 15ae Exiting Context.getHTTPService 1 2017-07-19 23:33:49.299 UTC [Composer] Debug -> DEBU 1593 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.302 UTC [Composer] Debug -> DEBU 15af @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.300 UTC [Composer] Debug -> DEBU 15a2 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.302 UTC [Composer] Debug -> DEBU 15b0 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.302 UTC [Composer] Debug -> DEBU 15b1 Entering IdentityService.getCurrentUserID &{0xc4201450e0} 2017-07-19 23:33:49.302 UTC [Composer] Debug -> DEBU 15b2 Entering extractNameFromCreator 0xc421474810 2017-07-19 23:33:49.302 UTC [Composer] Debug -> DEBU 15b3 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.303 UTC [Composer] Debug -> DEBU 15b4 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.303 UTC [Composer] Debug -> DEBU 15b5 Common Name admin 2017-07-19 23:33:49.303 UTC [Composer] Debug -> DEBU 15b6 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.303 UTC [Composer] Debug -> DEBU 15b7 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15b8 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc4214333f0 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15b9 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc421494000 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15ba @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15bb @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15bc Exiting NewDataCollection &{0xc4202ffa38 0xc42008d200 $sysidentities} 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15bd Exiting DataService.getCollection 0 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15be @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15bf @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15c0 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15c1 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.304 UTC [Composer] Debug -> DEBU 15c2 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c3 Entering IdentityService.getCurrentUserID &{0xc4201cf140} 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c4 Entering extractNameFromCreator 0xc4214339e0 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c5 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c6 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c7 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c8 Common Name admin 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15c9 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15ca @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15cb @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15cc @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15cd @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.305 UTC [Composer] Debug -> DEBU 15ce @JS : AccessController :constructor() < 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15cf @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d0 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d2 @JS : AccessController :constructor() < 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d1 @JS : Context :initialize() < 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d3 @JS : Context :initialize() < 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d4 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d6 Exiting Context.getDataService 1 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d7 Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d8 Exiting Context.getEventService 1 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d9 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.307 UTC [Composer] Debug -> DEBU 15da Exiting Context.getIdentityService 1 2017-07-19 23:33:49.307 UTC [Composer] Debug -> DEBU 15db Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.306 UTC [Composer] Debug -> DEBU 15d5 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15de Exiting Context.getDataService 1 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15df Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e0 Exiting Context.getEventService 1 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e1 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e2 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e3 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e4 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.307 UTC [Composer] Debug -> DEBU 15dd @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e5 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e6 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.308 UTC [Composer] Debug -> DEBU 15e7 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15e8 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15e9 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15ea Exiting NewDataCollection &{0xc420029ca0 0xc42049d700 $sysdata} 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15ec Exiting DataService.getCollection 0 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15ed @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15ee Exiting DataCollection.add 0 2017-07-19 23:33:49.309 UTC [Composer] Debug -> DEBU 15eb @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.307 UTC [Composer] Debug -> DEBU 15dc Exiting Context.getHTTPService 1 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15ef @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f0 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f2 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f3 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f4 Exiting Context.getDataService 1 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f5 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f1 @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f6 @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f7 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f8 Exiting Context.getDataService 1 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15f9 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.310 UTC [Composer] Debug -> DEBU 15fa Exiting Context.getEventService 1 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 15fb @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 15fd @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 15fe @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 15fc Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 15ff Exiting Context.getIdentityService 1 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 1600 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 1601 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 1602 Exiting DataCollection.get 0 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 1603 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 1605 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 1606 Exiting Context.getDataService 1 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 1607 Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 1608 Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc421475e60 2017-07-19 23:33:49.311 UTC [Composer] Debug -> DEBU 1604 @JS : Context :[object Object]() < 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 1609 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.312 UTC [Composer] Debug -> DEBU 160a @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 160b @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 160c @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 160d @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 160e @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 160f @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1610 @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1611 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1612 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1613 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1614 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1615 Exiting Context.getDataService 1 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1616 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1617 Exiting NewDataCollection &{0xc4202ffaa8 0xc420149c80 $sysregistries} 2017-07-19 23:33:49.313 UTC [Composer] Debug -> DEBU 1618 Exiting DataService.getCollection 0 2017-07-19 23:33:49.314 UTC [Composer] Debug -> DEBU 1619 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.314 UTC [Composer] Debug -> DEBU 161a Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.314 UTC [Composer] Debug -> DEBU 161b Exiting Context.getDataService 1 2017-07-19 23:33:49.314 UTC [Composer] Debug -> DEBU 161c Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:49.314 UTC [Composer] Debug -> DEBU 161d Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc4214ce530 2017-07-19 23:33:49.316 UTC [Composer] Debug -> DEBU 161e Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.316 UTC [Composer] Debug -> DEBU 161f Exiting Context.getDataService 1 2017-07-19 23:33:49.316 UTC [Composer] Debug -> DEBU 1620 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.316 UTC [Composer] Debug -> DEBU 1621 Exiting Context.getEventService 1 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1622 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1623 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1624 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1625 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1626 Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc42147b650 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1627 Exiting NewDataCollection &{0xc420151820 0xc4202a4200 $sysdata} 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1628 Exiting NewDataCollection &{0xc420143ac8 0xc420149c80 $sysidentities} 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 1629 Exiting DataService.getCollection 0 2017-07-19 23:33:49.317 UTC [Composer] Debug -> DEBU 162a @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 162b @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 162c Entering Context.getIdentityService &{0xc420145580} 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 162d Exiting Context.getIdentityService 1 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 162e Entering IdentityService.getCurrentUserID &{0xc420145580} 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 162f Entering extractNameFromCreator 0xc42147bc40 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1630 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1631 Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc421495310 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1632 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1633 Exiting NewDataCollection &{0xc4202ffb18 0xc42013b600 $sysdata} 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1634 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1635 Exiting DataService.getCollection 0 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1636 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1637 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.318 UTC [Composer] Debug -> DEBU 1638 Entering DataCollection.get &{0xc4202a2220} 2017-07-19 23:33:49.319 UTC [Composer] Debug -> DEBU 1639 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.319 UTC [Composer] Debug -> DEBU 163a Common Name admin 2017-07-19 23:33:49.319 UTC [Composer] Debug -> DEBU 163b Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.319 UTC [Composer] Debug -> DEBU 163c @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.319 UTC [Composer] Debug -> DEBU 163d @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 163e @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 163f Exiting DataService.getCollection 0 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1640 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1641 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1642 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1643 @JS : AccessController :constructor() < 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1644 @JS : Context :initialize() < 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1645 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1646 Exiting Context.getDataService 1 2017-07-19 23:33:49.320 UTC [Composer] Debug -> DEBU 1647 Entering Context.getEventService &{0xc420145580} 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 1648 Exiting Context.getEventService 1 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 1649 Entering Context.getIdentityService &{0xc420145580} 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 164a Exiting Context.getIdentityService 1 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 164b Entering Context.getHTTPService &{0xc420145580} 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 164c Exiting Context.getHTTPService 1 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 164d Exiting DataCollection.get 0 2017-07-19 23:33:49.321 UTC [Composer] Debug -> DEBU 164e @JS : Context :[object Object]() < 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 164f @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 1650 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 1651 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 1652 @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 1653 @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.322 UTC [Composer] Debug -> DEBU 1654 @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 1655 @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 1656 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 1657 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 1658 Entering EventService.transactionCommit &{0xc420144940} 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 165a @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 1659 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 165c @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 165b Exiting DataCollection.get 0 2017-07-19 23:33:49.323 UTC [Composer] Debug -> DEBU 165d @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 165e @JS : EventService :getEvents() > 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 165f @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1660 @JS : Context :[object Object]() < 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1661 @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1662 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1663 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1664 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1665 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1666 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.324 UTC [Composer] Debug -> DEBU 1667 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 1668 Exiting Context.getDataService 1 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 1669 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166a @JS : EventService :getEvents() < 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166b Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166c Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166d @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166e @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 166f Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 1670 Exiting Context.getDataService 1 2017-07-19 23:33:49.325 UTC [Composer] Debug -> DEBU 1671 Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.326 UTC [Composer] Debug -> DEBU 1672 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1674 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1675 Exiting Context.getDataService 1 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1676 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1677 Exiting Context.getEventService 1 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1678 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1679 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 167a Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 167b Exiting Context.getHTTPService 1 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 1673 Exiting DataCollection.get 0 2017-07-19 23:33:49.327 UTC [Composer] Debug -> DEBU 167c @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.328 UTC [Composer] Debug -> DEBU 167d @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.328 UTC [Composer] Debug -> DEBU 167e Exiting DataCollection.get 0 2017-07-19 23:33:49.328 UTC [Composer] Debug -> DEBU 167f Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.328 UTC [Composer] Debug -> DEBU 1680 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.329 UTC [Composer] Debug -> DEBU 1681 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.329 UTC [Composer] Debug -> DEBU 1682 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.331 UTC [Composer] Debug -> DEBU 1683 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.331 UTC [Composer] Debug -> DEBU 1684 Entering DataCollection.get &{0xc4202a2680} 2017-07-19 23:33:49.331 UTC [Composer] Debug -> DEBU 1685 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc420149600} 0xc4214cf580 2017-07-19 23:33:49.331 UTC [Composer] Debug -> DEBU 1686 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.331 UTC [Composer] Debug -> DEBU 1687 Exiting NewDataCollection &{0xc420151950 0xc420149600 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1688 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42008d200} 0xc4214fcab0 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1689 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168a Exiting DataService.getCollection 0 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168b Exiting Context.getDataService 1 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168c Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168d Exiting Context.getEventService 1 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168e Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 168f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1690 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1692 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1693 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1694 Exiting Context.getDataService 1 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1695 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 1696 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.332 UTC [Composer] Debug -> DEBU 1691 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 1697 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 1698 Exiting NewDataCollection &{0xc4202ffbd8 0xc42008d200 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 1699 Exiting DataService.getCollection 0 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 169a @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.333 UTC [Composer] Debug -> DEBU 169b @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 169c Entering EventService.transactionCommit &{0xc420141340} 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 169d @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 169e @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 169f @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 16a0 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 16a1 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 16a2 Exiting Context.getDataService 1 2017-07-19 23:33:49.334 UTC [Composer] Debug -> DEBU 16a3 Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.336 UTC [Composer] Debug -> DEBU 16a4 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc4215265b0 2017-07-19 23:33:49.337 UTC [Composer] Debug -> DEBU 16a5 Exiting NewDataCollection &{0xc4202ffbf8 0xc421275200 $sysdata} 2017-07-19 23:33:49.337 UTC [Composer] Debug -> DEBU 16a6 Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4215267e0 2017-07-19 23:33:49.337 UTC [Composer] Debug -> DEBU 16a7 Exiting DataService.getCollection 0 2017-07-19 23:33:49.337 UTC [Composer] Debug -> DEBU 16a8 Exiting NewDataCollection &{0xc4201519c8 0xc420149000 $sysregistries} 2017-07-19 23:33:49.337 UTC [Composer] Debug -> DEBU 16a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16aa @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16ac Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16ad @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16ae Exiting Context.getDataService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16af Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b1 Exiting Context.getDataService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b0 Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b2 Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b3 Exiting Context.getEventService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b4 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b5 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b6 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b7 Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b8 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16b9 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16ba Exiting Context.getDataService 1 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16bb Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.338 UTC [Composer] Debug -> DEBU 16ab @JS : EventService :getEvents() > 2017-07-19 23:33:49.339 UTC [Composer] Debug -> DEBU 16bc @JS : EventService :getEvents() < 2017-07-19 23:33:49.339 UTC [Composer] Debug -> DEBU 16bd Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.339 UTC [Composer] Debug -> DEBU 16be Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.340 UTC [Composer] Debug -> DEBU 16bf Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4214fdb50 2017-07-19 23:33:49.340 UTC [Composer] Debug -> DEBU 16c0 Exiting NewDataCollection &{0xc4201519f0 0xc420149000 $sysidentities} 2017-07-19 23:33:49.340 UTC [Composer] Debug -> DEBU 16c1 Exiting DataService.getCollection 0 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c2 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c3 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c4 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc421510bf0 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c6 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c7 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c8 Entering Context.getIdentityService &{0xc4201cf6a0} 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c9 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16ca Entering IdentityService.getCurrentUserID &{0xc4201cf6a0} 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16cc Exiting NewDataCollection &{0xc420029f08 0xc42049d700 $sysdata} 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16cb Entering extractNameFromCreator 0xc4215481f0 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16cd creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16ce Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16c5 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16d0 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d1 Common Name admin 2017-07-19 23:33:49.341 UTC [Composer] Debug -> DEBU 16cf Exiting Context.getDataService 1 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d2 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d3 Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d5 @JS : Engine :invoke() Calling engine function getAllRegistries 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d4 Exiting Context.getEventService 1 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d6 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d7 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d8 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16d9 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16da Exiting DataService.getCollection 0 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16db @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16dc @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.342 UTC [Composer] Debug -> DEBU 16dd @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16de @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16df @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e0 @JS : AccessController :constructor() < 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e1 @JS : Context :initialize() < 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e2 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e3 Exiting Context.getDataService 1 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e4 Entering Context.getEventService &{0xc4201cf6a0} 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e5 Exiting Context.getEventService 1 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e6 Entering Context.getIdentityService &{0xc4201cf6a0} 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e7 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e8 Entering Context.getHTTPService &{0xc4201cf6a0} 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16e9 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.343 UTC [Composer] Debug -> DEBU 16ea Exiting DataCollection.get 0 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16eb @JS : EngineRegistries :getAllRegistries() > [object Object], Transaction 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16ec Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16ed Exiting Context.getDataService 1 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16ee Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16ef Exiting Context.getDataService 1 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16f0 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16f1 Exiting Context.getEventService 1 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16f2 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.344 UTC [Composer] Debug -> DEBU 16f3 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f4 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f5 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f6 Exiting DataCollection.get 0 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f7 @JS : Context :[object Object]() < 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f8 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16f9 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.345 UTC [Composer] Debug -> DEBU 16fa @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 16fb Entering DataCollection.getAll &{0xc420145580} 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 16fc @JS : Context :[object Object]() < 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 16fd Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 16fe Exiting Context.getDataService 1 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 16ff Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 1700 Exiting Context.getEventService 1 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 1701 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 1702 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 1703 Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.346 UTC [Composer] Debug -> DEBU 1704 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.348 UTC [Composer] Debug -> DEBU 1705 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.353 UTC [Composer] Debug -> DEBU 1706 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.353 UTC [Composer] Debug -> DEBU 1707 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.353 UTC [Composer] Debug -> DEBU 1708 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:49.354 UTC [Composer] Debug -> DEBU 1709 @JS : Engine :invoke() < 2017-07-19 23:33:49.354 UTC [Composer] Debug -> DEBU 170a Exiting DataCollection.getAll 0 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 170b Entering Engine.handleCallback 0xc4211e84e0 &{0xc420144940} 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 170c @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 170e Exiting Composer.Invoke 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 170f Entering ComposerPool.Put &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1711 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1712 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1714 Exiting Context.getDataService 1 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1713 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1715 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.356 UTC [Composer] Debug -> DEBU 1716 Entering EventService.transactionCommit &{0xc4201450e0} 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 170d Exiting Engine.handleCallback 0 2017-07-19 23:33:49.356 UTC [Composer] Debug -> DEBU 1717 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.357 UTC [Composer] Debug -> DEBU 171b @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.357 UTC [Composer] Debug -> DEBU 171c @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.357 UTC [Composer] Debug -> DEBU 171d @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.356 UTC [Composer] Debug -> DEBU 1718 @JS : EventService :getEvents() > 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 171e @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 171f @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1720 @JS : EventService :getEvents() < 2017-07-19 23:33:49.357 UTC [Composer] Debug -> DEBU 1719 Entering DataService.getCollection &{0xc420145580} 2017-07-19 23:33:49.355 UTC [Composer] Debug -> DEBU 1710 Exiting ComposerPool.Put true 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1721 Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.357 UTC [Composer] Debug -> DEBU 171a Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1722 Exiting Context.getDataService 1 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1723 Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1724 Exiting Context.getEventService 1 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1725 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1726 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1727 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1728 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.358 UTC [Composer] Debug -> DEBU 1729 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.359 UTC [Composer] Debug -> DEBU 172a Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.360 UTC [Composer] Debug -> DEBU 172b Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc421549d40 2017-07-19 23:33:49.360 UTC [Composer] Debug -> DEBU 172c @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.369 UTC [Composer] Debug -> DEBU 172d Exiting NewDataCollection &{0xc420143c90 0xc421275200 $sysregistries} 2017-07-19 23:33:49.370 UTC [Composer] Debug -> DEBU 172f Entering NewDataCollection &{0xc420145580} &{0xc420142278 0xc420149c80} 0xc421549e80 2017-07-19 23:33:49.370 UTC [Composer] Debug -> DEBU 1730 Exiting DataCollection.get 0 2017-07-19 23:33:49.369 UTC [Composer] Debug -> DEBU 172e Exiting DataService.getCollection 0 2017-07-19 23:33:49.370 UTC [Composer] Debug -> DEBU 1731 @JS : Context :[object Object]() < 2017-07-19 23:33:49.370 UTC [Composer] Debug -> DEBU 1732 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.370 UTC [Composer] Debug -> DEBU 1733 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.371 UTC [Composer] Debug -> DEBU 1734 Exiting NewDataCollection &{0xc4202ffc90 0xc420149c80 Transaction:default} 2017-07-19 23:33:49.372 UTC [Composer] Debug -> DEBU 1735 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.372 UTC [Composer] Debug -> DEBU 1736 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.373 UTC [Composer] Debug -> DEBU 1737 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.373 UTC [Composer] Debug -> DEBU 1738 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.373 UTC [Composer] Debug -> DEBU 1739 Exiting DataService.getCollection 0 2017-07-19 23:33:49.375 UTC [Composer] Debug -> DEBU 173a @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.376 UTC [Composer] Debug -> DEBU 173b @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.376 UTC [Composer] Debug -> DEBU 173c @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.376 UTC [Composer] Debug -> DEBU 173d @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.376 UTC [Composer] Debug -> DEBU 173e @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.376 UTC [Composer] Debug -> DEBU 173f @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.377 UTC [Composer] Debug -> DEBU 1740 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.377 UTC [Composer] Debug -> DEBU 1741 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.377 UTC [Composer] Debug -> DEBU 1742 Exiting Context.getDataService 1 2017-07-19 23:33:49.377 UTC [Composer] Debug -> DEBU 1743 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.377 UTC [Composer] Debug -> DEBU 1744 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1745 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4215b4240 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1746 Exiting NewDataCollection &{0xc420143d78 0xc42008d900 $sysregistries} 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1748 @JS : Engine :invoke() < 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1747 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174a Entering Engine.handleCallback 0xc4210eed20 &{0xc420141340} 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174b Exiting Engine.handleCallback 0 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1749 Exiting DataService.getCollection 0 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174c Exiting Composer.Invoke 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174e Entering ComposerPool.Put &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1750 Exiting ComposerPool.Put true 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 1751 Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174d @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.379 UTC [Composer] Debug -> DEBU 174f Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1752 Exiting Context.getDataService 1 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1753 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1754 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1755 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1757 Exiting Context.getDataService 1 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1756 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1758 Exiting Context.getDataService 1 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 1759 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175a Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175b Exiting Context.getEventService 1 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175c Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175d Exiting Context.getIdentityService 1 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175e Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.380 UTC [Composer] Debug -> DEBU 175f Exiting Context.getHTTPService 1 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1760 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc4215b4c30 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1761 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1763 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1764 Exiting NewDataCollection &{0xc4202ffd10 0xc421275200 $sysidentities} 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1765 Exiting DataService.getCollection 0 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1766 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.384 UTC [Composer] Debug -> DEBU 1762 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4215bc820 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1767 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1768 Exiting NewDataCollection &{0xc421580040 0xc42008d900 $sysidentities} 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1769 Exiting DataService.getCollection 0 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176b @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176d @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176e Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176f Exiting Context.getDataService 1 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1770 Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 176a @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.385 UTC [Composer] Debug -> DEBU 1771 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1772 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1774 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1775 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1776 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1777 Entering IdentityService.getCurrentUserID &{0xc420140e60} 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1778 Entering extractNameFromCreator 0xc4215b55e0 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1779 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177a Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177b Exiting Context.getIdentityService 1 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177c Entering IdentityService.getCurrentUserID &{0xc42027a680} 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177d Entering extractNameFromCreator 0xc4215c8a90 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177e creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 177f Exiting extractNameFromCreator admin 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1780 Common Name admin 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1781 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.386 UTC [Composer] Debug -> DEBU 1773 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.387 UTC [Composer] Debug -> DEBU 1782 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.387 UTC [Composer] Debug -> DEBU 1783 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.387 UTC [Composer] Debug -> DEBU 1784 Exiting Context.getDataService 1 2017-07-19 23:33:49.387 UTC [Composer] Debug -> DEBU 1785 Entering DataCollection.get &{0xc4201cf6a0} 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 1786 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 1787 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 1788 Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4215aa5e0 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 1789 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 178a @JS : ScriptCompiler :compile() < [object Object] 2017-07-19 23:33:49.388 UTC [Composer] Debug -> DEBU 178b @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 178c @JS : Context :cacheCompiledScriptBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 178d @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 178e @JS : Context :cacheCompiledScriptBundle() < 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1790 Exiting NewDataCollection &{0xc421580078 0xc42008d500 $sysdata} 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1792 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1791 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1793 @JS : AccessController :constructor() < 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 178f Exiting extractNameFromCreator admin 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1794 Entering EventService.transactionCommit &{0xc4201cf140} 2017-07-19 23:33:49.389 UTC [Composer] Debug -> DEBU 1795 Common Name admin 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 1796 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 1797 Exiting DataService.getCollection 0 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 1798 @JS : EventService :getEvents() > 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 1799 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 179a @JS : Context :loadCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 179b @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.390 UTC [Composer] Debug -> DEBU 179c @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 179d @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 179e @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 179f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a0 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a1 Exiting Context.getDataService 1 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a2 Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a3 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a4 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a6 Exiting Context.getDataService 1 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a7 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.391 UTC [Composer] Debug -> DEBU 17a5 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17a8 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17a9 @JS : EventService :getEvents() < 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17aa Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17ab Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17ac @JS : Context :initialize() < 2017-07-19 23:33:49.392 UTC [Composer] Debug -> DEBU 17ad @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17ae Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17af Exiting Context.getDataService 1 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b0 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b1 Exiting Context.getEventService 1 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b2 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b3 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b4 Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b5 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b6 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b8 Exiting Context.getDataService 1 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17ba Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc4215ee220 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17bb Exiting NewDataCollection &{0xc4202ffe08 0xc42008de00 $sysdata} 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17bc Exiting DataService.getCollection 0 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17bd @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17be Entering DataCollection.get &{0xc4202a2640} 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b9 Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17bf Exiting Context.getEventService 1 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17c0 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17c1 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17c2 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17c3 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.394 UTC [Composer] Debug -> DEBU 17c4 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.393 UTC [Composer] Debug -> DEBU 17b7 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17c5 Entering Engine.handleCallback 0xc4211e8ba0 &{0xc4201450e0} 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17c6 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17c7 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17c8 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17c9 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.395 UTC [Composer] Debug -> DEBU 17ca @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17cb @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17cc Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17cd Entering ComposerPool.Put &{0xc420142270 0xc421232530 0xc420143368} 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17ce Exiting ComposerPool.Put true 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17cf Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.396 UTC [Composer] Debug -> DEBU 17d0 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.398 UTC [Composer] Debug -> DEBU 17d1 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.398 UTC [Composer] Debug -> DEBU 17d2 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.399 UTC [Composer] Debug -> DEBU 17d3 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.400 UTC [Composer] Debug -> DEBU 17d4 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.400 UTC [Composer] Debug -> DEBU 17d5 Entering DataCollection.get &{0xc42027a640} 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17d6 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17d7 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17d8 @JS : AccessController :constructor() < 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17d9 @JS : Context :initialize() < 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17da Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17db Exiting Context.getDataService 1 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17dc Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17dd Exiting Context.getEventService 1 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17de Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17df Exiting Context.getIdentityService 1 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17e0 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:49.402 UTC [Composer] Debug -> DEBU 17e1 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.404 UTC [Composer] Debug -> DEBU 17e2 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.404 UTC [Composer] Debug -> DEBU 17e3 @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"QGANPSUJMV_c14","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#QGANPSUJMV_t1"} 2017-07-19 23:33:49.404 UTC [Composer] Debug -> DEBU 17e4 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.404 UTC [Composer] Debug -> DEBU 17e5 Exiting Context.getDataService 1 2017-07-19 23:33:49.404 UTC [Composer] Debug -> DEBU 17e6 Entering DataCollection.get &{0xc420140e60} 2017-07-19 23:33:49.405 UTC [Composer] Debug -> DEBU 17e7 @JS : Engine :invoke() Calling engine function getAllRegistries 2017-07-19 23:33:49.405 UTC [Composer] Debug -> DEBU 17e8 @JS : EngineRegistries :getAllRegistries() > [object Object], Transaction 2017-07-19 23:33:49.405 UTC [Composer] Debug -> DEBU 17e9 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.405 UTC [Composer] Debug -> DEBU 17ea Exiting Context.getDataService 1 2017-07-19 23:33:49.406 UTC [Composer] Debug -> DEBU 17eb Entering DataCollection.getAll &{0xc42027a680} 2017-07-19 23:33:49.407 UTC [Composer] Debug -> DEBU 17ec Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc4215eedf0 2017-07-19 23:33:49.407 UTC [Composer] Debug -> DEBU 17ed Exiting DataCollection.get 0 2017-07-19 23:33:49.407 UTC [Composer] Debug -> DEBU 17ee Exiting NewDataCollection &{0xc420143e30 0xc42049d700 $sysregistries} 2017-07-19 23:33:49.407 UTC [Composer] Debug -> DEBU 17ef Exiting DataService.getCollection 0 2017-07-19 23:33:49.407 UTC [Composer] Debug -> DEBU 17f0 Exiting DataCollection.get 0 2017-07-19 23:33:49.408 UTC [Composer] Debug -> DEBU 17f2 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f4 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f6 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f7 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f8 Entering Engine.handleCallback 0xc4203dfe00 &{0xc4201cf140} 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f9 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17fa @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.411 UTC [Composer] Debug -> DEBU 17fb @JS : Context :loadCompiledQueryBundle() Compiled query bundle is not in cache, loading 2017-07-19 23:33:49.411 UTC [Composer] Debug -> DEBU 17fc @JS : QueryCompiler :compile() > [object Object] 2017-07-19 23:33:49.411 UTC [Composer] Debug -> DEBU 17fd @JS : QueryCompiler :visit() > [object Object], [object Object] 2017-07-19 23:33:49.411 UTC [Composer] Debug -> DEBU 17fe @JS : QueryCompiler :visitQueryManager() > [object Object], [object Object] 2017-07-19 23:33:49.412 UTC [Composer] Debug -> DEBU 17ff @JS : QueryCompiler :visitQueryManager() < 2017-07-19 23:33:49.412 UTC [Composer] Debug -> DEBU 1800 @JS : QueryCompiler :visit() < 2017-07-19 23:33:49.412 UTC [Composer] Debug -> DEBU 1801 @JS : CompiledQueryBundle :constructor() > [object Object], [object Object], 2017-07-19 23:33:49.408 UTC [Composer] Debug -> DEBU 17f1 @JS : Context :[object Object]() < 2017-07-19 23:33:49.410 UTC [Composer] Debug -> DEBU 17f5 Exiting Context.getDataService 1 2017-07-19 23:33:49.413 UTC [Composer] Debug -> DEBU 1802 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.413 UTC [Composer] Debug -> DEBU 1804 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.414 UTC [Composer] Debug -> DEBU 1805 @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.414 UTC [Composer] Debug -> DEBU 1806 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.413 UTC [Composer] Debug -> DEBU 1803 Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.414 UTC [Composer] Debug -> DEBU 1807 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 1808 @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 1809 @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180a Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180c Entering ComposerPool.Put &{0xc420028028 0xc42051bc00 0xc4202fe7b8} 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180d Exiting ComposerPool.Put true 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180e Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180f @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.415 UTC [Composer] Debug -> DEBU 180b @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.417 UTC [Composer] Debug -> DEBU 1810 @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.417 UTC [Composer] Debug -> DEBU 1811 @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.417 UTC [Composer] Debug -> DEBU 1812 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.417 UTC [Composer] Debug -> DEBU 1813 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1814 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1815 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1816 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1817 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1818 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 1819 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 181a @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 181b Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 181c Exiting Context.getDataService 1 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 181d Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.418 UTC [Composer] Debug -> DEBU 181e @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 181f @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 1820 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 1821 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 1822 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 1823 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.419 UTC [Composer] Debug -> DEBU 1824 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.420 UTC [Composer] Debug -> DEBU 1825 @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.420 UTC [Composer] Debug -> DEBU 1826 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.422 UTC [Composer] Debug -> DEBU 1827 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1828 @JS : EngineRegistries :getAllRegistries() < [object Object] 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1829 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182b Exiting Context.getDataService 1 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182a @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182c Entering Context.getEventService &{0xc420145580} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182d Exiting Context.getEventService 1 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182e Entering Context.getIdentityService &{0xc420145580} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 182f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1830 Entering Context.getHTTPService &{0xc420145580} 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1831 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1832 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.423 UTC [Composer] Debug -> DEBU 1833 Exiting DataCollection.get 0 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1834 Entering DataService.getCollection &{0xc420140e60} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1835 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1836 Exiting Context.getDataService 1 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1837 Entering Context.getEventService &{0xc420145580} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1838 Exiting Context.getEventService 1 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1839 Entering Context.getIdentityService &{0xc420145580} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183a Exiting Context.getIdentityService 1 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183b Entering Context.getHTTPService &{0xc420145580} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183c Exiting Context.getHTTPService 1 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183d Entering EventService.transactionCommit &{0xc420145580} 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183e @JS : EventService :getEvents() > 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 183f @JS : CompiledQueryBundle :constructor() < 2017-07-19 23:33:49.424 UTC [Composer] Debug -> DEBU 1840 @JS : EventService :getEvents() < 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1841 @JS : QueryCompiler :compile() < [object Object] 2017-07-19 23:33:49.429 UTC [Composer] Debug -> DEBU 184b @JS : Context :cacheCompiledQueryBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1843 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc4215ee260 2017-07-19 23:33:49.429 UTC [Composer] Debug -> DEBU 184d @JS : Context :cacheCompiledQueryBundle() < 2017-07-19 23:33:49.429 UTC [Composer] Debug -> DEBU 184c Exiting NewDataCollection &{0xc4215801e0 0xc42049d700 $sysidentities} 2017-07-19 23:33:49.429 UTC [Composer] Debug -> DEBU 184e Exiting DataService.getCollection 0 2017-07-19 23:33:49.429 UTC [Composer] Debug -> DEBU 184f @JS : Context :loadCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1850 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1851 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1852 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1853 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1854 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1855 Entering IdentityService.getCurrentUserID &{0xc4201ce500} 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1857 Entering extractNameFromCreator 0xc42162de40 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1858 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1844 Exiting DataCollection.get 0 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1859 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 185a Common Name admin 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 185b Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 185c Entering DataService.getCollection &{0xc4201cf6a0} 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 185d @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1846 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.431 UTC [Composer] Debug -> DEBU 185e @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1842 Entering getLogging 0xc4205d88b0 2017-07-19 23:33:49.427 UTC [Composer] Debug -> DEBU 1848 Exiting DataCollection.getAll 0 2017-07-19 23:33:49.427 UTC [Composer] Debug -> DEBU 1849 Entering NewDataCollection &{0xc420140e60} &{0xc420150140 0xc421275200} 0xc4215ee460 2017-07-19 23:33:49.431 UTC [Composer] Debug -> DEBU 1860 Exiting NewDataCollection &{0xc420150030 0xc421275200 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.431 UTC [Composer] Debug -> DEBU 1861 Exiting DataService.getCollection 0 2017-07-19 23:33:49.432 UTC [Composer] Debug -> DEBU 1862 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.432 UTC [Composer] Debug -> DEBU 1863 @JS : AccessController :check() > org.example.mynetwork.Commodity#QGANPSUJMV_c14, CREATE 2017-07-19 23:33:49.425 UTC [Composer] Debug -> DEBU 1845 Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc42162d850 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1867 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1868 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 186a @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1869 Exiting NewDataCollection &{0xc420143f38 0xc42008de00 $sysdata} 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 186b @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 186c Exiting DataService.getCollection 0 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 186d @JS : AccessController :constructor() < 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 186e @JS : Context :initialize() < 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 186f Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1870 Exiting Context.getDataService 1 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1871 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1872 Exiting Context.getEventService 1 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1873 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1874 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1875 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1876 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1877 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.434 UTC [Composer] Debug -> DEBU 1878 Entering DataCollection.get &{0xc4202a2640} 2017-07-19 23:33:49.435 UTC [Composer] Debug -> DEBU 1879 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc42008d900} 0xc4215ef470 2017-07-19 23:33:49.435 UTC [Composer] Debug -> DEBU 187a Exiting NewDataCollection &{0xc420028290 0xc42008d900 Transaction:default} 2017-07-19 23:33:49.435 UTC [Composer] Debug -> DEBU 187b Exiting DataService.getCollection 0 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 187c @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 187d @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"XYITKICOYD_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#XYITKICOYD_t0"} 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 187e @JS : EngineRegistries :getAllRegistries() < [object Object] 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 187f Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 1880 Exiting Context.getDataService 1 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 1881 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 1882 Exiting Context.getDataService 1 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 1883 Entering DataCollection.get &{0xc4201ce500} 2017-07-19 23:33:49.436 UTC [Composer] Debug -> DEBU 1884 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.428 UTC [Composer] Debug -> DEBU 184a @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 1885 Exiting Context.getEventService 1 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 1887 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 1888 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 1889 Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 188a Exiting Context.getHTTPService 1 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 188b Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 188c Exiting Context.getDataService 1 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 188d Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 188e Exiting Context.getEventService 1 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 188f Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 1890 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 1891 Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 1892 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.438 UTC [Composer] Debug -> DEBU 1893 Entering EventService.transactionCommit &{0xc42027a680} 2017-07-19 23:33:49.431 UTC [Composer] Debug -> DEBU 185f @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1894 @JS : EventService :getEvents() > 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1895 @JS : EventService :getEvents() < 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1896 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1897 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1898 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 1899 Exiting Context.getDataService 1 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189a Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189b Exiting Context.getEventService 1 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189c Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189d Exiting Context.getIdentityService 1 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189e Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.439 UTC [Composer] Debug -> DEBU 189f Exiting Context.getHTTPService 1 2017-07-19 23:33:49.440 UTC [Composer] Debug -> DEBU 18a0 @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.440 UTC [Composer] Debug -> DEBU 18a1 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1864 @JS : AccessController :check() No participant 2017-07-19 23:33:49.440 UTC [Composer] Debug -> DEBU 18a3 Exiting DataCollection.get 0 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a4 @JS : AccessController :check() < 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a5 @JS : Context :[object Object]() < 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1865 Entering NewDataCollection &{0xc4201cf6a0} &{0xc420028030 0xc420149000} 0xc4215ee770 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a6 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a8 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a7 Exiting NewDataCollection &{0xc420028270 0xc420149000 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.433 UTC [Composer] Debug -> DEBU 1866 Entering Chaincode.Invoke 0xc4205d88a0 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18ab Entering ComposerPool.Get 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18ac Exiting ComposerPool.Get &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18ad Entering Composer.Invoke 0xc4215c89d0 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"JHDBVLKJTB_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18ae Entering NewContext &{0xc4201ce220} &{0xc420028000} 0xc4215c8ac0 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18af Entering NewDataService &{0xc4201ce220} &{0xc420028000 } 0xc4215c8b80 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b0 Exiting NewDataService &{0xc420028000 0xc4215fda80} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b1 Entering NewIdentityService &{0xc4201ce220} &{0xc420028000 0xc42156c1e0 } 0xc4215c8d30 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b2 Exiting NewIdentityService &{0xc420028000 0xc4215fda80} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b4 Entering NewEventService &{0xc4201ce220} &{0xc420028000 0xc42156c1e0 0xc42156c2c0 } 0xc4215c8ea0 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b5 Exiting NewEventServce &{0xc420028000 0xc4215fda80} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b6 Entering HTTPService &{0xc4201ce220} &{0xc420028000 0xc42156c1e0 0xc42156c2c0 0xc42156c3a0 } 0xc4215c9010 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18b7 Exiting HTTPService &{0xc420028000 0xc4215fda80} 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18b8 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18b9 Exiting NewContext &{0xc420028000 0xc42156c1e0 0xc42156c2c0 0xc42156c3a0 0xc42156c480} 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18ba Entering Engine.Invoke &{0xc420028000 0xc42156c1e0 0xc42156c2c0 0xc42156c3a0 0xc42156c480} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"JHDBVLKJTB_t9","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18bb @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18bc @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18bd @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.430 UTC [Composer] Debug -> DEBU 1856 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18bf Entering DataCollection.add &{0xc420140e60} 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18c0 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18c1 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"JHDBVLKJTB_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18c2 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18c3 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18c4 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.443 UTC [Composer] Debug -> DEBU 18c5 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.443 UTC [Composer] Debug -> DEBU 18c6 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.443 UTC [Composer] Debug -> DEBU 18c7 Exiting Context.getDataService 1 2017-07-19 23:33:49.443 UTC [Composer] Debug -> DEBU 18c8 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18aa @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.443 UTC [Composer] Debug -> DEBU 18c9 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18ca @JS : Context :initialize() > 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18cb Exiting Engine.Invoke 0xc4215fee40 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18cc @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18cd Entering getLogging 0xc4215ab680 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18ce @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18cf @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.444 UTC [Composer] Debug -> DEBU 18d0 @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.445 UTC [Composer] Debug -> DEBU 18d1 @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.445 UTC [Composer] Debug -> DEBU 18d2 @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.445 UTC [Composer] Debug -> DEBU 18d3 @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.445 UTC [Composer] Debug -> DEBU 18d4 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.445 UTC [Composer] Debug -> DEBU 18d5 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18d6 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18d7 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18d8 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18d9 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18da @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18db @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.441 UTC [Composer] Debug -> DEBU 18b3 Exiting DataCollection.get 0 2017-07-19 23:33:49.446 UTC [Composer] Debug -> DEBU 18dc @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.440 UTC [Composer] Debug -> DEBU 18a2 Entering Engine.handleCallback 0xc4210a15c0 &{0xc42027a680} 2017-07-19 23:33:49.447 UTC [Composer] Debug -> DEBU 18dd Entering DataService.getCollection &{0xc4201ce500} 2017-07-19 23:33:49.447 UTC [Composer] Debug -> DEBU 18de Exiting Engine.handleCallback 0 2017-07-19 23:33:49.442 UTC [Composer] Debug -> DEBU 18be Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18df Exiting Context.getDataService 1 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e0 @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e1 Entering Context.getEventService &{0xc4201cf6a0} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e2 Exiting Context.getEventService 1 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e3 Entering Context.getIdentityService &{0xc4201cf6a0} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e4 @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e5 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e6 Entering Context.getHTTPService &{0xc4201cf6a0} 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e7 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.448 UTC [Composer] Debug -> DEBU 18e8 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18e9 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18ea Exiting Context.getDataService 1 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18eb Entering Context.getEventService &{0xc4201cf6a0} 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18ec Exiting Context.getEventService 1 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18ed Entering Context.getIdentityService &{0xc4201cf6a0} 2017-07-19 23:33:49.449 UTC [Composer] Debug -> DEBU 18ee Exiting Context.getIdentityService 1 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18ef Entering Context.getHTTPService &{0xc4201cf6a0} 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f0 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f1 Entering EventService.transactionCommit &{0xc4201cf6a0} 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f2 @JS : EventService :getEvents() > 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f3 @JS : EventService :getEvents() < 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f4 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f5 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.450 UTC [Composer] Debug -> DEBU 18f6 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18f7 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18f8 Entering Context.getDataService &{0xc4201cf6a0} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18f9 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18fa Exiting Context.getDataService 1 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18fc Entering Context.getEventService &{0xc4201cf6a0} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18fb Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18ff Exiting Composer.Invoke [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1900 Entering ComposerPool.Put &{0xc4202fe008 0xc4210ea5f0 0xc420142f60} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1901 Exiting ComposerPool.Put true 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1902 Exiting Chaincode.Invoke 200 [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18fd Exiting Context.getEventService 1 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1903 Entering Context.getIdentityService &{0xc4201cf6a0} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1904 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1905 Entering Context.getHTTPService &{0xc4201cf6a0} 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1906 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.437 UTC [Composer] Debug -> DEBU 1886 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 1907 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.426 UTC [Composer] Debug -> DEBU 1847 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 1909 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190a @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190b @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190d @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190c @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190f Entering Engine.handleCallback 0xc4210a19e0 &{0xc4201cf6a0} 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 1910 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 1911 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1912 @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1913 @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1914 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 190e @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1915 @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1916 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1917 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1918 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.453 UTC [Composer] Debug -> DEBU 1919 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191a Exiting Context.getDataService 1 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191b @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191c Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191d @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191e @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 191f @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1920 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1921 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1922 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.451 UTC [Composer] Debug -> DEBU 18fe Exiting Context.getDataService 1 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1923 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1924 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.454 UTC [Composer] Debug -> DEBU 1925 @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.452 UTC [Composer] Debug -> DEBU 1908 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 1926 Entering Context.getDataService &{0xc420145580} 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 1927 Exiting Context.getDataService 1 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 1928 Entering Context.getEventService &{0xc420145580} 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 1929 Exiting Context.getEventService 1 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 192a Entering Context.getIdentityService &{0xc420145580} 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 192b Exiting Context.getIdentityService 1 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 192c Entering Context.getHTTPService &{0xc420145580} 2017-07-19 23:33:49.455 UTC [Composer] Debug -> DEBU 192d Exiting Context.getHTTPService 1 2017-07-19 23:33:49.456 UTC [Composer] Debug -> DEBU 192e @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.456 UTC [Composer] Debug -> DEBU 192f Entering Engine.handleCallback 0xc4205c9260 &{0xc420145580} 2017-07-19 23:33:49.456 UTC [Composer] Debug -> DEBU 1930 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.457 UTC [Composer] Debug -> DEBU 1931 Exiting Composer.Invoke [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:49.457 UTC [Composer] Debug -> DEBU 1932 Entering ComposerPool.Put &{0xc420142278 0xc420610f30 0xc420028d50} 2017-07-19 23:33:49.457 UTC [Composer] Debug -> DEBU 1933 Exiting ComposerPool.Put false 2017-07-19 23:33:49.457 UTC [Composer] Debug -> DEBU 1934 Exiting Chaincode.Invoke 200 [{"type":"Transaction","id":"default","name":"Default Transaction Registry"}] 2017-07-19 23:33:49.459 UTC [Composer] Debug -> DEBU 1935 Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1939 Entering ComposerPool.Put &{0xc420028030 0xc4210ad2e0 0xc4202fede8} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193a Exiting ComposerPool.Put false 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193b Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.459 UTC [Composer] Debug -> DEBU 1936 Entering Chaincode.Invoke 0xc4215ab670 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193d Entering ComposerPool.Get 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193f Exiting ComposerPool.Get &{0xc420028048 0xc4202c4d20 0xc4200285e0} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1940 Entering Composer.Invoke 0xc4215b5860 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"OJCRTKWKJU_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#OJCRTKWKJU_t2"}] 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1941 Entering NewContext &{0xc4201cf6e0} &{0xc420028048} 0xc4215b5960 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1942 Entering NewDataService &{0xc4201cf6e0} &{0xc420028048 } 0xc4215b5a10 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1943 Exiting NewDataService &{0xc420028048 0xc42055e480} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1944 Entering NewIdentityService &{0xc4201cf6e0} &{0xc420028048 0xc4212f2ae0 } 0xc4215b5bc0 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1945 Exiting NewIdentityService &{0xc420028048 0xc42055e480} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 1946 Entering NewEventService &{0xc4201cf6e0} &{0xc420028048 0xc4212f2ae0 0xc4212f2bc0 } 0xc4215b5d30 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 1947 Exiting NewEventServce &{0xc420028048 0xc42055e480} 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 1948 Entering HTTPService &{0xc4201cf6e0} &{0xc420028048 0xc4212f2ae0 0xc4212f2bc0 0xc4212f2ce0 } 0xc4215b5eb0 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 1949 Exiting HTTPService &{0xc420028048 0xc42055e480} 2017-07-19 23:33:49.459 UTC [Composer] Debug -> DEBU 1937 Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc4215260d0 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 194b Exiting NewDataCollection &{0xc420028320 0xc42013b600 $sysdata} 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 194a Exiting NewContext &{0xc420028048 0xc4212f2ae0 0xc4212f2bc0 0xc4212f2ce0 0xc4212f2de0} 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193c Exiting DataCollection.add 0 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 194d Entering Engine.Invoke &{0xc420028048 0xc4212f2ae0 0xc4212f2bc0 0xc4212f2ce0 0xc4212f2de0} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"OJCRTKWKJU_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#OJCRTKWKJU_t2"}] 2017-07-19 23:33:49.461 UTC [Composer] Debug -> DEBU 193e Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4215267a0 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 194e @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 194f Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1951 Exiting Context.getDataService 1 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1952 Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1953 Exiting Context.getEventService 1 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1954 Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1955 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1956 Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1957 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1950 Exiting NewDataCollection &{0xc420150398 0xc4215fda80 $sysdata} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1958 Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc421526880 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 195a Exiting NewDataCollection &{0xc420150390 0xc4202a4200 $sysregistries} 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 195b Exiting DataService.getCollection 0 2017-07-19 23:33:49.462 UTC [Composer] Debug -> DEBU 194c Exiting DataService.getCollection 0 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 195c @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 195d Entering DataCollection.get &{0xc4202a2220} 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 195e @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 195f Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 1960 Exiting Context.getDataService 1 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 1961 Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.459 UTC [Composer] Debug -> DEBU 1938 Entering NewDataCollection &{0xc4201ce500} &{0xc420028020 0xc42049d700} 0xc4215261b0 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 1962 Exiting NewDataCollection &{0xc4202fe168 0xc42049d700 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.464 UTC [Composer] Debug -> DEBU 1963 Exiting DataService.getCollection 0 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1964 @JS : AccessController :check() > org.example.mynetwork.Commodity#XYITKICOYD_c6, CREATE 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1966 @JS : AccessController :check() No participant 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1967 @JS : AccessController :check() < 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1968 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1969 Exiting Context.getDataService 1 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196a Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196b Exiting Context.getEventService 1 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196c Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196d Exiting Context.getIdentityService 1 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196e Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 196f Exiting Context.getHTTPService 1 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1970 Entering EventService.transactionCommit &{0xc420140e60} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1971 @JS : EventService :getEvents() > 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1972 @JS : EventService :getEvents() < 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1973 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1974 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1975 Entering DataCollection.add &{0xc4201ce500} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1976 Entering Context.getDataService &{0xc420140e60} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1977 Exiting Context.getDataService 1 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1978 Entering Context.getEventService &{0xc420140e60} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 1979 Exiting Context.getEventService 1 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 197a Entering Context.getIdentityService &{0xc420140e60} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 197b Exiting Context.getIdentityService 1 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 197c Entering Context.getHTTPService &{0xc420140e60} 2017-07-19 23:33:49.466 UTC [Composer] Debug -> DEBU 197d Exiting Context.getHTTPService 1 2017-07-19 23:33:49.465 UTC [Composer] Debug -> DEBU 1965 Exiting DataService.getCollection 0 2017-07-19 23:33:49.467 UTC [Composer] Debug -> DEBU 197e @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.467 UTC [Composer] Debug -> DEBU 197f Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1980 @JS : Engine :invoke() < 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1981 Entering Engine.handleCallback 0xc420643a40 &{0xc420140e60} 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1982 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1983 Exiting Composer.Invoke 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1984 Entering ComposerPool.Put &{0xc420150140 0xc42027d400 0xc4202fe058} 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1985 Exiting ComposerPool.Put true 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1986 Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.463 UTC [Composer] Debug -> DEBU 1959 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"OJCRTKWKJU_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#OJCRTKWKJU_t2"} 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1987 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.468 UTC [Composer] Debug -> DEBU 1988 @JS : Context :initialize() > 2017-07-19 23:33:49.469 UTC [Composer] Debug -> DEBU 1989 Exiting Engine.Invoke 0xc4211a6000 2017-07-19 23:33:49.471 UTC [Composer] Debug -> DEBU 198a @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.471 UTC [Composer] Debug -> DEBU 198b @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.471 UTC [Composer] Debug -> DEBU 198c @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.471 UTC [Composer] Debug -> DEBU 198d @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 198e @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 198f @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1990 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1991 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1992 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1993 Exiting Context.getDataService 1 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1994 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1995 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1996 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.472 UTC [Composer] Debug -> DEBU 1997 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.473 UTC [Composer] Debug -> DEBU 1998 Exiting Context.getDataService 1 2017-07-19 23:33:49.473 UTC [Composer] Debug -> DEBU 1999 Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.478 UTC [Composer] Debug -> DEBU 199a @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 199b @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 199c @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 199d Entering getLogging 0xc4215bdbd0 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 199e @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 199f Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc421511990 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a0 Exiting NewDataCollection &{0xc420150470 0xc4202a4200 $sysidentities} 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a1 Exiting DataService.getCollection 0 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a2 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a3 Exiting DataCollection.add 0 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a4 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.479 UTC [Composer] Debug -> DEBU 19a5 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19a6 Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19a7 Exiting Context.getDataService 1 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19a8 Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19a9 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19aa @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.482 UTC [Composer] Debug -> DEBU 19ac Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19ad Exiting Context.getDataService 1 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19ae Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19af Exiting Context.getEventService 1 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19b0 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19b1 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19b2 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:49.483 UTC [Composer] Debug -> DEBU 19b3 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b4 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b5 Exiting Context.getDataService 1 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b6 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b7 Exiting Context.getEventService 1 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b8 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19b9 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.484 UTC [Composer] Debug -> DEBU 19ba Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19bb Exiting Context.getHTTPService 1 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19bc Entering EventService.transactionCommit &{0xc4201ce500} 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19bd @JS : EventService :getEvents() > 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19be @JS : EventService :getEvents() < 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19bf Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.485 UTC [Composer] Debug -> DEBU 19c0 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.488 UTC [Composer] Debug -> DEBU 19c1 Entering Context.getDataService &{0xc4201ce500} 2017-07-19 23:33:49.488 UTC [Composer] Debug -> DEBU 19c2 Exiting Context.getDataService 1 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c3 Entering Context.getEventService &{0xc4201ce500} 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c4 Exiting Context.getEventService 1 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c5 Entering Context.getIdentityService &{0xc4201ce500} 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c6 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c7 Entering Context.getHTTPService &{0xc4201ce500} 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c8 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19c9 @JS : Engine :invoke() < 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19ca Entering Engine.handleCallback 0xc421212960 &{0xc4201ce500} 2017-07-19 23:33:49.489 UTC [Composer] Debug -> DEBU 19cb Exiting Engine.handleCallback 0 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19cc Exiting Composer.Invoke 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19cd Entering ComposerPool.Put &{0xc420028020 0xc4202d8ad0 0xc420142288} 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19ce Exiting ComposerPool.Put false 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19cf Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d0 Entering Chaincode.Invoke 0xc4215bdbc0 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d2 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc4214fc800 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d3 Entering ComposerPool.Get 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d4 Exiting ComposerPool.Get &{0xc420150160 0xc420366870 0xc4200284f8} 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d1 Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc421527db0 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d6 Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4214e6d70 2017-07-19 23:33:49.480 UTC [Composer] Debug -> DEBU 19ab @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19d7 Entering getLogging 0xc4214fc9a0 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19d8 Exiting NewDataCollection &{0xc4200284b0 0xc42008de00 $sysregistries} 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19d9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19da Exiting DataCollection.get 0 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19db @JS : Context :[object Object]() < 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19dc @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.491 UTC [Composer] Debug -> DEBU 19dd @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.492 UTC [Composer] Debug -> DEBU 19de @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.492 UTC [Composer] Debug -> DEBU 19df @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.492 UTC [Composer] Debug -> DEBU 19e0 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.492 UTC [Composer] Debug -> DEBU 19e1 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.492 UTC [Composer] Debug -> DEBU 19e2 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e3 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e4 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e5 Exiting Context.getDataService 1 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e6 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.490 UTC [Composer] Debug -> DEBU 19d5 Entering Composer.Invoke 0xc4214e6c60 submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#SZFYAIRVVP_c8","newOwner":"resource:org.example.mynetwork.Trader#SZFYAIRVVP_t0","transactionId":"24688b7b-1a2d-44aa-8f49-ce455b855919","timestamp":"2017-07-19T23:33:43.422Z"}] 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e7 Exiting DataCollection.get 0 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e8 Entering NewContext &{0xc4202a2600} &{0xc420150160} 0xc421511d80 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19e9 Entering NewDataService &{0xc4202a2600} &{0xc420150160 } 0xc421511e40 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19ea Exiting NewDataService &{0xc420150160 0xc4203b0680} 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19eb Entering NewIdentityService &{0xc4202a2600} &{0xc420150160 0xc42123c3c0 } 0xc421494000 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19ec @JS : Context :[object Object]() < 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19ed Exiting NewIdentityService &{0xc420150160 0xc4203b0680} 2017-07-19 23:33:49.493 UTC [Composer] Debug -> DEBU 19ee Entering NewEventService &{0xc4202a2600} &{0xc420150160 0xc42123c3c0 0xc42123c4c0 } 0xc4214941d0 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19ef Exiting NewEventServce &{0xc420150160 0xc4203b0680} 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f0 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f1 Entering HTTPService &{0xc4202a2600} &{0xc420150160 0xc42123c3c0 0xc42123c4c0 0xc42123c5c0 } 0xc421494340 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f2 Exiting HTTPService &{0xc420150160 0xc4203b0680} 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f4 Exiting NewContext &{0xc420150160 0xc42123c3c0 0xc42123c4c0 0xc42123c5c0 0xc42123c6a0} 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f5 Entering Engine.Invoke &{0xc420150160 0xc42123c3c0 0xc42123c4c0 0xc42123c5c0 0xc42123c6a0} submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#SZFYAIRVVP_c8","newOwner":"resource:org.example.mynetwork.Trader#SZFYAIRVVP_t0","transactionId":"24688b7b-1a2d-44aa-8f49-ce455b855919","timestamp":"2017-07-19T23:33:43.422Z"}] 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f3 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f6 @JS : Engine :invoke() > [object Object], submitTransaction, default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#SZFYAIRVVP_c8","newOwner":"resource:org.example.mynetwork.Trader#SZFYAIRVVP_t0","transactionId":"24688b7b-1a2d-44aa-8f49-ce455b855919","timestamp":"2017-07-19T23:33:43.422Z"} 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f7 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is not in cache, loading 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f8 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.494 UTC [Composer] Debug -> DEBU 19f9 @JS : AclCompiler :compile() > [object Object], [object Object] 2017-07-19 23:33:49.495 UTC [Composer] Debug -> DEBU 19fa @JS : AclCompiler :compile() Adding global assert 2017-07-19 23:33:49.495 UTC [Composer] Debug -> DEBU 19fb @JS : AclCompiler :compile() Adding API method getFactory 2017-07-19 23:33:49.495 UTC [Composer] Debug -> DEBU 19fc @JS : AclCompiler :compile() Adding API method getSerializer 2017-07-19 23:33:49.495 UTC [Composer] Debug -> DEBU 19fd @JS : AclCompiler :compile() Adding API method getAssetRegistry 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 19fe @JS : AclCompiler :compile() Adding API method getParticipantRegistry 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 19ff @JS : AclCompiler :compile() Adding API method getCurrentParticipant 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a00 @JS : AclCompiler :compile() Adding API method post 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a01 @JS : Context :initialize() > 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a02 @JS : AclCompiler :compile() Adding API method emit 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a03 @JS : AclCompiler :compile() Adding API method buildQuery 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a04 @JS : AclCompiler :compile() Adding API method query 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a05 @JS : AclCompiler :processScriptManager() > [object Object], [object Object] 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a06 Exiting Engine.Invoke 0xc4211a7560 2017-07-19 23:33:49.496 UTC [Composer] Debug -> DEBU 1a07 @JS : AclCompiler :processScriptManager() Processing script lib/logic.js 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a08 @JS : AclCompiler :processScript() > [object Object], [object Object] 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a09 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0b Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0c Exiting Context.getDataService 1 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0e Exiting NewDataCollection &{0xc420142470 0xc42055e480 $sysdata} 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0f Exiting DataService.getCollection 0 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a10 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a11 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0d Entering Chaincode.Invoke 0xc4214fc990 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a12 Entering ComposerPool.Get 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a13 Exiting ComposerPool.Get &{0xc420142280 0xc420569f80 0xc420028bb8} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a14 Entering Composer.Invoke 0xc421494b60 submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#VKWCBHWYIZ_c8","newOwner":"resource:org.example.mynetwork.Trader#VKWCBHWYIZ_t1","transactionId":"a17330ce-96d0-41e9-aff6-01b2aec6fe45","timestamp":"2017-07-19T23:33:43.531Z"}] 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a15 Entering NewContext &{0xc4201455c0} &{0xc420142280} 0xc421494c40 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a16 Entering NewDataService &{0xc4201455c0} &{0xc420142280 } 0xc421494d00 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a17 Exiting NewDataService &{0xc420142280 0xc4211a8500} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a18 Entering NewIdentityService &{0xc4201455c0} &{0xc420142280 0xc42123cbc0 } 0xc421494eb0 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a19 Exiting NewIdentityService &{0xc420142280 0xc4211a8500} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1b Entering NewEventService &{0xc4201455c0} &{0xc420142280 0xc42123cbc0 0xc42123cca0 } 0xc421495020 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1c Exiting NewEventServce &{0xc420142280 0xc4211a8500} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1d Entering HTTPService &{0xc4201455c0} &{0xc420142280 0xc42123cbc0 0xc42123cca0 0xc42123cd80 } 0xc4214951a0 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1e Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1f Exiting HTTPService &{0xc420142280 0xc4211a8500} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a20 Exiting NewContext &{0xc420142280 0xc42123cbc0 0xc42123cca0 0xc42123cd80 0xc42123ce60} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a21 Entering Engine.Invoke &{0xc420142280 0xc42123cbc0 0xc42123cca0 0xc42123cd80 0xc42123ce60} submitTransaction [default {"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#VKWCBHWYIZ_c8","newOwner":"resource:org.example.mynetwork.Trader#VKWCBHWYIZ_t1","transactionId":"a17330ce-96d0-41e9-aff6-01b2aec6fe45","timestamp":"2017-07-19T23:33:43.531Z"}] 2017-07-19 23:33:49.497 UTC [Composer] Debug -> DEBU 1a0a @JS : AclCompiler :convertScriptToScriptNode() > [object Object], [object Object] 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a22 @JS : Engine :invoke() > [object Object], submitTransaction, default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#VKWCBHWYIZ_c8","newOwner":"resource:org.example.mynetwork.Trader#VKWCBHWYIZ_t1","transactionId":"a17330ce-96d0-41e9-aff6-01b2aec6fe45","timestamp":"2017-07-19T23:33:43.531Z"} 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a23 @JS : AclCompiler :convertScriptToSourceMap() > [object Object], [object Object] 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a24 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a25 @JS : Context :initialize() > 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a26 Exiting Engine.Invoke 0xc4211a7800 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a27 Exiting NewDataCollection &{0xc4202fe388 0xc42008d500 $sysregistries} 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a2a Exiting DataService.getCollection 0 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a2b @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a2c Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a2d Exiting Context.getDataService 1 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a2e Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.498 UTC [Composer] Debug -> DEBU 1a1a Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4214ce4b0 2017-07-19 23:33:49.499 UTC [Composer] Debug -> DEBU 1a28 Entering Context.getIdentityService &{0xc4202a2680} 2017-07-19 23:33:49.501 UTC [Composer] Debug -> DEBU 1a2f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.500 UTC [Composer] Debug -> DEBU 1a29 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.502 UTC [Composer] Debug -> DEBU 1a30 Entering getLogging 0xc42147aab0 2017-07-19 23:33:49.503 UTC [Composer] Debug -> DEBU 1a31 Exiting NewDataCollection &{0xc4202fe410 0xc4215fda80 $sysdata} 2017-07-19 23:33:49.503 UTC [Composer] Debug -> DEBU 1a32 Exiting DataCollection.get 0 2017-07-19 23:33:49.503 UTC [Composer] Debug -> DEBU 1a33 Exiting DataService.getCollection 0 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a34 @JS : Context :[object Object]() < 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a35 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a36 Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a37 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a38 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a39 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.504 UTC [Composer] Debug -> DEBU 1a3a Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc4214e72c0 2017-07-19 23:33:49.505 UTC [Composer] Debug -> DEBU 1a3b @JS : AclCompiler :convertScriptToSourceMap() < {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a3c @JS : AclCompiler :transformScript() > lib/logic.js, /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } , {"version":3,"sources":["lib/logic.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,cAAc,CAAC,KAAK,EAAE;IAC3B,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ;IACtC,OAAO,gBAAgB,CAAC,iCAAiC;QACrD,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC3B,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC;AACV;AACA","file":"lib/logic.js","sourceRoot":"/","sourcesContent":["/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Track the trade of a commodity from one trader to another\n * @param {org.example.mynetwork.Trade} trade - the trade to be processed\n * @transaction\n */\nfunction tradeCommodity(trade) {\n trade.commodity.owner = trade.newOwner;\n return getAssetRegistry('org.example.mynetwork.Commodity')\n .then(function (assetRegistry) {\n return assetRegistry.update(trade.commodity);\n });\n}\n"]} 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a3d Entering Chaincode.Invoke 0xc42147aaa0 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a3e Entering ComposerPool.Get 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a3f Exiting ComposerPool.Get &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a40 Entering Composer.Invoke 0xc421474050 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"YJMBGEOGSR_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#YJMBGEOGSR_t2"}] 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a41 Entering NewContext &{0xc420144940} &{0xc420142268} 0xc421474150 2017-07-19 23:33:49.507 UTC [Composer] Debug -> DEBU 1a42 Entering NewDataService &{0xc420144940} &{0xc420142268 } 0xc421474200 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a43 Exiting NewDataCollection &{0xc420142578 0xc42008de00 $sysidentities} 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a44 Exiting DataService.getCollection 0 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a45 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a46 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a47 Entering Context.getIdentityService &{0xc4202a2640} 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a48 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a49 Entering IdentityService.getCurrentUserID &{0xc4202a2640} 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a4a Entering extractNameFromCreator 0xc421474850 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a4b creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a4c Exiting extractNameFromCreator admin 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a4d Common Name admin 2017-07-19 23:33:49.508 UTC [Composer] Debug -> DEBU 1a4e Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.509 UTC [Composer] Debug -> DEBU 1a4f @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.509 UTC [Composer] Debug -> DEBU 1a50 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.509 UTC [Composer] Debug -> DEBU 1a51 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.509 UTC [Composer] Debug -> DEBU 1a52 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a53 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a54 @JS : AclCompiler :transformScript() < [object Object] 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a55 Exiting DataCollection.get 0 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a56 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a57 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a58 Exiting Context.getDataService 1 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a59 @JS : Context :[object Object]() < 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5a Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5b @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5c @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5d @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.510 UTC [Composer] Debug -> DEBU 1a5f Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a60 Exiting Context.getDataService 1 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a61 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a62 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a63 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a64 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a65 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a66 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.511 UTC [Composer] Debug -> DEBU 1a67 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a68 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a69 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6a Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6b Exiting Context.getDataService 1 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6c Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6d @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6e @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.512 UTC [Composer] Debug -> DEBU 1a6f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a70 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a71 Exiting Context.getDataService 1 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a72 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a73 Exiting NewDataService &{0xc420142268 0xc42066d500} 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a74 Entering NewIdentityService &{0xc420144940} &{0xc420142268 0xc42123d820 } 0xc4214324a0 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a75 Exiting NewIdentityService &{0xc420142268 0xc42066d500} 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a76 Entering NewEventService &{0xc420144940} &{0xc420142268 0xc42123d820 0xc421187600 } 0xc421432610 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a77 Exiting NewEventServce &{0xc420142268 0xc42066d500} 2017-07-19 23:33:49.513 UTC [Composer] Debug -> DEBU 1a78 Entering HTTPService &{0xc420144940} &{0xc420142268 0xc42123d820 0xc421187600 0xc4211876e0 } 0xc421432780 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a79 Exiting HTTPService &{0xc420142268 0xc42066d500} 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a7a Exiting NewContext &{0xc420142268 0xc42123d820 0xc421187600 0xc4211876e0 0xc4211877c0} 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a7c Entering IdentityService.getCurrentUserID &{0xc4202a2680} 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a7d Entering extractNameFromCreator 0xc4214e75a0 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a7e creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a7f Exiting extractNameFromCreator admin 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a80 Common Name admin 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a81 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a82 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a83 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a84 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a85 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.515 UTC [Composer] Debug -> DEBU 1a86 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a87 @JS : AccessController :constructor() < 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a88 @JS : Context :initialize() < 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a89 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a8a Exiting Context.getDataService 1 2017-07-19 23:33:49.514 UTC [Composer] Debug -> DEBU 1a7b Entering Engine.Invoke &{0xc420142268 0xc42123d820 0xc421187600 0xc4211876e0 0xc4211877c0} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"YJMBGEOGSR_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#YJMBGEOGSR_t2"}] 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a8b Entering Context.getEventService &{0xc4202a2680} 2017-07-19 23:33:49.517 UTC [Composer] Debug -> DEBU 1a8f Exiting Context.getEventService 1 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a90 Entering Context.getIdentityService &{0xc4202a2680} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a91 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a92 Entering Context.getHTTPService &{0xc4202a2680} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a94 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a93 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc421410040 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a95 Exiting NewDataCollection &{0xc420028650 0xc42055e480 $sysdata} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a97 Exiting DataService.getCollection 0 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a98 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a99 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a9a Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc4214ce840 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a8c @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a9c Exiting NewDataCollection &{0xc420028608 0xc4203b0680 $sysdata} 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1a9d Exiting DataService.getCollection 0 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1a9e @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1a9f @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa0 @JS : AccessController :constructor() < 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa2 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4214ced60 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa3 Exiting NewDataCollection &{0xc4202fe5c0 0xc4215fda80 $sysdata} 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa4 @JS : Context :initialize() < 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa5 Exiting DataService.getCollection 0 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa6 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa7 Exiting Context.getDataService 1 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa8 Entering Context.getEventService &{0xc4202a2640} 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa9 Exiting Context.getEventService 1 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aaa Entering Context.getIdentityService &{0xc4202a2640} 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aab Exiting Context.getIdentityService 1 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aac Entering Context.getHTTPService &{0xc4202a2640} 2017-07-19 23:33:49.520 UTC [Composer] Debug -> DEBU 1aae @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.520 UTC [Composer] Debug -> DEBU 1aad Exiting Context.getHTTPService 1 2017-07-19 23:33:49.520 UTC [Composer] Debug -> DEBU 1aaf Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a96 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"YJMBGEOGSR_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#YJMBGEOGSR_t2"} 2017-07-19 23:33:49.518 UTC [Composer] Debug -> DEBU 1a9b Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4214104b0 2017-07-19 23:33:49.521 UTC [Composer] Debug -> DEBU 1ab0 Exiting NewDataCollection &{0xc4200285e8 0xc4211a8500 $sysdata} 2017-07-19 23:33:49.521 UTC [Composer] Debug -> DEBU 1ab1 Exiting DataService.getCollection 0 2017-07-19 23:33:49.521 UTC [Composer] Debug -> DEBU 1ab2 Exiting DataCollection.get 0 2017-07-19 23:33:49.522 UTC [Composer] Debug -> DEBU 1ab3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a8d Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4214ce6b0 2017-07-19 23:33:49.522 UTC [Composer] Debug -> DEBU 1ab5 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.516 UTC [Composer] Debug -> DEBU 1a8e @JS : AclCompiler :convertScriptToScriptNode() < /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Track the trade of a commodity from one trader to another * @param {org.example.mynetwork.Trade} trade - the trade to be processed * @transaction */ function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.example.mynetwork.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } 2017-07-19 23:33:49.523 UTC [Composer] Debug -> DEBU 1ab6 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.523 UTC [Composer] Debug -> DEBU 1ab7 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.523 UTC [Composer] Debug -> DEBU 1ab8 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.524 UTC [Composer] Debug -> DEBU 1ab9 Exiting DataCollection.get 0 2017-07-19 23:33:49.524 UTC [Composer] Debug -> DEBU 1aba @JS : Context :[object Object]() < 2017-07-19 23:33:49.524 UTC [Composer] Debug -> DEBU 1abb @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.524 UTC [Composer] Debug -> DEBU 1abc @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.525 UTC [Composer] Debug -> DEBU 1abd @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.522 UTC [Composer] Debug -> DEBU 1ab4 Exiting NewDataCollection &{0xc4202fe4f0 0xc42008d500 $sysidentities} 2017-07-19 23:33:49.525 UTC [Composer] Debug -> DEBU 1abe Exiting DataService.getCollection 0 2017-07-19 23:33:49.525 UTC [Composer] Debug -> DEBU 1abf @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.525 UTC [Composer] Debug -> DEBU 1ac0 @JS : AclCompiler :processScript() < 2017-07-19 23:33:49.525 UTC [Composer] Debug -> DEBU 1ac1 @JS : Context :initialize() > 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac2 @JS : AclCompiler :processScriptManager() < 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac3 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac5 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac6 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac7 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac9 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1aca Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac8 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.519 UTC [Composer] Debug -> DEBU 1aa1 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1acc @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1acd @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ace @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1acf Entering Context.getIdentityService &{0xc42027a640} 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad0 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad1 Entering IdentityService.getCurrentUserID &{0xc42027a640} 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad2 Entering extractNameFromCreator 0xc421410cc0 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad4 @JS : AclCompiler :processAclManager() > [object Object], [object Object] 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad5 @JS : AclCompiler :processAclManager() Processing ACL rule Default 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad6 @JS : AclCompiler :processAclRule() > [object Object], [object Object] 2017-07-19 23:33:49.527 UTC [Composer] Debug -> DEBU 1ad3 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ad7 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ad8 Common Name admin 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ad9 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ada @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1adb @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1adc @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1acb Exiting Context.getDataService 1 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1add Entering DataCollection.get &{0xc4202a2640} 2017-07-19 23:33:49.526 UTC [Composer] Debug -> DEBU 1ac4 Exiting Engine.Invoke 0xc4210b48a0 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ade @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1adf @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.528 UTC [Composer] Debug -> DEBU 1ae0 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae1 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae3 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae5 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae4 Exiting DataCollection.get 0 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae6 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae7 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae8 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae9 Exiting Context.getDataService 1 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1aea Exiting Context.getDataService 1 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1aeb Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1aec Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1aed @JS : Context :[object Object]() < 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1aee @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1aef @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af0 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af1 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af2 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af3 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af4 Exiting Context.getDataService 1 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af5 Entering DataCollection.get &{0xc4202a2680} 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af6 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af7 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af8 @JS : AccessController :constructor() < 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1af9 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1afa @JS : Context :initialize() < 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1afb @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1afc Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1afd Exiting Context.getDataService 1 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1afe Entering Context.getEventService &{0xc42027a640} 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1aff Exiting Context.getEventService 1 2017-07-19 23:33:49.530 UTC [Composer] Debug -> DEBU 1b00 Entering Context.getIdentityService &{0xc42027a640} 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b01 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b02 Entering Context.getHTTPService &{0xc42027a640} 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b03 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b04 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b05 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b06 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b07 Exiting Context.getDataService 1 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b08 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.529 UTC [Composer] Debug -> DEBU 1ae2 @JS : AclCompiler :processAclRule() < 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b09 @JS : AclCompiler :processAclManager() < 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b0a @JS : AclCompiler :compile() Adding ACL rule Default 2017-07-19 23:33:49.531 UTC [Composer] Debug -> DEBU 1b0b @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b0c @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b0d @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b0e Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b0f Exiting Context.getDataService 1 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b10 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.532 UTC [Composer] Debug -> DEBU 1b11 @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b12 @JS : EngineRegistries :getRegistry() > [object Object], Participant,org.example.mynetwork.Trader 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b13 Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b14 Exiting Context.getDataService 1 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b15 Entering DataCollection.get &{0xc42027a640} 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b16 Exiting DataCollection.get 0 2017-07-19 23:33:49.533 UTC [Composer] Debug -> DEBU 1b17 @JS : Context :[object Object]() < 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b18 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b19 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b1a @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b1b @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b1c @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.534 UTC [Composer] Debug -> DEBU 1b1d @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.535 UTC [Composer] Debug -> DEBU 1b1e @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.535 UTC [Composer] Debug -> DEBU 1b1f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.535 UTC [Composer] Debug -> DEBU 1b20 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.535 UTC [Composer] Debug -> DEBU 1b21 Exiting Context.getDataService 1 2017-07-19 23:33:49.535 UTC [Composer] Debug -> DEBU 1b22 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.536 UTC [Composer] Debug -> DEBU 1b23 Exiting DataCollection.get 0 2017-07-19 23:33:49.536 UTC [Composer] Debug -> DEBU 1b24 Entering DataService.getCollection &{0xc4202a2640} 2017-07-19 23:33:49.536 UTC [Composer] Debug -> DEBU 1b25 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc4213df1b0 2017-07-19 23:33:49.537 UTC [Composer] Debug -> DEBU 1b26 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4213beab0 2017-07-19 23:33:49.538 UTC [Composer] Debug -> DEBU 1b28 Exiting NewDataCollection &{0xc4202fe678 0xc4215fda80 $sysdata} 2017-07-19 23:33:49.538 UTC [Composer] Debug -> DEBU 1b29 Exiting DataService.getCollection 0 2017-07-19 23:33:49.538 UTC [Composer] Debug -> DEBU 1b2a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.538 UTC [Composer] Debug -> DEBU 1b2c Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:49.537 UTC [Composer] Debug -> DEBU 1b27 Exiting NewDataCollection &{0xc420150668 0xc42055e480 $sysdata} 2017-07-19 23:33:49.539 UTC [Composer] Debug -> DEBU 1b2e Exiting DataService.getCollection 0 2017-07-19 23:33:49.539 UTC [Composer] Debug -> DEBU 1b2d Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc4213bf030 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b30 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b31 Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b32 Exiting NewDataCollection &{0xc4200287a0 0xc42066d500 $sysdata} 2017-07-19 23:33:49.539 UTC [Composer] Debug -> DEBU 1b2f Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4213bf230 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b36 Exiting NewDataCollection &{0xc420028770 0xc4211a8500 $sysdata} 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b35 Exiting DataService.getCollection 0 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b38 @JS : AclCompiler :compile() < [object Object] 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b39 @JS : Context :cacheCompiledAclBundle() > d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26, [object Object] 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b34 Exiting DataCollection.get 0 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3b @JS : Context :cacheCompiledAclBundle() < 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3c Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.538 UTC [Composer] Debug -> DEBU 1b2b Exiting DataCollection.get 0 2017-07-19 23:33:49.542 UTC [Composer] Debug -> DEBU 1b40 Entering DataService.getCollection &{0xc4202a2680} 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3e @JS : Context :loadCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.543 UTC [Composer] Debug -> DEBU 1b41 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.543 UTC [Composer] Debug -> DEBU 1b43 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.544 UTC [Composer] Debug -> DEBU 1b44 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.544 UTC [Composer] Debug -> DEBU 1b46 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.544 UTC [Composer] Debug -> DEBU 1b47 Exiting Context.getDataService 1 2017-07-19 23:33:49.544 UTC [Composer] Debug -> DEBU 1b48 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b37 Exiting DataService.getCollection 0 2017-07-19 23:33:49.543 UTC [Composer] Debug -> DEBU 1b42 Exiting DataCollection.get 0 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3d Entering DataService.getCollection &{0xc42027a640} 2017-07-19 23:33:49.545 UTC [Composer] Debug -> DEBU 1b49 @JS : Context :[object Object]() < 2017-07-19 23:33:49.540 UTC [Composer] Debug -> DEBU 1b33 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc42133a5e0 2017-07-19 23:33:49.544 UTC [Composer] Debug -> DEBU 1b45 Exiting DataCollection.get 0 2017-07-19 23:33:49.545 UTC [Composer] Debug -> DEBU 1b4a Exiting NewDataCollection &{0xc420150710 0xc4203b0680 $sysdata} 2017-07-19 23:33:49.545 UTC [Composer] Debug -> DEBU 1b4b Exiting DataService.getCollection 0 2017-07-19 23:33:49.545 UTC [Composer] Debug -> DEBU 1b4c @JS : Context :[object Object]() < 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b4d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b4e Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b4f @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b50 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b51 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.541 UTC [Composer] Debug -> DEBU 1b3f Entering NewDataCollection &{0xc4202a2640} &{0xc420150168 0xc42008de00} 0xc4212fe5e0 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b55 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b53 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.547 UTC [Composer] Debug -> DEBU 1b56 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.547 UTC [Composer] Debug -> DEBU 1b57 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b52 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.546 UTC [Composer] Debug -> DEBU 1b54 Exiting NewDataCollection &{0xc4201427b0 0xc42008de00 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.547 UTC [Composer] Debug -> DEBU 1b58 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5d Exiting DataCollection.get 0 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5f Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.547 UTC [Composer] Debug -> DEBU 1b59 Exiting DataService.getCollection 0 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b61 @JS : Context :[object Object]() < 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b62 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b63 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b64 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b65 Exiting Context.getDataService 1 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b66 Entering Context.getEventService &{0xc4202a2640} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b67 Exiting Context.getEventService 1 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b68 Entering Context.getIdentityService &{0xc4202a2640} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b69 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6a Entering Context.getHTTPService &{0xc4202a2640} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6b Exiting Context.getHTTPService 1 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6c @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5b Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6d @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b60 Exiting Context.getDataService 1 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6e Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.549 UTC [Composer] Debug -> DEBU 1b6f @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b70 @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b71 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b72 Exiting Context.getDataService 1 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b73 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b74 Entering Context.getEventService &{0xc4202a2640} 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b75 Exiting Context.getEventService 1 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b77 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b78 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b79 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5c Entering NewDataCollection &{0xc4202a2680} &{0xc420150170 0xc4202a4200} 0xc4213bf940 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b7b Exiting NewDataCollection &{0xc420150760 0xc4202a4200 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.548 UTC [Composer] Debug -> DEBU 1b5a @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b7c Exiting DataCollection.get 0 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b7d Exiting DataService.getCollection 0 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b7e @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b7f Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc4212eea80 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b83 Exiting NewDataCollection &{0xc4200287d8 0xc42013b600 $sysregistries} 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b84 Exiting DataService.getCollection 0 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b80 @JS : Context :[object Object]() < 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b87 Exiting DataCollection.get 0 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b88 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b89 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8a @JS : Context :[object Object]() < 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8b @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8c @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8d @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b7a Exiting Context.getDataService 1 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8e Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b8f @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b90 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b91 Exiting Context.getDataService 1 2017-07-19 23:33:49.553 UTC [Composer] Debug -> DEBU 1b92 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b93 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b94 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b95 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b81 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b96 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.551 UTC [Composer] Debug -> DEBU 1b82 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b98 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b99 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b9b Exiting Context.getDataService 1 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1b9c Entering Context.getEventService &{0xc4202a2680} 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1b9d Exiting Context.getEventService 1 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1b9e Entering Context.getIdentityService &{0xc4202a2680} 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1b9f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1ba0 Entering Context.getHTTPService &{0xc4202a2680} 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1ba2 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b9a @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1ba3 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba4 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba5 Exiting Context.getDataService 1 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba6 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.552 UTC [Composer] Debug -> DEBU 1b85 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc4212ffef0 2017-07-19 23:33:49.554 UTC [Composer] Debug -> DEBU 1b97 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba7 Exiting NewDataCollection &{0xc420142800 0xc42055e480 $sysdata} 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.550 UTC [Composer] Debug -> DEBU 1b76 Entering Context.getIdentityService &{0xc4202a2640} 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1baa @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1bab Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bac Exiting Context.getIdentityService 1 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bae Entering Context.getHTTPService &{0xc4202a2640} 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1baf Exiting Context.getHTTPService 1 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bb0 Entering EventService.transactionCommit &{0xc4202a2640} 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bb1 @JS : EventService :getEvents() > 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bb2 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc4212b0ac0 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb3 @JS : EventService :getEvents() < 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb4 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb5 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb6 Exiting NewDataCollection &{0xc420142888 0xc42066d500 $sysdata} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb7 Exiting DataService.getCollection 0 2017-07-19 23:33:49.557 UTC [Composer] Debug -> DEBU 1bad Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb8 Exiting Context.getDataService 1 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bba Entering Context.getEventService &{0xc4202a2680} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bbb Exiting Context.getEventService 1 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bbc Entering Context.getIdentityService &{0xc4202a2680} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bbd Exiting Context.getIdentityService 1 2017-07-19 23:33:49.552 UTC [Composer] Debug -> DEBU 1b86 Entering NewDataCollection &{0xc42027a640} &{0xc4202fe000 0xc42008d500} 0xc4212fffd0 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bb9 Entering Context.getDataService &{0xc4202a2640} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bbf @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.556 UTC [Composer] Debug -> DEBU 1ba8 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bc1 Exiting NewDataCollection &{0xc4200287a8 0xc42008d500 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bc2 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bc3 Exiting DataService.getCollection 0 2017-07-19 23:33:49.555 UTC [Composer] Debug -> DEBU 1ba1 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc4 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bbe Entering Context.getHTTPService &{0xc4202a2680} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc5 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc6 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc7 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc8 Exiting Context.getDataService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bc9 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.558 UTC [Composer] Debug -> DEBU 1bc0 Exiting Context.getDataService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bca Entering Context.getEventService &{0xc4202a2640} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bcb Exiting Context.getEventService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bcc Entering Context.getIdentityService &{0xc4202a2640} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bcd Exiting Context.getIdentityService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bce Entering Context.getHTTPService &{0xc4202a2640} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bcf Exiting Context.getHTTPService 1 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bd0 Entering EventService.transactionCommit &{0xc4202a2680} 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bd2 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bd3 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd4 Exiting Context.getDataService 1 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd6 @JS : EventService :getEvents() > 2017-07-19 23:33:49.559 UTC [Composer] Debug -> DEBU 1bd1 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd7 Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd8 Exiting Context.getDataService 1 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd9 Entering Context.getEventService &{0xc42027a640} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bdb Exiting Context.getEventService 1 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bdc Entering Context.getIdentityService &{0xc42027a640} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bda @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bde Entering Engine.handleCallback 0xc4211a6720 &{0xc4202a2640} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bdf Exiting Engine.handleCallback 0 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1be0 Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc42126c460 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1be1 Exiting NewDataCollection &{0xc420150870 0xc42013b600 $sysidentities} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1be2 Exiting DataService.getCollection 0 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be3 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bd5 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be4 @JS : EventService :getEvents() < 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be7 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be8 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be5 Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1be9 Entering ComposerPool.Put &{0xc420150168 0xc4211771f0 0xc4202fefa8} 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bea Exiting ComposerPool.Put true 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1beb Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.560 UTC [Composer] Debug -> DEBU 1bdd Exiting Context.getIdentityService 1 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bec Entering Context.getHTTPService &{0xc42027a640} 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bed Exiting Context.getHTTPService 1 2017-07-19 23:33:49.561 UTC [Composer] Debug -> DEBU 1be6 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bee Entering Context.getIdentityService &{0xc4202a2220} 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bef Exiting Context.getIdentityService 1 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf0 Entering IdentityService.getCurrentUserID &{0xc4202a2220} 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf1 Entering extractNameFromCreator 0xc42128b110 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf2 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf3 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf4 Common Name admin 2017-07-19 23:33:49.562 UTC [Composer] Debug -> DEBU 1bf5 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.563 UTC [Composer] Debug -> DEBU 1bf6 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.563 UTC [Composer] Debug -> DEBU 1bf7 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.563 UTC [Composer] Debug -> DEBU 1bf8 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.563 UTC [Composer] Debug -> DEBU 1bf9 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.563 UTC [Composer] Debug -> DEBU 1bfa @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1bfb @JS : AccessController :constructor() < 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1bfd @JS : Context :initialize() < 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1bfc Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1bfe Exiting Context.getDataService 1 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c00 Entering Context.getEventService &{0xc42027a640} 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c01 Exiting Context.getEventService 1 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c02 Entering Context.getIdentityService &{0xc42027a640} 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c03 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c04 Entering Context.getHTTPService &{0xc42027a640} 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c05 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1c06 Entering EventService.transactionCommit &{0xc42027a640} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c08 Entering Context.getDataService &{0xc4202a2680} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c09 Exiting Context.getDataService 1 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0a Entering Context.getEventService &{0xc4202a2680} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0b Exiting Context.getEventService 1 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0c Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc42126d2d0 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0d Entering Context.getIdentityService &{0xc4202a2680} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0e Exiting Context.getIdentityService 1 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c10 Exiting NewDataCollection &{0xc420150888 0xc4215fda80 $sysregistries} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c11 Exiting DataService.getCollection 0 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c0f Entering Context.getHTTPService &{0xc4202a2680} 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c12 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c13 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc42126d580 2017-07-19 23:33:49.565 UTC [Composer] Debug -> DEBU 1c07 @JS : EventService :getEvents() > 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c15 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c16 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c17 Exiting Context.getDataService 1 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c18 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c19 @JS : EventService :getEvents() < 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c1b Exiting DataCollection.get 0 2017-07-19 23:33:49.567 UTC [Composer] Debug -> DEBU 1c1c @JS : Context :[object Object]() < 2017-07-19 23:33:49.567 UTC [Composer] Debug -> DEBU 1c1d @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.567 UTC [Composer] Debug -> DEBU 1c1e @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.567 UTC [Composer] Debug -> DEBU 1c1f @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.568 UTC [Composer] Debug -> DEBU 1c20 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.568 UTC [Composer] Debug -> DEBU 1c21 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.568 UTC [Composer] Debug -> DEBU 1c22 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.568 UTC [Composer] Debug -> DEBU 1c23 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.568 UTC [Composer] Debug -> DEBU 1c24 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c25 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c26 Exiting Context.getDataService 1 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c27 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c28 Exiting DataCollection.get 0 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c29 @JS : Context :[object Object]() < 2017-07-19 23:33:49.569 UTC [Composer] Debug -> DEBU 1c2a @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c2b @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c2c @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c2d @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c2e @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c2f @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c30 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c31 Exiting Context.getDataService 1 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c32 Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c1a Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.570 UTC [Composer] Debug -> DEBU 1c33 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c34 Entering Context.getDataService &{0xc42027a640} 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c35 Exiting Context.getDataService 1 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c36 Entering Context.getEventService &{0xc42027a640} 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c37 Exiting Context.getEventService 1 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c38 Entering Context.getIdentityService &{0xc42027a640} 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c39 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c3a Entering Context.getHTTPService &{0xc42027a640} 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c3b Exiting Context.getHTTPService 1 2017-07-19 23:33:49.566 UTC [Composer] Debug -> DEBU 1c14 Exiting NewDataCollection &{0xc4200288f0 0xc4203b0680 $sysdata} 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c3c Exiting DataService.getCollection 0 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c3d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.571 UTC [Composer] Debug -> DEBU 1c3e Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c3f @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c40 Entering Engine.handleCallback 0xc42112ade0 &{0xc4202a2680} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c41 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c42 Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c43 Entering ComposerPool.Put &{0xc420150170 0xc421142fd0 0xc420029268} 2017-07-19 23:33:49.564 UTC [Composer] Debug -> DEBU 1bff Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c45 Exiting Context.getDataService 1 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c46 Entering Context.getEventService &{0xc4202a2220} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c47 Exiting Context.getEventService 1 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c48 Entering Context.getIdentityService &{0xc4202a2220} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c49 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c4a Entering Context.getHTTPService &{0xc4202a2220} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c4b Exiting Context.getHTTPService 1 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c4c @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c4d Entering Engine.handleCallback 0xc420637020 &{0xc42027a640} 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c4e Exiting Engine.handleCallback 0 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c4f @JS : Engine :invoke() Calling engine function getRegistry 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c50 Exiting Composer.Invoke {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c51 Entering ComposerPool.Put &{0xc4202fe000 0xc42069a630 0xc420150a78} 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c52 Exiting ComposerPool.Put true 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c53 @JS : EngineRegistries :getRegistry() > [object Object], Asset,org.example.mynetwork.Commodity 2017-07-19 23:33:49.574 UTC [Composer] Debug -> DEBU 1c55 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.574 UTC [Composer] Debug -> DEBU 1c56 Exiting Context.getDataService 1 2017-07-19 23:33:49.574 UTC [Composer] Debug -> DEBU 1c57 Entering DataCollection.get &{0xc4202a2220} 2017-07-19 23:33:49.573 UTC [Composer] Debug -> DEBU 1c54 Exiting Chaincode.Invoke 200 {"type":"Participant","id":"org.example.mynetwork.Trader","name":"Participant registry for org.example.mynetwork.Trader"} 2017-07-19 23:33:49.572 UTC [Composer] Debug -> DEBU 1c44 Exiting ComposerPool.Put true 2017-07-19 23:33:49.574 UTC [Composer] Debug -> DEBU 1c58 Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.585 UTC [Composer] Debug -> DEBU 1c59 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc421241890 2017-07-19 23:33:49.585 UTC [Composer] Debug -> DEBU 1c5a Exiting NewDataCollection &{0xc420150a98 0xc42066d500 $sysdata} 2017-07-19 23:33:49.585 UTC [Composer] Debug -> DEBU 1c5b Exiting DataService.getCollection 0 2017-07-19 23:33:49.585 UTC [Composer] Debug -> DEBU 1c5c @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.585 UTC [Composer] Debug -> DEBU 1c5d Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c5e Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc421252a60 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c5f Exiting DataCollection.get 0 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c60 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4212b1760 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c62 Entering DataService.getCollection &{0xc4202a2220} 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c61 Entering getLogging 0xc4212b18b0 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c63 Exiting NewDataCollection &{0xc420150a00 0xc4215fda80 $sysidentities} 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c64 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4212bde50 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c65 Exiting DataService.getCollection 0 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c66 Exiting NewDataCollection &{0xc420150910 0xc4211a8500 $sysdata} 2017-07-19 23:33:49.586 UTC [Composer] Debug -> DEBU 1c67 Exiting DataService.getCollection 0 2017-07-19 23:33:49.587 UTC [Composer] Debug -> DEBU 1c68 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.587 UTC [Composer] Debug -> DEBU 1c69 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.587 UTC [Composer] Debug -> DEBU 1c6a Exiting NewDataCollection &{0xc420150b18 0xc42055e480 $sysregistries} 2017-07-19 23:33:49.587 UTC [Composer] Debug -> DEBU 1c6c Exiting DataService.getCollection 0 2017-07-19 23:33:49.587 UTC [Composer] Debug -> DEBU 1c6b @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c6d @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c6e Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c6f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c70 Entering IdentityService.getCurrentUserID &{0xc4201ce220} 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c71 Entering extractNameFromCreator 0xc421232090 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c72 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c73 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.588 UTC [Composer] Debug -> DEBU 1c74 Common Name admin 2017-07-19 23:33:49.589 UTC [Composer] Debug -> DEBU 1c75 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.589 UTC [Composer] Debug -> DEBU 1c76 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.589 UTC [Composer] Debug -> DEBU 1c77 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.589 UTC [Composer] Debug -> DEBU 1c78 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.589 UTC [Composer] Debug -> DEBU 1c79 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7a @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7b @JS : AccessController :constructor() < 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7c @JS : Context :initialize() < 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7d Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7e Exiting Context.getDataService 1 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c7f Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c80 Exiting Context.getEventService 1 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c81 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c82 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c83 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:49.590 UTC [Composer] Debug -> DEBU 1c84 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c85 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c86 @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"JHDBVLKJTB_t9","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c87 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c88 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c89 Exiting Context.getDataService 1 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c8a Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c8b Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c8c Exiting Context.getDataService 1 2017-07-19 23:33:49.591 UTC [Composer] Debug -> DEBU 1c8d Entering DataCollection.get &{0xc4201ce220} 2017-07-19 23:33:49.597 UTC [Composer] Debug -> DEBU 1c8e Exiting DataCollection.get 0 2017-07-19 23:33:49.597 UTC [Composer] Debug -> DEBU 1c92 @JS : Context :[object Object]() < 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c93 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c94 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c95 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c97 Entering getLogging 0xc4212084c0 2017-07-19 23:33:49.597 UTC [Composer] Debug -> DEBU 1c8f Exiting DataCollection.get 0 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c98 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.597 UTC [Composer] Debug -> DEBU 1c91 Entering NewDataCollection &{0xc4202a2220} &{0xc420150158 0xc42013b600} 0xc421208050 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9a Exiting DataCollection.get 0 2017-07-19 23:33:49.597 UTC [Composer] Debug -> DEBU 1c90 Entering Chaincode.Invoke 0xc4212b18a0 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9b Entering ComposerPool.Get 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9c Exiting ComposerPool.Get &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9d Entering Composer.Invoke 0xc421208890 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"NNUWETYFKH_c12","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#NNUWETYFKH_t0"}] 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c99 Exiting NewDataCollection &{0xc4201429d8 0xc42013b600 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9e Entering NewContext &{0xc420141340} &{0xc420150150} 0xc421208990 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1c9f Entering NewDataService &{0xc420141340} &{0xc420150150 } 0xc421208a50 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca0 Exiting DataService.getCollection 0 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca1 Exiting NewDataService &{0xc420150150 0xc420176380} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca2 Entering NewIdentityService &{0xc420141340} &{0xc420150150 0xc421048340 } 0xc421208c00 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca4 Exiting NewIdentityService &{0xc420150150 0xc420176380} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca5 Entering NewEventService &{0xc420141340} &{0xc420150150 0xc421048340 0xc421048420 } 0xc421208d70 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca6 Exiting NewEventServce &{0xc420150150 0xc420176380} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca7 Entering HTTPService &{0xc420141340} &{0xc420150150 0xc421048340 0xc421048420 0xc421048500 } 0xc421208ee0 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca8 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1ca9 Exiting HTTPService &{0xc420150150 0xc420176380} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1caa Exiting NewContext &{0xc420150150 0xc421048340 0xc421048420 0xc421048500 0xc4210485e0} 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1cab Entering Engine.Invoke &{0xc420150150 0xc421048340 0xc421048420 0xc421048500 0xc4210485e0} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"NNUWETYFKH_c12","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#NNUWETYFKH_t0"}] 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1cac @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1cad @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.599 UTC [Composer] Debug -> DEBU 1cae @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"NNUWETYFKH_c12","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#NNUWETYFKH_t0"} 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1caf @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb0 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb1 @JS : Context :initialize() > 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb2 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb3 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.598 UTC [Composer] Debug -> DEBU 1c96 Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc421208360 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cb8 Exiting NewDataCollection &{0xc420028a70 0xc42055e480 $sysidentities} 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cb9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb4 @JS : EngineRegistries :getRegistry() < [object Object] 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cba Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cbb Exiting Context.getDataService 1 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cbc Entering Context.getEventService &{0xc4202a2220} 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cbd @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb5 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cbf @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cb7 Exiting Engine.Invoke 0xc421212000 2017-07-19 23:33:49.601 UTC [Composer] Debug -> DEBU 1cbe Exiting Context.getEventService 1 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc0 Entering Context.getIdentityService &{0xc4202a2220} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc1 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc2 Entering Context.getHTTPService &{0xc4202a2220} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc3 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc4 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc5 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc6 @JS : Context :[object Object]() < 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc7 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc8 Entering IdentityService.getCurrentUserID &{0xc4201cf6e0} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cc9 Entering extractNameFromCreator 0xc4211c8110 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cca creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1ccb @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1ccc Exiting extractNameFromCreator admin 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1ccd @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1ccf Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cd0 Exiting Context.getDataService 1 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cd1 Entering Context.getEventService &{0xc4202a2220} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cd2 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cd3 Exiting Context.getEventService 1 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd4 Entering Context.getIdentityService &{0xc4202a2220} 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd5 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd6 Entering Context.getHTTPService &{0xc4202a2220} 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd7 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd8 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cdb Entering EventService.transactionCommit &{0xc4202a2220} 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cd9 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cdd @JS : EventService :getEvents() > 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cde @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cdf @JS : EventService :getEvents() < 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cda Exiting DataCollection.get 0 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1ce1 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1ce2 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce3 Entering DataService.getCollection &{0xc4201ce220} 2017-07-19 23:33:49.602 UTC [Composer] Debug -> DEBU 1cce Common Name admin 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce5 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce6 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1cdc @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce8 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce9 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cea @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1ceb @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce4 Entering Context.getDataService &{0xc4202a2220} 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cec Exiting Context.getDataService 1 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1ced Entering Context.getEventService &{0xc4202a2220} 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cee Exiting Context.getEventService 1 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cef Entering Context.getIdentityService &{0xc4202a2220} 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cf0 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cf1 Entering Context.getHTTPService &{0xc4202a2220} 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cf2 @JS : AccessController :constructor() < 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf4 @JS : Context :initialize() < 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf5 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf6 Exiting Context.getDataService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf8 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf9 Exiting Context.getEventService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cfa Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cfb Exiting Context.getIdentityService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cfd Entering Chaincode.Invoke 0xc4212084b0 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cfe Entering ComposerPool.Get 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cff Exiting ComposerPool.Get &{0xc420142270 0xc421232530 0xc420143368} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d00 Entering Composer.Invoke 0xc4211eb130 addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"QREJIOVSAJ_t6","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d01 Entering NewContext &{0xc4201450e0} &{0xc420142270} 0xc4211eb230 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cfc Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1cf7 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d03 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d04 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.603 UTC [Composer] Debug -> DEBU 1ce0 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d05 Exiting Context.getDataService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d06 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d07 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d08 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d09 Exiting Context.getDataService 1 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0a Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.604 UTC [Composer] Debug -> DEBU 1ce7 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0b @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.600 UTC [Composer] Debug -> DEBU 1cb6 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0c @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0d Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0e Exiting Context.getDataService 1 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d0f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d10 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d12 Exiting Context.getDataService 1 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d11 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d13 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.607 UTC [Composer] Debug -> DEBU 1d14 Entering NewDataCollection &{0xc4201ce220} &{0xc420028000 0xc4215fda80} 0xc4211b2430 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d15 Exiting NewDataCollection &{0xc420142a80 0xc4215fda80 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d16 Exiting DataService.getCollection 0 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d17 @JS : AccessController :check() > org.example.mynetwork.Trader#JHDBVLKJTB_t9, CREATE 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d18 @JS : AccessController :check() No participant 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d19 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d1b Entering getLogging 0xc4211ebc40 2017-07-19 23:33:49.605 UTC [Composer] Debug -> DEBU 1cf3 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.606 UTC [Composer] Debug -> DEBU 1d02 Entering NewDataService &{0xc4201450e0} &{0xc420142270 } 0xc4211eb2e0 2017-07-19 23:33:49.610 UTC [Composer] Debug -> DEBU 1d1c @JS : Engine :invoke() < [object Object] 2017-07-19 23:33:49.610 UTC [Composer] Debug -> DEBU 1d1f Entering Engine.handleCallback 0xc4211a6f00 &{0xc4202a2220} 2017-07-19 23:33:49.610 UTC [Composer] Debug -> DEBU 1d20 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.610 UTC [Composer] Debug -> DEBU 1d1d Exiting NewDataService &{0xc420142270 0xc42054ca80} 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d21 Exiting Composer.Invoke {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d23 Entering ComposerPool.Put &{0xc420150158 0xc421209690 0xc4202ff098} 2017-07-19 23:33:49.610 UTC [Composer] Debug -> DEBU 1d1e @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"OJCRTKWKJU_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#OJCRTKWKJU_t2"} 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d26 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc4211f3600 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d27 Exiting NewDataCollection &{0xc420150d58 0xc4203b0680 $sysdata} 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d28 Exiting DataService.getCollection 0 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d29 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2a Exiting Context.getDataService 1 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.608 UTC [Composer] Debug -> DEBU 1d1a @JS : AccessController :check() < 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d25 Exiting ComposerPool.Put true 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2e Exiting Chaincode.Invoke 200 {"type":"Asset","id":"org.example.mynetwork.Commodity","name":"Asset registry for org.example.mynetwork.Commodity"} 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d22 Entering NewIdentityService &{0xc4201450e0} &{0xc420142270 0xc42044a380 } 0xc4211c94c0 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2f Exiting NewIdentityService &{0xc420142270 0xc42054ca80} 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d30 Entering NewEventService &{0xc4201450e0} &{0xc420142270 0xc42044a380 0xc42053ab20 } 0xc4211c9a50 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d31 Exiting NewEventServce &{0xc420142270 0xc42054ca80} 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d32 Entering HTTPService &{0xc4201450e0} &{0xc420142270 0xc42044a380 0xc42053ab20 0xc42053ac00 } 0xc4211c9bc0 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d33 Exiting HTTPService &{0xc420142270 0xc42054ca80} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d34 Exiting NewContext &{0xc420142270 0xc42044a380 0xc42053ab20 0xc42053ac00 0xc42053ace0} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d35 Entering DataCollection.add &{0xc4201ce220} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d36 Entering Engine.Invoke &{0xc420142270 0xc42044a380 0xc42053ab20 0xc42053ac00 0xc42053ace0} addResourceToRegistry [Participant org.example.mynetwork.Trader {"$class":"org.example.mynetwork.Trader","tradeId":"QREJIOVSAJ_t6","firstName":"Testing","lastName":"Test"}] 2017-07-19 23:33:49.611 UTC [Composer] Debug -> DEBU 1d24 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc4211c96b0 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d37 Exiting NewDataCollection &{0xc420028b28 0xc42066d500 $sysdata} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d38 Exiting DataService.getCollection 0 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d39 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"QREJIOVSAJ_t6","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d3a @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d3b @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d3c Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.613 UTC [Composer] Debug -> DEBU 1d3d @JS : Context :initialize() > 2017-07-19 23:33:49.614 UTC [Composer] Debug -> DEBU 1d3e Exiting Engine.Invoke 0xc42038a480 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d43 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4211b32e0 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d44 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2d Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d46 @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.615 UTC [Composer] Debug -> DEBU 1d3f Entering Chaincode.Invoke 0xc4211ebc30 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d47 Entering ComposerPool.Get 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d49 Exiting ComposerPool.Get &{0xc420028028 0xc42051bc00 0xc4202fe7b8} 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d4a Entering Composer.Invoke 0xc4211a4610 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"AVDFKQTFEK_c10","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#AVDFKQTFEK_t6"}] 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d4b Entering NewContext &{0xc4201cf140} &{0xc420028028} 0xc4211a4710 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d4c Entering NewDataService &{0xc4201cf140} &{0xc420028028 } 0xc4211a47c0 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d4d Exiting NewDataService &{0xc420028028 0xc42111c380} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d4e Entering NewIdentityService &{0xc4201cf140} &{0xc420028028 0xc42053b440 } 0xc4211a4970 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d4f Exiting NewIdentityService &{0xc420028028 0xc42111c380} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d50 Entering NewEventService &{0xc4201cf140} &{0xc420028028 0xc42053b440 0xc42053b520 } 0xc4211a4af0 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d51 Exiting NewEventServce &{0xc420028028 0xc42111c380} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d52 Entering HTTPService &{0xc4201cf140} &{0xc420028028 0xc42053b440 0xc42053b520 0xc42053b600 } 0xc4211a4c70 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d53 Exiting HTTPService &{0xc420028028 0xc42111c380} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d54 Exiting NewContext &{0xc420028028 0xc42053b440 0xc42053b520 0xc42053b600 0xc42053b6e0} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d55 Entering Engine.Invoke &{0xc420028028 0xc42053b440 0xc42053b520 0xc42053b600 0xc42053b6e0} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"AVDFKQTFEK_c10","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#AVDFKQTFEK_t6"}] 2017-07-19 23:33:49.616 UTC [Composer] Debug -> DEBU 1d41 Exiting DataCollection.add 0 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d56 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"AVDFKQTFEK_c10","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#AVDFKQTFEK_t6"} 2017-07-19 23:33:49.619 UTC [Composer] Debug -> DEBU 1d57 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d58 @JS : Context :initialize() > 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d45 Exiting NewDataCollection &{0xc420150d80 0xc4211a8500 $sysdata} 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d59 Exiting DataService.getCollection 0 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d5a @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.617 UTC [Composer] Debug -> DEBU 1d42 Exiting DataCollection.get 0 2017-07-19 23:33:49.618 UTC [Composer] Debug -> DEBU 1d48 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d5b Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.615 UTC [Composer] Debug -> DEBU 1d40 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc421176090 2017-07-19 23:33:49.612 UTC [Composer] Debug -> DEBU 1d2c Entering DataCollection.get &{0xc4201cf6e0} 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d5d Exiting NewDataCollection &{0xc420028b50 0xc420176380 $sysdata} 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d5e Exiting DataService.getCollection 0 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d5f @JS : Context :[object Object]() < 2017-07-19 23:33:49.620 UTC [Composer] Debug -> DEBU 1d5c Exiting Context.getDataService 1 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d60 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d61 Exiting Engine.Invoke 0xc42038a960 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d62 Exiting Context.getDataService 1 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d63 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d64 Exiting Context.getEventService 1 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d65 Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d67 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d66 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d68 Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d69 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d6a Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.621 UTC [Composer] Debug -> DEBU 1d6b Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d6c @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d6d @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d6e @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d6f Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d70 Exiting Context.getDataService 1 2017-07-19 23:33:49.622 UTC [Composer] Debug -> DEBU 1d71 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.623 UTC [Composer] Debug -> DEBU 1d72 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.623 UTC [Composer] Debug -> DEBU 1d73 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.624 UTC [Composer] Debug -> DEBU 1d74 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d75 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d76 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d77 Exiting DataCollection.get 0 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d78 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d79 @JS : Context :[object Object]() < 2017-07-19 23:33:49.625 UTC [Composer] Debug -> DEBU 1d7a @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d7b @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d7c @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d7e Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d7f Exiting Context.getDataService 1 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d80 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d7d @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d81 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.626 UTC [Composer] Debug -> DEBU 1d82 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d83 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d84 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d85 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d86 Exiting Context.getDataService 1 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d87 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.627 UTC [Composer] Debug -> DEBU 1d88 Exiting DataCollection.get 0 2017-07-19 23:33:49.629 UTC [Composer] Debug -> DEBU 1d89 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc4211a5b40 2017-07-19 23:33:49.630 UTC [Composer] Debug -> DEBU 1d8e Exiting NewDataCollection &{0xc420028bd8 0xc42054ca80 $sysdata} 2017-07-19 23:33:49.629 UTC [Composer] Debug -> DEBU 1d8a Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc42116b300 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d90 Exiting DataService.getCollection 0 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d91 Exiting NewDataCollection &{0xc420142b88 0xc42111c380 $sysdata} 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d92 Exiting DataService.getCollection 0 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d93 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d94 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d95 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.630 UTC [Composer] Debug -> DEBU 1d8c Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d97 Exiting Context.getDataService 1 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d98 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d99 Exiting Context.getEventService 1 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d9a Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d9b Exiting Context.getIdentityService 1 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d9c Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d9d Exiting Context.getHTTPService 1 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1d9e Entering EventService.transactionCommit &{0xc4201ce220} 2017-07-19 23:33:49.630 UTC [Composer] Debug -> DEBU 1d8d Exiting DataCollection.get 0 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1d9f @JS : EventService :getEvents() > 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da0 @JS : EventService :getEvents() < 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da1 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da2 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da3 @JS : Context :[object Object]() < 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d8f Exiting DataCollection.get 0 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da4 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da5 Entering Context.getDataService &{0xc4201ce220} 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da6 Exiting Context.getDataService 1 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da8 Entering Context.getEventService &{0xc4201ce220} 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da9 Exiting Context.getEventService 1 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1daa Entering Context.getIdentityService &{0xc4201ce220} 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1dab Exiting Context.getIdentityService 1 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1dac Entering Context.getHTTPService &{0xc4201ce220} 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1dad Exiting Context.getHTTPService 1 2017-07-19 23:33:49.631 UTC [Composer] Debug -> DEBU 1d96 Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1dae @JS : Context :[object Object]() < 2017-07-19 23:33:49.632 UTC [Composer] Debug -> DEBU 1da7 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1daf @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db0 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db1 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db2 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db3 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db4 @JS : Engine :invoke() < 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db5 Entering Engine.handleCallback 0xc4215fee40 &{0xc4201ce220} 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db6 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db7 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db9 Exiting Composer.Invoke 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1dba Entering ComposerPool.Put &{0xc420028000 0xc4203ac870 0xc420150318} 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1dbb Exiting ComposerPool.Put true 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1dbc Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.633 UTC [Composer] Debug -> DEBU 1db8 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dbd @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dbe @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dc0 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dc1 Exiting Context.getDataService 1 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dc2 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dc3 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc42112eae0 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dc4 Exiting NewDataCollection &{0xc420150e18 0xc42066d500 $sysregistries} 2017-07-19 23:33:49.629 UTC [Composer] Debug -> DEBU 1d8b Entering DataService.getCollection &{0xc4201cf6e0} 2017-07-19 23:33:49.634 UTC [Composer] Debug -> DEBU 1dbf @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.635 UTC [Composer] Debug -> DEBU 1dc6 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc42112ed80 2017-07-19 23:33:49.635 UTC [Composer] Debug -> DEBU 1dc8 Exiting NewDataCollection &{0xc420150e60 0xc4203b0680 $sysregistries} 2017-07-19 23:33:49.636 UTC [Composer] Debug -> DEBU 1dc9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.637 UTC [Composer] Debug -> DEBU 1dca @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dcc Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dcd Exiting Context.getDataService 1 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dce Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.635 UTC [Composer] Debug -> DEBU 1dc7 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dcf @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dd0 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dd1 Exiting Context.getDataService 1 2017-07-19 23:33:49.638 UTC [Composer] Debug -> DEBU 1dd2 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.637 UTC [Composer] Debug -> DEBU 1dcb Entering getLogging 0xc421143910 2017-07-19 23:33:49.635 UTC [Composer] Debug -> DEBU 1dc5 Exiting DataService.getCollection 0 2017-07-19 23:33:49.641 UTC [Composer] Debug -> DEBU 1dd3 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.641 UTC [Composer] Debug -> DEBU 1dd4 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.641 UTC [Composer] Debug -> DEBU 1dd5 Exiting Context.getDataService 1 2017-07-19 23:33:49.641 UTC [Composer] Debug -> DEBU 1dd6 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1dd7 Entering Chaincode.Invoke 0xc421143900 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1dd8 Entering ComposerPool.Get 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1dd9 Exiting ComposerPool.Get &{0xc4202fe008 0xc4210ea5f0 0xc420142f60} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1dda Entering Composer.Invoke 0xc42112f660 addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"DRVBMVGSZH_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#DRVBMVGSZH_t5"}] 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1ddb Entering NewContext &{0xc42027a680} &{0xc4202fe008} 0xc42112f760 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1ddc Entering NewDataService &{0xc42027a680} &{0xc4202fe008 } 0xc42112f820 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1ddd Exiting NewDataService &{0xc4202fe008 0xc420390c00} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1dde Entering NewIdentityService &{0xc42027a680} &{0xc4202fe008 0xc4205834c0 } 0xc42112f9e0 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1ddf Exiting NewIdentityService &{0xc4202fe008 0xc420390c00} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de0 Entering NewEventService &{0xc42027a680} &{0xc4202fe008 0xc4205834c0 0xc4205835a0 } 0xc42112fb50 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de1 Exiting NewEventServce &{0xc4202fe008 0xc420390c00} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de2 Entering HTTPService &{0xc42027a680} &{0xc4202fe008 0xc4205834c0 0xc4205835a0 0xc420583680 } 0xc42112fd30 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de3 Exiting HTTPService &{0xc4202fe008 0xc420390c00} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de4 Exiting NewContext &{0xc4202fe008 0xc4205834c0 0xc4205835a0 0xc420583680 0xc420583760} 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de5 Entering Engine.Invoke &{0xc4202fe008 0xc4205834c0 0xc4205835a0 0xc420583680 0xc420583760} addResourceToRegistry [Asset org.example.mynetwork.Commodity {"$class":"org.example.mynetwork.Commodity","tradingSymbol":"DRVBMVGSZH_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#DRVBMVGSZH_t5"}] 2017-07-19 23:33:49.645 UTC [Composer] Debug -> DEBU 1de6 @JS : Engine :invoke() > [object Object], addResourceToRegistry, Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"DRVBMVGSZH_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#DRVBMVGSZH_t5"} 2017-07-19 23:33:49.646 UTC [Composer] Debug -> DEBU 1de7 @JS : Engine :invoke() Initializing context 2017-07-19 23:33:49.646 UTC [Composer] Debug -> DEBU 1de8 Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc421176890 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1de9 @JS : Context :initialize() > 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1dea Exiting NewDataCollection &{0xc4202fea68 0xc42066d500 $sysidentities} 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1deb Exiting DataService.getCollection 0 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1dec Exiting Engine.Invoke 0xc4202ae300 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1ded Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc42112c3f0 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1dee Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc421143f30 2017-07-19 23:33:49.649 UTC [Composer] Debug -> DEBU 1df1 Exiting NewDataCollection &{0xc420028c80 0xc4203b0680 $sysidentities} 2017-07-19 23:33:49.649 UTC [Composer] Debug -> DEBU 1df2 Exiting DataService.getCollection 0 2017-07-19 23:33:49.649 UTC [Composer] Debug -> DEBU 1df3 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df4 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df5 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df6 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df7 Entering IdentityService.getCurrentUserID &{0xc4202a2600} 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df8 Entering extractNameFromCreator 0xc421177060 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1df9 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dfa Exiting extractNameFromCreator admin 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dfb Common Name admin 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dfc Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dfd @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dfe @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.650 UTC [Composer] Debug -> DEBU 1dff @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e00 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e01 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e02 @JS : AccessController :constructor() < 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e03 @JS : Context :initialize() < 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e04 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e05 Exiting Context.getDataService 1 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e06 Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e07 Exiting Context.getEventService 1 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e08 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e09 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e0a Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.651 UTC [Composer] Debug -> DEBU 1e0b Exiting Context.getHTTPService 1 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e0c @JS : Engine :invoke() Calling engine function submitTransaction 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e0d @JS : EngineTransactions :submitTransaction() > [object Object], default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#SZFYAIRVVP_c8","newOwner":"resource:org.example.mynetwork.Trader#SZFYAIRVVP_t0","transactionId":"24688b7b-1a2d-44aa-8f49-ce455b855919","timestamp":"2017-07-19T23:33:43.422Z"} 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e0e Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e0f Exiting Context.getDataService 1 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e10 @JS : EngineTransactions :submitTransaction() Parsing transaction from JSON 2017-07-19 23:33:49.652 UTC [Composer] Debug -> DEBU 1e11 @JS : EngineTransactions :submitTransaction() Parsing transaction from parsed JSON object 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1def Entering NewDataCollection &{0xc4201cf6e0} &{0xc420028048 0xc42055e480} 0xc4210dc150 2017-07-19 23:33:49.653 UTC [Composer] Debug -> DEBU 1e12 Exiting NewDataCollection &{0xc420142bb8 0xc42055e480 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.653 UTC [Composer] Debug -> DEBU 1e14 Exiting DataService.getCollection 0 2017-07-19 23:33:49.653 UTC [Composer] Debug -> DEBU 1e15 @JS : AccessController :check() > org.example.mynetwork.Commodity#OJCRTKWKJU_c8, CREATE 2017-07-19 23:33:49.654 UTC [Composer] Debug -> DEBU 1e16 @JS : AccessController :check() No participant 2017-07-19 23:33:49.654 UTC [Composer] Debug -> DEBU 1e17 @JS : AccessController :check() < 2017-07-19 23:33:49.647 UTC [Composer] Debug -> DEBU 1df0 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.654 UTC [Composer] Debug -> DEBU 1e18 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.654 UTC [Composer] Debug -> DEBU 1e19 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.654 UTC [Composer] Debug -> DEBU 1e1a Exiting Context.getIdentityService 1 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e1b Entering IdentityService.getCurrentUserID &{0xc420144940} 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e1c Entering extractNameFromCreator 0xc4210c5190 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e1d creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e1e Exiting extractNameFromCreator admin 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e20 Common Name admin 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e22 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e1f Entering DataCollection.add &{0xc4201cf6e0} 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e23 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.656 UTC [Composer] Debug -> DEBU 1e24 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.656 UTC [Composer] Debug -> DEBU 1e25 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e26 Exiting NewDataCollection &{0xc420142d10 0xc420176380 $sysdata} 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e27 Exiting DataService.getCollection 0 2017-07-19 23:33:49.655 UTC [Composer] Debug -> DEBU 1e21 Exiting DataCollection.get 0 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e29 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e2a Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e2b @JS : Context :[object Object]() < 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e2c @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e2d Exiting DataCollection.get 0 2017-07-19 23:33:49.657 UTC [Composer] Debug -> DEBU 1e28 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e2e @JS : TransactionLogger :constructor() > Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919}, [object Object], [object Object] 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e30 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e32 @JS : TransactionLogger :constructor() < 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e33 @JS : AccessController :constructor() < 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e34 @JS : EngineTransactions :submitTransaction() Parsed transaction, resolving it Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e35 @JS : Context :initialize() < 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e36 @JS : Resolver :constructor() > [object Object] 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e2f @JS : Context :[object Object]() < 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e37 @JS : Resolver :constructor() < 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e38 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e39 @JS : Resolver :resolve() > Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e3a @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e3c @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.659 UTC [Composer] Debug -> DEBU 1e3b @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919}, [object Object] 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e3d @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e3e @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e3f @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e40 @JS : Resolver :resolveResourceOrConcept() Looking at property commodity 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e41 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.660 UTC [Composer] Debug -> DEBU 1e42 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Commodity#SZFYAIRVVP_c8} 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e43 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e44 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e45 Exiting Context.getDataService 1 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e46 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.653 UTC [Composer] Debug -> DEBU 1e13 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4210ea1d0 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e48 Exiting NewDataCollection &{0xc420142ce8 0xc4211a8500 $sysregistries} 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e49 Exiting DataService.getCollection 0 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e4a @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e4b Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e4c Exiting Context.getDataService 1 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e4d Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.658 UTC [Composer] Debug -> DEBU 1e31 @JS : Context :findBusinessNetworkDefinition() > [object Object] 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e4e @JS : Context :findBusinessNetworkDefinition() Business network definition not specified, loading from world state 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e4f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e50 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e51 Exiting Context.getDataService 1 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e52 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.661 UTC [Composer] Debug -> DEBU 1e47 @JS : Resolver :resolveResourceOrConcept() Looking at property newOwner 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e53 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0} 2017-07-19 23:33:49.662 UTC [Composer] Debug -> DEBU 1e54 @JS : Resolver :resolveResourceOrConcept() Looking at property transactionId 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e55 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e56 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 24688b7b-1a2d-44aa-8f49-ce455b855919 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e57 @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e58 @JS : Resolver :resolveResourceOrConcept() Looking at property timestamp 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e59 @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e5a @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e5b Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.663 UTC [Composer] Debug -> DEBU 1e5c Exiting Context.getDataService 1 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e5e Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e5f Exiting Context.getEventService 1 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e60 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e61 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e5d @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e63 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e64 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e65 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e66 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e67 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e68 Exiting Context.getDataService 1 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e69 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.664 UTC [Composer] Debug -> DEBU 1e62 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 2017-07-19 23:33:43.422+00:00 2017-07-19 23:33:49.665 UTC [Composer] Debug -> DEBU 1e6a @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Commodity#SZFYAIRVVP_c8}, [object Object] 2017-07-19 23:33:49.665 UTC [Composer] Debug -> DEBU 1e6b @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Commodity#SZFYAIRVVP_c8} 2017-07-19 23:33:49.665 UTC [Composer] Debug -> DEBU 1e6c @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Commodity super=Asset enum=false abstract=false} 2017-07-19 23:33:49.665 UTC [Composer] Debug -> DEBU 1e6d @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Commodity 2017-07-19 23:33:49.665 UTC [Composer] Debug -> DEBU 1e6e Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.666 UTC [Composer] Debug -> DEBU 1e6f Exiting DataCollection.get 0 2017-07-19 23:33:49.666 UTC [Composer] Debug -> DEBU 1e70 @JS : Context :[object Object]() < 2017-07-19 23:33:49.666 UTC [Composer] Debug -> DEBU 1e71 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.666 UTC [Composer] Debug -> DEBU 1e72 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.666 UTC [Composer] Debug -> DEBU 1e73 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.667 UTC [Composer] Debug -> DEBU 1e74 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.667 UTC [Composer] Debug -> DEBU 1e75 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.667 UTC [Composer] Debug -> DEBU 1e76 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.667 UTC [Composer] Debug -> DEBU 1e77 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e78 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e79 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7a Exiting Context.getDataService 1 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7b Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7c Exiting DataCollection.add 0 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7d @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7e Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e7f Exiting Context.getDataService 1 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e80 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e81 Exiting Context.getEventService 1 2017-07-19 23:33:49.668 UTC [Composer] Debug -> DEBU 1e82 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e83 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e84 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e85 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e86 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc4210ac430 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e89 Exiting NewDataCollection &{0xc420150fe8 0xc42111c380 $sysdata} 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e8a Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e8d Exiting Context.getDataService 1 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e8f Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e90 Exiting Context.getEventService 1 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e91 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e92 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e93 Exiting DataCollection.get 0 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e8b Exiting DataService.getCollection 0 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e87 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc42112d280 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e95 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc4210ac800 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e94 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e97 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e98 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e8e @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e9a Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e9b Exiting NewDataCollection &{0xc420028d38 0xc42054ca80 $sysdata} 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e8c Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc4210bd070 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e9c @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"YJMBGEOGSR_c8","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#YJMBGEOGSR_t2"} 2017-07-19 23:33:49.670 UTC [Composer] Debug -> DEBU 1e96 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e9e Exiting DataService.getCollection 0 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e99 Exiting NewDataCollection &{0xc420151070 0xc420176380 $sysdata} 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1e9f Exiting DataService.getCollection 0 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea0 Entering EventService.transactionCommit &{0xc4201cf6e0} 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea3 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea1 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea4 Exiting Context.getDataService 1 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea6 Entering DataCollection.get &{0xc420144940} 2017-07-19 23:33:49.673 UTC [Composer] Debug -> DEBU 1ea7 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.669 UTC [Composer] Debug -> DEBU 1e88 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc4210bcf90 2017-07-19 23:33:49.671 UTC [Composer] Debug -> DEBU 1e9d Exiting NewDataCollection &{0xc4202fec18 0xc4211a8500 $sysidentities} 2017-07-19 23:33:49.673 UTC [Composer] Debug -> DEBU 1ea9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea2 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.673 UTC [Composer] Debug -> DEBU 1eaa Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.673 UTC [Composer] Debug -> DEBU 1ea8 Exiting NewDataCollection &{0xc420142db0 0xc420390c00 $sysdata} 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eab Exiting DataService.getCollection 0 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eac @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.672 UTC [Composer] Debug -> DEBU 1ea5 @JS : EventService :getEvents() > 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1ead @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eae @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eaf Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb1 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb2 Entering IdentityService.getCurrentUserID &{0xc4201455c0} 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb3 Entering extractNameFromCreator 0xc4210bd660 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb4 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb5 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb6 Common Name admin 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb7 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb8 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb9 @JS : EventService :getEvents() < 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1eba @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ebc @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ebb Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ebd Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ebe @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ebf @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec0 @JS : AccessController :constructor() < 2017-07-19 23:33:49.674 UTC [Composer] Debug -> DEBU 1eb0 Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec1 Entering Context.getDataService &{0xc4201cf6e0} 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec2 Exiting Context.getDataService 1 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec3 Entering Context.getEventService &{0xc4201cf6e0} 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec4 @JS : Context :initialize() < 2017-07-19 23:33:49.675 UTC [Composer] Debug -> DEBU 1ec5 Exiting Context.getEventService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ec6 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ec8 Exiting Context.getDataService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ec9 Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1eca Exiting Context.getEventService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ecb Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ecc Exiting Context.getIdentityService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ecd Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ece Exiting Context.getHTTPService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ec7 Entering Context.getIdentityService &{0xc4201cf6e0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ecf Exiting Context.getIdentityService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ed0 Entering Context.getHTTPService &{0xc4201cf6e0} 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ed1 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.676 UTC [Composer] Debug -> DEBU 1ed2 @JS : Engine :invoke() Calling engine function submitTransaction 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1ed5 @JS : EngineTransactions :submitTransaction() > [object Object], default,{"$class":"org.example.mynetwork.Trade","commodity":"resource:org.example.mynetwork.Commodity#VKWCBHWYIZ_c8","newOwner":"resource:org.example.mynetwork.Trader#VKWCBHWYIZ_t1","transactionId":"a17330ce-96d0-41e9-aff6-01b2aec6fe45","timestamp":"2017-07-19T23:33:43.531Z"} 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1ed7 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1ed8 Exiting Context.getDataService 1 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1ed9 @JS : EngineTransactions :submitTransaction() Parsing transaction from JSON 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1eda @JS : EngineTransactions :submitTransaction() Parsing transaction from parsed JSON object 2017-07-19 23:33:49.677 UTC [Composer] Debug -> DEBU 1ed3 Exiting DataCollection.get 0 2017-07-19 23:33:49.678 UTC [Composer] Debug -> DEBU 1ed6 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc42106ebe0 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1edc @JS : Context :[object Object]() < 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1edd Exiting NewDataCollection &{0xc420142e60 0xc4203b0680 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ede Exiting DataService.getCollection 0 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1edf @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee0 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee1 @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1edb Exiting DataCollection.get 0 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee2 Entering DataService.getCollection &{0xc420144940} 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee3 @JS : TransactionLogger :constructor() > Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45}, [object Object], [object Object] 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee4 @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.679 UTC [Composer] Debug -> DEBU 1ee5 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1ee6 @JS : TransactionLogger :constructor() < 2017-07-19 23:33:49.677 UTC [Composer] Debug -> DEBU 1ed4 @JS : Engine :invoke() < 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1eea Entering Engine.handleCallback 0xc4211a6000 &{0xc4201cf6e0} 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1eeb Exiting Engine.handleCallback 0 2017-07-19 23:33:49.681 UTC [Composer] Debug -> DEBU 1eec Exiting Composer.Invoke 2017-07-19 23:33:49.681 UTC [Composer] Debug -> DEBU 1eed Entering ComposerPool.Put &{0xc420028048 0xc4202c4d20 0xc4200285e0} 2017-07-19 23:33:49.681 UTC [Composer] Debug -> DEBU 1eee Exiting ComposerPool.Put true 2017-07-19 23:33:49.681 UTC [Composer] Debug -> DEBU 1eef Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1ee8 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.681 UTC [Composer] Debug -> DEBU 1ef0 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1ee9 @JS : Resolver :resolveRelationship() Getting resource in registry SZFYAIRVVP_c8 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef1 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef2 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef3 Exiting DataCollection.get 0 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef4 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef5 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef6 Exiting Context.getDataService 1 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef7 @JS : Context :[object Object]() < 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef8 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.680 UTC [Composer] Debug -> DEBU 1ee7 @JS : EngineTransactions :submitTransaction() Parsed transaction, resolving it Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1ef9 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1efa Exiting DataCollection.get 0 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1efb @JS : Resolver :constructor() > [object Object] 2017-07-19 23:33:49.682 UTC [Composer] Debug -> DEBU 1efc @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1efd @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1eff Exiting DataCollection.get 0 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1f00 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1f01 @JS : Context :[object Object]() < 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1f02 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1f03 @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1f04 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f05 @JS : Context :[object Object]() < 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f06 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f07 @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f08 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.685 UTC [Composer] Debug -> DEBU 1f0c Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.685 UTC [Composer] Debug -> DEBU 1f0d Exiting Context.getDataService 1 2017-07-19 23:33:49.685 UTC [Composer] Debug -> DEBU 1f0e Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f0a @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.683 UTC [Composer] Debug -> DEBU 1efe @JS : Resolver :constructor() < 2017-07-19 23:33:49.686 UTC [Composer] Debug -> DEBU 1f0f @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.685 UTC [Composer] Debug -> DEBU 1f0b Entering NewDataCollection &{0xc420144940} &{0xc420142268 0xc42066d500} 0xc42106fab0 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f11 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.684 UTC [Composer] Debug -> DEBU 1f09 @JS : Context :loadBusinessNetworkDefinition() > 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f10 Exiting NewDataCollection &{0xc420142f08 0xc42066d500 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f14 Exiting DataService.getCollection 0 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f15 @JS : AccessController :check() > org.example.mynetwork.Commodity#YJMBGEOGSR_c8, CREATE 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f16 @JS : AccessController :check() No participant 2017-07-19 23:33:49.688 UTC [Composer] Debug -> DEBU 1f17 @JS : AccessController :check() < 2017-07-19 23:33:49.688 UTC [Composer] Debug -> DEBU 1f18 Exiting DataCollection.get 0 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f13 @JS : Context :loadBusinessNetworkDefinition() Looking in cache for business network d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f19 @JS : Resolver :resolve() > Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f1a @JS : Context :loadBusinessNetworkDefinition() Business network is in cache 2017-07-19 23:33:49.689 UTC [Composer] Error -> ERRO 1f1b @JS : Resolver :resolveRelationship() Failed to resolve relationship [object Object] 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f1c @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45}, [object Object] 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f1d @JS : Context :findBusinessNetworkDefinition() < [object Object] 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f1e @JS : Context :initialize() Got business network archive 2017-07-19 23:33:49.689 UTC [Composer] Debug -> DEBU 1f1f @JS : InvalidRelationship :constructor() > Relationship {id=org.example.mynetwork.Commodity#SZFYAIRVVP_c8}, [object Object] 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f20 @JS : Context :findCompiledScriptBundle() > [object Object] 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f21 @JS : InvalidRelationship :constructor() Defining identifier property tradingSymbol 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f22 @JS : Context :findCompiledScriptBundle() Compiled script bundle not specified, loading from world state 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f23 Entering DataCollection.add &{0xc420144940} 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f24 @JS : Resolver :resolveResourceOrConcept() Looking at property commodity 2017-07-19 23:33:49.687 UTC [Composer] Debug -> DEBU 1f12 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f25 @JS : InvalidRelationship :constructor() Defining invalid property description 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f27 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f28 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f29 Exiting Context.getDataService 1 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f2a Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f2b @JS : InvalidRelationship :constructor() Defining invalid property mainExchange 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f2c @JS : InvalidRelationship :constructor() Defining invalid property quantity 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f2d Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc4206522a0 2017-07-19 23:33:49.690 UTC [Composer] Debug -> DEBU 1f26 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f2e Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc42066e310 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f2f @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f31 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f32 Exiting NewDataCollection &{0xc4202fee78 0xc42111c380 $sysdata} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f30 Exiting NewDataCollection &{0xc420151148 0xc420176380 $sysdata} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f34 Exiting DataService.getCollection 0 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f36 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Commodity#VKWCBHWYIZ_c8} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f37 @JS : InvalidRelationship :constructor() Defining invalid property owner 2017-07-19 23:33:49.692 UTC [Composer] Debug -> DEBU 1f38 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.692 UTC [Composer] Debug -> DEBU 1f39 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f33 Exiting Context.getDataService 1 2017-07-19 23:33:49.692 UTC [Composer] Debug -> DEBU 1f3a Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.692 UTC [Composer] Debug -> DEBU 1f3b @JS : InvalidRelationship :constructor() < 2017-07-19 23:33:49.691 UTC [Composer] Debug -> DEBU 1f35 Exiting DataService.getCollection 0 2017-07-19 23:33:49.693 UTC [Composer] Debug -> DEBU 1f3d @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.693 UTC [Composer] Debug -> DEBU 1f3f Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.693 UTC [Composer] Debug -> DEBU 1f3c @JS : Resolver :resolveRelationship() < Relationship {id=org.example.mynetwork.Commodity#SZFYAIRVVP_c8} 2017-07-19 23:33:49.693 UTC [Composer] Debug -> DEBU 1f40 @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0}, [object Object] 2017-07-19 23:33:49.694 UTC [Composer] Debug -> DEBU 1f41 @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0} 2017-07-19 23:33:49.694 UTC [Composer] Debug -> DEBU 1f42 @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:49.695 UTC [Composer] Debug -> DEBU 1f43 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:49.695 UTC [Composer] Debug -> DEBU 1f44 Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.693 UTC [Composer] Debug -> DEBU 1f3e @JS : Resolver :resolveResourceOrConcept() Looking at property newOwner 2017-07-19 23:33:49.697 UTC [Composer] Debug -> DEBU 1f45 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc421043160 2017-07-19 23:33:49.697 UTC [Composer] Debug -> DEBU 1f46 Exiting NewDataCollection &{0xc420028e70 0xc420390c00 $sysdata} 2017-07-19 23:33:49.697 UTC [Composer] Debug -> DEBU 1f47 Exiting DataService.getCollection 0 2017-07-19 23:33:49.697 UTC [Composer] Debug -> DEBU 1f48 @JS : Resolver :resolveResourceOrConcept() Property value is a relationship, resolving Relationship {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1} 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f49 @JS : Resolver :resolveResourceOrConcept() Looking at property transactionId 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4a @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4b Exiting DataCollection.add 0 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4c Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4d @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring a17330ce-96d0-41e9-aff6-01b2aec6fe45 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4e @JS : Resolver :resolveResourceOrConcept() Looking at property timestamp 2017-07-19 23:33:49.698 UTC [Composer] Debug -> DEBU 1f4f @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f53 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f54 Exiting Context.getDataService 1 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f55 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f56 Exiting Context.getEventService 1 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f57 Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f58 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.701 UTC [Composer] Debug -> DEBU 1f59 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.702 UTC [Composer] Debug -> DEBU 1f5a Exiting Context.getHTTPService 1 2017-07-19 23:33:49.699 UTC [Composer] Debug -> DEBU 1f50 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring 2017-07-19 23:33:43.531+00:00 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f5b Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f5c Exiting Context.getDataService 1 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f5d Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f5e Exiting Context.getEventService 1 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f5f Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f60 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f61 Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.703 UTC [Composer] Debug -> DEBU 1f62 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.700 UTC [Composer] Debug -> DEBU 1f51 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc420652ef0 2017-07-19 23:33:49.704 UTC [Composer] Debug -> DEBU 1f63 Exiting NewDataCollection &{0xc4201511a0 0xc42054ca80 $sysdata} 2017-07-19 23:33:49.704 UTC [Composer] Debug -> DEBU 1f64 Exiting DataService.getCollection 0 2017-07-19 23:33:49.704 UTC [Composer] Debug -> DEBU 1f65 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.704 UTC [Composer] Debug -> DEBU 1f66 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.700 UTC [Composer] Debug -> DEBU 1f52 Exiting DataCollection.get 0 2017-07-19 23:33:49.704 UTC [Composer] Debug -> DEBU 1f67 @JS : Context :[object Object]() < 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f68 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f69 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f6a @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f6b @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Commodity#VKWCBHWYIZ_c8}, [object Object] 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f6e @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Commodity#VKWCBHWYIZ_c8} 2017-07-19 23:33:49.706 UTC [Composer] Debug -> DEBU 1f6f @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Commodity super=Asset enum=false abstract=false} 2017-07-19 23:33:49.706 UTC [Composer] Debug -> DEBU 1f70 @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Commodity 2017-07-19 23:33:49.706 UTC [Composer] Debug -> DEBU 1f71 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f6c @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.707 UTC [Composer] Debug -> DEBU 1f72 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.707 UTC [Composer] Debug -> DEBU 1f73 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.707 UTC [Composer] Debug -> DEBU 1f74 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.708 UTC [Composer] Debug -> DEBU 1f75 Exiting Context.getDataService 1 2017-07-19 23:33:49.708 UTC [Composer] Debug -> DEBU 1f76 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.708 UTC [Composer] Debug -> DEBU 1f77 Exiting DataCollection.get 0 2017-07-19 23:33:49.708 UTC [Composer] Debug -> DEBU 1f78 @JS : Context :[object Object]() < 2017-07-19 23:33:49.708 UTC [Composer] Debug -> DEBU 1f79 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7a @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7b Exiting DataCollection.get 0 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7c @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.705 UTC [Composer] Debug -> DEBU 1f6d Entering EventService.transactionCommit &{0xc420144940} 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7d @JS : Context :[object Object]() < 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7e @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f7f @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f80 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.709 UTC [Composer] Debug -> DEBU 1f81 @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f82 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f83 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f84 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f85 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.712 UTC [Composer] Debug -> DEBU 1f8a Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc42066f570 2017-07-19 23:33:49.712 UTC [Composer] Debug -> DEBU 1f8b Exiting NewDataCollection &{0xc420151240 0xc420176380 $sysregistries} 2017-07-19 23:33:49.712 UTC [Composer] Debug -> DEBU 1f8c Exiting DataService.getCollection 0 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f8d @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f87 Exiting DataCollection.get 0 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f8e @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f8f Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f91 Entering DataService.getCollection &{0xc4202a2600} 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f90 Exiting Context.getDataService 1 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f92 Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f88 Exiting DataCollection.get 0 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f93 @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f94 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.713 UTC [Composer] Debug -> DEBU 1f95 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f96 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f97 @JS : Context :[object Object]() < 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f98 Exiting Context.getDataService 1 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f89 @JS : EventService :getEvents() > 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f99 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9a @JS : Context :loadCompiledScriptBundle() > 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9c @JS : Context :loadCompiledScriptBundle() Looking in cache for compiled script bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9d Exiting DataCollection.get 0 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9e @JS : Context :loadCompiledScriptBundle() Compiled script bundle is in cache 2017-07-19 23:33:49.710 UTC [Composer] Debug -> DEBU 1f86 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9f Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1fa0 Exiting Context.getDataService 1 2017-07-19 23:33:49.715 UTC [Composer] Debug -> DEBU 1fa2 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.715 UTC [Composer] Debug -> DEBU 1fa1 Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.714 UTC [Composer] Debug -> DEBU 1f9b @JS : EventService :getEvents() < 2017-07-19 23:33:49.715 UTC [Composer] Debug -> DEBU 1fa3 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.715 UTC [Composer] Debug -> DEBU 1fa4 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fa5 Entering Context.getDataService &{0xc420144940} 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fa6 Exiting Context.getDataService 1 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fa7 Entering Context.getEventService &{0xc420144940} 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fa8 Exiting Context.getEventService 1 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1faa Entering Context.getIdentityService &{0xc420144940} 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fab Exiting Context.getIdentityService 1 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fac Entering Context.getHTTPService &{0xc420144940} 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fad Exiting Context.getHTTPService 1 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fae @JS : Engine :invoke() < 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1faf Entering Engine.handleCallback 0xc4210b48a0 &{0xc420144940} 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fb0 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fb1 Exiting Composer.Invoke 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fb2 Entering ComposerPool.Put &{0xc420142268 0xc4203e40f0 0xc420142458} 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fb3 Exiting ComposerPool.Put true 2017-07-19 23:33:49.717 UTC [Composer] Debug -> DEBU 1fb4 Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.716 UTC [Composer] Debug -> DEBU 1fa9 @JS : Context :findCompiledScriptBundle() < [object Object] 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fb5 @JS : Context :initialize() Got compiled script bundle 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fb6 @JS : Context :findCompiledQueryBundle() > [object Object] 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fb7 @JS : Context :findCompiledQueryBundle() Compiled query bundle not specified, loading from world state 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fb8 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fb9 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fba Exiting Context.getDataService 1 2017-07-19 23:33:49.718 UTC [Composer] Debug -> DEBU 1fbb Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.719 UTC [Composer] Debug -> DEBU 1fbc Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc4205fc2e0 2017-07-19 23:33:49.719 UTC [Composer] Debug -> DEBU 1fbd Exiting NewDataCollection &{0xc4201430f0 0xc420176380 $sysidentities} 2017-07-19 23:33:49.719 UTC [Composer] Debug -> DEBU 1fbe Exiting DataService.getCollection 0 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fbf @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc0 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc1 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc2 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc3 Entering IdentityService.getCurrentUserID &{0xc420141340} 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc4 Entering extractNameFromCreator 0xc4205fc8d0 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc5 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc6 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc7 Common Name admin 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc8 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fc9 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.720 UTC [Composer] Debug -> DEBU 1fca @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fcb @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fcc Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc42062c380 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fce @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fcf Exiting NewDataCollection &{0xc4201512c0 0xc42054ca80 $sysdata} 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd0 Exiting DataService.getCollection 0 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd1 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd2 @JS : AccessController :constructor() < 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd3 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd4 @JS : Context :initialize() < 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd5 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd6 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd7 Exiting Context.getDataService 1 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd8 Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fd9 Exiting Context.getEventService 1 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fcd Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc420610940 2017-07-19 23:33:49.722 UTC [Composer] Debug -> DEBU 1fdb Exiting NewDataCollection &{0xc4202ff0e0 0xc4211a8500 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.721 UTC [Composer] Debug -> DEBU 1fda Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.722 UTC [Composer] Debug -> DEBU 1fdc Exiting DataService.getCollection 0 2017-07-19 23:33:49.722 UTC [Composer] Debug -> DEBU 1fdd Exiting Context.getIdentityService 1 2017-07-19 23:33:49.722 UTC [Composer] Debug -> DEBU 1fde Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.722 UTC [Composer] Debug -> DEBU 1fdf Exiting Context.getHTTPService 1 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe0 @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe1 @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"NNUWETYFKH_c12","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#NNUWETYFKH_t0"} 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe2 Entering NewDataCollection &{0xc4202a2600} &{0xc420150160 0xc4203b0680} 0xc420610f40 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe3 Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe4 Exiting Context.getDataService 1 2017-07-19 23:33:49.723 UTC [Composer] Debug -> DEBU 1fe5 Entering DataCollection.get &{0xc420141340} 2017-07-19 23:33:49.724 UTC [Composer] Debug -> DEBU 1fe6 @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.724 UTC [Composer] Debug -> DEBU 1fe7 Exiting NewDataCollection &{0xc420028ea0 0xc4203b0680 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.724 UTC [Composer] Debug -> DEBU 1fe8 @JS : Resolver :resolveRelationship() Getting resource in registry VKWCBHWYIZ_c8 2017-07-19 23:33:49.724 UTC [Composer] Debug -> DEBU 1fea Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.724 UTC [Composer] Debug -> DEBU 1fe9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.725 UTC [Composer] Debug -> DEBU 1feb @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.725 UTC [Composer] Debug -> DEBU 1fec @JS : Resolver :resolveRelationship() Getting resource in registry SZFYAIRVVP_t0 2017-07-19 23:33:49.725 UTC [Composer] Debug -> DEBU 1fed Entering DataCollection.get &{0xc4202a2600} 2017-07-19 23:33:49.730 UTC [Composer] Debug -> DEBU 1fee Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc4205c2350 2017-07-19 23:33:49.730 UTC [Composer] Debug -> DEBU 1fef Exiting NewDataCollection &{0xc420028ee8 0xc420390c00 $sysdata} 2017-07-19 23:33:49.730 UTC [Composer] Debug -> DEBU 1ff0 Exiting DataService.getCollection 0 2017-07-19 23:33:49.730 UTC [Composer] Debug -> DEBU 1ff1 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.730 UTC [Composer] Debug -> DEBU 1ff2 Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.731 UTC [Composer] Debug -> DEBU 1ff3 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc42062cb70 2017-07-19 23:33:49.731 UTC [Composer] Debug -> DEBU 1ff4 Exiting NewDataCollection &{0xc420028eb0 0xc42111c380 $sysdata} 2017-07-19 23:33:49.732 UTC [Composer] Debug -> DEBU 1ff5 Exiting DataService.getCollection 0 2017-07-19 23:33:49.732 UTC [Composer] Debug -> DEBU 1ff6 @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.732 UTC [Composer] Debug -> DEBU 1ff7 Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.735 UTC [Composer] Debug -> DEBU 1ff8 Exiting DataCollection.get 0 2017-07-19 23:33:49.736 UTC [Composer] Debug -> DEBU 1ff9 Exiting DataCollection.get 0 2017-07-19 23:33:49.736 UTC [Composer] Debug -> DEBU 1ffa Entering DataService.getCollection &{0xc420141340} 2017-07-19 23:33:49.736 UTC [Composer] Error -> ERRO 1ffb @JS : Resolver :resolveRelationship() Failed to resolve relationship [object Object] 2017-07-19 23:33:49.737 UTC [Composer] Debug -> DEBU 1ffc Exiting DataCollection.get 0 2017-07-19 23:33:49.737 UTC [Composer] Debug -> DEBU 1ffd @JS : AccessController :check() > org.example.mynetwork.Trader#SZFYAIRVVP_t0, READ 2017-07-19 23:33:49.738 UTC [Composer] Debug -> DEBU 1ffe @JS : InvalidRelationship :constructor() > Relationship {id=org.example.mynetwork.Commodity#VKWCBHWYIZ_c8}, [object Object] 2017-07-19 23:33:49.738 UTC [Composer] Debug -> DEBU 1fff @JS : AccessController :check() No participant 2017-07-19 23:33:49.738 UTC [Composer] Debug -> DEBU 2000 @JS : AccessController :check() < 2017-07-19 23:33:49.738 UTC [Composer] Debug -> DEBU 2001 @JS : InvalidRelationship :constructor() Defining identifier property tradingSymbol 2017-07-19 23:33:49.739 UTC [Composer] Debug -> DEBU 2002 @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:49.739 UTC [Composer] Debug -> DEBU 2003 @JS : InvalidRelationship :constructor() Defining invalid property description 2017-07-19 23:33:49.739 UTC [Composer] Debug -> DEBU 2004 @JS : InvalidRelationship :constructor() Defining invalid property mainExchange 2017-07-19 23:33:49.739 UTC [Composer] Debug -> DEBU 2005 @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0}, [object Object] 2017-07-19 23:33:49.739 UTC [Composer] Debug -> DEBU 2006 @JS : InvalidRelationship :constructor() Defining invalid property quantity 2017-07-19 23:33:49.740 UTC [Composer] Debug -> DEBU 2007 Entering NewDataCollection &{0xc420141340} &{0xc420150150 0xc420176380} 0xc420611f70 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 200b @JS : InvalidRelationship :constructor() Defining invalid property owner 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 200c Exiting NewDataCollection &{0xc420143240 0xc420176380 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.743 UTC [Composer] Debug -> DEBU 2009 Exiting DataCollection.get 0 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 200d @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 200f @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring SZFYAIRVVP_t0 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 2010 @JS : Context :[object Object]() < 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 2011 @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 2012 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2013 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2014 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2015 @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2016 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2017 @JS : InvalidRelationship :constructor() < 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2018 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 2019 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 201a @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0} 2017-07-19 23:33:49.743 UTC [Composer] Debug -> DEBU 200a Exiting DataCollection.get 0 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 201b @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.747 UTC [Composer] Debug -> DEBU 201c @JS : Resolver :resolveRelationship() < Relationship {id=org.example.mynetwork.Commodity#VKWCBHWYIZ_c8} 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 201d @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 201e Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.743 UTC [Composer] Debug -> DEBU 2008 Exiting DataCollection.get 0 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 201f Exiting Context.getDataService 1 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2020 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2021 @JS : Context :[object Object]() < 2017-07-19 23:33:49.746 UTC [Composer] Debug -> DEBU 200e Exiting DataService.getCollection 0 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2022 @JS : Context :[object Object]() < 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2023 @JS : Context :loadCompiledQueryBundle() > 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2024 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#SZFYAIRVVP_t0} 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2025 @JS : Context :loadCompiledQueryBundle() Looking in cache for compiled query bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2026 @JS : Context :loadCompiledQueryBundle() Compiled query bundle is in cache 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2027 @JS : Resolver :resolveRelationship() > Relationship {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1}, [object Object] 2017-07-19 23:33:49.748 UTC [Composer] Debug -> DEBU 2028 @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 2029 @JS : Context :findCompiledQueryBundle() < [object Object] 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202a @JS : AccessController :check() > org.example.mynetwork.Commodity#NNUWETYFKH_c12, CREATE 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202b @JS : Context :initialize() Got compiled query bundle 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202c @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202d @JS : AccessController :check() No participant 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202e @JS : Context :findCompiledAclBundle() > [object Object] 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 202f @JS : Resolver :resolve() < Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 2030 @JS : AccessController :check() < 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 2033 @JS : Resolver :getRegistryForRelationship() > Relationship {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1} 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 2031 @JS : Context :findCompiledAclBundle() Compiled ACL bundle not specified, loading from world state 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2034 @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2035 @JS : Context :loadBusinessNetworkRecord() > 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2036 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2037 Exiting Context.getDataService 1 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2038 @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 2039 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 203a @JS : Resolver :getRegistryForRelationship() Got class declaration ClassDeclaration {id=org.example.mynetwork.Trader super=Participant enum=false abstract=false} 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 203b @JS : Resolver :getRegistryForRelationship() Getting registry org.example.mynetwork.Trader 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 203c Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.750 UTC [Composer] Debug -> DEBU 203d @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 203e @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 203f @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2040 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2041 Exiting Context.getDataService 1 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2042 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.749 UTC [Composer] Debug -> DEBU 2032 @JS : Api :constructor() > [object Object] 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2043 Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2044 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2045 Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2046 Exiting Context.getEventService 1 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2047 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2048 Exiting Context.getDataService 1 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 2049 Entering DataCollection.add &{0xc420141340} 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 204a @JS : Api :constructor() < 2017-07-19 23:33:49.751 UTC [Composer] Debug -> DEBU 204b @JS : CompiledScriptBundle :execute() > [object Object], Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 204c @JS : CompiledScriptBundle :findFunctionNames() > Resource {id=org.example.mynetwork.Trade#24688b7b-1a2d-44aa-8f49-ce455b855919} 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 204d @JS : CompiledScriptBundle :findFunctionNames() Looking at function declaration tradeCommodity 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 204e @JS : CompiledScriptBundle :findFunctionNames() Function is annotated with @transaction 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 204f @JS : CompiledScriptBundle :findFunctionNames() Function parameter type matches transaction 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 2050 @JS : CompiledScriptBundle :findFunctionNames() < tradeCommodity 2017-07-19 23:33:49.752 UTC [Composer] Debug -> DEBU 2051 @JS : CompiledScriptBundle :execute() Executing function tradeCommodity 2017-07-19 23:33:49.754 UTC [Composer] Error -> ERRO 2052 @JS : Engine :invoke() Caught error, rethrowing [object Object] 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2053 Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2054 Exiting Context.getDataService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2055 Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2056 Exiting Context.getEventService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2057 Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2058 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2059 Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205a Exiting Context.getHTTPService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205b Entering Context.getDataService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205c Exiting Context.getDataService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205d Entering Context.getEventService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205e Exiting Context.getEventService 1 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 205f Entering Context.getIdentityService &{0xc4202a2600} 2017-07-19 23:33:49.754 UTC [Composer] Debug -> DEBU 2060 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2061 Entering Context.getHTTPService &{0xc4202a2600} 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2062 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2063 Entering Engine.handleCallback 0xc4211a7560 &{0xc4202a2600} 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2064 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2065 Exiting Composer.Invoke Error: Object with ID 'SZFYAIRVVP_c8' in collection with ID 'Asset:org.example.mynetwork.Commodity' does not exist 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2066 Entering ComposerPool.Put &{0xc420150160 0xc420366870 0xc4200284f8} 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2067 Exiting ComposerPool.Put false 2017-07-19 23:33:49.755 UTC [Composer] Debug -> DEBU 2068 Exiting Chaincode.Invoke 500 Error: Object with ID 'SZFYAIRVVP_c8' in collection with ID 'Asset:org.example.mynetwork.Commodity' does not exist 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 2069 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc4205b70a0 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206a Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc42062de40 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206b Exiting NewDataCollection &{0xc4201433a0 0xc42054ca80 $sysregistries} 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206c Exiting DataService.getCollection 0 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206d Exiting NewDataCollection &{0xc4202ff190 0xc42111c380 $sysregistries} 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206e Exiting DataService.getCollection 0 2017-07-19 23:33:49.758 UTC [Composer] Debug -> DEBU 206f @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.759 UTC [Composer] Debug -> DEBU 2070 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.759 UTC [Composer] Debug -> DEBU 2071 Exiting Context.getDataService 1 2017-07-19 23:33:49.759 UTC [Composer] Debug -> DEBU 2072 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.760 UTC [Composer] Debug -> DEBU 2073 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.760 UTC [Composer] Debug -> DEBU 2074 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.760 UTC [Composer] Debug -> DEBU 2075 Exiting Context.getDataService 1 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2076 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2077 Exiting DataCollection.add 0 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2078 Exiting DataCollection.get 0 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2079 @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207a Entering DataService.getCollection &{0xc4201455c0} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207b Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207c Exiting Context.getDataService 1 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207d Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207e Exiting Context.getEventService 1 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 207f Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2080 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2081 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.761 UTC [Composer] Debug -> DEBU 2082 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2083 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc4205b7b20 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2084 Exiting NewDataCollection &{0xc4201433c8 0xc42054ca80 $sysidentities} 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2085 Exiting DataService.getCollection 0 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2086 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2087 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2088 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 2089 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 208a Entering IdentityService.getCurrentUserID &{0xc4201450e0} 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 208b Entering extractNameFromCreator 0xc420550170 2017-07-19 23:33:49.762 UTC [Composer] Debug -> DEBU 208c creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 208d Exiting extractNameFromCreator admin 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 208e Common Name admin 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 208f Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 2090 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 2091 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 2092 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 2093 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.763 UTC [Composer] Debug -> DEBU 2094 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 2095 @JS : AccessController :constructor() < 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 2096 @JS : Context :initialize() < 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 2097 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 2098 Exiting Context.getDataService 1 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 2099 Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 209a Exiting Context.getEventService 1 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 209b Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 209c Exiting Context.getIdentityService 1 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 209d Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.764 UTC [Composer] Debug -> DEBU 209e Exiting Context.getHTTPService 1 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 209f @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 20a0 @JS : EngineResources :addResourceToRegistry() > [object Object], Participant,org.example.mynetwork.Trader,{"$class":"org.example.mynetwork.Trader","tradeId":"QREJIOVSAJ_t6","firstName":"Testing","lastName":"Test"} 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 20a1 Entering NewDataCollection &{0xc4201455c0} &{0xc420142280 0xc4211a8500} 0xc420551900 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 20a2 Exiting NewDataCollection &{0xc4201433d8 0xc4211a8500 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 20a3 Exiting DataService.getCollection 0 2017-07-19 23:33:49.765 UTC [Composer] Debug -> DEBU 20a4 Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc420568400 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20a5 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20a6 Exiting Context.getDataService 1 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20a7 Entering DataCollection.get &{0xc4201450e0} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20a8 Exiting NewDataCollection &{0xc4202ff1f8 0xc420390c00 $sysdata} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20a9 Exiting DataService.getCollection 0 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20aa @JS : Context :loadBusinessNetworkRecord() Getting business network archive from the $sysdata collection 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20ab Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20ac @JS : Resolver :getRegistryForRelationship() < [object Object] 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20ad Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20ae Exiting Context.getDataService 1 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20af Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20b0 Exiting Context.getEventService 1 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20b1 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20b2 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20b3 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.766 UTC [Composer] Debug -> DEBU 20b4 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20b5 @JS : Resolver :resolveRelationship() Getting resource in registry VKWCBHWYIZ_t1 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20b6 Entering DataCollection.get &{0xc4201455c0} 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20b7 Entering EventService.transactionCommit &{0xc420141340} 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20b8 @JS : EventService :getEvents() > 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20b9 @JS : EventService :getEvents() < 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20ba Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.767 UTC [Composer] Debug -> DEBU 20bb Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20bc Entering Context.getDataService &{0xc420141340} 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20bd Exiting Context.getDataService 1 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20be Entering Context.getEventService &{0xc420141340} 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20bf Exiting Context.getEventService 1 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c0 Entering Context.getIdentityService &{0xc420141340} 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c1 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c2 Entering Context.getHTTPService &{0xc420141340} 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c3 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c4 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc4205687c0 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c5 Exiting NewDataCollection &{0xc4201513a8 0xc42111c380 $sysidentities} 2017-07-19 23:33:49.768 UTC [Composer] Debug -> DEBU 20c6 Exiting DataService.getCollection 0 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20c7 @JS : Engine :invoke() < 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20c8 Entering Engine.handleCallback 0xc421212000 &{0xc420141340} 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20c9 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20ca @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20cc @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20cd Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20ce Exiting Context.getIdentityService 1 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20cf Entering IdentityService.getCurrentUserID &{0xc4201cf140} 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d0 Entering extractNameFromCreator 0xc420568dc0 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d1 creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20cb Exiting Composer.Invoke 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d2 Entering ComposerPool.Put &{0xc420150150 0xc42040f710 0xc4201425c8} 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d3 Exiting ComposerPool.Put false 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d4 Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.769 UTC [Composer] Debug -> DEBU 20d5 Exiting extractNameFromCreator admin 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20d6 Common Name admin 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20d7 Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20d8 @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20d9 @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20da @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.770 UTC [Composer] Debug -> DEBU 20db @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.771 UTC [Composer] Debug -> DEBU 20dc @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.771 UTC [Composer] Debug -> DEBU 20dd @JS : AccessController :constructor() < 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20df @JS : Context :initialize() < 2017-07-19 23:33:49.771 UTC [Composer] Debug -> DEBU 20de Exiting DataCollection.get 0 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e0 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e1 Exiting Context.getDataService 1 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e2 Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e3 Exiting Context.getEventService 1 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e4 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e5 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e6 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e7 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.772 UTC [Composer] Debug -> DEBU 20e8 Entering DataService.getCollection &{0xc4201450e0} 2017-07-19 23:33:49.773 UTC [Composer] Debug -> DEBU 20e9 Exiting DataCollection.get 0 2017-07-19 23:33:49.773 UTC [Composer] Debug -> DEBU 20ea @JS : Context :[object Object]() < 2017-07-19 23:33:49.773 UTC [Composer] Debug -> DEBU 20ec @JS : Context :loadCompiledAclBundle() > 2017-07-19 23:33:49.773 UTC [Composer] Debug -> DEBU 20eb @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.774 UTC [Composer] Debug -> DEBU 20ed @JS : Context :loadCompiledAclBundle() Looking in cache for compiled ACL bundle d92c270ede7e3388c9c25115f41fd7bdd61fa5ecf2f3cf212e34620137d9cd26 2017-07-19 23:33:49.774 UTC [Composer] Debug -> DEBU 20ee @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"AVDFKQTFEK_c10","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#AVDFKQTFEK_t6"} 2017-07-19 23:33:49.774 UTC [Composer] Debug -> DEBU 20ef @JS : Context :loadCompiledAclBundle() Compiled ACL bundle is in cache 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f0 @JS : Context :findCompiledAclBundle() < [object Object] 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f1 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f2 Exiting Context.getDataService 1 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f3 Entering DataCollection.get &{0xc4201cf140} 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f4 @JS : Context :initialize() Got compiled ACL bundle 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f5 @JS : Context :initialize() Loading sysregistries collection 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f6 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f7 Exiting Context.getDataService 1 2017-07-19 23:33:49.775 UTC [Composer] Debug -> DEBU 20f8 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.779 UTC [Composer] Debug -> DEBU 20f9 Exiting DataCollection.get 0 2017-07-19 23:33:49.779 UTC [Composer] Debug -> DEBU 20fa @JS : AccessController :check() > org.example.mynetwork.Trader#VKWCBHWYIZ_t1, READ 2017-07-19 23:33:49.780 UTC [Composer] Debug -> DEBU 20fb @JS : AccessController :check() No participant 2017-07-19 23:33:49.780 UTC [Composer] Debug -> DEBU 20fc @JS : AccessController :check() < 2017-07-19 23:33:49.780 UTC [Composer] Debug -> DEBU 20fd @JS : Resolver :resolveRelationship() Got resource from registry, resolving 2017-07-19 23:33:49.780 UTC [Composer] Debug -> DEBU 20fe Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc4204c25e0 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 20ff @JS : Resolver :resolveResourceOrConcept() > Resource {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1}, [object Object] 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2100 Exiting NewDataCollection &{0xc420143670 0xc420390c00 $sysregistries} 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2101 Exiting DataService.getCollection 0 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2102 @JS : Context :initialize() Loading sysidentities collection 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2103 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2104 Exiting Context.getDataService 1 2017-07-19 23:33:49.781 UTC [Composer] Debug -> DEBU 2105 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.782 UTC [Composer] Debug -> DEBU 2106 @JS : Resolver :resolveResourceOrConcept() Looking at property tradeId 2017-07-19 23:33:49.782 UTC [Composer] Debug -> DEBU 2107 @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring VKWCBHWYIZ_t1 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 2109 @JS : Resolver :resolveResourceOrConcept() Looking at property firstName 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 2108 Entering NewDataCollection &{0xc4201450e0} &{0xc420142270 0xc42054ca80} 0xc42051b8a0 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210a @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Testing 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210b Exiting NewDataCollection &{0xc4201435f0 0xc42054ca80 Participant:org.example.mynetwork.Trader} 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210c Exiting DataService.getCollection 0 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210d @JS : Resolver :resolveResourceOrConcept() Looking at property lastName 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210e @JS : Resolver :resolveResourceOrConcept() Property value is neither a resource or a relationship, ignoring Test 2017-07-19 23:33:49.783 UTC [Composer] Debug -> DEBU 210f @JS : AccessController :check() > org.example.mynetwork.Trader#QREJIOVSAJ_t6, CREATE 2017-07-19 23:33:49.784 UTC [Composer] Debug -> DEBU 2110 @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1} 2017-07-19 23:33:49.784 UTC [Composer] Debug -> DEBU 2111 @JS : AccessController :check() No participant 2017-07-19 23:33:49.784 UTC [Composer] Debug -> DEBU 2112 @JS : Resolver :resolveRelationship() < Resource {id=org.example.mynetwork.Trader#VKWCBHWYIZ_t1} 2017-07-19 23:33:49.784 UTC [Composer] Debug -> DEBU 2113 @JS : AccessController :check() < 2017-07-19 23:33:49.784 UTC [Composer] Debug -> DEBU 2114 @JS : Resolver :resolveResourceOrConcept() < Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.785 UTC [Composer] Debug -> DEBU 2115 Entering DataCollection.add &{0xc4201450e0} 2017-07-19 23:33:49.785 UTC [Composer] Debug -> DEBU 2116 @JS : Resolver :resolve() < Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 2117 @JS : Api :constructor() > [object Object] 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 2118 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 2119 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211a Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211b Exiting Context.getEventService 1 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211c Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211d Exiting Context.getDataService 1 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211e @JS : Api :constructor() < 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 211f Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc42051be30 2017-07-19 23:33:49.786 UTC [Composer] Debug -> DEBU 2120 Exiting DataCollection.get 0 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2121 Exiting NewDataCollection &{0xc420029468 0xc420390c00 $sysidentities} 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2122 Entering DataService.getCollection &{0xc4201cf140} 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2123 Exiting DataService.getCollection 0 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2124 @JS : Context :initialize() Loading current participant 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2125 @JS : Context :loadCurrentParticipant() > 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2126 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2127 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2128 Entering IdentityService.getCurrentUserID &{0xc42027a680} 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 2129 Entering extractNameFromCreator 0xc420442480 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 212a creator Org1MSP�-----BEGIN CERTIFICATE----- MIIB8TCCAZegAwIBAgIUYZnN44Yop1rjkJM+OroIwJ8r0pMwCgYIKoZIzj0EAwIw czELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMT E2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTcwNzE5MjMyNTAwWhcNMTgwNzE5MjMy NTAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BG62SrvgGRy8fMT8YoK5c1TcgdM+XKSqxPQ7F0udcszFxnxOo3LUVpPosdODDQ4U YTJMk0XZSEh2DK61MS5AxKejbDBqMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8E AjAAMB0GA1UdDgQWBBQJcd1TZDCeqarFZh6K8aXmns3oLjArBgNVHSMEJDAigCAZ q2WruwSAfa0S5MCpqqZknnCGjjq9AhejItieR+GmrjAKBggqhkjOPQQDAgNIADBF AiEAmlwF1YPtkOxzHU4xaaYa3jw7lplS1FJwnjAz81W+3j0CIHxIvWyy1KnRMm/U gLwlWTtSv8LY4XpXkbeSK9880+xM -----END CERTIFICATE----- 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 212b Exiting extractNameFromCreator admin 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 212c Common Name admin 2017-07-19 23:33:49.787 UTC [Composer] Debug -> DEBU 212d Exiting IdentityService.getCurrentUserID 1 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 212e @JS : Context :loadCurrentParticipant() Got current user ID null 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 212f @JS : Context :loadCurrentParticipant() Could not determine current user ID 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 2130 @JS : Context :loadCurrentParticipant() < null 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 2131 @JS : Context :initialize() Setting current participant null 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 2132 @JS : AccessController :constructor() > [object Object] 2017-07-19 23:33:49.788 UTC [Composer] Debug -> DEBU 2133 @JS : AccessController :constructor() < 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2134 @JS : Context :initialize() < 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2135 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2136 Exiting Context.getDataService 1 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2137 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2138 Exiting Context.getEventService 1 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 2139 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 213a Exiting Context.getIdentityService 1 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 213b Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.789 UTC [Composer] Debug -> DEBU 213c Exiting Context.getHTTPService 1 2017-07-19 23:33:49.790 UTC [Composer] Debug -> DEBU 213d @JS : Engine :invoke() Calling engine function addResourceToRegistry 2017-07-19 23:33:49.790 UTC [Composer] Debug -> DEBU 213e @JS : EngineResources :addResourceToRegistry() > [object Object], Asset,org.example.mynetwork.Commodity,{"$class":"org.example.mynetwork.Commodity","tradingSymbol":"DRVBMVGSZH_c6","description":"Sample Commodity","mainExchange":"IDK","quantity":0,"owner":"resource:org.example.mynetwork.Trader#DRVBMVGSZH_t5"} 2017-07-19 23:33:49.790 UTC [Composer] Debug -> DEBU 2140 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.790 UTC [Composer] Debug -> DEBU 2141 Exiting Context.getDataService 1 2017-07-19 23:33:49.791 UTC [Composer] Debug -> DEBU 2142 Entering DataCollection.get &{0xc42027a680} 2017-07-19 23:33:49.790 UTC [Composer] Debug -> DEBU 213f @JS : CompiledScriptBundle :execute() > [object Object], Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.791 UTC [Composer] Debug -> DEBU 2143 @JS : CompiledScriptBundle :findFunctionNames() > Resource {id=org.example.mynetwork.Trade#a17330ce-96d0-41e9-aff6-01b2aec6fe45} 2017-07-19 23:33:49.791 UTC [Composer] Debug -> DEBU 2144 @JS : CompiledScriptBundle :findFunctionNames() Looking at function declaration tradeCommodity 2017-07-19 23:33:49.791 UTC [Composer] Debug -> DEBU 2145 @JS : CompiledScriptBundle :findFunctionNames() Function is annotated with @transaction 2017-07-19 23:33:49.792 UTC [Composer] Debug -> DEBU 2146 @JS : CompiledScriptBundle :findFunctionNames() Function parameter type matches transaction 2017-07-19 23:33:49.792 UTC [Composer] Debug -> DEBU 2147 @JS : CompiledScriptBundle :findFunctionNames() < tradeCommodity 2017-07-19 23:33:49.792 UTC [Composer] Debug -> DEBU 2148 @JS : CompiledScriptBundle :execute() Executing function tradeCommodity 2017-07-19 23:33:49.793 UTC [Composer] Error -> ERRO 2149 @JS : Engine :invoke() Caught error, rethrowing [object Object] 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214a Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214b Exiting Context.getDataService 1 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214c Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214d Exiting Context.getEventService 1 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214e Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 214f Exiting Context.getIdentityService 1 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 2150 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.793 UTC [Composer] Debug -> DEBU 2151 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2152 Entering Context.getDataService &{0xc4201455c0} 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2153 Exiting Context.getDataService 1 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2154 Entering Context.getEventService &{0xc4201455c0} 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2155 Exiting Context.getEventService 1 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2156 Entering Context.getIdentityService &{0xc4201455c0} 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2157 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2158 Entering Context.getHTTPService &{0xc4201455c0} 2017-07-19 23:33:49.794 UTC [Composer] Debug -> DEBU 2159 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.795 UTC [Composer] Debug -> DEBU 215a Entering Engine.handleCallback 0xc4211a7800 &{0xc4201455c0} 2017-07-19 23:33:49.795 UTC [Composer] Debug -> DEBU 215b Exiting Engine.handleCallback 0 2017-07-19 23:33:49.796 UTC [Composer] Debug -> DEBU 215c Exiting Composer.Invoke Error: Object with ID 'VKWCBHWYIZ_c8' in collection with ID 'Asset:org.example.mynetwork.Commodity' does not exist 2017-07-19 23:33:49.796 UTC [Composer] Debug -> DEBU 215d Entering ComposerPool.Put &{0xc420142280 0xc420569f80 0xc420028bb8} 2017-07-19 23:33:49.796 UTC [Composer] Debug -> DEBU 215e Exiting ComposerPool.Put false 2017-07-19 23:33:49.796 UTC [Composer] Debug -> DEBU 215f Exiting Chaincode.Invoke 500 Error: Object with ID 'VKWCBHWYIZ_c8' in collection with ID 'Asset:org.example.mynetwork.Commodity' does not exist 2017-07-19 23:33:49.799 UTC [Composer] Debug -> DEBU 2160 Entering NewDataCollection &{0xc4201cf140} &{0xc420028028 0xc42111c380} 0xc420476160 2017-07-19 23:33:49.800 UTC [Composer] Debug -> DEBU 2161 Exiting NewDataCollection &{0xc420029470 0xc42111c380 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.800 UTC [Composer] Debug -> DEBU 2162 Exiting DataService.getCollection 0 2017-07-19 23:33:49.800 UTC [Composer] Debug -> DEBU 2163 @JS : AccessController :check() > org.example.mynetwork.Commodity#AVDFKQTFEK_c10, CREATE 2017-07-19 23:33:49.800 UTC [Composer] Debug -> DEBU 2164 @JS : AccessController :check() No participant 2017-07-19 23:33:49.801 UTC [Composer] Debug -> DEBU 2165 @JS : AccessController :check() < 2017-07-19 23:33:49.801 UTC [Composer] Debug -> DEBU 2166 Exiting DataCollection.get 0 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2167 Entering DataService.getCollection &{0xc42027a680} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2168 Exiting DataCollection.add 0 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2169 @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216a Entering DataCollection.add &{0xc4201cf140} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216b Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216c Exiting Context.getDataService 1 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216d Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216e Exiting Context.getEventService 1 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 216f Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2170 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2171 Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.802 UTC [Composer] Debug -> DEBU 2172 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2173 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2174 Exiting Context.getDataService 1 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2175 Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2176 Exiting Context.getEventService 1 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2177 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2178 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 2179 Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 217a Exiting Context.getHTTPService 1 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 217b Entering EventService.transactionCommit &{0xc4201450e0} 2017-07-19 23:33:49.803 UTC [Composer] Debug -> DEBU 217c @JS : EventService :getEvents() > 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 217d @JS : EventService :getEvents() < 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 217e Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 217f Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2180 Entering Context.getDataService &{0xc4201450e0} 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2181 Exiting Context.getDataService 1 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2182 Entering Context.getEventService &{0xc4201450e0} 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2183 Exiting Context.getEventService 1 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2184 Entering Context.getIdentityService &{0xc4201450e0} 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2185 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2186 Entering Context.getHTTPService &{0xc4201450e0} 2017-07-19 23:33:49.804 UTC [Composer] Debug -> DEBU 2187 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 2188 @JS : Engine :invoke() < 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 2189 Entering Engine.handleCallback 0xc42038a480 &{0xc4201450e0} 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 218a Exiting Engine.handleCallback 0 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 218b Exiting Composer.Invoke 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 218c Entering ComposerPool.Put &{0xc420142270 0xc421232530 0xc420143368} 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 218d Exiting ComposerPool.Put false 2017-07-19 23:33:49.805 UTC [Composer] Debug -> DEBU 218e Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.809 UTC [Composer] Debug -> DEBU 218f Entering NewDataCollection &{0xc42027a680} &{0xc4202fe008 0xc420390c00} 0xc4204c3e00 2017-07-19 23:33:49.809 UTC [Composer] Debug -> DEBU 2190 Exiting NewDataCollection &{0xc420143838 0xc420390c00 Asset:org.example.mynetwork.Commodity} 2017-07-19 23:33:49.809 UTC [Composer] Debug -> DEBU 2191 Exiting DataService.getCollection 0 2017-07-19 23:33:49.810 UTC [Composer] Debug -> DEBU 2192 @JS : AccessController :check() > org.example.mynetwork.Commodity#DRVBMVGSZH_c6, CREATE 2017-07-19 23:33:49.810 UTC [Composer] Debug -> DEBU 2193 @JS : AccessController :check() No participant 2017-07-19 23:33:49.810 UTC [Composer] Debug -> DEBU 2194 @JS : AccessController :check() < 2017-07-19 23:33:49.811 UTC [Composer] Debug -> DEBU 2195 Entering DataCollection.add &{0xc42027a680} 2017-07-19 23:33:49.811 UTC [Composer] Debug -> DEBU 2196 Exiting DataCollection.add 0 2017-07-19 23:33:49.812 UTC [Composer] Debug -> DEBU 2197 @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 2198 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 2199 Exiting Context.getDataService 1 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219a Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219b Exiting Context.getEventService 1 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219c Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219d Exiting Context.getIdentityService 1 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219e Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.813 UTC [Composer] Debug -> DEBU 219f Exiting Context.getHTTPService 1 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a0 Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a1 Exiting Context.getDataService 1 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a2 Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a3 Exiting Context.getEventService 1 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a4 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a5 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a6 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.814 UTC [Composer] Debug -> DEBU 21a7 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21a8 Entering EventService.transactionCommit &{0xc4201cf140} 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21a9 @JS : EventService :getEvents() > 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21aa @JS : EventService :getEvents() < 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21ab Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21ac Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.815 UTC [Composer] Debug -> DEBU 21ad Entering Context.getDataService &{0xc4201cf140} 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21ae Exiting Context.getDataService 1 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21af Entering Context.getEventService &{0xc4201cf140} 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21b0 Exiting Context.getEventService 1 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21b1 Entering Context.getIdentityService &{0xc4201cf140} 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21b2 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21b3 Entering Context.getHTTPService &{0xc4201cf140} 2017-07-19 23:33:49.816 UTC [Composer] Debug -> DEBU 21b4 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21b5 @JS : Engine :invoke() < 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21b6 Entering Engine.handleCallback 0xc42038a960 &{0xc4201cf140} 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21b7 Exiting Engine.handleCallback 0 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21b8 Exiting Composer.Invoke 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21b9 Entering ComposerPool.Put &{0xc420028028 0xc42051bc00 0xc4202fe7b8} 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21ba Exiting ComposerPool.Put false 2017-07-19 23:33:49.817 UTC [Composer] Debug -> DEBU 21bb Exiting Chaincode.Invoke 200 2017-07-19 23:33:49.823 UTC [Composer] Debug -> DEBU 21bc Exiting DataCollection.add 0 2017-07-19 23:33:49.823 UTC [Composer] Debug -> DEBU 21bd @JS : EngineResources :addResourceToRegistry() < 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21be Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21bf Exiting Context.getDataService 1 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c0 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c1 Exiting Context.getEventService 1 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c2 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c3 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c4 Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c5 Exiting Context.getHTTPService 1 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c6 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.824 UTC [Composer] Debug -> DEBU 21c7 Exiting Context.getDataService 1 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21c8 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21c9 Exiting Context.getEventService 1 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21ca Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21cb Exiting Context.getIdentityService 1 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21cc Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21cd Exiting Context.getHTTPService 1 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21ce Entering EventService.transactionCommit &{0xc42027a680} 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21cf @JS : EventService :getEvents() > 2017-07-19 23:33:49.825 UTC [Composer] Debug -> DEBU 21d0 @JS : EventService :getEvents() < 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d1 Emitting event from EventService.transactionCommit [] 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d2 Exiting EventService.transactionCommit 0 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d3 Entering Context.getDataService &{0xc42027a680} 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d4 Exiting Context.getDataService 1 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d5 Entering Context.getEventService &{0xc42027a680} 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d6 Exiting Context.getEventService 1 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d7 Entering Context.getIdentityService &{0xc42027a680} 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d8 Exiting Context.getIdentityService 1 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21d9 Entering Context.getHTTPService &{0xc42027a680} 2017-07-19 23:33:49.826 UTC [Composer] Debug -> DEBU 21da Exiting Context.getHTTPService 1 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21db @JS : Engine :invoke() < 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21dc Entering Engine.handleCallback 0xc4202ae300 &{0xc42027a680} 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21dd Exiting Engine.handleCallback 0 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21de Exiting Composer.Invoke 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21df Entering ComposerPool.Put &{0xc4202fe008 0xc4210ea5f0 0xc420142f60} 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21e0 Exiting ComposerPool.Put false 2017-07-19 23:33:49.827 UTC [Composer] Debug -> DEBU 21e1 Exiting Chaincode.Invoke 200