@itentialopensource/adapter-viptela 0.9.0 → 0.10.2
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.
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +74 -29
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +221 -571
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +34443 -1655
- package/adapterBase.js +1006 -252
- package/entities/.generic/action.json +105 -0
- package/entities/.generic/schema.json +6 -1
- package/entities/AdministrationAuditLog/action.json +252 -0
- package/entities/AdministrationAuditLog/schema.json +30 -0
- package/entities/AdministrationUserAndGroup/action.json +533 -0
- package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroups-default.json +4 -0
- package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroupsAsKeyValue-default.json +5 -0
- package/entities/AdministrationUserAndGroup/mockdatafiles/findUsers-default.json +3 -0
- package/entities/AdministrationUserAndGroup/mockdatafiles/getColoGroups-default.json +6 -0
- package/entities/AdministrationUserAndGroup/mockdatafiles/getVpnGroups-default.json +5 -0
- package/entities/AdministrationUserAndGroup/schema.json +44 -0
- package/entities/CertificateManagementDevice/action.json +517 -0
- package/entities/CertificateManagementDevice/mockdatafiles/getRootCertChains-default.json +3 -0
- package/entities/CertificateManagementDevice/schema.json +43 -0
- package/entities/ClusterManagement/action.json +477 -0
- package/entities/ClusterManagement/mockdatafiles/getConfiguredIPList-default.json +5 -0
- package/entities/ClusterManagement/mockdatafiles/getConnectedDevices-default.json +3 -0
- package/entities/ClusterManagement/mockdatafiles/getConnectedDevicesPerTenant-default.json +3 -0
- package/entities/ClusterManagement/mockdatafiles/getTenantsList-default.json +4 -0
- package/entities/ClusterManagement/mockdatafiles/listVmanages-default.json +4 -0
- package/entities/ClusterManagement/schema.json +41 -0
- package/entities/ColocationCluster/action.json +229 -0
- package/entities/ColocationCluster/schema.json +29 -0
- package/entities/ColocationServiceChain/action.json +86 -0
- package/entities/ColocationServiceChain/mockdatafiles/getEdgeDevices-default.json +5 -0
- package/entities/ColocationServiceChain/mockdatafiles/getpnfDevices-default.json +5 -0
- package/entities/ColocationServiceChain/schema.json +22 -0
- package/entities/ColocationServiceGroup/action.json +148 -0
- package/entities/ColocationServiceGroup/mockdatafiles/getAvailableChains-default.json +6 -0
- package/entities/ColocationServiceGroup/schema.json +25 -0
- package/entities/ConfigurationDisasterRecovery/action.json +696 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/downloadReplicationData-default.json +5 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/getDisasterRecoveryStatus-default.json +6 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/getLocalDataCenterState-default.json +6 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/getReachabilityInfo-default.json +5 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDCMembersState-default.json +3 -0
- package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDataCenterState-default.json +6 -0
- package/entities/ConfigurationDisasterRecovery/schema.json +52 -0
- package/entities/ConfigurationFeatureList/action.json +46 -0
- package/entities/ConfigurationFeatureList/schema.json +20 -0
- package/entities/CreateABackupSnapshot/action.json +24 -0
- package/entities/CreateABackupSnapshot/schema.json +19 -0
- package/entities/DataCollectionAgent/action.json +470 -0
- package/entities/DataCollectionAgent/mockdatafiles/getTemplatePolicyDefinitionsDCA-default.json +5 -0
- package/entities/DataCollectionAgent/mockdatafiles/getVPNListsDCA-default.json +3 -0
- package/entities/DataCollectionAgent/mockdatafiles/getVedgeTemplateListDCA-default.json +6 -0
- package/entities/DataCollectionAgent/mockdatafiles/getVsmartTemplateListDCA-default.json +5 -0
- package/entities/DataCollectionAgent/mockdatafiles/listAllDevicesDCA-default.json +5 -0
- package/entities/DataCollectionAgent/schema.json +41 -0
- package/entities/DeviceActions/action.json +243 -0
- package/entities/DeviceActions/mockdatafiles/generateSecurityDevicesList-default.json +5 -0
- package/entities/DeviceActions/schema.json +13 -1
- package/entities/DeviceConfigHistory/action.json +294 -0
- package/entities/DeviceConfigHistory/schema.json +32 -0
- package/entities/MonitoringAlarmsDetails/action.json +684 -0
- package/entities/MonitoringAlarmsDetails/mockdatafiles/listDisabledAlarm-default.json +5 -0
- package/entities/MonitoringAlarmsDetails/schema.json +51 -0
- package/entities/MonitoringColocationCluster/action.json +360 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getClusterConfigByClusterId-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getClusterPortMappingByClusterId-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getPNFConfig-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getServiceGroupByClusterId-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getSystemStatusByDeviceId-default.json +6 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getVNFAlarmCount-default.json +6 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsCountDetail-default.json +4 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsDetail-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getVNFInterfaceDetail-default.json +3 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getpnfDetails-default.json +5 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/getvnfByDeviceId-default.json +4 -0
- package/entities/MonitoringColocationCluster/mockdatafiles/listNetworkFunctionMap-default.json +3 -0
- package/entities/MonitoringColocationCluster/schema.json +35 -0
- package/entities/MonitoringDeviceDetails/action.json +40 -0
- package/entities/MonitoringDeviceDetails/schema.json +3 -1
- package/entities/MonitoringDeviceStatisticsDetails/action.json +109 -0
- package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/generateDeviceStatisticsData-default.json +3 -0
- package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getActiveAlarms-default.json +5 -0
- package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatDataFieldsByStateDataType-default.json +6 -0
- package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatisticsType-default.json +4 -0
- package/entities/MonitoringDeviceStatisticsDetails/schema.json +23 -0
- package/entities/MonitoringEvents/action.json +378 -0
- package/entities/MonitoringEvents/mockdatafiles/getComponentsAsKeyValue-default.json +4 -0
- package/entities/MonitoringEvents/mockdatafiles/getEventTypesAsKeyValue-default.json +3 -0
- package/entities/MonitoringEvents/schema.json +36 -0
- package/entities/RealTimeMonitoringAAA/action.json +109 -0
- package/entities/RealTimeMonitoringAAA/mockdatafiles/getAllDeviceUsers-default.json +5 -0
- package/entities/RealTimeMonitoringAAA/mockdatafiles/getUsersFromDevice-default.json +6 -0
- package/entities/RealTimeMonitoringAAA/schema.json +23 -0
- package/entities/SSLProxyCertificateManagementDevice/action.json +494 -0
- package/entities/SSLProxyCertificateManagementDevice/mockdatafiles/getSslProxyList-default.json +4 -0
- package/entities/SSLProxyCertificateManagementDevice/schema.json +42 -0
- package/entities/ScheduledBackupRestore/action.json +189 -0
- package/entities/ScheduledBackupRestore/schema.json +27 -0
- package/entities/SystemCloudService/action.json +313 -0
- package/entities/SystemCloudService/schema.json +33 -0
- package/entities/SystemContainer/action.json +189 -0
- package/entities/SystemContainer/mockdatafiles/getCustomApp-default.json +3 -0
- package/entities/SystemContainer/schema.json +27 -0
- package/entities/TroubleshootingToolsDashboard/action.json +128 -0
- package/entities/TroubleshootingToolsDashboard/schema.json +24 -0
- package/entities/TroubleshootingToolsDeviceConnectivity/action.json +288 -0
- package/entities/TroubleshootingToolsDeviceConnectivity/schema.json +32 -0
- package/entities/TroubleshootingToolsDeviceSoftwarePackage/action.json +85 -0
- package/entities/TroubleshootingToolsDeviceSoftwarePackage/schema.json +22 -0
- package/entities/TroubleshootingToolsDeviceSoftwareUpdate/action.json +86 -0
- package/entities/TroubleshootingToolsDeviceSoftwareUpdate/schema.json +22 -0
- package/entities/TroubleshootingToolsDiagnostics/action.json +977 -0
- package/entities/TroubleshootingToolsDiagnostics/schema.json +65 -0
- package/entities/TroubleshootingToolsSoftwareActions/action.json +232 -0
- package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImages-default.json +6 -0
- package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImagesWithFilters-default.json +5 -0
- package/entities/TroubleshootingToolsSoftwareActions/schema.json +29 -0
- package/error.json +6 -0
- package/package.json +7 -5
- package/pronghorn.json +15511 -1652
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +421 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1651360586947.json +114 -0
- package/report/updateReport1652490573359.json +120 -0
- package/sampleProperties.json +83 -1
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestIntegration.js +10668 -107
- package/test/unit/adapterBaseTestUnit.js +30 -25
- package/test/unit/adapterTestUnit.js +8086 -177
- package/utils/adapterInfo.js +206 -0
- package/utils/entitiesToDB.js +12 -57
- package/utils/pre-commit.sh +3 -0
- package/utils/tbScript.js +35 -20
- package/utils/tbUtils.js +49 -31
- package/utils/testRunner.js +16 -16
|
@@ -0,0 +1,41 @@
|
|
|
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": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createStats",
|
|
14
|
+
"getAllStatsDataDCA",
|
|
15
|
+
"getAccessToken",
|
|
16
|
+
"storeAccessToken",
|
|
17
|
+
"generateAlarm",
|
|
18
|
+
"getIdToken",
|
|
19
|
+
"storeIdToken",
|
|
20
|
+
"getTelemetrySettings",
|
|
21
|
+
"generateDCADeviceStateData",
|
|
22
|
+
"generateDCADeviceStatisticsData",
|
|
23
|
+
"getDCATenantOwners",
|
|
24
|
+
"listAllDevicesDCA",
|
|
25
|
+
"getCrashLogs",
|
|
26
|
+
"getCrashLogsSynced",
|
|
27
|
+
"getCloudServicesConfigurationDCA",
|
|
28
|
+
"createDCAAnalyticsDataFile",
|
|
29
|
+
"getStatsDBIndexStatus",
|
|
30
|
+
"getDevicesDetailsDCA",
|
|
31
|
+
"getDCAAttachedConfigToDevice",
|
|
32
|
+
"getTemplatePolicyDefinitionsDCA",
|
|
33
|
+
"getVPNListsDCA",
|
|
34
|
+
"getVedgeTemplateListDCA",
|
|
35
|
+
"getVsmartTemplateListDCA"
|
|
36
|
+
],
|
|
37
|
+
"external_name": "ph_request_type"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"definitions": {}
|
|
41
|
+
}
|
|
@@ -503,6 +503,249 @@
|
|
|
503
503
|
"mockFile": ""
|
|
504
504
|
}
|
|
505
505
|
]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "processLxcActivate",
|
|
509
|
+
"protocol": "REST",
|
|
510
|
+
"method": "POST",
|
|
511
|
+
"entitypath": "{base_path}/{version}/device/action/lxcactivate?{query}",
|
|
512
|
+
"requestSchema": "schema.json",
|
|
513
|
+
"responseSchema": "schema.json",
|
|
514
|
+
"timeout": 0,
|
|
515
|
+
"sendEmpty": false,
|
|
516
|
+
"requestDatatype": "JSON",
|
|
517
|
+
"responseDatatype": "JSON",
|
|
518
|
+
"headers": {},
|
|
519
|
+
"responseObjects": [
|
|
520
|
+
{
|
|
521
|
+
"type": "default",
|
|
522
|
+
"key": "",
|
|
523
|
+
"mockFile": ""
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "processLxcDelete",
|
|
529
|
+
"protocol": "REST",
|
|
530
|
+
"method": "POST",
|
|
531
|
+
"entitypath": "{base_path}/{version}/device/action/lxcdelete?{query}",
|
|
532
|
+
"requestSchema": "schema.json",
|
|
533
|
+
"responseSchema": "schema.json",
|
|
534
|
+
"timeout": 0,
|
|
535
|
+
"sendEmpty": false,
|
|
536
|
+
"requestDatatype": "JSON",
|
|
537
|
+
"responseDatatype": "JSON",
|
|
538
|
+
"headers": {},
|
|
539
|
+
"responseObjects": [
|
|
540
|
+
{
|
|
541
|
+
"type": "default",
|
|
542
|
+
"key": "",
|
|
543
|
+
"mockFile": ""
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "processLxcInstall",
|
|
549
|
+
"protocol": "REST",
|
|
550
|
+
"method": "POST",
|
|
551
|
+
"entitypath": "{base_path}/{version}/device/action/lxcinstall?{query}",
|
|
552
|
+
"requestSchema": "schema.json",
|
|
553
|
+
"responseSchema": "schema.json",
|
|
554
|
+
"timeout": 0,
|
|
555
|
+
"sendEmpty": false,
|
|
556
|
+
"requestDatatype": "JSON",
|
|
557
|
+
"responseDatatype": "JSON",
|
|
558
|
+
"headers": {},
|
|
559
|
+
"responseObjects": [
|
|
560
|
+
{
|
|
561
|
+
"type": "default",
|
|
562
|
+
"key": "",
|
|
563
|
+
"mockFile": ""
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "processLxcReload",
|
|
569
|
+
"protocol": "REST",
|
|
570
|
+
"method": "POST",
|
|
571
|
+
"entitypath": "{base_path}/{version}/device/action/lxcreload?{query}",
|
|
572
|
+
"requestSchema": "schema.json",
|
|
573
|
+
"responseSchema": "schema.json",
|
|
574
|
+
"timeout": 0,
|
|
575
|
+
"sendEmpty": false,
|
|
576
|
+
"requestDatatype": "JSON",
|
|
577
|
+
"responseDatatype": "JSON",
|
|
578
|
+
"headers": {},
|
|
579
|
+
"responseObjects": [
|
|
580
|
+
{
|
|
581
|
+
"type": "default",
|
|
582
|
+
"key": "",
|
|
583
|
+
"mockFile": ""
|
|
584
|
+
}
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "processLxcReset",
|
|
589
|
+
"protocol": "REST",
|
|
590
|
+
"method": "POST",
|
|
591
|
+
"entitypath": "{base_path}/{version}/device/action/lxcreset?{query}",
|
|
592
|
+
"requestSchema": "schema.json",
|
|
593
|
+
"responseSchema": "schema.json",
|
|
594
|
+
"timeout": 0,
|
|
595
|
+
"sendEmpty": false,
|
|
596
|
+
"requestDatatype": "JSON",
|
|
597
|
+
"responseDatatype": "JSON",
|
|
598
|
+
"headers": {},
|
|
599
|
+
"responseObjects": [
|
|
600
|
+
{
|
|
601
|
+
"type": "default",
|
|
602
|
+
"key": "",
|
|
603
|
+
"mockFile": ""
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "processLxcUpgrade",
|
|
609
|
+
"protocol": "REST",
|
|
610
|
+
"method": "POST",
|
|
611
|
+
"entitypath": "{base_path}/{version}/device/action/lxcupgrade?{query}",
|
|
612
|
+
"requestSchema": "schema.json",
|
|
613
|
+
"responseSchema": "schema.json",
|
|
614
|
+
"timeout": 0,
|
|
615
|
+
"sendEmpty": false,
|
|
616
|
+
"requestDatatype": "JSON",
|
|
617
|
+
"responseDatatype": "JSON",
|
|
618
|
+
"headers": {},
|
|
619
|
+
"responseObjects": [
|
|
620
|
+
{
|
|
621
|
+
"type": "default",
|
|
622
|
+
"key": "",
|
|
623
|
+
"mockFile": ""
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "processDeleteAmpApiKey",
|
|
629
|
+
"protocol": "REST",
|
|
630
|
+
"method": "DELETE",
|
|
631
|
+
"entitypath": "{base_path}/{version}/device/action/security/amp/apikey/{pathv1}?{query}",
|
|
632
|
+
"requestSchema": "schema.json",
|
|
633
|
+
"responseSchema": "schema.json",
|
|
634
|
+
"timeout": 0,
|
|
635
|
+
"sendEmpty": false,
|
|
636
|
+
"requestDatatype": "JSON",
|
|
637
|
+
"responseDatatype": "JSON",
|
|
638
|
+
"headers": {},
|
|
639
|
+
"responseObjects": [
|
|
640
|
+
{
|
|
641
|
+
"type": "default",
|
|
642
|
+
"key": "",
|
|
643
|
+
"mockFile": ""
|
|
644
|
+
}
|
|
645
|
+
]
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "processAmpApiReKey",
|
|
649
|
+
"protocol": "REST",
|
|
650
|
+
"method": "POST",
|
|
651
|
+
"entitypath": "{base_path}/{version}/device/action/security/amp/rekey?{query}",
|
|
652
|
+
"requestSchema": "schema.json",
|
|
653
|
+
"responseSchema": "schema.json",
|
|
654
|
+
"timeout": 0,
|
|
655
|
+
"sendEmpty": false,
|
|
656
|
+
"requestDatatype": "JSON",
|
|
657
|
+
"responseDatatype": "JSON",
|
|
658
|
+
"headers": {},
|
|
659
|
+
"responseObjects": [
|
|
660
|
+
{
|
|
661
|
+
"type": "default",
|
|
662
|
+
"key": "",
|
|
663
|
+
"mockFile": ""
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "testApiKey",
|
|
669
|
+
"protocol": "REST",
|
|
670
|
+
"method": "GET",
|
|
671
|
+
"entitypath": "{base_path}/{version}/device/action/security/apikey/{pathv1}?{query}",
|
|
672
|
+
"requestSchema": "schema.json",
|
|
673
|
+
"responseSchema": "schema.json",
|
|
674
|
+
"timeout": 0,
|
|
675
|
+
"sendEmpty": false,
|
|
676
|
+
"sendGetBody": false,
|
|
677
|
+
"requestDatatype": "JSON",
|
|
678
|
+
"responseDatatype": "JSON",
|
|
679
|
+
"headers": {},
|
|
680
|
+
"responseObjects": [
|
|
681
|
+
{
|
|
682
|
+
"type": "default",
|
|
683
|
+
"key": "",
|
|
684
|
+
"mockFile": ""
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "generateSecurityDevicesList",
|
|
690
|
+
"protocol": "REST",
|
|
691
|
+
"method": "GET",
|
|
692
|
+
"entitypath": "{base_path}/{version}/device/action/security/devices/{pathv1}?{query}",
|
|
693
|
+
"requestSchema": "schema.json",
|
|
694
|
+
"responseSchema": "schema.json",
|
|
695
|
+
"timeout": 0,
|
|
696
|
+
"sendEmpty": false,
|
|
697
|
+
"sendGetBody": false,
|
|
698
|
+
"requestDatatype": "JSON",
|
|
699
|
+
"responseDatatype": "JSON",
|
|
700
|
+
"headers": {},
|
|
701
|
+
"responseObjects": [
|
|
702
|
+
{
|
|
703
|
+
"type": "default",
|
|
704
|
+
"key": "",
|
|
705
|
+
"mockFile": "mockdatafiles/generateSecurityDevicesList-default.json"
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "testIoxConfig",
|
|
711
|
+
"protocol": "REST",
|
|
712
|
+
"method": "GET",
|
|
713
|
+
"entitypath": "{base_path}/{version}/device/action/test/ioxconfig/{pathv1}?{query}",
|
|
714
|
+
"requestSchema": "schema.json",
|
|
715
|
+
"responseSchema": "schema.json",
|
|
716
|
+
"timeout": 0,
|
|
717
|
+
"sendEmpty": false,
|
|
718
|
+
"sendGetBody": false,
|
|
719
|
+
"requestDatatype": "JSON",
|
|
720
|
+
"responseDatatype": "JSON",
|
|
721
|
+
"headers": {},
|
|
722
|
+
"responseObjects": [
|
|
723
|
+
{
|
|
724
|
+
"type": "default",
|
|
725
|
+
"key": "",
|
|
726
|
+
"mockFile": ""
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "processVnfInstall",
|
|
732
|
+
"protocol": "REST",
|
|
733
|
+
"method": "POST",
|
|
734
|
+
"entitypath": "{base_path}/{version}/device/action/vnfinstall?{query}",
|
|
735
|
+
"requestSchema": "schema.json",
|
|
736
|
+
"responseSchema": "schema.json",
|
|
737
|
+
"timeout": 0,
|
|
738
|
+
"sendEmpty": false,
|
|
739
|
+
"requestDatatype": "JSON",
|
|
740
|
+
"responseDatatype": "JSON",
|
|
741
|
+
"headers": {},
|
|
742
|
+
"responseObjects": [
|
|
743
|
+
{
|
|
744
|
+
"type": "default",
|
|
745
|
+
"key": "",
|
|
746
|
+
"mockFile": ""
|
|
747
|
+
}
|
|
748
|
+
]
|
|
506
749
|
}
|
|
507
750
|
]
|
|
508
751
|
}
|
|
@@ -33,7 +33,19 @@
|
|
|
33
33
|
"postDeviceactionztpupgrade",
|
|
34
34
|
"getDeviceactionztpupgradesetting",
|
|
35
35
|
"postDeviceactionztpupgradesetting",
|
|
36
|
-
"getDeviceVsmartStatus"
|
|
36
|
+
"getDeviceVsmartStatus",
|
|
37
|
+
"processLxcActivate",
|
|
38
|
+
"processLxcDelete",
|
|
39
|
+
"processLxcInstall",
|
|
40
|
+
"processLxcReload",
|
|
41
|
+
"processLxcReset",
|
|
42
|
+
"processLxcUpgrade",
|
|
43
|
+
"processDeleteAmpApiKey",
|
|
44
|
+
"processAmpApiReKey",
|
|
45
|
+
"testApiKey",
|
|
46
|
+
"generateSecurityDevicesList",
|
|
47
|
+
"testIoxConfig",
|
|
48
|
+
"processVnfInstall"
|
|
37
49
|
],
|
|
38
50
|
"external_name": "ph_request_type"
|
|
39
51
|
}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getStatDataRawData16",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/device/history?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getStatsRawData16",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/device/history?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "getAggregationDataByQuery16",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/device/history/aggregation?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "getPostAggregationDataByQuery15",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "POST",
|
|
69
|
+
"entitypath": "{base_path}/{version}/device/history/aggregation?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "getLastThousandConfigList",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/device/history/config?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"sendGetBody": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "getDeviceConfig",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/device/history/config/{pathv1}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"sendGetBody": false,
|
|
116
|
+
"requestDatatype": "JSON",
|
|
117
|
+
"responseDatatype": "JSON",
|
|
118
|
+
"headers": {},
|
|
119
|
+
"responseObjects": [
|
|
120
|
+
{
|
|
121
|
+
"type": "default",
|
|
122
|
+
"key": "",
|
|
123
|
+
"mockFile": ""
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "getStatDataRawDataAsCSV16",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"entitypath": "{base_path}/{version}/device/history/csv?{query}",
|
|
132
|
+
"requestSchema": "schema.json",
|
|
133
|
+
"responseSchema": "schema.json",
|
|
134
|
+
"timeout": 0,
|
|
135
|
+
"sendEmpty": false,
|
|
136
|
+
"sendGetBody": false,
|
|
137
|
+
"requestDatatype": "JSON",
|
|
138
|
+
"responseDatatype": "JSON",
|
|
139
|
+
"headers": {},
|
|
140
|
+
"responseObjects": [
|
|
141
|
+
{
|
|
142
|
+
"type": "default",
|
|
143
|
+
"key": "",
|
|
144
|
+
"mockFile": ""
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "getCount18",
|
|
150
|
+
"protocol": "REST",
|
|
151
|
+
"method": "GET",
|
|
152
|
+
"entitypath": "{base_path}/{version}/device/history/doccount?{query}",
|
|
153
|
+
"requestSchema": "schema.json",
|
|
154
|
+
"responseSchema": "schema.json",
|
|
155
|
+
"timeout": 0,
|
|
156
|
+
"sendEmpty": false,
|
|
157
|
+
"sendGetBody": false,
|
|
158
|
+
"requestDatatype": "JSON",
|
|
159
|
+
"responseDatatype": "JSON",
|
|
160
|
+
"headers": {},
|
|
161
|
+
"responseObjects": [
|
|
162
|
+
{
|
|
163
|
+
"type": "default",
|
|
164
|
+
"key": "",
|
|
165
|
+
"mockFile": ""
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "getCountPost18",
|
|
171
|
+
"protocol": "REST",
|
|
172
|
+
"method": "POST",
|
|
173
|
+
"entitypath": "{base_path}/{version}/device/history/doccount?{query}",
|
|
174
|
+
"requestSchema": "schema.json",
|
|
175
|
+
"responseSchema": "schema.json",
|
|
176
|
+
"timeout": 0,
|
|
177
|
+
"sendEmpty": false,
|
|
178
|
+
"requestDatatype": "JSON",
|
|
179
|
+
"responseDatatype": "JSON",
|
|
180
|
+
"headers": {},
|
|
181
|
+
"responseObjects": [
|
|
182
|
+
{
|
|
183
|
+
"type": "default",
|
|
184
|
+
"key": "",
|
|
185
|
+
"mockFile": ""
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "getStatDataFields18",
|
|
191
|
+
"protocol": "REST",
|
|
192
|
+
"method": "GET",
|
|
193
|
+
"entitypath": "{base_path}/{version}/device/history/fields?{query}",
|
|
194
|
+
"requestSchema": "schema.json",
|
|
195
|
+
"responseSchema": "schema.json",
|
|
196
|
+
"timeout": 0,
|
|
197
|
+
"sendEmpty": false,
|
|
198
|
+
"sendGetBody": false,
|
|
199
|
+
"requestDatatype": "JSON",
|
|
200
|
+
"responseDatatype": "JSON",
|
|
201
|
+
"headers": {},
|
|
202
|
+
"responseObjects": [
|
|
203
|
+
{
|
|
204
|
+
"type": "default",
|
|
205
|
+
"key": "",
|
|
206
|
+
"mockFile": ""
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "getStatBulkRawData16",
|
|
212
|
+
"protocol": "REST",
|
|
213
|
+
"method": "GET",
|
|
214
|
+
"entitypath": "{base_path}/{version}/device/history/page?{query}",
|
|
215
|
+
"requestSchema": "schema.json",
|
|
216
|
+
"responseSchema": "schema.json",
|
|
217
|
+
"timeout": 0,
|
|
218
|
+
"sendEmpty": false,
|
|
219
|
+
"sendGetBody": false,
|
|
220
|
+
"requestDatatype": "JSON",
|
|
221
|
+
"responseDatatype": "JSON",
|
|
222
|
+
"headers": {},
|
|
223
|
+
"responseObjects": [
|
|
224
|
+
{
|
|
225
|
+
"type": "default",
|
|
226
|
+
"key": "",
|
|
227
|
+
"mockFile": ""
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "getPostStatBulkRawData16",
|
|
233
|
+
"protocol": "REST",
|
|
234
|
+
"method": "POST",
|
|
235
|
+
"entitypath": "{base_path}/{version}/device/history/page?{query}",
|
|
236
|
+
"requestSchema": "schema.json",
|
|
237
|
+
"responseSchema": "schema.json",
|
|
238
|
+
"timeout": 0,
|
|
239
|
+
"sendEmpty": false,
|
|
240
|
+
"requestDatatype": "JSON",
|
|
241
|
+
"responseDatatype": "JSON",
|
|
242
|
+
"headers": {},
|
|
243
|
+
"responseObjects": [
|
|
244
|
+
{
|
|
245
|
+
"type": "default",
|
|
246
|
+
"key": "",
|
|
247
|
+
"mockFile": ""
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "getStatQueryFields18",
|
|
253
|
+
"protocol": "REST",
|
|
254
|
+
"method": "GET",
|
|
255
|
+
"entitypath": "{base_path}/{version}/device/history/query/fields?{query}",
|
|
256
|
+
"requestSchema": "schema.json",
|
|
257
|
+
"responseSchema": "schema.json",
|
|
258
|
+
"timeout": 0,
|
|
259
|
+
"sendEmpty": false,
|
|
260
|
+
"sendGetBody": false,
|
|
261
|
+
"requestDatatype": "JSON",
|
|
262
|
+
"responseDatatype": "JSON",
|
|
263
|
+
"headers": {},
|
|
264
|
+
"responseObjects": [
|
|
265
|
+
{
|
|
266
|
+
"type": "default",
|
|
267
|
+
"key": "",
|
|
268
|
+
"mockFile": ""
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "diffTwoConfigs",
|
|
274
|
+
"protocol": "REST",
|
|
275
|
+
"method": "GET",
|
|
276
|
+
"entitypath": "{base_path}/{version}/device/history/config/diff/list?{query}",
|
|
277
|
+
"requestSchema": "schema.json",
|
|
278
|
+
"responseSchema": "schema.json",
|
|
279
|
+
"timeout": 0,
|
|
280
|
+
"sendEmpty": false,
|
|
281
|
+
"sendGetBody": false,
|
|
282
|
+
"requestDatatype": "JSON",
|
|
283
|
+
"responseDatatype": "JSON",
|
|
284
|
+
"headers": {},
|
|
285
|
+
"responseObjects": [
|
|
286
|
+
{
|
|
287
|
+
"type": "default",
|
|
288
|
+
"key": "",
|
|
289
|
+
"mockFile": ""
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getStatDataRawData16",
|
|
14
|
+
"getStatsRawData16",
|
|
15
|
+
"getAggregationDataByQuery16",
|
|
16
|
+
"getPostAggregationDataByQuery15",
|
|
17
|
+
"getLastThousandConfigList",
|
|
18
|
+
"getDeviceConfig",
|
|
19
|
+
"getStatDataRawDataAsCSV16",
|
|
20
|
+
"getCount18",
|
|
21
|
+
"getCountPost18",
|
|
22
|
+
"getStatDataFields18",
|
|
23
|
+
"getStatBulkRawData16",
|
|
24
|
+
"getPostStatBulkRawData16",
|
|
25
|
+
"getStatQueryFields18",
|
|
26
|
+
"diffTwoConfigs"
|
|
27
|
+
],
|
|
28
|
+
"external_name": "ph_request_type"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"definitions": {}
|
|
32
|
+
}
|