Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-6761 Address Sonar issues

    • -0
    • +107
    ./auth/util/PaginationTest.java
  1. … 2 more files in changeset.
OLMIS-6761 Add to changelog and update dependencies
OLMIS-6761 Add to changelog and update dependencies
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.

    • -0
    • +2
    ./auth/util/CustomSortDeserializerTest.java
  1. … 3 more files in changeset.
OLMIS-6761 Remove unnecessary code

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

    • -115
    • +0
    ./auth/ApiKeyInitializerTest.java
  1. … 4 more files 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.

    • -3
    • +4
    ./auth/ExportSchemaFlywayCallbackTest.java
    • -1
    • +1
    ./auth/domain/ConditionalUuidGeneratorTest.java
    • -1
    • +1
    ./auth/service/AccessTokenServiceTest.java
    • -1
    • +1
    ./auth/web/PasswordResetRequestDtoValidatorTest.java
  1. … 24 more files in changeset.
OLMIS-6548: Translate user password reset error modal

OLMIS-6548: Move PasswordResetRequest class to auth service and add password reset validator.

Move class to auth service

Replace to use PasswordResetRequest from auth service

Add validator for new Password

Add keys in messages to provide translations via transifex.

    • -0
    • +38
    ./auth/dto/PasswordResetRequestDtoTest.java
    • -0
    • +130
    ./auth/web/PasswordResetRequestDtoValidatorTest.java
  1. … 8 more files in changeset.
OLMIS-6548 Rename static field PASSWORD to PASS_FIELD. (SONAR ISSUE)

    • -5
    • +5
    ./auth/web/PasswordResetRequestDtoValidatorTest.java
  1. … 1 more file in changeset.
OLMIS-6548 Rename class to PasswordResetRequestDtoValidator and add code review related changes.

    • -0
    • +38
    ./auth/dto/PasswordResetRequestDtoTest.java
    • -0
    • +130
    ./auth/web/PasswordResetRequestDtoValidatorTest.java
    • -130
    • +0
    ./auth/web/PasswordResetRequestValidatorTest.java
  1. … 8 more files in changeset.
OLMIS-6548 Move PasswordResetRequest class to auth service and add password reset validator.

Move class to auth service

Replace to use PasswordResetRequest from auth service

Add validator for new Password

Add keys in messages to provide translations via transifex.

    • -0
    • +130
    ./auth/web/PasswordResetRequestValidatorTest.java
  1. … 7 more files in changeset.
OLMIS-6408: Added pageable validator
OLMIS-6408: Added pageable validator
OLMIS-6408: Added pageable validator

    • -0
    • +115
    ./auth/interceptor/MvcInterceptorTest.java
  1. … 6 more files in changeset.
done

done

OLMIS-6317: Added missing tests

    • -0
    • +123
    ./auth/security/CustomTokenServicesTest.java
I would suggest to create separate, meaningful functions to get rid of comments (at least for first lambda).

I would suggest to create separate, meaningful functions to get rid of comments (at least for first lambda).

OLMIS-6317: Service account tokens will not expire
OLMIS-6317: Service account tokens will not expire
OLMIS-6317: Service account tokens will not expire

  1. … 5 more files in changeset.
added

added

do we test this?

do we test this?

Can we also check message here or there is no point in doing that?

Can we also check message here or there is no point in doing that?

thanks that we get error message from the notification service on UI instead of generic message

thanks that we get error message from the notification service on UI instead of generic message

no changelog entry because this is a regression

no changelog entry because this is a regression

OLMIS-5790: fixed issue with sending reset password email
OLMIS-5790: fixed issue with sending reset password email
OLMIS-5790: Improved handling 400 error from notification service

Instead of sending a general error message, the auth service should

present an error message from the notification service if the

notification service returns a response with 400 (BAD REQUEST)

status code.

  1. … 2 more files in changeset.