Versions Compared

Key

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

...

Merge 2 'query' end points in one

#LayerProposed Changes
31Test
  1. In Cps service Layer we have tests for this exceptions (CpsAdminPersistenceServiceSpec)
  2. Add new test to the REST handler tests (NetworkCmProxyRestExceptionHandlerSpec)
  1. NetworkCmProxyDataServiceImpl
    1. surround the cpsAdminService call with try-catch block in executeCmHandleHasAllModulesSearch method
    2. log,
    Catch the exception in query side
    1. and return with empty
    list200 OK response code with right body with empty data.
    1. array
2
  1. NetworkCmProxyDataServiceImplSpec
    1. test new branch