@Test public void shouldUpdateBusinessServiceDetails() { BusinessServiceDetailRequest businessServiceDetailRequest = new BusinessServiceDetailRequest(); List<BusinessServiceDetail> businessServiceDetails = new ArrayList<>(); businessServiceDetails.add(getBusinessServiceDetail()); businessServiceDetailRequest.setBusinessServiceDetails(businessServiceDetails); RequestInfo requestInfo = new RequestInfo(); User user = new User(); user.setId(1l); requestInfo.setUserInfo(user); businessServiceDetailRequest.setRequestInfo(requestInfo); BusinessServiceDetailResponse businessServiceDetailResponse = new BusinessServiceDetailResponse(); businessServiceDetailResponse.setResponseInfo(null); businessServiceDetailResponse.setBusinessServiceDetails(businessServiceDetails); assertTrue(businessServiceDetailResponse.equals(businessServDetailService.updateAsync(businessServiceDetailRequest))); }
public BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest) { List<BusinessServiceDetail> businessServiceDetailList = businessServiceDetailRequest.getBusinessServiceDetails(); kafkaTemplate.send(applicationProperties.getUpdateBusinessServiceDetailTopicName(), businessServiceDetailRequest); return getBusinessServiceDetailResponse(businessServiceDetailList, businessServiceDetailRequest.getRequestInfo()); }
BusinessServDetailService { public BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest) { List<BusinessServiceDetail> businessServiceDetailList = businessServiceDetailRequest.getBusinessServiceDetails(); kafkaTemplate.send(applicationProperties.getUpdateBusinessServiceDetailTopicName(), businessServiceDetailRequest); return getBusinessServiceDetailResponse(businessServiceDetailList, businessServiceDetailRequest.getRequestInfo()); } }
BusinessServDetailService { public BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest) { List<BusinessServiceDetail> businessServiceDetailList = businessServiceDetailRequest.getBusinessServiceDetails(); kafkaTemplate.send(applicationProperties.getUpdateBusinessServiceDetailTopicName(), businessServiceDetailRequest); return getBusinessServiceDetailResponse(businessServiceDetailList, businessServiceDetailRequest.getRequestInfo()); }  }
BusinessServDetailService { public BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest) { List<BusinessServiceDetail> businessServiceDetailList = businessServiceDetailRequest.getBusinessServiceDetails(); kafkaTemplate.send(applicationProperties.getUpdateBusinessServiceDetailTopicName(), businessServiceDetailRequest); return getBusinessServiceDetailResponse(businessServiceDetailList, businessServiceDetailRequest.getRequestInfo()); }  BusinessServiceDetailResponse searchBusinessServiceDetails(
			final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo); BusinessServiceDetailResponse create(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse createAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse update(BusinessServiceDetailRequest businessServiceDetailRequest); }
BusinessServDetailService { public BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest) { List<BusinessServiceDetail> businessServiceDetailList = businessServiceDetailRequest.getBusinessServiceDetails(); kafkaTemplate.send(applicationProperties.getUpdateBusinessServiceDetailTopicName(), businessServiceDetailRequest); return getBusinessServiceDetailResponse(businessServiceDetailList, businessServiceDetailRequest.getRequestInfo()); }  BusinessServiceDetailResponse searchBusinessServiceDetails(
			final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo); BusinessServiceDetailResponse create(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse createAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse update(BusinessServiceDetailRequest businessServiceDetailRequest); static final Logger LOGGER; }