@itentialopensource/adapter-nokia_nsp_nfm_p 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (417) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +9875 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +128217 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +51 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +64 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/SamoAaa/action.json +124 -0
  33. package/entities/SamoAaa/schema.json +24 -0
  34. package/entities/SamoAapolicy/action.json +204 -0
  35. package/entities/SamoAapolicy/schema.json +28 -0
  36. package/entities/SamoAclfilter/action.json +244 -0
  37. package/entities/SamoAclfilter/schema.json +30 -0
  38. package/entities/SamoActivation/action.json +524 -0
  39. package/entities/SamoActivation/schema.json +44 -0
  40. package/entities/SamoAdp/action.json +104 -0
  41. package/entities/SamoAdp/schema.json +23 -0
  42. package/entities/SamoAengr/action.json +44 -0
  43. package/entities/SamoAengr/schema.json +20 -0
  44. package/entities/SamoAingr/action.json +44 -0
  45. package/entities/SamoAingr/schema.json +20 -0
  46. package/entities/SamoAnalytics/action.json +64 -0
  47. package/entities/SamoAnalytics/schema.json +21 -0
  48. package/entities/SamoAncp/action.json +24 -0
  49. package/entities/SamoAncp/schema.json +19 -0
  50. package/entities/SamoAntispoof/action.json +24 -0
  51. package/entities/SamoAntispoof/schema.json +19 -0
  52. package/entities/SamoAosredundancy/action.json +44 -0
  53. package/entities/SamoAosredundancy/schema.json +20 -0
  54. package/entities/SamoAossas/action.json +44 -0
  55. package/entities/SamoAossas/schema.json +20 -0
  56. package/entities/SamoAps/action.json +86 -0
  57. package/entities/SamoAps/schema.json +22 -0
  58. package/entities/SamoArp/action.json +24 -0
  59. package/entities/SamoArp/schema.json +19 -0
  60. package/entities/SamoAssurance/action.json +44 -0
  61. package/entities/SamoAssurance/schema.json +20 -0
  62. package/entities/SamoAtm/action.json +25 -0
  63. package/entities/SamoAtm/schema.json +19 -0
  64. package/entities/SamoAuth/action.json +24 -0
  65. package/entities/SamoAuth/schema.json +19 -0
  66. package/entities/SamoAutoconfig/action.json +24 -0
  67. package/entities/SamoAutoconfig/schema.json +19 -0
  68. package/entities/SamoBgp/action.json +24 -0
  69. package/entities/SamoBgp/schema.json +19 -0
  70. package/entities/SamoBier/action.json +24 -0
  71. package/entities/SamoBier/schema.json +19 -0
  72. package/entities/SamoBundle/action.json +85 -0
  73. package/entities/SamoBundle/schema.json +22 -0
  74. package/entities/SamoCac/action.json +85 -0
  75. package/entities/SamoCac/schema.json +22 -0
  76. package/entities/SamoCalltrace/action.json +204 -0
  77. package/entities/SamoCalltrace/schema.json +28 -0
  78. package/entities/SamoClear/action.json +24 -0
  79. package/entities/SamoClear/schema.json +19 -0
  80. package/entities/SamoConnprof/action.json +84 -0
  81. package/entities/SamoConnprof/schema.json +22 -0
  82. package/entities/SamoCrdtctrl/action.json +24 -0
  83. package/entities/SamoCrdtctrl/schema.json +19 -0
  84. package/entities/SamoDb/action.json +207 -0
  85. package/entities/SamoDb/schema.json +28 -0
  86. package/entities/SamoDctr/action.json +394 -0
  87. package/entities/SamoDctr/schema.json +37 -0
  88. package/entities/SamoDhcp/action.json +184 -0
  89. package/entities/SamoDhcp/schema.json +27 -0
  90. package/entities/SamoDiameter/action.json +64 -0
  91. package/entities/SamoDiameter/schema.json +21 -0
  92. package/entities/SamoDynsvc/action.json +164 -0
  93. package/entities/SamoDynsvc/schema.json +26 -0
  94. package/entities/SamoEpipe/action.json +24 -0
  95. package/entities/SamoEpipe/schema.json +19 -0
  96. package/entities/SamoEquipment/action.json +767 -0
  97. package/entities/SamoEquipment/schema.json +56 -0
  98. package/entities/SamoEsa/action.json +46 -0
  99. package/entities/SamoEsa/schema.json +20 -0
  100. package/entities/SamoEthernetequipment/action.json +24 -0
  101. package/entities/SamoEthernetequipment/schema.json +19 -0
  102. package/entities/SamoEthernetoam/action.json +364 -0
  103. package/entities/SamoEthernetoam/schema.json +36 -0
  104. package/entities/SamoEthernettunnel/action.json +164 -0
  105. package/entities/SamoEthernettunnel/schema.json +26 -0
  106. package/entities/SamoEthring/action.json +404 -0
  107. package/entities/SamoEthring/schema.json +38 -0
  108. package/entities/SamoEvent/action.json +24 -0
  109. package/entities/SamoEvent/schema.json +19 -0
  110. package/entities/SamoFile/action.json +164 -0
  111. package/entities/SamoFile/schema.json +26 -0
  112. package/entities/SamoFirewall/action.json +85 -0
  113. package/entities/SamoFirewall/schema.json +22 -0
  114. package/entities/SamoFlexi/action.json +284 -0
  115. package/entities/SamoFlexi/schema.json +32 -0
  116. package/entities/SamoFlexigrp/action.json +44 -0
  117. package/entities/SamoFlexigrp/schema.json +20 -0
  118. package/entities/SamoFlexiperf/action.json +65 -0
  119. package/entities/SamoFlexiperf/schema.json +21 -0
  120. package/entities/SamoFm/action.json +872 -0
  121. package/entities/SamoFm/schema.json +61 -0
  122. package/entities/SamoGeneral/action.json +185 -0
  123. package/entities/SamoGeneral/schema.json +27 -0
  124. package/entities/SamoGeneric/action.json +607 -0
  125. package/entities/SamoGeneric/schema.json +48 -0
  126. package/entities/SamoGenericne/action.json +105 -0
  127. package/entities/SamoGenericne/schema.json +23 -0
  128. package/entities/SamoGmplsuni/action.json +64 -0
  129. package/entities/SamoGmplsuni/schema.json +21 -0
  130. package/entities/SamoGtp/action.json +24 -0
  131. package/entities/SamoGtp/schema.json +19 -0
  132. package/entities/SamoHsm/action.json +64 -0
  133. package/entities/SamoHsm/schema.json +21 -0
  134. package/entities/SamoIcmp/action.json +24 -0
  135. package/entities/SamoIcmp/schema.json +19 -0
  136. package/entities/SamoIes/action.json +104 -0
  137. package/entities/SamoIes/schema.json +23 -0
  138. package/entities/SamoIgh/action.json +24 -0
  139. package/entities/SamoIgh/schema.json +19 -0
  140. package/entities/SamoIgmp/action.json +84 -0
  141. package/entities/SamoIgmp/schema.json +22 -0
  142. package/entities/SamoIpipe/action.json +44 -0
  143. package/entities/SamoIpipe/schema.json +20 -0
  144. package/entities/SamoIpsec/action.json +184 -0
  145. package/entities/SamoIpsec/schema.json +27 -0
  146. package/entities/SamoIsa/action.json +168 -0
  147. package/entities/SamoIsa/schema.json +26 -0
  148. package/entities/SamoIsis/action.json +104 -0
  149. package/entities/SamoIsis/schema.json +23 -0
  150. package/entities/SamoL2fib/action.json +205 -0
  151. package/entities/SamoL2fib/schema.json +28 -0
  152. package/entities/SamoL2fwd/action.json +84 -0
  153. package/entities/SamoL2fwd/schema.json +22 -0
  154. package/entities/SamoL2tp/action.json +244 -0
  155. package/entities/SamoL2tp/schema.json +30 -0
  156. package/entities/SamoL3fwd/action.json +86 -0
  157. package/entities/SamoL3fwd/schema.json +22 -0
  158. package/entities/SamoLag/action.json +44 -0
  159. package/entities/SamoLag/schema.json +20 -0
  160. package/entities/SamoLayer2/action.json +144 -0
  161. package/entities/SamoLayer2/schema.json +25 -0
  162. package/entities/SamoLdp/action.json +104 -0
  163. package/entities/SamoLdp/schema.json +23 -0
  164. package/entities/SamoLmgperf/action.json +65 -0
  165. package/entities/SamoLmgperf/schema.json +21 -0
  166. package/entities/SamoLocaluserdb/action.json +24 -0
  167. package/entities/SamoLocaluserdb/schema.json +19 -0
  168. package/entities/SamoLog/action.json +24 -0
  169. package/entities/SamoLog/schema.json +19 -0
  170. package/entities/SamoLps/action.json +64 -0
  171. package/entities/SamoLps/schema.json +21 -0
  172. package/entities/SamoLte/action.json +144 -0
  173. package/entities/SamoLte/schema.json +25 -0
  174. package/entities/SamoLtecmm/action.json +124 -0
  175. package/entities/SamoLtecmm/schema.json +24 -0
  176. package/entities/SamoLteuserstats/action.json +84 -0
  177. package/entities/SamoLteuserstats/schema.json +22 -0
  178. package/entities/SamoMacsec/action.json +204 -0
  179. package/entities/SamoMacsec/schema.json +28 -0
  180. package/entities/SamoManagedObjects/action.json +165 -0
  181. package/entities/SamoManagedObjects/mockdatafiles/queryForClassesWithFilter-default.json +5 -0
  182. package/entities/SamoManagedObjects/mockdatafiles/queryForClassesWithRestFilter-default.json +4 -0
  183. package/entities/SamoManagedObjects/schema.json +26 -0
  184. package/entities/SamoMdaxconnect/action.json +65 -0
  185. package/entities/SamoMdaxconnect/schema.json +21 -0
  186. package/entities/SamoMediation/action.json +1470 -0
  187. package/entities/SamoMediation/schema.json +91 -0
  188. package/entities/SamoMirror/action.json +44 -0
  189. package/entities/SamoMirror/schema.json +20 -0
  190. package/entities/SamoMirrorli/action.json +24 -0
  191. package/entities/SamoMirrorli/schema.json +19 -0
  192. package/entities/SamoMld/action.json +84 -0
  193. package/entities/SamoMld/schema.json +22 -0
  194. package/entities/SamoMonpath/action.json +284 -0
  195. package/entities/SamoMonpath/schema.json +32 -0
  196. package/entities/SamoMpls/action.json +706 -0
  197. package/entities/SamoMpls/schema.json +53 -0
  198. package/entities/SamoMplstp/action.json +64 -0
  199. package/entities/SamoMplstp/schema.json +21 -0
  200. package/entities/SamoMpr/action.json +24 -0
  201. package/entities/SamoMpr/schema.json +19 -0
  202. package/entities/SamoMsappolicy/action.json +44 -0
  203. package/entities/SamoMsappolicy/schema.json +20 -0
  204. package/entities/SamoMulticast/action.json +104 -0
  205. package/entities/SamoMulticast/schema.json +23 -0
  206. package/entities/SamoMulticastmgr/action.json +164 -0
  207. package/entities/SamoMulticastmgr/schema.json +26 -0
  208. package/entities/SamoMultichassis/action.json +325 -0
  209. package/entities/SamoMultichassis/schema.json +34 -0
  210. package/entities/SamoMvpls/action.json +44 -0
  211. package/entities/SamoMvpls/schema.json +20 -0
  212. package/entities/SamoMwa/action.json +45 -0
  213. package/entities/SamoMwa/schema.json +20 -0
  214. package/entities/SamoNat/action.json +427 -0
  215. package/entities/SamoNat/schema.json +39 -0
  216. package/entities/SamoNeaudit/action.json +64 -0
  217. package/entities/SamoNeaudit/schema.json +21 -0
  218. package/entities/SamoNelicense/action.json +24 -0
  219. package/entities/SamoNelicense/schema.json +19 -0
  220. package/entities/SamoNetca/action.json +45 -0
  221. package/entities/SamoNetca/schema.json +20 -0
  222. package/entities/SamoNetw/action.json +1775 -0
  223. package/entities/SamoNetw/schema.json +106 -0
  224. package/entities/SamoNfv/action.json +24 -0
  225. package/entities/SamoNfv/schema.json +19 -0
  226. package/entities/SamoNge/action.json +685 -0
  227. package/entities/SamoNge/schema.json +52 -0
  228. package/entities/SamoNiegr/action.json +64 -0
  229. package/entities/SamoNiegr/schema.json +21 -0
  230. package/entities/SamoNqueue/action.json +46 -0
  231. package/entities/SamoNqueue/schema.json +20 -0
  232. package/entities/SamoNtp/action.json +24 -0
  233. package/entities/SamoNtp/schema.json +19 -0
  234. package/entities/SamoOpenflow/action.json +24 -0
  235. package/entities/SamoOpenflow/schema.json +19 -0
  236. package/entities/SamoOptical/action.json +1771 -0
  237. package/entities/SamoOptical/schema.json +105 -0
  238. package/entities/SamoOpticalacl/action.json +24 -0
  239. package/entities/SamoOpticalacl/schema.json +19 -0
  240. package/entities/SamoOpticsperf/action.json +45 -0
  241. package/entities/SamoOpticsperf/schema.json +20 -0
  242. package/entities/SamoOspf/action.json +84 -0
  243. package/entities/SamoOspf/schema.json +22 -0
  244. package/entities/SamoOth/action.json +106 -0
  245. package/entities/SamoOth/schema.json +23 -0
  246. package/entities/SamoPae8021x/action.json +84 -0
  247. package/entities/SamoPae8021x/schema.json +22 -0
  248. package/entities/SamoPim/action.json +84 -0
  249. package/entities/SamoPim/schema.json +22 -0
  250. package/entities/SamoPolicy/action.json +831 -0
  251. package/entities/SamoPolicy/schema.json +59 -0
  252. package/entities/SamoPolicytestutil/action.json +24 -0
  253. package/entities/SamoPolicytestutil/schema.json +19 -0
  254. package/entities/SamoPppoe/action.json +124 -0
  255. package/entities/SamoPppoe/schema.json +24 -0
  256. package/entities/SamoPropertyrules/action.json +84 -0
  257. package/entities/SamoPropertyrules/schema.json +22 -0
  258. package/entities/SamoPtp/action.json +84 -0
  259. package/entities/SamoPtp/schema.json +22 -0
  260. package/entities/SamoPxc/action.json +105 -0
  261. package/entities/SamoPxc/schema.json +23 -0
  262. package/entities/SamoQosprofile/action.json +184 -0
  263. package/entities/SamoQosprofile/schema.json +27 -0
  264. package/entities/SamoRadiusaccounting/action.json +25 -0
  265. package/entities/SamoRadiusaccounting/schema.json +19 -0
  266. package/entities/SamoRanlicense/action.json +85 -0
  267. package/entities/SamoRanlicense/schema.json +22 -0
  268. package/entities/SamoRanradiom/action.json +125 -0
  269. package/entities/SamoRanradiom/schema.json +24 -0
  270. package/entities/SamoRca/action.json +104 -0
  271. package/entities/SamoRca/schema.json +23 -0
  272. package/entities/SamoRessubscr/action.json +944 -0
  273. package/entities/SamoRessubscr/schema.json +65 -0
  274. package/entities/SamoRevoke/action.json +24 -0
  275. package/entities/SamoRevoke/schema.json +19 -0
  276. package/entities/SamoRip/action.json +64 -0
  277. package/entities/SamoRip/schema.json +21 -0
  278. package/entities/SamoRmd/action.json +124 -0
  279. package/entities/SamoRmd/schema.json +24 -0
  280. package/entities/SamoRollback/action.json +204 -0
  281. package/entities/SamoRollback/schema.json +28 -0
  282. package/entities/SamoRp/action.json +284 -0
  283. package/entities/SamoRp/schema.json +32 -0
  284. package/entities/SamoRsvp/action.json +84 -0
  285. package/entities/SamoRsvp/schema.json +22 -0
  286. package/entities/SamoRtr/action.json +687 -0
  287. package/entities/SamoRtr/schema.json +52 -0
  288. package/entities/SamoSas/action.json +745 -0
  289. package/entities/SamoSas/schema.json +55 -0
  290. package/entities/SamoSasqos/action.json +251 -0
  291. package/entities/SamoSasqos/schema.json +30 -0
  292. package/entities/SamoSbtsperf/action.json +65 -0
  293. package/entities/SamoSbtsperf/schema.json +21 -0
  294. package/entities/SamoSchedule/action.json +105 -0
  295. package/entities/SamoSchedule/schema.json +23 -0
  296. package/entities/SamoScript/action.json +888 -0
  297. package/entities/SamoScript/schema.json +62 -0
  298. package/entities/SamoSecurity/action.json +369 -0
  299. package/entities/SamoSecurity/schema.json +36 -0
  300. package/entities/SamoSecuritypolicy/action.json +24 -0
  301. package/entities/SamoSecuritypolicy/schema.json +19 -0
  302. package/entities/SamoSelfconfig/action.json +84 -0
  303. package/entities/SamoSelfconfig/schema.json +22 -0
  304. package/entities/SamoServer/action.json +84 -0
  305. package/entities/SamoServer/schema.json +22 -0
  306. package/entities/SamoService/action.json +1146 -0
  307. package/entities/SamoService/schema.json +75 -0
  308. package/entities/SamoShg/action.json +64 -0
  309. package/entities/SamoShg/schema.json +21 -0
  310. package/entities/SamoSimulator/action.json +104 -0
  311. package/entities/SamoSimulator/schema.json +23 -0
  312. package/entities/SamoSitesec/action.json +224 -0
  313. package/entities/SamoSitesec/schema.json +29 -0
  314. package/entities/SamoSlope/action.json +24 -0
  315. package/entities/SamoSlope/schema.json +19 -0
  316. package/entities/SamoSnmp/action.json +189 -0
  317. package/entities/SamoSnmp/schema.json +27 -0
  318. package/entities/SamoSonet/action.json +84 -0
  319. package/entities/SamoSonet/schema.json +22 -0
  320. package/entities/SamoSonetequipment/action.json +24 -0
  321. package/entities/SamoSonetequipment/schema.json +19 -0
  322. package/entities/SamoSpanrules/action.json +44 -0
  323. package/entities/SamoSpanrules/schema.json +20 -0
  324. package/entities/SamoSpb/action.json +84 -0
  325. package/entities/SamoSpb/schema.json +22 -0
  326. package/entities/SamoSqueue/action.json +67 -0
  327. package/entities/SamoSqueue/schema.json +21 -0
  328. package/entities/SamoSrmrmtauth/action.json +44 -0
  329. package/entities/SamoSrmrmtauth/schema.json +20 -0
  330. package/entities/SamoSrpythonmgmt/action.json +24 -0
  331. package/entities/SamoSrpythonmgmt/schema.json +19 -0
  332. package/entities/SamoStatistics/action.json +64 -0
  333. package/entities/SamoStatistics/schema.json +21 -0
  334. package/entities/SamoSubscr/action.json +24 -0
  335. package/entities/SamoSubscr/schema.json +19 -0
  336. package/entities/SamoSubscrauth/action.json +25 -0
  337. package/entities/SamoSubscrauth/schema.json +19 -0
  338. package/entities/SamoSup/action.json +590 -0
  339. package/entities/SamoSup/schema.json +47 -0
  340. package/entities/SamoSvq/action.json +24 -0
  341. package/entities/SamoSvq/schema.json +19 -0
  342. package/entities/SamoSvt/action.json +284 -0
  343. package/entities/SamoSvt/schema.json +32 -0
  344. package/entities/SamoSw/action.json +144 -0
  345. package/entities/SamoSw/schema.json +25 -0
  346. package/entities/SamoSynce/action.json +24 -0
  347. package/entities/SamoSynce/schema.json +19 -0
  348. package/entities/SamoTca/action.json +84 -0
  349. package/entities/SamoTca/schema.json +22 -0
  350. package/entities/SamoTdm/action.json +108 -0
  351. package/entities/SamoTdm/schema.json +23 -0
  352. package/entities/SamoTdmequipment/action.json +24 -0
  353. package/entities/SamoTdmequipment/schema.json +19 -0
  354. package/entities/SamoTod/action.json +45 -0
  355. package/entities/SamoTod/schema.json +20 -0
  356. package/entities/SamoTopology/action.json +1285 -0
  357. package/entities/SamoTopology/schema.json +82 -0
  358. package/entities/SamoTopologysim/action.json +264 -0
  359. package/entities/SamoTopologysim/schema.json +31 -0
  360. package/entities/SamoTpsperf/action.json +25 -0
  361. package/entities/SamoTpsperf/schema.json +19 -0
  362. package/entities/SamoTunnelmgmt/action.json +207 -0
  363. package/entities/SamoTunnelmgmt/schema.json +28 -0
  364. package/entities/SamoUrl/action.json +84 -0
  365. package/entities/SamoUrl/schema.json +22 -0
  366. package/entities/SamoVll/action.json +105 -0
  367. package/entities/SamoVll/schema.json +23 -0
  368. package/entities/SamoVpls/action.json +307 -0
  369. package/entities/SamoVpls/schema.json +33 -0
  370. package/entities/SamoVprn/action.json +186 -0
  371. package/entities/SamoVprn/schema.json +38 -0
  372. package/entities/SamoVrrp/action.json +164 -0
  373. package/entities/SamoVrrp/schema.json +26 -0
  374. package/entities/SamoVs/action.json +106 -0
  375. package/entities/SamoVs/schema.json +23 -0
  376. package/entities/SamoVwmperf/action.json +25 -0
  377. package/entities/SamoVwmperf/schema.json +19 -0
  378. package/entities/SamoVwmsas/action.json +24 -0
  379. package/entities/SamoVwmsas/schema.json +19 -0
  380. package/entities/SamoWlangw/action.json +386 -0
  381. package/entities/SamoWlangw/schema.json +37 -0
  382. package/entities/SamoWpp/action.json +44 -0
  383. package/entities/SamoWpp/schema.json +20 -0
  384. package/error.json +190 -0
  385. package/package.json +86 -0
  386. package/pronghorn.json +94803 -0
  387. package/propertiesDecorators.json +14 -0
  388. package/propertiesSchema.json +1248 -0
  389. package/refs?service=git-upload-pack +0 -0
  390. package/report/adapterInfo.json +10 -0
  391. package/report/creationReport.json +10760 -0
  392. package/report/https:/network.developer.nokia.com/static/swagger/v2.0/source-json/22.3/nfmpRest-22.3-v2.json +1 -0
  393. package/sampleProperties.json +195 -0
  394. package/test/integration/adapterTestBasicGet.js +83 -0
  395. package/test/integration/adapterTestConnectivity.js +93 -0
  396. package/test/integration/adapterTestIntegration.js +45569 -0
  397. package/test/unit/adapterBaseTestUnit.js +949 -0
  398. package/test/unit/adapterTestUnit.js +35419 -0
  399. package/utils/adapterInfo.js +206 -0
  400. package/utils/addAuth.js +94 -0
  401. package/utils/artifactize.js +146 -0
  402. package/utils/basicGet.js +50 -0
  403. package/utils/checkMigrate.js +63 -0
  404. package/utils/entitiesToDB.js +178 -0
  405. package/utils/findPath.js +74 -0
  406. package/utils/methodDocumentor.js +225 -0
  407. package/utils/modify.js +154 -0
  408. package/utils/packModificationScript.js +35 -0
  409. package/utils/patches2bundledDeps.js +90 -0
  410. package/utils/pre-commit.sh +32 -0
  411. package/utils/removeHooks.js +20 -0
  412. package/utils/setup.js +33 -0
  413. package/utils/tbScript.js +246 -0
  414. package/utils/tbUtils.js +490 -0
  415. package/utils/testRunner.js +298 -0
  416. package/utils/troubleshootingAdapter.js +195 -0
  417. package/workflows/README.md +3 -0
@@ -0,0 +1,65 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "restRessubscrAbstractResSubscrTemplateConstructTemplatedObject",
12
+ "enum": [
13
+ "restRessubscrAbstractResSubscrTemplateConstructTemplatedObject",
14
+ "restRessubscrAbstractResSubscrTemplateUpdate",
15
+ "restRessubscrBrgProfileClearPassword",
16
+ "restRessubscrDhcpLeaseStateRetrieveDhcpLease",
17
+ "restRessubscrDhcpLeaseStateRadiusClassAttributeRetrieveDhcpLeaseStateRadiusClasses",
18
+ "restRessubscrHostLockoutInfoRetrieveHostLockoutInfo",
19
+ "restRessubscrHostTrackedSubscriberRetrieveHostTrackedSubscribers",
20
+ "restRessubscrIPoESessionRequestClearIpoeSessions",
21
+ "restRessubscrIPoESessionRetrieveIPoESessions",
22
+ "restRessubscrIPoESessionRadiusClassAttributeRetrieveIPoESessionRadiusClasses",
23
+ "restRessubscrManagedSubscriberHostRetrieveManagedSubscriberHosts",
24
+ "restRessubscrResidentialSubscriberModifySubscriberIdent",
25
+ "restRessubscrResidentialSubscriberInstanceClearSubscriberHostDhcp6LeaseState",
26
+ "restRessubscrResidentialSubscriberInstanceClearSubscriberHostLeaseState",
27
+ "restRessubscrResidentialSubscriberInstanceRequestClearHostIgmpHostTracking",
28
+ "restRessubscrResidentialSubscriberInstanceRequestClearIgmpHostTracking",
29
+ "restRessubscrResidentialSubscriberInstanceRetrieveL2tpTunnels",
30
+ "restRessubscrResidentialSubscriberInstanceRetrieveResidentialSubscriber",
31
+ "restRessubscrResidentialSubscriberInstanceRetrieveSubscriberVirtualSubnets",
32
+ "restRessubscrResidentialSubscriberManagerClearDynamicHost",
33
+ "restRessubscrResidentialSubscriberManagerClearSap",
34
+ "restRessubscrResidentialSubscriberManagerCreateSubSvcComponents",
35
+ "restRessubscrResidentialSubscriberManagerCreateSubSvcComponentsDyn",
36
+ "restRessubscrResidentialSubscriberManagerDeleteSubSvcComponents",
37
+ "restRessubscrResidentialSubscriberManagerRetrieveResidentialSubscribers",
38
+ "restRessubscrResidentialSubscriberManagerTriggerCollect",
39
+ "restRessubscrResidentialSubscriberManagerUpdateSubSvcComponentsDynAcl",
40
+ "restRessubscrSlaProfileInstanceRetrieveSlaProfileInstances",
41
+ "restRessubscrSubBrgAddressPoolRetrieveAddrPools",
42
+ "restRessubscrSubSlaacHostRadiusClassAttributeRetrieveSubSlaacHostRadiusClasses",
43
+ "restRessubscrSubscrMacErrorRetrieveSubMacError",
44
+ "restRessubscrSubscrSapErrorRetrieveSubSapError",
45
+ "restRessubscrSubscrSdpErrorRetrieveSubSdpError",
46
+ "restRessubscrSubscrUnknownErrorRetrieveSubUnknownError",
47
+ "restRessubscrSubscriberHostFindSlaProfileStringSuggestions",
48
+ "restRessubscrSubscriberHostRetrieveL2TPSession",
49
+ "restRessubscrSubscriberHostRetrieveSAPHosts",
50
+ "restRessubscrSubscriberHostRetrieveSubscriberHosts",
51
+ "restRessubscrSubscriberHostConfigurationEvalLeaseStatePerSap",
52
+ "restRessubscrSubscriberHostConfigurationEvalLeaseStatePerSapId",
53
+ "restRessubscrSubscriberHostConfigurationUpdateMultipleSubscrHosts",
54
+ "restRessubscrSubscriberHostCreditResetResetCredit",
55
+ "restRessubscrSubscriberHostForceRenewForceRenewSubscriberHost",
56
+ "restRessubscrSubscriberPccRuleEntryRetrievePccRule",
57
+ "restRessubscrSubscriberPccRuleEntryRetrievePccRulesPerSubscrHost",
58
+ "restRessubscrSubscriberQosOverrideRetrieveSubscriberQosOverrides",
59
+ "restRessubscrSubscriberServiceRetrieveSubSvc"
60
+ ],
61
+ "external_name": "ph_request_type"
62
+ }
63
+ },
64
+ "definitions": {}
65
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "revokeToken",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1/revoke?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "revokeToken",
12
+ "enum": [
13
+ "revokeToken"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "restRipAuthenticationKeyRemoveAuthenticationKey",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v2/rip/AuthenticationKey/removeAuthenticationKey/{pathv1}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "restRipInterfaceConfigure",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v2/rip/Interface/configure/{pathv1}?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "restRipSiteConfigure",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v2/rip/Site/configure/{pathv1}?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "restRipAuthenticationKeyRemoveAuthenticationKey",
12
+ "enum": [
13
+ "restRipAuthenticationKeyRemoveAuthenticationKey",
14
+ "restRipInterfaceConfigure",
15
+ "restRipSiteConfigure"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "restRmdAccessInterfaceInitiateDiscovery",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v2/rmd/AccessInterface/initiateDiscovery/{pathv1}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "restRmdDeviceReset",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v2/rmd/Device/reset/{pathv1}?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "restRmdDiscoveredDeviceCreateDevice",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v2/rmd/DiscoveredDevice/createDevice?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "restRmdDiscoveredDeviceResync",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/v2/rmd/DiscoveredDevice/resync?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "restRmdRmdConfigDiscoverDevices",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/v2/rmd/RmdConfig/discoverDevices?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "restRmdRmdConfigStartDiscovery",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/v2/rmd/RmdConfig/startDiscovery/{pathv1}?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "restRmdAccessInterfaceInitiateDiscovery",
12
+ "enum": [
13
+ "restRmdAccessInterfaceInitiateDiscovery",
14
+ "restRmdDeviceReset",
15
+ "restRmdDiscoveredDeviceCreateDevice",
16
+ "restRmdDiscoveredDeviceResync",
17
+ "restRmdRmdConfigDiscoverDevices",
18
+ "restRmdRmdConfigStartDiscovery"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,204 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "restRollbackRollbackNEInfoConfigRedundancyRlbkSync",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/configRedundancyRlbkSync?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "restRollbackRollbackNEInfoCreateRollbckCheckPt",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/createRollbckCheckPt?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "restRollbackRollbackNEInfoCreateRollbckRescue",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/createRollbckRescue?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "restRollbackRollbackNEInfoDeleteRollbckCheckPt",
65
+ "protocol": "REST",
66
+ "method": "DELETE",
67
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/deleteRollbckCheckPt?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "restRollbackRollbackNEInfoDeleteRollbckRescue",
85
+ "protocol": "REST",
86
+ "method": "DELETE",
87
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/deleteRollbckRescue?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "restRollbackRollbackNEInfoExecuteCompareCheckpoint",
105
+ "protocol": "REST",
106
+ "method": "PUT",
107
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/executeCompareCheckpoint?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "name": "restRollbackRollbackNEInfoExecuteViewCheckPoint",
125
+ "protocol": "REST",
126
+ "method": "PUT",
127
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/executeViewCheckPoint?{query}",
128
+ "requestSchema": "schema.json",
129
+ "responseSchema": "schema.json",
130
+ "timeout": 0,
131
+ "sendEmpty": false,
132
+ "requestDatatype": "JSON",
133
+ "responseDatatype": "JSON",
134
+ "headers": {},
135
+ "responseObjects": [
136
+ {
137
+ "type": "default",
138
+ "key": "",
139
+ "mockFile": ""
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "name": "restRollbackRollbackNEInfoRedundancyRollbackSync",
145
+ "protocol": "REST",
146
+ "method": "POST",
147
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/redundancyRollbackSync?{query}",
148
+ "requestSchema": "schema.json",
149
+ "responseSchema": "schema.json",
150
+ "timeout": 0,
151
+ "sendEmpty": false,
152
+ "requestDatatype": "JSON",
153
+ "responseDatatype": "JSON",
154
+ "headers": {},
155
+ "responseObjects": [
156
+ {
157
+ "type": "default",
158
+ "key": "",
159
+ "mockFile": ""
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "name": "restRollbackRollbackNEInfoRevertRollbckCheckPt",
165
+ "protocol": "REST",
166
+ "method": "POST",
167
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/revertRollbckCheckPt?{query}",
168
+ "requestSchema": "schema.json",
169
+ "responseSchema": "schema.json",
170
+ "timeout": 0,
171
+ "sendEmpty": false,
172
+ "requestDatatype": "JSON",
173
+ "responseDatatype": "JSON",
174
+ "headers": {},
175
+ "responseObjects": [
176
+ {
177
+ "type": "default",
178
+ "key": "",
179
+ "mockFile": ""
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "name": "restRollbackRollbackNEInfoRevertRollbckRescue",
185
+ "protocol": "REST",
186
+ "method": "POST",
187
+ "entitypath": "{base_path}/{version}/v2/rollback/RollbackNEInfo/revertRollbckRescue?{query}",
188
+ "requestSchema": "schema.json",
189
+ "responseSchema": "schema.json",
190
+ "timeout": 0,
191
+ "sendEmpty": false,
192
+ "requestDatatype": "JSON",
193
+ "responseDatatype": "JSON",
194
+ "headers": {},
195
+ "responseObjects": [
196
+ {
197
+ "type": "default",
198
+ "key": "",
199
+ "mockFile": ""
200
+ }
201
+ ]
202
+ }
203
+ ]
204
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "restRollbackRollbackNEInfoConfigRedundancyRlbkSync",
12
+ "enum": [
13
+ "restRollbackRollbackNEInfoConfigRedundancyRlbkSync",
14
+ "restRollbackRollbackNEInfoCreateRollbckCheckPt",
15
+ "restRollbackRollbackNEInfoCreateRollbckRescue",
16
+ "restRollbackRollbackNEInfoDeleteRollbckCheckPt",
17
+ "restRollbackRollbackNEInfoDeleteRollbckRescue",
18
+ "restRollbackRollbackNEInfoExecuteCompareCheckpoint",
19
+ "restRollbackRollbackNEInfoExecuteViewCheckPoint",
20
+ "restRollbackRollbackNEInfoRedundancyRollbackSync",
21
+ "restRollbackRollbackNEInfoRevertRollbckCheckPt",
22
+ "restRollbackRollbackNEInfoRevertRollbckRescue"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ }
26
+ },
27
+ "definitions": {}
28
+ }