@Test public void testUpdateAsync() { GlCodeMaster glCodeMaster = getGlCodeMaster(); GlCodeMasterRequest glCodeMasterRequest = new GlCodeMasterRequest(); List<GlCodeMaster> glCodeMasters = new ArrayList<>(); glCodeMasters.add(glCodeMaster); glCodeMasterRequest.setGlCodeMasters(glCodeMasters); GlCodeMasterResponse glCodeMasterResponse = new GlCodeMasterResponse(); glCodeMasterResponse.setResponseInfo(null); glCodeMasterResponse.setGlCodeMasters(glCodeMasters); assertTrue(glCodeMasterResponse.equals(glCodeMasterService.updateAsync(glCodeMasterRequest))); }
public GlCodeMasterResponse updateAsync(GlCodeMasterRequest request){ logger.info("glCodeMasterRequest updateAsync::" + request); kafkaTemplate.send(applicationProperties.getUpdateGlCodeMasterTopicName(), applicationProperties.getUpdateGlCodeMasterTopicKey(), request); return getGlCodeMasterResponse(request.getGlCodeMasters(), request.getRequestInfo()); }
GlCodeMasterService { public GlCodeMasterResponse updateAsync(GlCodeMasterRequest request){ logger.info("glCodeMasterRequest updateAsync::" + request); kafkaTemplate.send(applicationProperties.getUpdateGlCodeMasterTopicName(), applicationProperties.getUpdateGlCodeMasterTopicKey(), request); return getGlCodeMasterResponse(request.getGlCodeMasters(), request.getRequestInfo()); } }
GlCodeMasterService { public GlCodeMasterResponse updateAsync(GlCodeMasterRequest request){ logger.info("glCodeMasterRequest updateAsync::" + request); kafkaTemplate.send(applicationProperties.getUpdateGlCodeMasterTopicName(), applicationProperties.getUpdateGlCodeMasterTopicKey(), request); return getGlCodeMasterResponse(request.getGlCodeMasters(), request.getRequestInfo()); }  }
GlCodeMasterService { public GlCodeMasterResponse updateAsync(GlCodeMasterRequest request){ logger.info("glCodeMasterRequest updateAsync::" + request); kafkaTemplate.send(applicationProperties.getUpdateGlCodeMasterTopicName(), applicationProperties.getUpdateGlCodeMasterTopicKey(), request); return getGlCodeMasterResponse(request.getGlCodeMasters(), request.getRequestInfo()); }  GlCodeMasterResponse getGlCodes(GlCodeMasterCriteria searchGlCode, RequestInfo requestInfo); GlCodeMasterResponse create(GlCodeMasterRequest glCodeMasterRequest); GlCodeMasterResponse createAsync(GlCodeMasterRequest glCodeMasterRequest); GlCodeMasterResponse update(GlCodeMasterRequest request); GlCodeMasterResponse updateAsync(GlCodeMasterRequest request); }
GlCodeMasterService { public GlCodeMasterResponse updateAsync(GlCodeMasterRequest request){ logger.info("glCodeMasterRequest updateAsync::" + request); kafkaTemplate.send(applicationProperties.getUpdateGlCodeMasterTopicName(), applicationProperties.getUpdateGlCodeMasterTopicKey(), request); return getGlCodeMasterResponse(request.getGlCodeMasters(), request.getRequestInfo()); }  GlCodeMasterResponse getGlCodes(GlCodeMasterCriteria searchGlCode, RequestInfo requestInfo); GlCodeMasterResponse create(GlCodeMasterRequest glCodeMasterRequest); GlCodeMasterResponse createAsync(GlCodeMasterRequest glCodeMasterRequest); GlCodeMasterResponse update(GlCodeMasterRequest request); GlCodeMasterResponse updateAsync(GlCodeMasterRequest request);  }