Sho SHIMIZU
Committed by Thomas Vachuska

Regard the release when the APIs became deprecated as Cardinal

Change-Id: I072fa33a2a70baa7466d7a0dc5067191476be0f3
Showing 19 changed files with 48 additions and 1 deletions
...@@ -57,6 +57,7 @@ import static org.onosproject.net.DeviceId.deviceId; ...@@ -57,6 +57,7 @@ import static org.onosproject.net.DeviceId.deviceId;
57 * optical links and any other state that needs to be configured for correct network 57 * optical links and any other state that needs to be configured for correct network
58 * operations. 58 * operations.
59 * 59 *
60 + * @deprecated in Cardinal Release
60 */ 61 */
61 @Deprecated 62 @Deprecated
62 @JsonIgnoreProperties(ignoreUnknown = true) 63 @JsonIgnoreProperties(ignoreUnknown = true)
......
...@@ -21,6 +21,8 @@ import org.onlab.util.HexString; ...@@ -21,6 +21,8 @@ import org.onlab.util.HexString;
21 21
22 /** 22 /**
23 * Public class corresponding to JSON described data model. 23 * Public class corresponding to JSON described data model.
24 + *
25 + * @deprecated in Cardinal Release
24 */ 26 */
25 @Deprecated 27 @Deprecated
26 public class OpticalLinkDescription { 28 public class OpticalLinkDescription {
......
...@@ -23,6 +23,8 @@ import org.slf4j.LoggerFactory; ...@@ -23,6 +23,8 @@ import org.slf4j.LoggerFactory;
23 23
24 /** 24 /**
25 * Public class corresponding to JSON described data model. 25 * Public class corresponding to JSON described data model.
26 + *
27 + * @deprecated in Cardinal Release
26 */ 28 */
27 @Deprecated 29 @Deprecated
28 public class OpticalNetworkConfig { 30 public class OpticalNetworkConfig {
......
...@@ -22,6 +22,8 @@ import org.onlab.util.HexString; ...@@ -22,6 +22,8 @@ import org.onlab.util.HexString;
22 22
23 /** 23 /**
24 * Public class corresponding to JSON described data model. 24 * Public class corresponding to JSON described data model.
25 + *
26 + * @deprecated in Cardinal Release
25 */ 27 */
26 @Deprecated 28 @Deprecated
27 public class OpticalSwitchDescription { 29 public class OpticalSwitchDescription {
......
...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg; ...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg;
17 17
18 /** 18 /**
19 * Packet-optical link Java data object. 19 * Packet-optical link Java data object.
20 + *
21 + * @deprecated in Cardinal Release
20 */ 22 */
21 @Deprecated 23 @Deprecated
22 class PktOptLink { 24 class PktOptLink {
......
...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg; ...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg;
17 17
18 /** 18 /**
19 * ROADM java data object converted from a JSON file. 19 * ROADM java data object converted from a JSON file.
20 + *
21 + * @deprecated in Cardinal Release
20 */ 22 */
21 @Deprecated 23 @Deprecated
22 class Roadm { 24 class Roadm {
......
...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg; ...@@ -17,6 +17,8 @@ package org.onosproject.optical.cfg;
17 17
18 /** 18 /**
19 * WDM Link Java data object converted from a JSON file. 19 * WDM Link Java data object converted from a JSON file.
20 + *
21 + * @deprecated in Cardinal Release
20 */ 22 */
21 @Deprecated 23 @Deprecated
22 class WdmLink { 24 class WdmLink {
......
...@@ -199,6 +199,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -199,6 +199,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
199 * with no additional URI. 199 * with no additional URI.
200 * 200 *
201 * @return web resource builder 201 * @return web resource builder
202 + * @deprecated in Cardinal Release
202 */ 203 */
203 @Deprecated 204 @Deprecated
204 private WebResource.Builder getClientBuilder() { 205 private WebResource.Builder getClientBuilder() {
...@@ -210,6 +211,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -210,6 +211,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
210 * with an optional additional URI. 211 * with an optional additional URI.
211 * 212 *
212 * @return web resource builder 213 * @return web resource builder
214 + * @deprecated in Cardinal Release
213 */ 215 */
214 @Deprecated 216 @Deprecated
215 private WebResource.Builder getClientBuilder(String uri) { 217 private WebResource.Builder getClientBuilder(String uri) {
...@@ -227,6 +229,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -227,6 +229,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
227 * Performs a REST GET operation on the base XOS REST URI. 229 * Performs a REST GET operation on the base XOS REST URI.
228 * 230 *
229 * @return JSON string fetched by the GET operation 231 * @return JSON string fetched by the GET operation
232 + * @deprecated in Cardinal Release
230 */ 233 */
231 @Deprecated 234 @Deprecated
232 private String getRest() { 235 private String getRest() {
...@@ -238,6 +241,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -238,6 +241,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
238 * an optional additional URI. 241 * an optional additional URI.
239 * 242 *
240 * @return JSON string fetched by the GET operation 243 * @return JSON string fetched by the GET operation
244 + * @deprecated in Cardinal Release
241 */ 245 */
242 @Deprecated 246 @Deprecated
243 private String getRest(String uri) { 247 private String getRest(String uri) {
...@@ -259,6 +263,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -259,6 +263,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
259 * XOS REST URI with an optional additional URI. 263 * XOS REST URI with an optional additional URI.
260 * 264 *
261 * @param json JSON string to post 265 * @param json JSON string to post
266 + * @deprecated in Cardinal Release
262 */ 267 */
263 @Deprecated 268 @Deprecated
264 private String postRest(String json) { 269 private String postRest(String json) {
...@@ -284,6 +289,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { ...@@ -284,6 +289,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
284 * XOS REST URI with an optional additional URI. 289 * XOS REST URI with an optional additional URI.
285 * 290 *
286 * @param uri optional additional URI 291 * @param uri optional additional URI
292 + * @deprecated in Cardinal Release
287 */ 293 */
288 @Deprecated 294 @Deprecated
289 private void deleteRest(String uri) { 295 private void deleteRest(String uri) {
......
...@@ -32,6 +32,8 @@ public interface FlowRule { ...@@ -32,6 +32,8 @@ public interface FlowRule {
32 * The FlowRule type is used to determine in which table the flow rule needs 32 * The FlowRule type is used to determine in which table the flow rule needs
33 * to be put for multi-table support switch. For single table switch, 33 * to be put for multi-table support switch. For single table switch,
34 * Default is used. 34 * Default is used.
35 + *
36 + * @deprecated in Cardinal Release
35 */ 37 */
36 @Deprecated 38 @Deprecated
37 static enum Type { 39 static enum Type {
......
...@@ -51,6 +51,7 @@ public interface FlowRuleStore extends Store<FlowRuleBatchEvent, FlowRuleStoreDe ...@@ -51,6 +51,7 @@ public interface FlowRuleStore extends Store<FlowRuleBatchEvent, FlowRuleStoreDe
51 * Stores a new flow rule without generating events. 51 * Stores a new flow rule without generating events.
52 * 52 *
53 * @param rule the flow rule to add 53 * @param rule the flow rule to add
54 + * @deprecated in Cardinal Release
54 */ 55 */
55 @Deprecated 56 @Deprecated
56 void storeFlowRule(FlowRule rule); 57 void storeFlowRule(FlowRule rule);
......
...@@ -284,6 +284,7 @@ public final class Instructions { ...@@ -284,6 +284,7 @@ public final class Instructions {
284 * 284 *
285 * @param etherType Ethernet type to set 285 * @param etherType Ethernet type to set
286 * @return a L2 modification. 286 * @return a L2 modification.
287 + * @deprecated in Cardinal Release
287 */ 288 */
288 @Deprecated 289 @Deprecated
289 public static Instruction popMpls(int etherType) { 290 public static Instruction popMpls(int etherType) {
......
...@@ -57,7 +57,7 @@ implements GraphDescription { ...@@ -57,7 +57,7 @@ implements GraphDescription {
57 * @param links collection of infrastructure links 57 * @param links collection of infrastructure links
58 * 58 *
59 * @param annotations optional key/value annotations map 59 * @param annotations optional key/value annotations map
60 - * 60 + * @deprecated in Cardinal Release
61 */ 61 */
62 @Deprecated 62 @Deprecated
63 public DefaultGraphDescription(long nanos, Iterable<Device> devices, 63 public DefaultGraphDescription(long nanos, Iterable<Device> devices,
......
...@@ -35,6 +35,7 @@ public interface ClusterCommunicationService { ...@@ -35,6 +35,7 @@ public interface ClusterCommunicationService {
35 * @param subject message subject 35 * @param subject message subject
36 * @param subscriber message subscriber 36 * @param subscriber message subscriber
37 * @param executor executor to use for running handler. 37 * @param executor executor to use for running handler.
38 + * @deprecated in Cardinal Release
38 */ 39 */
39 @Deprecated 40 @Deprecated
40 void addSubscriber(MessageSubject subject, ClusterMessageHandler subscriber, ExecutorService executor); 41 void addSubscriber(MessageSubject subject, ClusterMessageHandler subscriber, ExecutorService executor);
......
...@@ -38,6 +38,7 @@ public final class JsonUtils { ...@@ -38,6 +38,7 @@ public final class JsonUtils {
38 * @param sid sequence ID 38 * @param sid sequence ID
39 * @param payload event payload 39 * @param payload event payload
40 * @return the object node representation 40 * @return the object node representation
41 + * @deprecated in Cardinal Release
41 */ 42 */
42 @Deprecated 43 @Deprecated
43 public static ObjectNode envelope(String type, long sid, ObjectNode payload) { 44 public static ObjectNode envelope(String type, long sid, ObjectNode payload) {
......
...@@ -105,6 +105,10 @@ public final class MastershipBasedTimestamp implements Timestamp { ...@@ -105,6 +105,10 @@ public final class MastershipBasedTimestamp implements Timestamp {
105 } 105 }
106 106
107 // Default constructor for serialization 107 // Default constructor for serialization
108 +
109 + /**
110 + * @deprecated in Cardinal Release
111 + */
108 @Deprecated 112 @Deprecated
109 protected MastershipBasedTimestamp() { 113 protected MastershipBasedTimestamp() {
110 this.termNumber = -1; 114 this.termNumber = -1;
......
...@@ -108,6 +108,9 @@ public final class Timestamped<T> { ...@@ -108,6 +108,9 @@ public final class Timestamped<T> {
108 } 108 }
109 109
110 // Default constructor for serialization 110 // Default constructor for serialization
111 + /**
112 + * @deprecated in Cardinal Release
113 + */
111 @Deprecated 114 @Deprecated
112 private Timestamped() { 115 private Timestamped() {
113 this.value = null; 116 this.value = null;
......
...@@ -75,6 +75,7 @@ public interface IPacket { ...@@ -75,6 +75,7 @@ public interface IPacket {
75 * @param length 75 * @param length
76 * length of the data to deserialize 76 * length of the data to deserialize
77 * @return the deserialized data 77 * @return the deserialized data
78 + * @deprecated in Cardinal Release
78 */ 79 */
79 @Deprecated 80 @Deprecated
80 IPacket deserialize(byte[] data, int offset, int length); 81 IPacket deserialize(byte[] data, int offset, int length);
......
...@@ -197,6 +197,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -197,6 +197,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
197 197
198 // ================================================================== 198 // ==================================================================
199 199
200 + /**
201 + * @deprecated in Cardinal Release
202 + */
200 @Deprecated 203 @Deprecated
201 private final class TopoStart extends RequestHandler { 204 private final class TopoStart extends RequestHandler {
202 private TopoStart() { 205 private TopoStart() {
...@@ -213,6 +216,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -213,6 +216,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
213 } 216 }
214 } 217 }
215 218
219 + /**
220 + * @deprecated in Cardinal Release
221 + */
216 @Deprecated 222 @Deprecated
217 private final class TopoHeartbeat extends RequestHandler { 223 private final class TopoHeartbeat extends RequestHandler {
218 private TopoHeartbeat() { 224 private TopoHeartbeat() {
...@@ -225,6 +231,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -225,6 +231,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
225 } 231 }
226 } 232 }
227 233
234 + /**
235 + * @deprecated in Cardinal Release
236 + */
228 @Deprecated 237 @Deprecated
229 private final class TopoStop extends RequestHandler { 238 private final class TopoStop extends RequestHandler {
230 private TopoStop() { 239 private TopoStop() {
...@@ -238,6 +247,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -238,6 +247,9 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
238 } 247 }
239 } 248 }
240 249
250 + /**
251 + * @deprecated in Cardinal Release
252 + */
241 @Deprecated 253 @Deprecated
242 private final class ReqSummary extends RequestHandler { 254 private final class ReqSummary extends RequestHandler {
243 private ReqSummary() { 255 private ReqSummary() {
......
...@@ -109,6 +109,8 @@ import static org.onosproject.ui.impl.TopologyViewMessageHandlerBase.StatsType.P ...@@ -109,6 +109,8 @@ import static org.onosproject.ui.impl.TopologyViewMessageHandlerBase.StatsType.P
109 109
110 /** 110 /**
111 * Facility for creating messages bound for the topology viewer. 111 * Facility for creating messages bound for the topology viewer.
112 + *
113 + * @deprecated in Cardinal Release
112 */ 114 */
113 @Deprecated 115 @Deprecated
114 public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler { 116 public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler {
......