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
Cps service Layer
  1. Create a new CpsAdminNotFoundException class, child of CpsAdminException class
  2. Add CpsAdminNotFoundException as parent for all "NotFound" exceptions:
2Controller Layer
  1.  NetworkCmProxyRestExceptionHandler
    1. create a new @ExceptionHandler for the new CpsAdminNotFoundException 
    2. return with 404 error code