dockerzhang opened a new issue #986:
URL: https://github.com/apache/incubator-inlong/issues/986


   <p>At present, the mapping of WEB API is done through the if-else method to 
judge the string matching of the external API, which makes this piece of code 
poorly maintainable, inconvenient for expansion, and needs to be adjusted, like 
this:</p>
   
   <p><span class="image-wrap" style=""><img 
src="https://issues.apache.org/jira/secure/attachment/13014496/13014496_image-2020-11-01-17-39-09-133.png";
 style="border: 0px solid black" /></span></p>
   
   <p>see <a 
href="https://github.com/apache/incubator-tubemq/blob/master/tubemq-server/src/main/java/org/apache/tubemq/server/master/web/action/screen/Webapi.java#L140";
 class="external-link" 
rel="nofollow">https://github.com/apache/incubator-tubemq/blob/master/tubemq-server/src/main/java/org/apache/tubemq/server/master/web/action/screen/Webapi.java#L140</a></p>
   
   <p> </p>
   
   <p>Plan to use new API mapping class for encapsulation to facilitate 
subsequent function implementation</p>
   <i>JIRA link - <a 
href="https://issues.apache.org/jira/browse/INLONG-393";>[INLONG-393]</a> 
created by gosonzhang</i>


-- 
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]


Reply via email to