Changes between Version 449 and Version 450 of WikiStart


Ignore:
Timestamp:
08/04/21 11:35:09 (3 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v449 v450  
    11211121If you want to compile older GeniusWeb 1.X code (parties or core code), Check the [wiki:Build1.6]
    11221122
    1123 There are a few small differences between GeniusWeb 1.6 and 2.0. These concern some json formatting changes, some maven dependencies.
    1124 
    1125 == json changes
    1126 
    1127 The change here involves the json serialization of a number of objects. Most parties only will need recompilation, as the serialization to java objects already is done by the GeniusWeb libraries.
    1128 All objects now serialize by there class name (so the exceptions were changed)
    1129 The following table gives the old label and the new replacement label
    1130 
    1131 ||old ||new||
    1132 ||accept||Accept||
    1133 ||endnegotiation||EndNegotiation||
    1134 ||offer||Offer||
    1135 ||vote||Vote||
    1136 ||votewithvalue||VoteWithValue||
    1137 ||actionevent||ActionEvent||
    1138 ||sessionstarted||SessionStarted||
    1139 ||tournamentstarted||TournamentStarted||
    1140 ||discreteset||DiscreteValueSet||
    1141 ||numberset||NumberValueSet||
    1142 ||discreteutils||DiscreteValueSetUtilities||
    1143 ||numberutils||NumberValueSetUtilities||
    1144 ||partsutils||PartsUtilities||
    1145 ||rounds||ProgressRounds||
    1146 ||time||ProgressTime||
    1147 
    1148 Finally, the Range object now serializes different:
    1149 ||[2,3,0.22]||{{{ {"low":2,"high":3,"step":0.22} }}}||
    1150 
    1151 == Maven changes
    1152 The maven dependencies
    1153 
    1154 {{{
    1155 <dependency>
    1156         <groupId>tudelft.utilities</groupId>
    1157         <artifactId>files / listener / tree / repository</artifactId>
    1158         <version>2.1.0</version>
    1159 </dependency>
    1160 }}}
    1161 
    1162 and
    1163 {{{
    1164 <dependency>
    1165     <groupId>tudelft.utilities</groupId>
    1166     <artifactId>immutablelist</artifactId>
    1167     <version>....</version>
    1168 </dependency>
    1169 }}}
    1170 
    1171 have all been replaced with
    1172 {{{
    1173 <dependency>
    1174         <groupId>tudelft.utilities</groupId>
    1175         <artifactId>utilities</artifactId>
    1176         <version>1.1.0</version>
    1177 </dependency>
    1178 }}}
    1179 
    1180 == BOA
    1181 There are a number of changes in the BOA system that may require you to change your BOA components.
    1182 
    1183 * BoaState does not contain AS and BS anymore. AS and BS therefore can not call each other anymore. This is crucial to avoid mutual dependencies and infinite loops.
    1184 * AccceptanceStrategy now accepts the proposed action (rather than the last received bid).
    1185 * AS now filters the actions that came from the BS.