Skip to content

Commit 86f3283

Browse files
release:release v1.7.1. (#175)
1 parent 76acb26 commit 86f3283

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

polaris-common/polaris-model/src/main/java/com/tencent/polaris/api/rpc/ServiceCallResult.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class ServiceCallResult implements InstanceGauge {
8181
private String subset;
8282

8383
/**
84-
* 方法
84+
* 方法,指HTTP Path,不是HTTP Method
8585
*/
8686
private String method;
8787

@@ -98,6 +98,10 @@ public String getHost() {
9898
return host;
9999
}
100100

101+
public void setHost(String host) {
102+
this.host = host;
103+
}
104+
101105
@Override
102106
public int getPort() {
103107
if (null != instance) {
@@ -106,6 +110,10 @@ public int getPort() {
106110
return port;
107111
}
108112

113+
public void setPort(int port) {
114+
this.port = port;
115+
}
116+
109117
@Override
110118
public RetStatus getRetStatus() {
111119
return retStatus;
@@ -123,6 +131,10 @@ public String getNamespace() {
123131
return namespace;
124132
}
125133

134+
public void setNamespace(String namespace) {
135+
this.namespace = namespace;
136+
}
137+
126138
@Override
127139
public String getService() {
128140
if (null != instance) {
@@ -131,6 +143,10 @@ public String getService() {
131143
return service;
132144
}
133145

146+
public void setService(String service) {
147+
this.service = service;
148+
}
149+
134150
@Override
135151
public String getInstanceId() {
136152
if (null == instance) {
@@ -139,22 +155,6 @@ public String getInstanceId() {
139155
return instance.getId();
140156
}
141157

142-
public void setService(String service) {
143-
this.service = service;
144-
}
145-
146-
public void setNamespace(String namespace) {
147-
this.namespace = namespace;
148-
}
149-
150-
public void setHost(String host) {
151-
this.host = host;
152-
}
153-
154-
public void setPort(int port) {
155-
this.port = port;
156-
}
157-
158158
@Override
159159
public Integer getRetCode() {
160160
return retCode;
@@ -174,13 +174,13 @@ public void setDelay(long delay) {
174174
}
175175

176176
@Override
177-
public void setInstance(Instance instance) {
178-
this.instance = instance;
177+
public Instance getInstance() {
178+
return instance;
179179
}
180180

181181
@Override
182-
public Instance getInstance() {
183-
return instance;
182+
public void setInstance(Instance instance) {
183+
this.instance = instance;
184184
}
185185

186186
@Override

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
<properties>
6666
<!-- Project revision -->
67-
<revision>1.7.1-SNAPSHOT</revision>
67+
<revision>1.7.1</revision>
6868
<timestamp>${maven.build.timestamp}</timestamp>
6969
<skip.maven.deploy>false</skip.maven.deploy>
7070
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>

0 commit comments

Comments
 (0)