Versions Compared

Key

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

...

Merge 2 'query' end points in one

#LayerProposed Changes
1
  1. NetworkCmProxyDataServiceImpl
    1. surround the cpsAdminService call with try-catch block in executeCmHandleHasAllModulesSearch method
    2. log, and return with empty array
2
  1. NetworkCmProxyDataServiceImplSpec
    1. test new branch
REST Layer
  1. openapi.yaml
    1. change /v1/data/ch/searches to  /v1/ch/id-searches
  2. ncmp.yaml
    1. change queryCmHandles method to executeCmHandleIdSearch
    2. Use the CmHandleQueryRestParameters schema to both of them
  3. components.yaml
    1. merge Conditions schema to CmHandleQueryRestParameters schema
    2. delete Conditions schema
2Controller Layer
  1.  NetworkCmProxyRestExceptionHandler
    1. create a new @ExceptionHandler for the new CpsAdminNotFoundException 
    2. return with 404 error code