Skip to content

Releases: ChargeTimeEU/Java-OCA-OCPP

v1.2

22 Feb 09:38
3dce708
Compare
Choose a tag to compare

Note, the version is 1.2 not 2.0, my bad. This version implements OCPP 2.0.1, but since it shouldn't introduce breaking changes there's no reason to bump the major version number. Sorry.

Mayor contribution

What's Changed

  • Allow listVersion 0 in SendLocalListRequest by @robert-s-ubi in #201
  • Upgrade Java-Websocket dependency to 1.5.3 by @m-oben in #204
  • Unwanted JSON HTML character escaping by @m-oben in #207
  • Use key when checking if session is in the Map. by @dimaa6 in #209
  • Add ConfirmationCompletedHandler by @emilm in #210
  • Fix SOAP serialization for #213 by @emilm in #214
  • Asynchronous execution by @dimaa6 in #215
  • Add session id to logs for no active session by @jmluy in #218
  • Allow JSONClient reconfiguration when connected by @robert-s-ubi in #220
  • ocpp-v1_6: BootNotificationRequest: Allow optional properties to be set null by @bantu in #223
  • validate via test and use suggested fix from #231 by @mmauksch in #243
  • Bump GH Actions versions and add Dependabot to monitor our dependencies. by @slachiewicz in #245
  • Bump org.java-websocket:Java-WebSocket from 1.5.3 to 1.5.4 by @dependabot in #247
  • Bump junit:junit from 4.13.1 to 4.13.2 by @dependabot in #250
  • Bump github/codeql-action from 1 to 2 by @dependabot in #248
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.5 to 0.8.10 by @dependabot in #246
  • Bump org.codehaus.gmavenplus:gmavenplus-plugin from 1.13.1 to 3.0.2 by @dependabot in #249
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 2.9.1 to 3.6.0 by @dependabot in #252
  • Bump com.google.code.findbugs:jsr305 from 3.0.1 to 3.0.2 by @dependabot in #253
  • Bump ch.qos.logback:logback-classic from 1.2.0 to 1.4.11 by @dependabot in #254
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.5.1 to 3.11.0 by @dependabot in #255
  • Bump org.slf4j:slf4j-api from 1.7.25 to 2.0.9 by @dependabot in #256
  • Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.8 to 1.6.13 by @dependabot in #258
  • Bump ch.qos.logback:logback-core from 1.2.9 to 1.4.11 by @dependabot in #259
  • Bump javax.xml.bind:jaxb-api from 2.1 to 2.3.1 by @dependabot in #261
  • Bump com.google.code.gson:gson from 2.8.9 to 2.10.1 by @dependabot in #262
  • Bump org.hamcrest:hamcrest-core from 1.3 to 2.2 by @dependabot in #260
  • Bump org.spockframework:spock-core from 1.0-groovy-2.4 to 2.3-groovy-4.0 by @dependabot in #257
  • Move Tests to Mockito4 by @slachiewicz in #264
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 1.5 to 3.1.0 by @dependabot in #266
  • Bump org.apache.maven.plugins:maven-source-plugin from 2.2.1 to 3.3.0 by @dependabot in #267
  • Bump org.slf4j:jul-to-slf4j from 1.7.10 to 2.0.9 by @dependabot in #268
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 2.22.2 to 3.1.2 by @dependabot in #269
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.11 by @dependabot in #271
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 by @dependabot in #272
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 by @dependabot in #273
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 by @dependabot in #274
  • Bump ch.qos.logback:logback-classic from 1.4.11 to 1.4.13 by @dependabot in #279
  • Bump ch.qos.logback:logback-core from 1.4.11 to 1.4.12 in /ocpp-v2_0-test by @dependabot in #281
  • Bump ch.qos.logback:logback-core from 1.4.11 to 1.4.12 in /ocpp-v1_6-test by @dependabot in #282
  • Bump ch.qos.logback:logback-core from 1.4.11 to 1.4.12 in /ocpp-v2-test by @dependabot in #283
  • Bump ch.qos.logback:logback-core from 1.4.11 to 1.4.13 by @dependabot in #280
  • Revert "GitHub Actions: Downgrade maven workflow to 11.0.16+8" by @bantu in #306
  • Allow configuration of allowed password string length by @Joo200 in #308

New Contributors

Full Changelog: v1.1...v2.0

v1.1

11 Jul 12:20
Compare
Choose a tag to compare

What's Changed

  • Added IP address by @emilm in #18
  • added logging based on slf4j by @CptMauli in #22
  • Replaced slf4j with log4j 2 by @emilm in #27
  • Adding all Parameter for ClientCoreProfile factory by @steven-smpct in #28
  • Add a namespace fix to get 1.6 soap request through by @lahnaoja in #30
  • Fix namespace in soap headers of responses by @lahnaoja in #32
  • Changing Ping interval, added debugging message, fixed Sec-WebSocket-Protocol, and fixed wss by @steven-smpct in #33
  • Revert "Changing Ping interval, added debugging message, fixed Sec-We… by @TVolden in #35
  • Add DiagnosticsStatusNotification support. by @sumlin in #38
  • Switched logging to slf4j + logback. by @eupakhomov in #39
  • 0.5 use optionals by @eupakhomov in #40
  • 0.5 closed flag exposed by @eupakhomov in #41
  • 0.5 wss support by @eupakhomov in #42
  • 0.5 changeable ping interval by @eupakhomov in #43
  • 0.5 new utilities by @eupakhomov in #44
  • 0.5 json stable under load by @eupakhomov in #45
  • 0.5 cleanup by @eupakhomov in #47
  • Add FirmwareStatusNotification support. by @sumlin in #48
  • 0.5 test coverage for utilities by @eupakhomov in #49
  • Resolve all conflicts for these commits by @sumlin in #56
  • 0.5 cleanup spec added to json tests by @eupakhomov in #55
  • Small changes for PR #56. by @sumlin in #58
  • Tests added, critical Sonar complains resolved by @eupakhomov in #59
  • Propertyconstraintexception is unchecked by @spyros87 in #65
  • Let #getRetries() return an Integer instead of int by @rtzll in #67
  • Add create methods to the ClientFirmwareManagementProfile by @rtzll in #68
  • Add UUID parameter to server firmware management handler by @eupakhomov in #70
  • Fixes for compatibility and cleanup issues by @eupakhomov in #69
  • JSONCommunicator: use ZonedDateTime to parse OCPP DateTime (ISO8601) by @JanLapp in #73
  • Add some logs: send and recv events. by @sumlin in #76
  • Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to StringHelper. by @sumlin in #77
  • Bugfix/set charging profile request by @froehr in #80
  • Change SetChargingProfile.req attribute validation according to documentation by @froehr in #83
  • Implement ClearChargingProfileRequest and Confirmation by @froehr in #85
  • Add transactionId to validation method of StartTransactionConfirmation by @simonweiser in #91
  • improve FeatureRepository impl performance by @goekay in #96
  • Multiple changes by @raddatzk in #101
  • Allow zero interval by @TVolden in #107
  • fixed wrong case in parameter. by @TVolden in #106
  • fix(common): set correct description from CallError by @thetric in #108
  • Update to fix verifyGoogleJavaFormat exception issue #106 by @artado in #109
  • Update GetCompositeScheduleRequest.java by @TVolden in #113
  • Make OCPP library compatible with Android 8 by @robert-s-ubi in #116
  • Bump Java-WebSocket from 1.3.8 to 1.5.0 in /OCPP-J by @dependabot in #117
  • Bump Java-WebSocket from 1.3.8 to 1.5.0 in /ocpp-v1_6 by @dependabot in #119
  • Bump Java-WebSocket from 1.3.8 to 1.5.0 in /ocpp-v2_0 by @dependabot in #118
  • Really allow zero interval + fix integer comparisons by @marcinar in #120
  • Fix NPE on incoming DataTransferRequest by @TomMarkuske in #122
  • Add support for HTTP Basic Authentication by @robert-s-ubi in #123
  • Bump Java-WebSocket consistently to 1.5.1 by @robert-s-ubi in #124
  • Bump junit from 4.12 to 4.13.1 in /ocpp-v1_6 by @dependabot in #127
  • Bump junit from 4.12 to 4.13.1 in /ocpp-common by @dependabot in #125
  • Bump junit from 4.12 to 4.13.1 in /ocpp-v1_6-test by @dependabot in #126
  • Bump junit from 4.12 to 4.13.1 in /ocpp-v2_0 by @dependabot in #128
  • Bump junit from 4.12 to 4.13.1 in /ocpp-v2_0-test by @dependabot in #129
  • Bump junit from 4.12 to 4.13.1 in /OCPP-J by @dependabot in #130
  • Allow omitting all optional SampledValue fields by @robert-s-ubi in #140
  • Bump logback-classic from 1.1.2 to 1.2.0 in /ocpp-v2_0-test by @dependabot in #149
  • Bump logback-classic from 1.1.2 to 1.2.0 in /ocpp-v1_6-test by @dependabot in #148
  • Bump logback-core from 1.1.2 to 1.2.0 in /ocpp-v2_0-test by @dependabot in #147
  • Bump logback-core from 1.1.2 to 1.2.0 in /ocpp-v1_6-test by @dependabot in #146
  • Fix ZonedDateTimeSerializer (ISO 8601) by @Kubster96 in #145
  • Add support for non-printable HTTP passwords by @robert-s-ubi in #143
  • Rename enum ChangingRateUnitType to ChargingRateUnitType (Typo) by @Kubster96 in #150
  • Allow optional IdTagInfo in SendLocalList for deleting entries by @jmluy in #152
  • Add toString to Message for clearer logs by @jmluy in #153
  • Fix Maven build/dependency error by @jmluy in #154
  • Remove logback dependency by @sandeepmattepu in #155
  • JSON Server and Client example application by @MauroBono in #162
  • Client authentication on server side via callback by @dimaa6 in #163
  • Enable ws connection timeout by @srehlig in #159
  • reset failed flag before sending retry messages by @listestalo in #167
  • make number of web-socket-workers / decoders configurable by @listestalo in #166
  • add support for accessing 'X-Forwarded-For' field respectively proxied address by @listestalo in #165
  • Support OCPP 2.0 status notification by @jmluy in #156
  • Made Gson static to avoid creating it for each (de)serialization requ… by @dimaa6 in #169
  • Use thread pool for executing tasks asynchronously by @dimaa6 in #171
  • raise gmavenplus-plugin from 1.6 to 1.13.1 by @in-fke in #174
  • Features/fix profile initialization (nulls and cross-over in FirmwareManagementProfiles) by @in-fke in #176
  • Upgrade Java-Websocket dependency to 1.5.2 by @m-oben in #178
  • Expose a client's session ID by @m-oben in #180
  • Revert "Features/fix profile initialization (nulls and cross-over in FirmwareManagementProfiles)" by @TVolden in #184
  • Fix broken gradle build, tests and Android 8.0 compatibility by @robert-s-ubi in https://github.com/ChargeTimeEU/Java-OC...
Read more

SOAP/JSON support

08 May 20:20
Compare
Choose a tag to compare
SOAP/JSON support Pre-release
Pre-release

Use this release to setup a server or client running OCPP version 1.6 with JSON Websocket (OCPP-J) or SOAP Webservice (OCPP-S)

Requests included in core feature:

  • Authorize
  • BootNotification
  • ChangeAvailability
  • ChangeConfiguration
  • ClearCache
  • DataTransfer
  • GetConfiguration
  • Heartbeat
  • MeterValues
  • RemoteStartTransaction
  • RemoteStopTransaction
  • Reset
  • StartTransaction
  • StatusNotification
  • StopTransaction
  • UnlockConnector

Requests included in smart charging feature:

  • SetChargingProfile

Requests included in remote trigger feature:

  • TriggerMessage

Requests included in firmware management feature:

  • GetDiagnostics

Please see JSONClientSample.java / SOAPClientSample.java and JSONServerSample.java / SOAPServerSample.java for examples on how to set up a client and server.

Server/Client core features

05 Sep 19:12
Compare
Choose a tag to compare
Pre-release

Use this release to setup a server or client running OCPP version 1.6 with JSON Websocket (OCPP-J).

Requests included in core feature:

  • Authorize
  • BootNotification
  • ChangeAvailability
  • ChangeConfiguration
  • ClearCache
  • DataTransfer
  • GetConfiguration
  • Heartbeat
  • MeterValues
  • RemoteStartTransaction
  • RemoteStopTransaction
  • Reset
  • StartTransaction
  • StatusNotification
  • StopTransaction
  • UnlockConnector

Please see JSONClientSample.java and JSONServerSample.java for examples on how to set up a client and server.

Client core features

11 Jul 18:36
Compare
Choose a tag to compare
Client core features Pre-release
Pre-release

Use this release to implement the client core profile features from OCPP-J version 1.6.
Update: Changed common lib from SNAPSHOT to alpha version.