[ANN] powertac-common 0.3.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] powertac-common 0.3.2

Carsten Block
Administrator
Changes
------------
1.) Plugin now automatically sets the property "grails.validateable.packages = ['org.powertac.common.command']" in grails-app/conf/Config.groovy upon installation. This config entry is required to make the Command objects @Validateable
2.) CompetitionBaseEvents.java renamed -> CompetitionEventAware (it is the interface not the implementing class.Consequently it should not be called XyzListener)
3.) The Plugin interface definitions no longer extend CompetitonEventAware. Instead, if a plugin needs to react to these events, it simply needs to implement CompetitionEventAware itself (in addition to the, say, Customer interface)
4.) The typo that Daniel Schnurr discovered (ShoutExeption) is fixed (already in 0.3.1)
5.) Competition.currentCompetition() method added that returns the currently running competition (or null otherwise)
6.) AccountingService interface refined: processTariffPublished(), processTariffReply(), and processTariffRevoke() now all return Tariff domain instances

To Upgrade:
-----------------
To use the updated powertac-common plugin in your own plugin development you have to upgrade the plugin:
1.) On the command line: grails install-plugin powertac-common 0.3.2 (you'll be asked if you really want to update the plugin
2.) In you /plugin/root/directory  update your PowertacXxxPlugin.groovy:  def dependsOn = ["powertacCommon":"0.3.2"]