harvest icon indicating copy to clipboard operation
harvest copied to clipboard

Add REST support to Harvest

Open cgrinds opened this issue 3 years ago • 4 comments

ZAPIs are being deprecated in ONTAP. From slack forum:

ZAPIs will still be available in the version of ONTAP released around Oct 2022. That version of ONTAP will have support till 2025.

cgrinds avatar May 25 '21 15:05 cgrinds

the ZAPI/RESTAPI mapping doc: confluence page: https://confluence.ngage.netapp.com/display/UM/CI+and+AIQUM+Cloud+Agent+Data+Requirements#CIandAIQUMCloudAgentDataRequirements-CombinedFoundationandApplicationtable This has the pointing time copy of the spreadsheet which lives on https://netapp.sharepoint.com/:x:/s/MAP-UX/um.dw/EaITSCApQKpJgur1_iysMIoBn3zKSS7n5-7VWKM1Jv1_XA?e=trZ2I4 (filter by the "Harvest" column)

Useful for our user documentation later. Both are public available:

  • https://netapp.io/2020/12/17/ontapi-to-rest-mapping/ (exact link: https://library.netapp.com/ecm/ecm_download_file/ECMLP2874886)
  • https://library.netapp.com/ecmdocs/ECMLP2856304/html/index.html - this is the swagger documentation for the released ONTAP version (the dev version and earlier versions are inside sec lab: http://restapi.rtp.netapp.com/)

ruanruijuan avatar May 25 '21 17:05 ruanruijuan

Internal RESTAPI plan for Harvest (only viewable to NetApp employees) https://netapp.sharepoint.com/:p:/s/MAP-UX/Harvest/EckF1_OYvqdDjlOKE0vrAkIBe3f_KfreTTI4N2H_479ZGg?e=AyeC6g

ruanruijuan avatar Jun 09 '21 16:06 ruanruijuan

Replaced by #402

cgrinds avatar Sep 23 '21 13:09 cgrinds

Stories which needs to be subdivided further.

  • [x] Analyze missing metrics in dashboards
  • [x] Analyze missing counters inside labels (aggr_labels, volume_labels etc)
  • [x] Analyze missing counters in templates
  • [x] Create remaining object templates
  • [x] Missing plugins in current rest templates
  • [x] Rest infrastructure handling for arrays
  • [x] Rest Infrastructure test going off/on vpn
  • [x] Rest Infrastructure private cli
  • [x] Build support for public/private cli combined in templates
  • [x] Document Rest infra
  • [x] fill gaps
  • [x] write test cases for rest template extension
  • [x] Enable Rest for CI
  • [x] Asup
  • [x] Support filtering
  • [ ] Revisit arrays
  • [x] Add support for logging request/response similar to what is supported today

rahulguptajss avatar Dec 03 '21 16:12 rahulguptajss

array handling will be done in #1637

rahulguptajss avatar Dec 19 '22 16:12 rahulguptajss

Verified in 23.02

cgrinds avatar Feb 10 '23 16:02 cgrinds