Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update Superset URL

For some reason, *.uat.openlmis.org cert is not working the load balancer. Try to use *.openlmis.org load balancer cert by slightly changing the Superset URL in the auth demo data.

Re-add API key initializer

To restore proper access token generation on startup.

OLMIS-6761 Fix more Sonar issues

    • -0
    • +48
    ./test/java/org/openlmis/auth/dto/PageDtoTest.java
OLMIS-6761 Fix more sonar issues

OLMIS-6761 More Sonar fixes

OLMIS-6761 Address Sonar issues

Revert "Revert Auth service back to Spring Boot 1.x"

This reverts commit d7de12a691485f3412f0342932693ed406151186.

  1. … 29 more files in changeset.
Revert Auth service back to Spring Boot 1.x

To see if it is the cause of the Superset issue.

  1. … 29 more files in changeset.
OLMIS-6761 Add default redirecturi for superset

Will later probably need to find a way to get Superset URL to insert.

OLMIS-6761 Fix integration test errors

OLMIS-6761 Address Sonar issues

    • -0
    • +107
    ./test/java/org/openlmis/auth/util/PaginationTest.java
OLMIS-6761 Upgrade Spring Boot to 2.2.2
OLMIS-6761 Upgrade Spring Boot to 2.2.2
OLMIS-6761 Add to changelog and update dependencies

* Add entry to CHANGELOG.

* Let Spring Boot Gradle plugin handle dependencies that it can, to simplify upgrading.

* Bump to next minor version.

* Fix test.

  1. … 3 more files in changeset.
OLMIS-6761 Remove unnecessary code

Removing migration integration test and some code previously used for another test.

  1. … 1 more file in changeset.
OLMIS-6761 Update Spring Boot version to 2.x

Using Boot version 2.2.2, as it is relatively recent.

* Flyway is at 6.0.8, new mechanism for loading Spring Security for OAuth2, and new versions for REST Assured, RAML tester, RAML parser, PowerMock (so tests will pass).

* Spring application properties for Flyway has changed.

* Fix repository method signatures (findOne is now findById, etc.); additionally they return Optional.

* Spring Security 5 has changed encoding of password storage to DelegatingPasswordEncoder. To be backwards-compatible, currently returning NoOpPasswordEncoder as default. Will probably need to migrate all passwords to new encoding and use a better encoder/decoder.

* Fix unit tests.

* Flyway is now at v6, and Java callback mechanism has changed to a general handle() method.

* Fix integration tests (including simplifying TokenIntegrationTest).

* Integration tests allow bean definition overriding, as it is not enabled by default now in Spring Boot 2.x.

* API definitions require "Keep-Alive" header for web integration tests.

  1. … 19 more files in changeset.
OLMIS-6729: Changed Spring Boot version and configuration to verify date and Superset issues.

    • -4
    • +0
    ./main/resources/application.properties
  1. … 1 more file in changeset.
OLMIS-6729: Changed redirect_url configuration.

    • -2
    • +2
    ./main/resources/application.properties
OLMIS-6716: Adding additional configuration as an attempt to solve Superset login issues

    • -0
    • +4
    ./main/resources/application.properties
  1. … 1 more file in changeset.
OLMIS-6716: Checking if restoring previous Spring Boot version will fix Superset login issues.

  1. … 1 more file in changeset.
OLMIS-6716: Updating Spring Boot to latest 1.x version
OLMIS-6716: Updating Spring Boot to latest 1.x version
OLMIS-6716: Updating Spring Boot to latest 1.x version

  1. … 2 more files in changeset.
OLMIS-6558: removed '-' from publicUrl property

    • -1
    • +1
    ./main/resources/application.properties
OLMIS-6558: Introduce new env variable - PUBLIC_URL

    • -0
    • +2
    ./main/resources/application.properties
  1. … 2 more files in changeset.
OLMIS-6548: Fix messages keys in passwordReset endpoint

OLMIS-6558 Add publicUrl variable to application properties and use it in generated links.

    • -0
    • +2
    ./main/resources/application.properties
  1. … 2 more files in changeset.
OLMIS-6548 Fix the messageKey issue in /passwordReset endpoint.