[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: |
|
||||||||
| 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=' |