-
Notifications
You must be signed in to change notification settings - Fork 51
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
优化关联应用功能 #61
base: master
Are you sure you want to change the base?
优化关联应用功能 #61
Conversation
Hi @ashlee618, welcome to SOFAStack community, Please sign Contributor License Agreement! After you signed CLA, we will automatically sync the status of this pull request in 3 minutes. |
return new Docket(DocumentationType.SWAGGER_2) | ||
.useDefaultResponseMessages(false) | ||
.apiInfo(apiInfo()) | ||
.groupName("1.0版本") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不建议在代码中直接使用这种常量,同时也不建议使用中文
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,这个打算后面换成5个分类,application、arkmng、core、governance、web这样方便开发者对接。
System.out.println(hostAndPort); | ||
} | ||
public static void main(String[] args) { | ||
String id = uniqueId(new HostAndPort("192.168.0.104", "8.16.32.64", 38081)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we need delete sysout?
* @param appName | ||
* @return | ||
*/ | ||
List<AppArkDO> queryRelationByModuleIdAndAppName(int mId,String appName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注意格式化
@@ -70,4 +70,10 @@ | |||
public static final String ZOOKEEPER_PREFIX = "zookeeper://"; | |||
public static final String SOFA_PREFIX = "sofa://"; | |||
|
|||
// API接口类 | |||
public static final String API_ARK_TAGS = "Ark相关接口"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是不是可以考虑使用一个枚举来描述下所有的接口类型,而不是在 常量类中定义
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是个不错的建议
<dependency> | ||
<groupId>com.github.xiaoymin</groupId> | ||
<artifactId>knife4j-spring-boot-starter</artifactId> | ||
<version>2.0.7</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
版本管理在主pom 的 dependentmanagement 中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
收到
使用knife4j实现接口可视化功能
选择knife4j的原因
后续问题