[NETCONF-1234] Slow API docs generation for Junos device Created: 26/Jan/24  Updated: 29/Jan/24  Resolved: 29/Jan/24

Status: Resolved
Project: netconf
Component/s: restconf-openapi
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Task Priority: Medium
Reporter: Ivan Hrasko Assignee: Yaroslav Lastivka
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to NETCONF-938 Cannot generate API docs for Junos de... In Review

 Description   

In NETCONF-938 we have solved a memory issue when generating API dos for Junos device model. Now we are going to address the problem that it takes over 1 an half minute on machine with 6CPUs and 2Gib of memory.



 Comments   
Comment by Ivan Hrasko [ 29/Jan/24 ]

With https://git.opendaylight.org/gerrit/c/netconf/+/109803 we can generate and download OpenAPI docs for junos device within 30 seconds with:

curl -o /home/odl/Desktop/openapi.json --location 'http://localhost:8181/openapi/api/v3/mounts/1' --header 'Authorization: Basic YWRtaW46YWRtaW4='
Generated at Wed Feb 07 20:16:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.