Skip to content

Ibm integration test and code changes into master

Bhushan Rade requested to merge ibm-int-test-2 into master

This MR contains changes in the registration-core module - commented default exception handler in GlobalException mapper class and respective unit test.

Reason - int. tests were failing whenever nonexistent tenant passed in an HTTP request. expected 401, getting 500. TenantInfoFactory class throws AppExcpetion 401 as the tenant does not exist. also, there is one more exception created i.e BeanCreationFactory with a cause - AppException 401. and globaleceptionMapper maps this exception to default Exception mapper which hides the original exception i.e AppExeption 401 and generates 500 error.

Merge request reports

Loading