Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended support for Aws Mysql and Feign clients #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerry-ye-20230331
Copy link

Describe what this PR does / why we need it

Extension supports Aws Mysql Plugin

Does this pull request fix one issue?

fix Feign Client Plugin

Describe how you did it

Describe how to verify it

Special notes for reviews

@@ -27,12 +28,16 @@ public EnhancerModel doBeforeAdvice(ClassLoader classLoader, String className, O
}
String serviceName = getServiceName(object);
String template = getTemplate(methodArguments);
String url = getUrl(methodArguments);
String templateUrl= StringUtils.isNotEmpty(template)? template:url;
LOGGER.info("feign serviceName:{},template:{},url:{}", serviceName, template,url);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The log level can be changed to debug

@@ -27,12 +28,16 @@ public EnhancerModel doBeforeAdvice(ClassLoader classLoader, String className, O
}
String serviceName = getServiceName(object);
String template = getTemplate(methodArguments);
String url = getUrl(methodArguments);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

obtain the url when the template is empty. do not need to obtain the url in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants