You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/08 06:20:24 UTC

[GitHub] [shardingsphere] Jacob953 opened a new issue, #22006: Restructure dynamic loading SQL IT with strategy pattern

Jacob953 opened a new issue, #22006:
URL: https://github.com/apache/shardingsphere/issues/22006

   1. Replace the input parameters in DynamicLoadingSQLParserParameterizedTest with URIs
   2. Add the strategy interface SQLCaseReadStrategy, including the function getTestParameters, the input parameter is URI
   3. Add specific strategies LoadFromGitHub, LoadFromGitee, LoadFromLocal, rewrite function getTestParameters
   3.1 LoadFromLocal reads the file directly from the local, and then calls DynamicLoadingSQLParserParameterizedTest.getContent() to cut directly
   3.2 LoadFromGitHub, LoadFromGitee Since the sharding code remains unchanged, it is only necessary to encapsulate the new function DynamicLoadingSQLParserParameterizedTest.getContent.getCasesApiURL to obtain the corresponding api
   4. Implement IntegrationTestCaseContext to initialize the corresponding strategy and implement the execution function


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] taojintianxia closed issue #22006: Restructure dynamic loading SQL IT with strategy pattern

Posted by GitBox <gi...@apache.org>.
taojintianxia closed issue #22006: Restructure dynamic loading SQL IT with strategy pattern
URL: https://github.com/apache/shardingsphere/issues/22006


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org