Skip to content

1.2.0

Choose a tag to compare

@xchopin xchopin released this 12 Apr 09:32
· 138 commits to master since this release
f8485ab

Release 1.2.0

What's new?

  • TimeZoneOffset attribute to MongoEvents

Previously added onto the MongoRisk collection, it is now available on Events more details here.

  • New Continuous Integration Tools

snyk.io and SonarQube are now checking the code quality in order to find vulnerabilities in the project dependencies and in the classes.

  • Upgrade to Spring Boot 2.0.8

OpenLRW was based on Spring-Boot 1.4.7, it is now using the 2.0.8 release.

This upgrade includes an higher security (fixed 18 high severity vulnerabilities), most of the routes are now faster cf the below table.

Action Spring-Boot 1.4.7 Spring-Boot 2.0.8
Authentication 24ms 10ms
Token Expired 30ms 9ms
Post Result 44ms 28ms
Post Event 12ms 20ms
Events Not Found 13ms 26ms
Find User 300ms 106ms
  • Update Maven Dependencies

Some dependencies have been updated (Fongo, Swagger).

  • New route

A route to get a lineitem by its id has been added

  • GET /lineitems/:id

The actuator route has changed (due to Spring-Boot 2), it is now http://localhost:9966/actuator/health

  • Route updated

The logic behind the GET /api/risks/classes/:class_id/users/:user_id?date=yyyy-MM-dd hh:mm has changed, it is now GET /api/risks/classes/:class_id/users/:user_id?date=yyyy-MM-dd (without hours and minutes).

GET /api/risks/classes/:class_id/users/:user_id will now return the risks sorted by the DateTime attribute.

  • Scripts updated

Installation scripts and settings file template have been updated for Spring-Boot 2