Add pagination for mounted resources of apidocs 95/83895/7
authorJie Han <han.jie@zte.com.cn>
Thu, 22 Aug 2019 12:06:24 +0000 (20:06 +0800)
committerRobert Varga <nite@hq.sk>
Mon, 9 Sep 2019 05:50:07 +0000 (05:50 +0000)
commitc8f621b97a42a68e42b7b4df49312a9d5048d59d
treed38011033bef0609da15fb997f6c9f5bd534eab7
parenta63d5a2325c8a730a84256d2e68258af9d872a49
Add pagination for mounted resources of apidocs

Only show 20 yang resource for one page when there're
large amount yang resoures from a mount point such that
the explorer would not clash.

Change-Id: I7f7180ae7464407933cee49bd4fe8d24db216f77
Signed-off-by: Jie Han <han.jie@zte.com.cn>
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/ApiDocServiceImpl.java
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/BaseYangSwaggerGenerator.java
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/mountpoints/MountPointSwagger.java
restconf/sal-rest-docgen/src/main/resources/18/explorer/index.html
restconf/sal-rest-docgen/src/main/resources/18/explorer/lib/odl/list_mounts.js
restconf/sal-rest-docgen/src/main/resources/explorer/css/simplePagination.css [new file with mode: 0644]
restconf/sal-rest-docgen/src/main/resources/explorer/index.html
restconf/sal-rest-docgen/src/main/resources/explorer/lib/jquery.simplePagination.js [new file with mode: 0644]
restconf/sal-rest-docgen/src/main/resources/explorer/lib/odl/list_mounts.js
restconf/sal-rest-docgen/src/main/resources/explorer/lib/odl/page.js [new file with mode: 0644]
restconf/sal-rest-docgen/src/test/java/org/opendaylight/controller/sal/rest/doc/impl/DocGenTestHelper.java