Committed by
Gerrit Code Review
ONOS-2706 Changing rsModel annotation to onos.rsModel
Change-Id: I1c22a7e1e147f13b960c3a6095408d68173ca966
Showing
15 changed files
with
42 additions
and
42 deletions
... | @@ -51,7 +51,7 @@ public class DhcpWebResource extends AbstractWebResource { | ... | @@ -51,7 +51,7 @@ public class DhcpWebResource extends AbstractWebResource { |
51 | * Shows lease, renewal and rebinding times in seconds. | 51 | * Shows lease, renewal and rebinding times in seconds. |
52 | * | 52 | * |
53 | * @return 200 OK | 53 | * @return 200 OK |
54 | - * @rsModel DhcpConfigGet | 54 | + * @onos.rsModel DhcpConfigGet |
55 | */ | 55 | */ |
56 | @GET | 56 | @GET |
57 | @Path("config") | 57 | @Path("config") |
... | @@ -68,7 +68,7 @@ public class DhcpWebResource extends AbstractWebResource { | ... | @@ -68,7 +68,7 @@ public class DhcpWebResource extends AbstractWebResource { |
68 | * Get all MAC/IP mappings. | 68 | * Get all MAC/IP mappings. |
69 | * Shows all MAC/IP mappings held by the DHCP server. | 69 | * Shows all MAC/IP mappings held by the DHCP server. |
70 | * | 70 | * |
71 | - * @rsModel DhcpConfigGetMappings | 71 | + * @onos.rsModel DhcpConfigGetMappings |
72 | * @return 200 OK | 72 | * @return 200 OK |
73 | */ | 73 | */ |
74 | @GET | 74 | @GET |
... | @@ -90,7 +90,7 @@ public class DhcpWebResource extends AbstractWebResource { | ... | @@ -90,7 +90,7 @@ public class DhcpWebResource extends AbstractWebResource { |
90 | * Get all available IPs. | 90 | * Get all available IPs. |
91 | * Shows all the IPs in the free pool of the DHCP Server. | 91 | * Shows all the IPs in the free pool of the DHCP Server. |
92 | * | 92 | * |
93 | - * @rsModel DhcpConfigGetAvailable | 93 | + * @onos.rsModel DhcpConfigGetAvailable |
94 | * @return 200 OK | 94 | * @return 200 OK |
95 | */ | 95 | */ |
96 | @GET | 96 | @GET |
... | @@ -108,7 +108,7 @@ public class DhcpWebResource extends AbstractWebResource { | ... | @@ -108,7 +108,7 @@ public class DhcpWebResource extends AbstractWebResource { |
108 | * Post a new static MAC/IP binding. | 108 | * Post a new static MAC/IP binding. |
109 | * Registers a static binding to the DHCP server, and displays the current set of bindings. | 109 | * Registers a static binding to the DHCP server, and displays the current set of bindings. |
110 | * | 110 | * |
111 | - * @rsModel DhcpConfigPut | 111 | + * @onos.rsModel DhcpConfigPut |
112 | * @param stream JSON stream | 112 | * @param stream JSON stream |
113 | * @return 200 OK | 113 | * @return 200 OK |
114 | */ | 114 | */ | ... | ... |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | </groups> | 71 | </groups> |
72 | <tags> | 72 | <tags> |
73 | <tag> | 73 | <tag> |
74 | - <name>rsModel</name> | 74 | + <name>onos.rsModel</name> |
75 | <placement>m</placement> | 75 | <placement>m</placement> |
76 | <head>Json model for REST api:</head> | 76 | <head>Json model for REST api:</head> |
77 | </tag> | 77 | </tag> | ... | ... |
... | @@ -127,7 +127,7 @@ | ... | @@ -127,7 +127,7 @@ |
127 | </groups> | 127 | </groups> |
128 | <tags> | 128 | <tags> |
129 | <tag> | 129 | <tag> |
130 | - <name>rsModel</name> | 130 | + <name>onos.rsModel</name> |
131 | <placement>m</placement> | 131 | <placement>m</placement> |
132 | <head>Json model for REST api:</head> | 132 | <head>Json model for REST api:</head> |
133 | </tag> | 133 | </tag> | ... | ... |
... | @@ -556,7 +556,7 @@ | ... | @@ -556,7 +556,7 @@ |
556 | <configuration> | 556 | <configuration> |
557 | <tags> | 557 | <tags> |
558 | <tag> | 558 | <tag> |
559 | - <name>rsModel</name> | 559 | + <name>onos.rsModel</name> |
560 | <placement>m</placement> | 560 | <placement>m</placement> |
561 | <head>Json model for REST api:</head> | 561 | <head>Json model for REST api:</head> |
562 | </tag> | 562 | </tag> | ... | ... |
... | @@ -243,7 +243,7 @@ public class OnosSwaggerMojo extends AbstractMojo { | ... | @@ -243,7 +243,7 @@ public class OnosSwaggerMojo extends AbstractMojo { |
243 | String resourcePath, ArrayNode tagArray, ObjectNode definitions) { | 243 | String resourcePath, ArrayNode tagArray, ObjectNode definitions) { |
244 | String fullPath = resourcePath, consumes = "", produces = "", | 244 | String fullPath = resourcePath, consumes = "", produces = "", |
245 | comment = javaMethod.getComment(); | 245 | comment = javaMethod.getComment(); |
246 | - DocletTag tag = javaMethod.getTagByName("rsModel"); | 246 | + DocletTag tag = javaMethod.getTagByName("onos.rsModel"); |
247 | for (JavaAnnotation annotation : javaMethod.getAnnotations()) { | 247 | for (JavaAnnotation annotation : javaMethod.getAnnotations()) { |
248 | String name = annotation.getType().getName(); | 248 | String name = annotation.getType().getName(); |
249 | if (name.equals(PATH)) { | 249 | if (name.equals(PATH)) { | ... | ... |
... | @@ -44,7 +44,7 @@ public class ApplicationsWebResource extends AbstractWebResource { | ... | @@ -44,7 +44,7 @@ public class ApplicationsWebResource extends AbstractWebResource { |
44 | * Get all installed applications. | 44 | * Get all installed applications. |
45 | * Returns array of all installed applications. | 45 | * Returns array of all installed applications. |
46 | * | 46 | * |
47 | - * @rsModel Applications | 47 | + * @onos.rsModel Applications |
48 | * @return 200 OK | 48 | * @return 200 OK |
49 | */ | 49 | */ |
50 | @GET | 50 | @GET |
... | @@ -57,7 +57,7 @@ public class ApplicationsWebResource extends AbstractWebResource { | ... | @@ -57,7 +57,7 @@ public class ApplicationsWebResource extends AbstractWebResource { |
57 | /** | 57 | /** |
58 | * Get application details. | 58 | * Get application details. |
59 | * Returns details of the specified application. | 59 | * Returns details of the specified application. |
60 | - * @rsModel Application | 60 | + * @onos.rsModel Application |
61 | * @param name application name | 61 | * @param name application name |
62 | * @return 200 OK; 404; 401 | 62 | * @return 200 OK; 404; 401 |
63 | */ | 63 | */ | ... | ... |
... | @@ -49,7 +49,7 @@ public class ClusterWebResource extends AbstractWebResource { | ... | @@ -49,7 +49,7 @@ public class ClusterWebResource extends AbstractWebResource { |
49 | * Returns array of all cluster nodes. | 49 | * Returns array of all cluster nodes. |
50 | * | 50 | * |
51 | * @return 200 OK | 51 | * @return 200 OK |
52 | - * @rsModel Cluster | 52 | + * @onos.rsModel Cluster |
53 | */ | 53 | */ |
54 | @GET | 54 | @GET |
55 | public Response getClusterNodes() { | 55 | public Response getClusterNodes() { |
... | @@ -63,7 +63,7 @@ public class ClusterWebResource extends AbstractWebResource { | ... | @@ -63,7 +63,7 @@ public class ClusterWebResource extends AbstractWebResource { |
63 | * | 63 | * |
64 | * @param id cluster node identifier | 64 | * @param id cluster node identifier |
65 | * @return 200 OK | 65 | * @return 200 OK |
66 | - * @rsModel ClusterNode | 66 | + * @onos.rsModel ClusterNode |
67 | */ | 67 | */ |
68 | @GET | 68 | @GET |
69 | @Path("{id}") | 69 | @Path("{id}") |
... | @@ -80,7 +80,7 @@ public class ClusterWebResource extends AbstractWebResource { | ... | @@ -80,7 +80,7 @@ public class ClusterWebResource extends AbstractWebResource { |
80 | * @param config cluster definition | 80 | * @param config cluster definition |
81 | * @return 200 OK | 81 | * @return 200 OK |
82 | * @throws IOException to signify bad request | 82 | * @throws IOException to signify bad request |
83 | - * @rsModel ClusterPost | 83 | + * @onos.rsModel ClusterPost |
84 | */ | 84 | */ |
85 | @POST | 85 | @POST |
86 | @Path("configuration") | 86 | @Path("configuration") | ... | ... |
... | @@ -46,7 +46,7 @@ public class DevicesWebResource extends AbstractWebResource { | ... | @@ -46,7 +46,7 @@ public class DevicesWebResource extends AbstractWebResource { |
46 | * Returns array of all discovered infrastructure devices. | 46 | * Returns array of all discovered infrastructure devices. |
47 | * | 47 | * |
48 | * @return 200 OK | 48 | * @return 200 OK |
49 | - * @rsModel DevicesGet | 49 | + * @onos.rsModel DevicesGet |
50 | */ | 50 | */ |
51 | @GET | 51 | @GET |
52 | public Response getDevices() { | 52 | public Response getDevices() { |
... | @@ -60,7 +60,7 @@ public class DevicesWebResource extends AbstractWebResource { | ... | @@ -60,7 +60,7 @@ public class DevicesWebResource extends AbstractWebResource { |
60 | * | 60 | * |
61 | * @param id device identifier | 61 | * @param id device identifier |
62 | * @return 200 OK | 62 | * @return 200 OK |
63 | - * @rsModel DeviceGet | 63 | + * @onos.rsModel DeviceGet |
64 | */ | 64 | */ |
65 | @GET | 65 | @GET |
66 | @Path("{id}") | 66 | @Path("{id}") |
... | @@ -91,7 +91,7 @@ public class DevicesWebResource extends AbstractWebResource { | ... | @@ -91,7 +91,7 @@ public class DevicesWebResource extends AbstractWebResource { |
91 | * Get ports of infrastructure device. | 91 | * Get ports of infrastructure device. |
92 | * Returns details of the specified infrastructure device. | 92 | * Returns details of the specified infrastructure device. |
93 | * | 93 | * |
94 | - * @rsModel DeviceGetPorts | 94 | + * @onos.rsModel DeviceGetPorts |
95 | * @param id device identifier | 95 | * @param id device identifier |
96 | * @return 200 OK | 96 | * @return 200 OK |
97 | */ | 97 | */ | ... | ... |
... | @@ -58,7 +58,7 @@ public class FlowsWebResource extends AbstractWebResource { | ... | @@ -58,7 +58,7 @@ public class FlowsWebResource extends AbstractWebResource { |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * Get all flow entries. Returns array of all flow rules in the system. | 60 | * Get all flow entries. Returns array of all flow rules in the system. |
61 | - * @rsModel Flows | 61 | + * @onos.rsModel Flows |
62 | * @return array of all the intents in the system | 62 | * @return array of all the intents in the system |
63 | */ | 63 | */ |
64 | @GET | 64 | @GET |
... | @@ -80,7 +80,7 @@ public class FlowsWebResource extends AbstractWebResource { | ... | @@ -80,7 +80,7 @@ public class FlowsWebResource extends AbstractWebResource { |
80 | /** | 80 | /** |
81 | * Get flow entries of a device. Returns array of all flow rules for the | 81 | * Get flow entries of a device. Returns array of all flow rules for the |
82 | * specified device. | 82 | * specified device. |
83 | - * @rsModel Flows | 83 | + * @onos.rsModel Flows |
84 | * @param deviceId device identifier | 84 | * @param deviceId device identifier |
85 | * @return flow data as an array | 85 | * @return flow data as an array |
86 | */ | 86 | */ |
... | @@ -103,7 +103,7 @@ public class FlowsWebResource extends AbstractWebResource { | ... | @@ -103,7 +103,7 @@ public class FlowsWebResource extends AbstractWebResource { |
103 | /** | 103 | /** |
104 | * Get flow rule. Returns the flow entry specified by the device id and | 104 | * Get flow rule. Returns the flow entry specified by the device id and |
105 | * flow rule id. | 105 | * flow rule id. |
106 | - * @rsModel Flows | 106 | + * @onos.rsModel Flows |
107 | * @param deviceId device identifier | 107 | * @param deviceId device identifier |
108 | * @param flowId flow rule identifier | 108 | * @param flowId flow rule identifier |
109 | * @return flow data as an array | 109 | * @return flow data as an array |
... | @@ -130,7 +130,7 @@ public class FlowsWebResource extends AbstractWebResource { | ... | @@ -130,7 +130,7 @@ public class FlowsWebResource extends AbstractWebResource { |
130 | /** | 130 | /** |
131 | * Create new flow rule. Creates and installs a new flow rule for the | 131 | * Create new flow rule. Creates and installs a new flow rule for the |
132 | * specified device. | 132 | * specified device. |
133 | - * @rsModel FlowsPost | 133 | + * @onos.rsModel FlowsPost |
134 | * @param deviceId device identifier | 134 | * @param deviceId device identifier |
135 | * @param stream flow rule JSON | 135 | * @param stream flow rule JSON |
136 | * @return status of the request - CREATED if the JSON is correct, | 136 | * @return status of the request - CREATED if the JSON is correct, | ... | ... |
... | @@ -73,7 +73,7 @@ public class HostsWebResource extends AbstractWebResource { | ... | @@ -73,7 +73,7 @@ public class HostsWebResource extends AbstractWebResource { |
73 | * Returns array of all known end-station hosts. | 73 | * Returns array of all known end-station hosts. |
74 | * | 74 | * |
75 | * @return 200 OK | 75 | * @return 200 OK |
76 | - * @rsModel Hosts | 76 | + * @onos.rsModel Hosts |
77 | */ | 77 | */ |
78 | @GET | 78 | @GET |
79 | @Produces(MediaType.APPLICATION_JSON) | 79 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -89,7 +89,7 @@ public class HostsWebResource extends AbstractWebResource { | ... | @@ -89,7 +89,7 @@ public class HostsWebResource extends AbstractWebResource { |
89 | * | 89 | * |
90 | * @param id host identifier | 90 | * @param id host identifier |
91 | * @return 200 OK | 91 | * @return 200 OK |
92 | - * @rsModel Host | 92 | + * @onos.rsModel Host |
93 | */ | 93 | */ |
94 | @GET | 94 | @GET |
95 | @Produces(MediaType.APPLICATION_JSON) | 95 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -108,7 +108,7 @@ public class HostsWebResource extends AbstractWebResource { | ... | @@ -108,7 +108,7 @@ public class HostsWebResource extends AbstractWebResource { |
108 | * @param mac host MAC address | 108 | * @param mac host MAC address |
109 | * @param vlan host VLAN identifier | 109 | * @param vlan host VLAN identifier |
110 | * @return 200 OK | 110 | * @return 200 OK |
111 | - * @rsModel Host | 111 | + * @onos.rsModel Host |
112 | */ | 112 | */ |
113 | @GET | 113 | @GET |
114 | @Produces(MediaType.APPLICATION_JSON) | 114 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -128,7 +128,7 @@ public class HostsWebResource extends AbstractWebResource { | ... | @@ -128,7 +128,7 @@ public class HostsWebResource extends AbstractWebResource { |
128 | * @param stream input JSON | 128 | * @param stream input JSON |
129 | * @return status of the request - CREATED if the JSON is correct, | 129 | * @return status of the request - CREATED if the JSON is correct, |
130 | * BAD_REQUEST if the JSON is invalid | 130 | * BAD_REQUEST if the JSON is invalid |
131 | - * @rsModel HostPut | 131 | + * @onos.rsModel HostPut |
132 | */ | 132 | */ |
133 | @POST | 133 | @POST |
134 | @Consumes(MediaType.APPLICATION_JSON) | 134 | @Consumes(MediaType.APPLICATION_JSON) | ... | ... |
... | @@ -70,7 +70,7 @@ public class IntentsWebResource extends AbstractWebResource { | ... | @@ -70,7 +70,7 @@ public class IntentsWebResource extends AbstractWebResource { |
70 | /** | 70 | /** |
71 | * Get all intents. | 71 | * Get all intents. |
72 | * Returns array containing all the intents in the system. | 72 | * Returns array containing all the intents in the system. |
73 | - * @rsModel Intents | 73 | + * @onos.rsModel Intents |
74 | * @return array of all the intents in the system | 74 | * @return array of all the intents in the system |
75 | */ | 75 | */ |
76 | @GET | 76 | @GET |
... | @@ -84,7 +84,7 @@ public class IntentsWebResource extends AbstractWebResource { | ... | @@ -84,7 +84,7 @@ public class IntentsWebResource extends AbstractWebResource { |
84 | /** | 84 | /** |
85 | * Get intent by application and key. | 85 | * Get intent by application and key. |
86 | * Returns details of the specified intent. | 86 | * Returns details of the specified intent. |
87 | - * @rsModel Intents | 87 | + * @onos.rsModel Intents |
88 | * @param appId application identifier | 88 | * @param appId application identifier |
89 | * @param key intent key | 89 | * @param key intent key |
90 | * @return intent data | 90 | * @return intent data |
... | @@ -136,7 +136,7 @@ public class IntentsWebResource extends AbstractWebResource { | ... | @@ -136,7 +136,7 @@ public class IntentsWebResource extends AbstractWebResource { |
136 | /** | 136 | /** |
137 | * Submit a new intent. | 137 | * Submit a new intent. |
138 | * Creates and submits intent from the JSON request. | 138 | * Creates and submits intent from the JSON request. |
139 | - * @rsModel IntentHost | 139 | + * @onos.rsModel IntentHost |
140 | * @param stream input JSON | 140 | * @param stream input JSON |
141 | * @return status of the request - CREATED if the JSON is correct, | 141 | * @return status of the request - CREATED if the JSON is correct, |
142 | * BAD_REQUEST if the JSON is invalid | 142 | * BAD_REQUEST if the JSON is invalid | ... | ... |
... | @@ -44,7 +44,7 @@ public class LinksWebResource extends AbstractWebResource { | ... | @@ -44,7 +44,7 @@ public class LinksWebResource extends AbstractWebResource { |
44 | /** | 44 | /** |
45 | * Get infrastructure links. | 45 | * Get infrastructure links. |
46 | * Returns array of all links, or links for the specified device or port. | 46 | * Returns array of all links, or links for the specified device or port. |
47 | - * @rsModel LinksGet | 47 | + * @onos.rsModel LinksGet |
48 | * @param deviceId (optional) device identifier | 48 | * @param deviceId (optional) device identifier |
49 | * @param port (optional) port number | 49 | * @param port (optional) port number |
50 | * @param direction (optional) direction qualifier | 50 | * @param direction (optional) direction qualifier | ... | ... |
... | @@ -60,7 +60,7 @@ public class PathsWebResource extends AbstractWebResource { | ... | @@ -60,7 +60,7 @@ public class PathsWebResource extends AbstractWebResource { |
60 | /** | 60 | /** |
61 | * Get all shortest paths between any two hosts or devices. | 61 | * Get all shortest paths between any two hosts or devices. |
62 | * Returns array of all shortest paths between any two elements. | 62 | * Returns array of all shortest paths between any two elements. |
63 | - * @rsModel Paths | 63 | + * @onos.rsModel Paths |
64 | * @param src source identifier | 64 | * @param src source identifier |
65 | * @param dst destination identifier | 65 | * @param dst destination identifier |
66 | * @return path data | 66 | * @return path data |
... | @@ -79,7 +79,7 @@ public class PathsWebResource extends AbstractWebResource { | ... | @@ -79,7 +79,7 @@ public class PathsWebResource extends AbstractWebResource { |
79 | /** | 79 | /** |
80 | * Get all shortest disjoint paths between any two hosts or devices. | 80 | * Get all shortest disjoint paths between any two hosts or devices. |
81 | * Returns array of all shortest disjoint paths between any two elements. | 81 | * Returns array of all shortest disjoint paths between any two elements. |
82 | - * @rsModel Paths | 82 | + * @onos.rsModel Paths |
83 | * @param src source identifier | 83 | * @param src source identifier |
84 | * @param dst destination identifier | 84 | * @param dst destination identifier |
85 | * @return path data | 85 | * @return path data | ... | ... |
... | @@ -60,7 +60,7 @@ public class StatisticsWebResource extends AbstractWebResource { | ... | @@ -60,7 +60,7 @@ public class StatisticsWebResource extends AbstractWebResource { |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * Get load statistics for all links or for a specific link. | 62 | * Get load statistics for all links or for a specific link. |
63 | - * @rsModel StatisticsFlowsLink | 63 | + * @onos.rsModel StatisticsFlowsLink |
64 | * @param deviceId (optional) device ID for a specific link | 64 | * @param deviceId (optional) device ID for a specific link |
65 | * @param port (optional) port number for a specified link | 65 | * @param port (optional) port number for a specified link |
66 | * @return JSON encoded array lof Load objects | 66 | * @return JSON encoded array lof Load objects |
... | @@ -102,7 +102,7 @@ public class StatisticsWebResource extends AbstractWebResource { | ... | @@ -102,7 +102,7 @@ public class StatisticsWebResource extends AbstractWebResource { |
102 | 102 | ||
103 | /** | 103 | /** |
104 | * Get table statistics for all tables of all devices. | 104 | * Get table statistics for all tables of all devices. |
105 | - * @rsModel StatisticsFlowsTables | 105 | + * @onos.rsModel StatisticsFlowsTables |
106 | * @return JSON encoded array of table statistics | 106 | * @return JSON encoded array of table statistics |
107 | */ | 107 | */ |
108 | @GET | 108 | @GET |
... | @@ -131,7 +131,7 @@ public class StatisticsWebResource extends AbstractWebResource { | ... | @@ -131,7 +131,7 @@ public class StatisticsWebResource extends AbstractWebResource { |
131 | 131 | ||
132 | /** | 132 | /** |
133 | * Get table statistics for all tables of a specified device. | 133 | * Get table statistics for all tables of a specified device. |
134 | - * @rsModel StatisticsFlowsTables | 134 | + * @onos.rsModel StatisticsFlowsTables |
135 | * @param deviceId device ID | 135 | * @param deviceId device ID |
136 | * @return JSON encoded array of table statistics | 136 | * @return JSON encoded array of table statistics |
137 | */ | 137 | */ |
... | @@ -157,7 +157,7 @@ public class StatisticsWebResource extends AbstractWebResource { | ... | @@ -157,7 +157,7 @@ public class StatisticsWebResource extends AbstractWebResource { |
157 | 157 | ||
158 | /** | 158 | /** |
159 | * Get port statistics of all devices. | 159 | * Get port statistics of all devices. |
160 | - * @rsModel StatisticsPorts | 160 | + * @onos.rsModel StatisticsPorts |
161 | * @return JSON encoded array of port statistics | 161 | * @return JSON encoded array of port statistics |
162 | */ | 162 | */ |
163 | @GET | 163 | @GET |
... | @@ -186,7 +186,7 @@ public class StatisticsWebResource extends AbstractWebResource { | ... | @@ -186,7 +186,7 @@ public class StatisticsWebResource extends AbstractWebResource { |
186 | 186 | ||
187 | /** | 187 | /** |
188 | * Get port statistics of a specified devices. | 188 | * Get port statistics of a specified devices. |
189 | - * @rsModel StatisticsPorts | 189 | + * @onos.rsModel StatisticsPorts |
190 | * @param deviceId device ID | 190 | * @param deviceId device ID |
191 | * @return JSON encoded array of port statistics | 191 | * @return JSON encoded array of port statistics |
192 | */ | 192 | */ | ... | ... |
... | @@ -50,7 +50,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -50,7 +50,7 @@ public class TopologyWebResource extends AbstractWebResource { |
50 | * Get overview of current topology. | 50 | * Get overview of current topology. |
51 | * | 51 | * |
52 | * @return topology overview | 52 | * @return topology overview |
53 | - * @rsModel Topology | 53 | + * @onos.rsModel Topology |
54 | */ | 54 | */ |
55 | @GET | 55 | @GET |
56 | @Produces(MediaType.APPLICATION_JSON) | 56 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -64,7 +64,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -64,7 +64,7 @@ public class TopologyWebResource extends AbstractWebResource { |
64 | * Get overview of topology SCCs. | 64 | * Get overview of topology SCCs. |
65 | * | 65 | * |
66 | * @return topology clusters overview | 66 | * @return topology clusters overview |
67 | - * @rsModel TopologyClusters | 67 | + * @onos.rsModel TopologyClusters |
68 | */ | 68 | */ |
69 | @GET | 69 | @GET |
70 | @Produces(MediaType.APPLICATION_JSON) | 70 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -82,7 +82,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -82,7 +82,7 @@ public class TopologyWebResource extends AbstractWebResource { |
82 | * | 82 | * |
83 | * @param clusterId id of the cluster to query | 83 | * @param clusterId id of the cluster to query |
84 | * @return topology cluster details | 84 | * @return topology cluster details |
85 | - * @rsModel TopologyCluster | 85 | + * @onos.rsModel TopologyCluster |
86 | */ | 86 | */ |
87 | @GET | 87 | @GET |
88 | @Produces(MediaType.APPLICATION_JSON) | 88 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -106,7 +106,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -106,7 +106,7 @@ public class TopologyWebResource extends AbstractWebResource { |
106 | * | 106 | * |
107 | * @param clusterId id of the cluster to query | 107 | * @param clusterId id of the cluster to query |
108 | * @return topology cluster devices | 108 | * @return topology cluster devices |
109 | - * @rsModel TopologyClustersDevices | 109 | + * @onos.rsModel TopologyClustersDevices |
110 | */ | 110 | */ |
111 | @GET | 111 | @GET |
112 | @Produces(MediaType.APPLICATION_JSON) | 112 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -130,7 +130,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -130,7 +130,7 @@ public class TopologyWebResource extends AbstractWebResource { |
130 | * | 130 | * |
131 | * @param clusterId id of the cluster to query | 131 | * @param clusterId id of the cluster to query |
132 | * @return topology cluster links | 132 | * @return topology cluster links |
133 | - * @rsModel LinksGet | 133 | + * @onos.rsModel LinksGet |
134 | */ | 134 | */ |
135 | @GET | 135 | @GET |
136 | @Produces(MediaType.APPLICATION_JSON) | 136 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -180,7 +180,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -180,7 +180,7 @@ public class TopologyWebResource extends AbstractWebResource { |
180 | * @param connectPointString deviceid:portnumber | 180 | * @param connectPointString deviceid:portnumber |
181 | * @return JSON representation of true if the connect point is broadcast, | 181 | * @return JSON representation of true if the connect point is broadcast, |
182 | * false otherwise | 182 | * false otherwise |
183 | - * @rsModel TopologyBroadcast | 183 | + * @onos.rsModel TopologyBroadcast |
184 | */ | 184 | */ |
185 | @GET | 185 | @GET |
186 | @Produces(MediaType.APPLICATION_JSON) | 186 | @Produces(MediaType.APPLICATION_JSON) |
... | @@ -205,7 +205,7 @@ public class TopologyWebResource extends AbstractWebResource { | ... | @@ -205,7 +205,7 @@ public class TopologyWebResource extends AbstractWebResource { |
205 | * @param connectPointString deviceid:portnumber | 205 | * @param connectPointString deviceid:portnumber |
206 | * @return JSON representation of true if the connect point is broadcast, | 206 | * @return JSON representation of true if the connect point is broadcast, |
207 | * false otherwise | 207 | * false otherwise |
208 | - * @rsModel TopologyInfrastructure | 208 | + * @onos.rsModel TopologyInfrastructure |
209 | */ | 209 | */ |
210 | @GET | 210 | @GET |
211 | @Produces(MediaType.APPLICATION_JSON) | 211 | @Produces(MediaType.APPLICATION_JSON) | ... | ... |
-
Please register or login to post a comment