summaryrefslogtreecommitdiffstats
path: root/vpp-integration
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-02-19 15:03:19 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-04-04 04:16:14 +0000
commit5365646dc85aad32b7be4918122ce6d8e6de2fe3 (patch)
treea646d1b2c693fe0481e19fe39ecdb4486a7fffb6 /vpp-integration
parent4af77ce878baf1ac89ed9111274bc7375c878949 (diff)
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 <mgradzki@cisco.com>
Diffstat (limited to 'vpp-integration')
-rw-r--r--vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/YangTypeLinkIndex.java2
1 files changed, 1 insertions, 1 deletions
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);
}