Update RFC links 72/107072/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jul 2023 23:59:12 +0000 (01:59 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jul 2023 23:59:12 +0000 (01:59 +0200)
Use rfc-editor.org links instead of datatracker.ietf.org for published
RFCs.

Change-Id: Ie9c36a32cea540292703bd7d4c63c3b3af885354
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
20 files changed:
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/ApiPath.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/package-info.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/ContentParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/DepthParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/FieldsParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/FilterParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/InsertParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/PointParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/RestconfQueryParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/StartTimeParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/StopTimeParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/WithDefaultsParam.java
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/query/package-info.java
protocol/restconf-api/src/test/java/org/opendaylight/restconf/api/FieldsParamTest.java
restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/ErrorTags.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/MediaTypes.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/WriteDataParams.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/api/RestconfStreamsSubscriptionService.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/OperationsContent.java
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/ReadDataTransactionUtil.java

index bad3b33fcb249abde0ae85936366dd06cef5f1e4..a88d37574197bb688689e54cddc361bf339a6f98 100644 (file)
@@ -23,8 +23,8 @@ import org.opendaylight.yangtools.yang.common.UnresolvedQName.Unqualified;
 
 /**
  * Intermediate representation of a parsed {@code api-path} string as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-3.5.3.1">RFC section 3.5.3.1</a>. It models the
- * path as a series of {@link Step}s.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-3.5.3.1">RFC section 3.5.3.1</a>. It models the path
+ * as a series of {@link Step}s.
  */
 @NonNullByDefault
 public final class ApiPath implements Immutable {
index 2e0e8298ece8bf4a3b22d38d5815f5cc3d3df482..a5bb639dd0e16d05034ff98c1807065bf382b037 100644 (file)
@@ -6,6 +6,6 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * RESTCONF protocol constructs, as specified by <a href="https://datatracker.ietf.org/doc/html/rfc8040">RFC8040</a>.
+ * RESTCONF protocol constructs, as specified by <a href="https://www.rfc-editor.org/rfc/rfc8040">RFC8040</a>.
  */
 package org.opendaylight.restconf.api;
index 79d6e252038f1660dd0cc66c462a867050992030..3f95f311f2441fe690ab1552fe00c6ada7dbfbc2 100644 (file)
@@ -13,7 +13,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Enumeration of possible {@code content} values as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.1">RFC8040, section 4.8.1</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.1">RFC8040, section 4.8.1</a>.
  */
 public enum ContentParam implements RestconfQueryParam<ContentParam> {
     /**
index 646a52ca9adbd0120b75659ed909f4f01b8f0c9c..2ee241ef0d41dbfd73df15cc0861f69b8cef2f08 100644 (file)
@@ -15,7 +15,7 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * This class represents a {@code depth} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.2">RFC8040 section 4.8.2</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.2">RFC8040 section 4.8.2</a>.
  */
 public final class DepthParam implements RestconfQueryParam<DepthParam> {
     // API consistency: must not be confused with enum constants
index a9762f0991b23eb90a0ec8c00b6b025d3fde1c2e..2a0cd640ba38b74a7d00bd346eae5f7b689b8d23 100644 (file)
@@ -20,7 +20,7 @@ import org.opendaylight.yangtools.concepts.Immutable;
 
 /**
  * This class represents a {@code fields} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.3">RFC8040 section 4.8.3</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.3">RFC8040 section 4.8.3</a>.
  */
 @NonNullByDefault
 public final class FieldsParam implements RestconfQueryParam<FieldsParam> {
index 5fd54ffdaf3856a7dd797896401e72b7659c4645..a12804c26bc9b9a5ab86eca631b2913ceb381481 100644 (file)
@@ -14,7 +14,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * This class represents a {@code filter} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.4">RFC8040 section 4.8.4</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.4">RFC8040 section 4.8.4</a>.
  */
 
 public final class FilterParam implements RestconfQueryParam<FilterParam> {
index 807fcb342732d36a9c20ce9c5351b4e592fec3cc..7d9dbea2d4598de153f958b5308672987826ad80 100644 (file)
@@ -13,7 +13,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Enumeration of possible {@code insert} values as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.5">RFC8040, section 4.8.5</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.5">RFC8040, section 4.8.5</a>.
  */
 public enum InsertParam implements RestconfQueryParam<InsertParam> {
     /**
index cc6cff73db6b12cd39729b2ed43055c313e25bce..32aa5373aefba51c29a8f8cf4ac38abeb9af7d2e 100644 (file)
@@ -13,7 +13,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * This class represents a {@code point} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.6">RFC8040 section 4.8.6</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.6">RFC8040 section 4.8.6</a>.
  */
 public final class PointParam implements RestconfQueryParam<PointParam> {
     // API consistency: must not be confused with enum constants
index 9a0881e4528cb7791ba9ed697f42a27afddd7115..9cd70d6c7a8a7f5de183b7506423f0b08d40fc30 100644 (file)
@@ -12,7 +12,7 @@ import org.opendaylight.yangtools.concepts.Immutable;
 
 /**
  * Interface implemented by all Java classes which represent a
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8">RESTCONF query parameter</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8">RESTCONF query parameter</a>.
  *
  * <p>
  * Implementations of this interface are required to expose a {@code public static @NonNull uriName} constant, which
index bb75fc72fda8c94175cb76f6a722776faf4cf13d..1cdca8a5861280fa83f88f6157098b1b373f8e22 100644 (file)
@@ -12,7 +12,7 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.
 
 /**
  * This class represents a {@code start-time} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.7">RFC8040 section 4.8.7</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.7">RFC8040 section 4.8.7</a>.
  */
 public final class StartTimeParam extends AbstractReplayParam<StartTimeParam> {
     // API consistency: must not be confused with enum constants
index 79ccac20124d80875287a2a4612c206505050e7d..709acb268296c788aae556d9897ea1e72a883579 100644 (file)
@@ -12,7 +12,7 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.
 
 /**
  * This class represents a {@code stop-time} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.8">RFC8040 section 4.8.8</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.8">RFC8040 section 4.8.8</a>.
  */
 public final class StopTimeParam extends AbstractReplayParam<StopTimeParam> {
     // API consistency: must not be confused with enum constants
index d4037263e99aa10e106324f8b264e5c4abf08405..dce2345fab83429681336604be6ea5894c413d8d 100644 (file)
@@ -14,7 +14,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Enumeration of possible {@code with-defaults} parameter values as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.9">RFC8040, section 4.8.9</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.9">RFC8040, section 4.8.9</a>.
  */
 public enum WithDefaultsParam implements RestconfQueryParam<WithDefaultsParam> {
     /**
index e929812140e4f16a7e4e1c5ffa3ffee0bd5ebd2c..bb6dc307410795666b657954b970ce316f8a5570 100644 (file)
@@ -7,7 +7,7 @@
  */
 /**
  * RESTCONF query parameters, as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8">RESTCONF query parameter</a>. This package hosts
- * support for {@link RestconfQueryParam} and its specializations.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8">RESTCONF query parameter</a>. This package hosts support
+ * for {@link RestconfQueryParam} and its specializations.
  */
 package org.opendaylight.restconf.api.query;
\ No newline at end of file
index d6dc8efbb232260eeb944055c1a879dc7b6e0ea3..48544c9584976f2c5ef8c19398f4de3952cc8c97 100644 (file)
@@ -18,7 +18,7 @@ import org.opendaylight.restconf.api.query.FieldsParam;
 import org.opendaylight.restconf.api.query.FieldsParam.NodeSelector;
 
 public class FieldsParamTest {
-    // https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.3:
+    // https://www.rfc-editor.org/rfc/rfc8040#section-4.8.3:
     //    ";" is used to select multiple nodes.  For example, to retrieve only
     //    the "genre" and "year" of an album, use "fields=genre;year".
     @Test
@@ -35,7 +35,7 @@ public class FieldsParamTest {
         assertEquals(List.of(), selector.subSelectors());
     }
 
-    // https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.3:
+    // https://www.rfc-editor.org/rfc/rfc8040#section-4.8.3:
     //    "/" is used in a path to retrieve a child node of a node.  For
     //    example, to retrieve only the "label" of an album, use
     //    "fields=admin/label".
@@ -49,7 +49,7 @@ public class FieldsParamTest {
         assertEquals(List.of(), selector.subSelectors());
     }
 
-    // https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.3:
+    // https://www.rfc-editor.org/rfc/rfc8040#section-4.8.3:
     //    For example, assume that the target resource is the "album" list.  To
     //    retrieve only the "label" and "catalogue-number" of the "admin"
     //    container within an album, use
@@ -75,7 +75,7 @@ public class FieldsParamTest {
         assertEquals(List.of(), subSelector.subSelectors());
     }
 
-    // https://datatracker.ietf.org/doc/html/rfc8040#appendix-B.3.3:
+    // https://www.rfc-editor.org/rfc/rfc8040#appendix-B.3.3:
     //    In this example, the client is retrieving the datastore resource in
     //    JSON format, but retrieving only the "modules-state/module" list, and
     //    only the "name" and "revision" nodes from each list entry.  Note that
index 952218aa7e9f27e5a90c910f6a8ccb5faf8d2ce2..b2d3b810e508cc3aa90b257864391a12879fc676 100644 (file)
@@ -19,7 +19,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * {@link ErrorTag} mapping to HTTP errors. Aside from the mappings defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-7">RFC8040 section 7</a>, we also define tags which
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-7">RFC8040 section 7</a>, we also define tags which
  * map to useful {@link Status} codes.
  */
 @Beta
index 6a27141f4150a6cf8990c96416398a557eb402ca..85269b6c084f74832daa9967c4bed7920ee7db4d 100644 (file)
@@ -18,61 +18,61 @@ public final class MediaTypes {
     /**
      * A {@code String} constant representing {@value #APPLICATION_XRD_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc6415#section-2">RFC6415, section 2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc6415#section-2">RFC6415, section 2</a>
      */
     public static final String APPLICATION_XRD_XML = "application/xrd+xml";
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_XRD_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc6415#section-2">RFC6415, section 2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc6415#section-2">RFC6415, section 2</a>
      */
     public static final MediaType APPLICATION_XRD_XML_TYPE = MediaType.valueOf(APPLICATION_XRD_XML);
     /**
      * A {@code String} constant representing {@value #APPLICATION_YANG_DATA_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-11.3.1">RFC8040, section 11.3.1</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8040#section-11.3.1">RFC8040, section 11.3.1</a>
      */
     public static final String APPLICATION_YANG_DATA_XML = "application/yang-data+xml";
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_YANG_DATA_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-11.3.1">RFC8040, section 11.3.1</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8040#section-11.3.1">RFC8040, section 11.3.1</a>
      */
     public static final MediaType APPLICATION_YANG_DATA_XML_TYPE = MediaType.valueOf(APPLICATION_YANG_DATA_XML);
     /**
      * A {@code String} constant representing {@value #APPLICATION_YANG_DATA_JSON} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-11.3.2">RFC8040, section 11.3.2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8040#section-11.3.2">RFC8040, section 11.3.2</a>
      */
     public static final String APPLICATION_YANG_DATA_JSON = "application/yang-data+json";
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_YANG_DATA_JSON} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-11.3.2">RFC8040, section 11.3.2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8040#section-11.3.2">RFC8040, section 11.3.2</a>
      */
     public static final MediaType APPLICATION_YANG_DATA_JSON_TYPE = MediaType.valueOf(APPLICATION_YANG_DATA_JSON);
     /**
      * A {@code String} constant representing {@value #APPLICATION_YANG_PATCH_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8072#section-4.2.1">RFC8072, section 4.2.1</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8072#section-4.2.1">RFC8072, section 4.2.1</a>
      */
     public static final String APPLICATION_YANG_PATCH_XML = "application/yang-patch+xml";
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_YANG_PATCH_XML} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8072#section-4.2.1">RFC8072, section 4.2.1</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8072#section-4.2.1">RFC8072, section 4.2.1</a>
      */
     public static final MediaType APPLICATION_YANG_PATCH_XML_TYPE = MediaType.valueOf(APPLICATION_YANG_PATCH_XML);
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_YANG_PATCH_JSON} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8072#section-4.2.1">RFC8072, section 4.2.2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8072#section-4.2.1">RFC8072, section 4.2.2</a>
      */
     public static final String APPLICATION_YANG_PATCH_JSON = "application/yang-patch+json";
     /**
      * A {@code MediaType} constant representing {@value #APPLICATION_YANG_PATCH_JSON} media type.
      *
-     * @see <a href="https://datatracker.ietf.org/doc/html/rfc8072#section-4.2.1">RFC8072, section 4.2.2</a>
+     * @see <a href="https://www.rfc-editor.org/rfc/rfc8072#section-4.2.1">RFC8072, section 4.2.2</a>
      */
     public static final MediaType APPLICATION_YANG_PATCH_JSON_TYPE = MediaType.valueOf(APPLICATION_YANG_PATCH_JSON);
 
index 90b21bec840bf3d07033941c8053f3e81d53426a..2fac349d802a1c4aeef9825ff1a50aad9a29f475 100644 (file)
@@ -42,7 +42,7 @@ public final class WriteDataParams implements Immutable {
                 return empty();
             }
 
-            // https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.5:
+            // https://www.rfc-editor.org/rfc/rfc8040#section-4.8.5:
             //        If the values "before" or "after" are used, then a "point" query
             //        parameter for the "insert" query parameter MUST also be present, or a
             //        "400 Bad Request" status-line is returned.
@@ -51,7 +51,7 @@ public final class WriteDataParams implements Immutable {
                     "Insert parameter " + insert.paramValue() + " cannot be used without a Point parameter.");
             }
         } else {
-            // https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.6:
+            // https://www.rfc-editor.org/rfc/rfc8040#section-4.8.6:
             // [when "point" parameter is present and]
             //        If the "insert" query parameter is not present or has a value other
             //        than "before" or "after", then a "400 Bad Request" status-line is
index 5a5affacd0c9d239c66f11915723f06af2f07b2c..7eab1b0b227969af71813274e6ac21e7c3a695ca 100644 (file)
@@ -27,7 +27,7 @@ public interface RestconfStreamsSubscriptionService {
      * @return {@link NormalizedNodePayload}
      */
     // FIXME: this is a REST violation: GET does not transfer state! This should work in terms of
-    //        https://datatracker.ietf.org/doc/html/rfc8639#section-2.4, i.e. when we have that, aggressively deprecate
+    //        https://www.rfc-editor.org/rfc/rfc8639#section-2.4, i.e. when we have that, aggressively deprecate
     //        and remove this special case. Besides it routes to a very bad thing in RestconfDataServiceImpl
     @GET
     @Path("data/ietf-restconf-monitoring:restconf-state/streams/stream/{identifier:.+}")
index 065c702221b6cabdc915ed6035c9d9237614e0cc..ecdda54fcd0437fc39f32e3ade2d9806a1e30b46 100644 (file)
@@ -22,7 +22,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.RpcEffectiveStatement;
 
 /**
  * RESTCONF {@code /operations} content for a {@code GET} operation as per
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-3.3.2">RFC8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-3.3.2">RFC8040</a>.
  */
 enum OperationsContent {
     JSON("{ \"ietf-restconf:operations\" : { } }") {
index a2f66d33cbf5c1b6c5391569bd29b5d1ece1ab2b..54189eb4279aef9ca7c2f23db256f1bf6bf2a470 100644 (file)
@@ -204,7 +204,7 @@ public final class ReadDataTransactionUtil {
             //
             //            Data nodes set to the YANG default by the client are reported.
             //
-            //        and RFC8040 (https://datatracker.ietf.org/doc/html/rfc8040#page-60) says:
+            //        and RFC8040 (https://www.rfc-editor.org/rfc/rfc8040#page-60) says:
             //
             //            If the "with-defaults" parameter is set to "explicit", then the
             //            server MUST adhere to the default-reporting behavior defined in