Alonexc opened a new issue, #3956:
URL: https://github.com/apache/eventmesh/issues/3956

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   
![image](https://github.com/apache/eventmesh/assets/91315508/f269ce29-03ac-4d61-94cb-d9c18a5c40a7)
   
![image](https://github.com/apache/eventmesh/assets/91315508/7521d462-dd70-4938-b68d-b3a7dcde9fb8)
   
![image](https://github.com/apache/eventmesh/assets/91315508/5a19b073-f0f9-48fe-a09c-3660f8e5c7e3)
   located at:
   
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/EventHandler.java
 line 73-76,102-103,151-152,182-188
   analysis and explanation:
   Use constant substitution in the `common` module constants class.
   
eventmesh-common/src/main/java/org/apache/eventmesh/common/enums/HttpMethod.java
   
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/constants/EventMeshConstants.java
   
   
   ### Describe the solution you'd like
   
   Constants are extracted into this class.[EventMeshConstants](If someone has 
already done it, ignore this)
   
![image](https://github.com/apache/eventmesh/assets/91315508/c0f60921-ed38-4199-8bf9-d775e10a5d16)
   
   Replace with constants in the constants class.
   
![image](https://github.com/apache/eventmesh/assets/91315508/aa58a4da-c8aa-484e-95b2-c3fcff79c36d)
   
![image](https://github.com/apache/eventmesh/assets/91315508/db34d91f-dbc9-4e99-b340-9ebd251538d7)
   
![image](https://github.com/apache/eventmesh/assets/91315508/58e7123b-a002-4488-ae25-dd45dfc9a5bc)
   
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to