From 5365646dc85aad32b7be4918122ce6d8e6de2fe3 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 19 Feb 2018 15:03:19 +0100 Subject: Adapt hc2vpp to ODL Oxygen (HONEYCOMB-424) Requires https://gerrit.fd.io/r/#/c/11320/ Also changes encoding of empty type in json test files to [null] (RFC8040) from {} that was used so far. Honeycomb uses draft-ietf-netconf-restconf-02 of restconf compoments, so there might be a bug in ODL or HC configuration. To resolve it, using RFC8040 version of ODL restconf components should be considered (HONEYCOMB-430). Not covered: - postman collections update - CSIT tests update Change-Id: I820c46b5b0b22330e8529e8870c8bdad9508473b Signed-off-by: Marek Gradzki --- .../core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vpp-integration/api-docs') diff --git a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java index e0c2b5022..b4002b636 100644 --- a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java +++ b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java @@ -49,7 +49,7 @@ public class YangTypeLinkIndex { final String namespace = qname.getNamespace().toString(); - final String formattedRevision = qname.getFormattedRevision(); + final String formattedRevision = qname.getRevision().get().toString(); final String model = modelTypeIndex.namespaceToModule(namespace, formattedRevision); return modelLinkIndex.linkForModel(model, formattedRevision); } -- cgit 1.2.3-korg