1. Adjust the directory hierarchy
[msb/apigateway.git] / apiroute / apiroute-service / src / main / java / org / openo / msb / api / RouteServer.java
diff --git a/apiroute/apiroute-service/src/main/java/org/openo/msb/api/RouteServer.java b/apiroute/apiroute-service/src/main/java/org/openo/msb/api/RouteServer.java
deleted file mode 100644 (file)
index 3e01c4f..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/**\r
-* Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*/\r
-package org.openo.msb.api;\r
-\r
-import io.swagger.annotations.ApiModelProperty;\r
-\r
-import java.io.Serializable;\r
-\r
-\r
-public class RouteServer implements Serializable{\r
-       private static final long serialVersionUID = 1L;\r
-        @ApiModelProperty(required = true)\r
-       private String ip;\r
-        \r
-        @ApiModelProperty(required = true) \r
-       private String port;\r
-       private int weight=0;\r
-\r
-       public String getIp() {\r
-               return ip;\r
-       }\r
-\r
-       public void setIp(String ip) {\r
-               this.ip = ip;\r
-       }\r
-\r
-       \r
-\r
-       public int getWeight() {\r
-               return weight;\r
-       }\r
-\r
-       public void setWeight(int weight) {\r
-               this.weight = weight;\r
-       }\r
-       \r
-       public RouteServer(){\r
-               \r
-       }\r
-       \r
-       public RouteServer(String ip,String port){\r
-               this.ip=ip;\r
-               this.port=port;\r
-               this.weight=0;\r
-       }\r
-\r
-    public String getPort() {\r
-        return port;\r
-    }\r
-\r
-    public void setPort(String port) {\r
-        this.port = port;\r
-    }\r
-\r
-}\r