[midPoint-git] [Evolveum/midpoint] 68831e: Cleanup ID Match client code

mederly noreply at github.com
Thu Feb 24 23:08:08 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 68831ea64bb4e2f8e86f02e32e1b2b4f58b9c881
      https://github.com/Evolveum/midpoint/commit/68831ea64bb4e2f8e86f02e32e1b2b4f58b9c881
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-02-24 (Thu, 24 Feb 2022)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/Correlator.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/idmatch/IdMatchService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchServiceImpl.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/constants/Channel.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/constants/MatchStatus.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/constants/Operations.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/constants/ServicePath.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/ListResponse.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/PersonRequest.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/ServerResponse.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/structure/JsonRequest.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/structure/UserDataStructure.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/data/structure/UserSpecParameter.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/AbstractRequest.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApacheApiRequest.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApacheDeleteRequest.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApacheGetRequest.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApachePostRequest.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApachePutRequest.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/ApacheResponseHandler.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/AuthenticationProvider.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/Client.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/HttpBuilder.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/auth/Authentication.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/operations/auth/AuthenticationProvider.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/matching/AbstractIdMatchServiceTest.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/matching/TestDummyIdMatchServiceImpl.java
    M model/model-impl/src/test/resources/correlator/matching/accounts.csv
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/idmatch/DummyIdMatchServiceImpl.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/CsvResource.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestTask.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ActivityItemProcessingStatisticsAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismObjectAsserter.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractIdMatchTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestIdMatchReal.java

  Log Message:
  -----------
  Cleanup ID Match client code

The code was quite "prototypical"; now it should be better - although
not 100% clean. In addition to simplification and cleaning up the
request/response logging and error handling were added. The obsolete
"includeNoneMatchesOption" was removed.

Tests for invalid credentials and invalid address handling were added.

Unrelated but important change:

- SynchronizationType and ObjectSynchronizationType are now containers,
not properties. This solves e.g. the problem that the ID Match service
password was not encrypted in resource object saved in repository.


  Commit: f71c8fb3b866436e05546c64ffec67069f0b3e21
      https://github.com/Evolveum/midpoint/commit/f71c8fb3b866436e05546c64ffec67069f0b3e21
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-02-24 (Thu, 24 Feb 2022)

  Changed paths:
    M config/sql/native-new/postgres-new-upgrade.sql
    M config/sql/native-new/postgres-new.sql
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtItemCache.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ext/MExtItem.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/MShadow.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadow.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
    A testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/AbstractRestServiceInitializer.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/RestServiceInitializer.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/authentication/TestAbstractAuthentication.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/authentication/TestAbstractOidcRestModule.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/authentication/TestOptionForSkipUpdatingAuthFocusBehavior.java
    M testing/rest/testng-integration.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/ce9a77217be7...f71c8fb3b866


More information about the midPoint-svn mailing list