Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-6760 Update service to use Spring Boot 2.x

* Update to Spring Boot 2.2.x using Spring Boot Gradle plugin.

* Because of Spring Boot, also need to update PowerMock to v2.

* Spring Security OAuth2 is reconfigured to specific release (2.2.2).

* Update Flyway to 6.x because of various Flyway issues from earlier versions.

* Because of RAML issues, RAML tester updated and specific version of RAML parser used.

* Spring Data method names have been changed (existsById, findById, deleteById), and methods return Optional, not null.

* Call of new PageRequest replaced with PageRequest.of.

* Reimplement generation of Jasper reports (PDF, CSV, XLS, HTML).

* Add Keep-Alive header to API definition because of integration test errors.

* Fix checkstyle issue.

    • -0
    • +3
    ./org/openlmis/report/i18n/JasperMessageKeys.java
    • -0
    • +42
    ./org/openlmis/report/service/JasperCsvExporter.java
    • -0
    • +23
    ./org/openlmis/report/service/JasperExporter.java
    • -0
    • +42
    ./org/openlmis/report/service/JasperHtmlExporter.java
    • -0
    • +42
    ./org/openlmis/report/service/JasperXlsExporter.java
  1. … 16 more files in changeset.
Due to ACC, i have changed maximum page size to following sevices: *auth *cce *fulfillment *report *notification Requisition, stock, service-template had been changed before I started working o...

Due to ACC, i have changed maximum page size to following sevices:

  • auth
  • cce
  • fulfillment
  • report
  • notification


Requisition, stock, service-template had been changed before I started working on this ticket.

I have tested it with our open-lmis demo data.

OLMIS-4128 Change maximum page size to max integer.
OLMIS-4128 Change maximum page size to max integer.
OLMIS-4128 Change maximum page size to max integer.

  1. … 2 more files in changeset.
WIP

WIP

    • -0
    • +125
    ./org/openlmis/report/service/JasperReportsViewService2.java
  1. … 1 more file in changeset.
OLMIS-4943 added locale settings to Jasper reports

  1. … 5 more files in changeset.
Revert "OLMIS-4943 made Jasper reports use locale number settings"

This reverts commit 64682e7591329ff900a4e8b7c600259b00b0eb77.

  1. … 1 more file in changeset.
I've come to this conclusion after noticing that the report is empty so I will update migrations.

I've come to this conclusion after noticing that the report is empty so I will update migrations.

What about database migrations? I thought that editing jrxml files is not enough to have the report updated.

What about database migrations? I thought that editing jrxml files is not enough to have the report updated.

Please add changelog.

Please add changelog.

OLMIS-4943 fixed Jasper reports to use locale format settings - for report service
OLMIS-4943 fixed Jasper reports to use locale format settings - for report service
OLMIS-4943 made Jasper reports use locale number settings

  1. … 1 more file in changeset.
OLMIS-4943 fixed Jasper reports to use locale date format and date time format settings

  1. … 3 more files in changeset.
OLMIS-4295: updated checkstyle to new google style
OLMIS-4295: updated checkstyle to new google style
OLMIS-4295: updated checkstyle to new google style

fixed LICENCE header

fixed import order

fixed minor code style issues

added missing periods in javadocs

    • -5
    • +4
    ./org/openlmis/report/Application.java
    • -10
    • +6
    ./org/openlmis/report/domain/BaseEntity.java
    • -14
    • +10
    ./org/openlmis/report/domain/JasperTemplate.java
    • -12
    • +10
    ./org/openlmis/report/domain/ReportImage.java
    • -3
    • +3
    ./org/openlmis/report/dto/CodeDto.java
    • -13
    • +11
    ./org/openlmis/report/dto/JasperTemplateDto.java
  1. … 101 more files in changeset.
I've updated ct, ref-distro and deployment.

I've updated ct, ref-distro and deployment.

Changes in fulfillment and requisition were made some time ago and this ticket regarded: reference data, cce, report and stock-management

Changes in fulfillment and requisition were made some time ago and this ticket regarded: reference data, cce, report and stock-management

oh I see

oh I see

I don't see changes in all services (like fulfillment). Is it because they already have correct configuration or this will be done in separate review?

I don't see changes in all services (like fulfillment). Is it because they already have correct configuration or this will be done in separate review?

I've updated proper CHANGELOG files.

I've updated proper CHANGELOG files.