fix(接口测试): 修复dubbo插件无法执行问题
--bug=1018955 --user=王孝刚 【接口测试】接口定义-dubbo协议-输入正确的Registry Center-Get provider list失败 https://www.tapd.cn/55049933/s/1279913
This commit is contained in:
parent
250bd795ef
commit
584065d388
|
@ -95,10 +95,12 @@
|
||||||
dubboProviders(param).then(response => {
|
dubboProviders(param).then(response => {
|
||||||
this.methodMap = {};
|
this.methodMap = {};
|
||||||
this.interfaces = [];
|
this.interfaces = [];
|
||||||
response.data.data.forEach(p => {
|
if(response.data) {
|
||||||
this.providerMap[p.serviceInterface] = p;
|
response.data.forEach(p => {
|
||||||
this.interfaces.push({label: p.service, value: p.serviceInterface})
|
this.providerMap[p.serviceInterface] = p;
|
||||||
});
|
this.interfaces.push({label: p.service, value: p.serviceInterface})
|
||||||
|
});
|
||||||
|
}
|
||||||
if (this.methodMap[this.request.interface]) {
|
if (this.methodMap[this.request.interface]) {
|
||||||
this.methods = this.methodMap[this.request.interface].methods;
|
this.methods = this.methodMap[this.request.interface].methods;
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,10 +187,6 @@
|
||||||
<artifactId>mail</artifactId>
|
<artifactId>mail</artifactId>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>javax.mail</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
|
||||||
<artifactId>fastjson</artifactId>
|
|
||||||
<groupId>com.alibaba</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -305,10 +301,6 @@
|
||||||
<artifactId>ApacheJMeter_core</artifactId>
|
<artifactId>ApacheJMeter_core</artifactId>
|
||||||
<groupId>org.apache.jmeter</groupId>
|
<groupId>org.apache.jmeter</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
|
||||||
<artifactId>fastjson</artifactId>
|
|
||||||
<groupId>com.alibaba</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!--随机数据生成API-->
|
<!--随机数据生成API-->
|
||||||
|
|
Loading…
Reference in New Issue