diff options
Diffstat (limited to 'src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java')
-rw-r--r-- | src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java b/src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java index 1764503..7d15b43 100644 --- a/src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java +++ b/src/main/java/org/onap/msb/sdk/httpclient/annotaion/ServiceHttpEndPoint.java @@ -1,11 +1,11 @@ /******************************************************************************* * Copyright 2017 ZTE, Inc. and others. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed under the License * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing permissions and limitations under @@ -19,8 +19,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * 服务名和版本号不同,接口名就需要不同 - * + * * @author hu.rui * */ @@ -28,25 +27,19 @@ import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) public @interface ServiceHttpEndPoint { - // 在MSB上注册的服务名 String serviceName(); - // 在MSB注册的版本号 String serviceVersion(); - // 在通过msb转发时,所用的协议 String msbProtocl() default "https"; - // 服务间点对点访问时,所用的协议 String clientProtocl() default "http"; - // 服务所在的租户名 String nameSpace() default ""; - // 服务的可见范围,系统间:“0”,系统内:“1”(默认),可配置多个,以 | 分隔 + // The visibility of service: '0' if the service can be accessed outside, '1' if it can only be accessed within the system, default '1' String visualRange() default "1"; - // 在MSB上注册的服务类型 String serverType() default "api"; } |