Delete restconf Change-Id: I0cc4ea8375ec22b67ee93e1a02a9131f56f044c2 Signed-off-by: Tomas Cere <tcere@cisco.com>
Bug 3887 - Autogenerated API documentation doesn't show application/xml as an option for RPC operations * added xml input option for rpcs, put and post methods Change-Id: I1f73bcb7d1127e4b4324d779aec40907ca627073 Signed-off-by: Jan Hajnar <jhajnar@cisco.com> (cherry picked from commit e57d9461b79dedd8ef9edf8f249b066540fd0e9d)
Bug 1500 - Null pointer exception when using mounted resources tab to see the operations on mount point * added check for when revision is null in modules comparator Change-Id: I3bdc4ed798297d31ea25001d25918e298c8124bb Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Bug 3782: Fix NPE in API doc explorer Fixed NPE when a netconf mounted device has a yang file without a version. Change-Id: Ie562c05772ecd5e9c7d82afc31d06aaf852308a5 Signed-off-by: Tom Pantelis <tpanteli@brocade.com> (cherry picked from commit d9cd9f52898f2705347fa9d6a30f054bdc751a98)
Make logger final The logger should be marked as final and also be called LOG, not _logger. Change-Id: I75f675eec1ee54d659d93aef3e39204a1f7cc920 Signed-off-by: Robert Varga <rovarga@cisco.com>
Remove unused logger Removes the logger, which is not used anyway. Fixes an eclipse warning. Change-Id: I9b4bc3ad88107b2b2ba0cd999b89e3105b2b3b65 Signed-off-by: Robert Varga <rovarga@cisco.com>
Use an ImmutableMap ImmutableMap has better lookup characteristics, so use that instead of wrapping a regular hashmap. Change-Id: If347c9790640f9802f438d5fa225978a56186805 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1513: migrate users to ChoiceSchemaNode This migrates all users to the new interface name, cleaning them up as the data.api and model.api name clash is resolved. Change-Id: Ibdc317d5ff86c6a895cccdacf6dfea1fb005d9b6 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-2506: split out maven binding Maven integration needs to be split out of the runtime implementation, simply because we do not want to pull the requisite runtime into our containers. It would never be used there anyway. Change-Id: Ided36e3b06316739a3829d758889ba523e7e19ad Signed-off-by: Robert Varga <rovarga@cisco.com>
Bug-915: Adding static document generation. Currently the API Explorer can only be accessed from a running server. With this change, the API Explorer will be generated as static html pages at build time in the features folder. Change-Id: I0a898e1a3d9753fd2b046d690173838be057d6ea Signed-off-by: Alex Fan <railor33@gmail.com>
Pulled the RPC query out of the data schema loop, so that modules that only contain RPCs will also be picked up. Signed-off-by: David K. Bainbridge <dbainbri@ciena.com> Change-Id: I63981d2126209263a762acbc190f4ad15f4dd725
BUG 932 - Swagger HTTP POST contains incorrect object POST link now contains specific JSON structure which ends with POST suffix and contains all containers and lists which are direct subchildren of current node (URI link). It is list of possible objects which can be used in POST request. Concretelly are these objects specified below this *POST JSON object and are also all specified in Parameters section of GUI POST URI link with ** prefix. Two stars (**) mean that only one of parameters with ** prefix should be specified. Change-Id: I3acdfd1f181fbef7cca0060d534b706d934bb1e3 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
BUG 907 distinguish augmented nodes All nodes and their child contains also information about module from which they comes from (module_name:node_name) Change-Id: I7b146e820da1b5d3bdb62510a48e6845a78c80a2 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Allow getChildNodes() to become a Collection Preparatory patch for yangtools change -- getChildNodes() will start returning a Collection, not a Set. Change-Id: Ie7255757e3f48465e3acd9e65764f1b79a3a9511 Signed-off-by: Robert Varga <rovarga@cisco.com>
Adding a method to process Identities in a YANG Model Change-Id: Ic07025c3c86d847d2882d80fa360e9a5978275df Signed-off-by: Mayank Agarwal <mayagarw@cisco.com> Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Bug 1290 - Swagger Documentation is failing to load - java script exception Fixed how we generated the json model representing yang union types Fixed json model naming for nested container types. To validate: 1) deploy fix, and load http://localhost:8080/apidoc/explorer. 2) Verify the page loads and you can expand opendaylight-inventory:nodes. 3) Search for "node-connector" and expand a node-connector definition. Verify that the "port-number" type says "integer or string". Change-Id: I8aae18ba4805c3ee57cbb655807af4f15ee61756 Signed-off-by: Devin Avery <devin.avery@brocade.com>
Bug 931, Bug 910 - Enhance Restconf Swagger Documentation 1) We now generate different data models for config and operation data stores 2) We no longer generate URLs for leaf nodes since RESTConf doesn't support those 3) We now expose our mount points in our system in a list, which a user can select and view the list of mounted resources 4) Cleaned up non-ODL branding, adding in ODL branding. To test A) Add a device which has mounts in your system (consider ping 2.0 https://wiki.opendaylight.org/view/Ping_2.0_-_Discover_and_Model_Plugin or a netconf device) B) Navigate to http://localhost:8080/apidoc/explorer) Patch Set 2: Original Change Patch Set 3: Rebased, remformmated existing code which used 2 spaces instead of 4 Patch Set 4: Kicking off a second build, since I got mixed build messages. Change-Id: Ic1f7ad60c6ccd1079d35e66c0dbc4d1a760dd0ec Signed-off-by: Devin Avery <devin.avery@brocade.com>
BUG-272: fix issues in sal-rest-docgen This fixes some small issues in sal-rest-docgen. Change-Id: I52e0dd0d4aaed1363f203e81acf3922b4dd285b5 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-272: remove tabs from Java files Preparatory patch: bulk-convert tabs to 4 spaces. Change-Id: I4c24c763faf41cb4fcfd0277f8b3c7511269e9b7 Signed-off-by: Robert Varga <rovarga@cisco.com>