Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • openapi.yaml
    • change /v1/data/ch/searches to  /v1/ch/idSearches
  • ncmp.yaml
    • change executeCmHandleSearch method to queryCmHandles
    • change queryCmHandles method to queryCmHandleIds
    • Use the CmHandleQueryRestParameters shema schema to both of them
  • components.yaml
    • merge Conditions shema to CmHandleQueryRestParameters shemaschema to CmHandleQueryRestParameters schema

Controller Layer

  • NetworkCmProxyController
    • Update controller methods to use the new schema
    • Both component method call separated service method

Service Layer

  • w

Persistence Layer

  • NetworkCmProxyDataService
    • Create new method for query cmHandles
    • Keep queryCmHandles method and rename queryCmHandleIds
    • Both method should call a same method in CpsAdminService
    • Validation logic should move to an separated method and call it from both method
  • CpsAdminService
    • Update queryCmHandles method return type to Set<CmHandles>
  • CpsAdminPersistenceService
    • Update queryCmHandles method return type to Set<CmHandles>

Persistence Layer

  • ModuleReferenceQuery
    • Update queryCmHandles method return type to Set<CmHandles>
    • Update queryCmHandles method to handle both filtering parameters

Test

  • update existing test to the new endpoint
  • create new tests for new filtering scenarios (combine the two existing filter)w