You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2021/09/26 01:56:40 UTC

[incubator-eventmesh] branch develop updated: [ISSUE #541] rename issue (#542)

This is an automated email from the ASF dual-hosted git repository.

chenguangsheng pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9c1d21f  [ISSUE #541] rename issue (#542)
9c1d21f is described below

commit 9c1d21ff2578fcbf2807fbeb06d48fd02f6b1c68
Author: JunjieZhou <11...@qq.com>
AuthorDate: Sun Sep 26 09:56:34 2021 +0800

    [ISSUE #541] rename issue (#542)
    
    * [ISSUE #541] rename ```import org.apache.eventmesh.openschemaregistry.domain.*;``` to ```org.apache.eventmesh.schema.registry.server.domain.*;```
    
    * [ISSUE #541] fix build violation
---
 .../schema/registry/server/exception/OpenSchemaExceptionHandler.java    | 2 +-
 .../apache/eventmesh/schema/registry/server/service/SubjectService.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/exception/OpenSchemaExceptionHandler.java b/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/exception/OpenSchemaExceptionHandler.java
index 0e97b00..eebc979 100644
--- a/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/exception/OpenSchemaExceptionHandler.java
+++ b/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/exception/OpenSchemaExceptionHandler.java
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
 public class OpenSchemaExceptionHandler {
 
     @ExceptionHandler(value = OpenSchemaException.class)
-    public ResponseEntity<ErrorResponse> ExceptionHandler(OpenSchemaException e){
+    public ResponseEntity<ErrorResponse> exceptionHandler(OpenSchemaException e){
         return ResponseEntity.status(e.getErr_status().value()).body(new ErrorResponse(e.getErr_code(), e.getErr_message()));
     }
 }
diff --git a/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/service/SubjectService.java b/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/service/SubjectService.java
index 3cd49fa..228f595 100644
--- a/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/service/SubjectService.java
+++ b/eventmesh-schema-registry/eventmesh-schema-registry-server/src/main/java/org/apache/eventmesh/schema/registry/server/service/SubjectService.java
@@ -16,7 +16,7 @@
  */
 package org.apache.eventmesh.schema.registry.server.service;
 
-import org.apache.eventmesh.openschemaregistry.domain.*;
+import org.apache.eventmesh.schema.registry.server.domain.*;
 import org.apache.eventmesh.schema.registry.server.exception.ExceptionEnum;
 import org.apache.eventmesh.schema.registry.server.exception.OpenSchemaException;
 import org.apache.eventmesh.schema.registry.server.repository.SchemaRepository;

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org