@itentialopensource/adapter-viptela 0.8.0 → 0.10.0

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 (141) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/ENHANCE.md +69 -0
  3. package/PROPERTIES.md +247 -0
  4. package/README.md +113 -470
  5. package/SUMMARY.md +9 -0
  6. package/TROUBLESHOOT.md +46 -0
  7. package/adapter.js +33515 -61
  8. package/adapterBase.js +581 -279
  9. package/entities/.generic/action.json +5 -5
  10. package/entities/AdministrationAuditLog/action.json +252 -0
  11. package/entities/AdministrationAuditLog/schema.json +30 -0
  12. package/entities/AdministrationUserAndGroup/action.json +533 -0
  13. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroups-default.json +4 -0
  14. package/entities/AdministrationUserAndGroup/mockdatafiles/findUserGroupsAsKeyValue-default.json +5 -0
  15. package/entities/AdministrationUserAndGroup/mockdatafiles/findUsers-default.json +3 -0
  16. package/entities/AdministrationUserAndGroup/mockdatafiles/getColoGroups-default.json +6 -0
  17. package/entities/AdministrationUserAndGroup/mockdatafiles/getVpnGroups-default.json +5 -0
  18. package/entities/AdministrationUserAndGroup/schema.json +44 -0
  19. package/entities/CertificateManagementDevice/action.json +517 -0
  20. package/entities/CertificateManagementDevice/mockdatafiles/getRootCertChains-default.json +3 -0
  21. package/entities/CertificateManagementDevice/schema.json +43 -0
  22. package/entities/ClusterManagement/action.json +477 -0
  23. package/entities/ClusterManagement/mockdatafiles/getConfiguredIPList-default.json +5 -0
  24. package/entities/ClusterManagement/mockdatafiles/getConnectedDevices-default.json +3 -0
  25. package/entities/ClusterManagement/mockdatafiles/getConnectedDevicesPerTenant-default.json +3 -0
  26. package/entities/ClusterManagement/mockdatafiles/getTenantsList-default.json +4 -0
  27. package/entities/ClusterManagement/mockdatafiles/listVmanages-default.json +4 -0
  28. package/entities/ClusterManagement/schema.json +41 -0
  29. package/entities/ColocationCluster/action.json +229 -0
  30. package/entities/ColocationCluster/schema.json +29 -0
  31. package/entities/ColocationServiceChain/action.json +86 -0
  32. package/entities/ColocationServiceChain/mockdatafiles/getEdgeDevices-default.json +5 -0
  33. package/entities/ColocationServiceChain/mockdatafiles/getpnfDevices-default.json +5 -0
  34. package/entities/ColocationServiceChain/schema.json +22 -0
  35. package/entities/ColocationServiceGroup/action.json +148 -0
  36. package/entities/ColocationServiceGroup/mockdatafiles/getAvailableChains-default.json +6 -0
  37. package/entities/ColocationServiceGroup/schema.json +25 -0
  38. package/entities/ConfigurationDisasterRecovery/action.json +696 -0
  39. package/entities/ConfigurationDisasterRecovery/mockdatafiles/downloadReplicationData-default.json +5 -0
  40. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getDisasterRecoveryStatus-default.json +6 -0
  41. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getLocalDataCenterState-default.json +6 -0
  42. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getReachabilityInfo-default.json +5 -0
  43. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDCMembersState-default.json +3 -0
  44. package/entities/ConfigurationDisasterRecovery/mockdatafiles/getRemoteDataCenterState-default.json +6 -0
  45. package/entities/ConfigurationDisasterRecovery/schema.json +52 -0
  46. package/entities/ConfigurationFeatureList/action.json +46 -0
  47. package/entities/ConfigurationFeatureList/schema.json +20 -0
  48. package/entities/CreateABackupSnapshot/action.json +24 -0
  49. package/entities/CreateABackupSnapshot/schema.json +19 -0
  50. package/entities/DataCollectionAgent/action.json +470 -0
  51. package/entities/DataCollectionAgent/mockdatafiles/getTemplatePolicyDefinitionsDCA-default.json +5 -0
  52. package/entities/DataCollectionAgent/mockdatafiles/getVPNListsDCA-default.json +3 -0
  53. package/entities/DataCollectionAgent/mockdatafiles/getVedgeTemplateListDCA-default.json +6 -0
  54. package/entities/DataCollectionAgent/mockdatafiles/getVsmartTemplateListDCA-default.json +5 -0
  55. package/entities/DataCollectionAgent/mockdatafiles/listAllDevicesDCA-default.json +5 -0
  56. package/entities/DataCollectionAgent/schema.json +41 -0
  57. package/entities/DeviceActions/action.json +243 -0
  58. package/entities/DeviceActions/mockdatafiles/generateSecurityDevicesList-default.json +5 -0
  59. package/entities/DeviceActions/schema.json +13 -1
  60. package/entities/DeviceConfigHistory/action.json +294 -0
  61. package/entities/DeviceConfigHistory/schema.json +32 -0
  62. package/entities/MonitoringAlarmsDetails/action.json +684 -0
  63. package/entities/MonitoringAlarmsDetails/mockdatafiles/listDisabledAlarm-default.json +5 -0
  64. package/entities/MonitoringAlarmsDetails/schema.json +51 -0
  65. package/entities/MonitoringColocationCluster/action.json +360 -0
  66. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterConfigByClusterId-default.json +3 -0
  67. package/entities/MonitoringColocationCluster/mockdatafiles/getClusterPortMappingByClusterId-default.json +3 -0
  68. package/entities/MonitoringColocationCluster/mockdatafiles/getPNFConfig-default.json +3 -0
  69. package/entities/MonitoringColocationCluster/mockdatafiles/getServiceGroupByClusterId-default.json +3 -0
  70. package/entities/MonitoringColocationCluster/mockdatafiles/getSystemStatusByDeviceId-default.json +6 -0
  71. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFAlarmCount-default.json +6 -0
  72. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsCountDetail-default.json +4 -0
  73. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFEventsDetail-default.json +3 -0
  74. package/entities/MonitoringColocationCluster/mockdatafiles/getVNFInterfaceDetail-default.json +3 -0
  75. package/entities/MonitoringColocationCluster/mockdatafiles/getpnfDetails-default.json +5 -0
  76. package/entities/MonitoringColocationCluster/mockdatafiles/getvnfByDeviceId-default.json +4 -0
  77. package/entities/MonitoringColocationCluster/mockdatafiles/listNetworkFunctionMap-default.json +3 -0
  78. package/entities/MonitoringColocationCluster/schema.json +35 -0
  79. package/entities/MonitoringDeviceDetails/action.json +40 -0
  80. package/entities/MonitoringDeviceDetails/schema.json +3 -1
  81. package/entities/MonitoringDeviceStatisticsDetails/action.json +109 -0
  82. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/generateDeviceStatisticsData-default.json +3 -0
  83. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getActiveAlarms-default.json +5 -0
  84. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatDataFieldsByStateDataType-default.json +6 -0
  85. package/entities/MonitoringDeviceStatisticsDetails/mockdatafiles/getStatisticsType-default.json +4 -0
  86. package/entities/MonitoringDeviceStatisticsDetails/schema.json +23 -0
  87. package/entities/MonitoringEvents/action.json +378 -0
  88. package/entities/MonitoringEvents/mockdatafiles/getComponentsAsKeyValue-default.json +4 -0
  89. package/entities/MonitoringEvents/mockdatafiles/getEventTypesAsKeyValue-default.json +3 -0
  90. package/entities/MonitoringEvents/schema.json +36 -0
  91. package/entities/RealTimeMonitoringAAA/action.json +109 -0
  92. package/entities/RealTimeMonitoringAAA/mockdatafiles/getAllDeviceUsers-default.json +5 -0
  93. package/entities/RealTimeMonitoringAAA/mockdatafiles/getUsersFromDevice-default.json +6 -0
  94. package/entities/RealTimeMonitoringAAA/schema.json +23 -0
  95. package/entities/SSLProxyCertificateManagementDevice/action.json +494 -0
  96. package/entities/SSLProxyCertificateManagementDevice/mockdatafiles/getSslProxyList-default.json +4 -0
  97. package/entities/SSLProxyCertificateManagementDevice/schema.json +42 -0
  98. package/entities/ScheduledBackupRestore/action.json +189 -0
  99. package/entities/ScheduledBackupRestore/schema.json +27 -0
  100. package/entities/SystemCloudService/action.json +313 -0
  101. package/entities/SystemCloudService/schema.json +33 -0
  102. package/entities/SystemContainer/action.json +189 -0
  103. package/entities/SystemContainer/mockdatafiles/getCustomApp-default.json +3 -0
  104. package/entities/SystemContainer/schema.json +27 -0
  105. package/entities/TroubleshootingToolsDashboard/action.json +128 -0
  106. package/entities/TroubleshootingToolsDashboard/schema.json +24 -0
  107. package/entities/TroubleshootingToolsDeviceConnectivity/action.json +288 -0
  108. package/entities/TroubleshootingToolsDeviceConnectivity/schema.json +32 -0
  109. package/entities/TroubleshootingToolsDeviceSoftwarePackage/action.json +85 -0
  110. package/entities/TroubleshootingToolsDeviceSoftwarePackage/schema.json +22 -0
  111. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/action.json +86 -0
  112. package/entities/TroubleshootingToolsDeviceSoftwareUpdate/schema.json +22 -0
  113. package/entities/TroubleshootingToolsDiagnostics/action.json +977 -0
  114. package/entities/TroubleshootingToolsDiagnostics/schema.json +65 -0
  115. package/entities/TroubleshootingToolsSoftwareActions/action.json +232 -0
  116. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImages-default.json +6 -0
  117. package/entities/TroubleshootingToolsSoftwareActions/mockdatafiles/findSoftwareImagesWithFilters-default.json +5 -0
  118. package/entities/TroubleshootingToolsSoftwareActions/schema.json +29 -0
  119. package/error.json +12 -0
  120. package/package.json +19 -14
  121. package/pronghorn.json +14062 -90
  122. package/propertiesDecorators.json +14 -0
  123. package/propertiesSchema.json +369 -0
  124. package/refs?service=git-upload-pack +0 -0
  125. package/report/updateReport1642735010496.json +95 -0
  126. package/report/updateReport1651360586947.json +114 -0
  127. package/sampleProperties.json +16 -4
  128. package/test/integration/adapterTestBasicGet.js +1 -1
  129. package/test/integration/adapterTestIntegration.js +13175 -5
  130. package/test/unit/adapterBaseTestUnit.js +29 -27
  131. package/test/unit/adapterTestUnit.js +8633 -15
  132. package/utils/addAuth.js +94 -0
  133. package/utils/basicGet.js +1 -14
  134. package/utils/entitiesToDB.js +224 -0
  135. package/utils/modify.js +4 -4
  136. package/utils/packModificationScript.js +1 -1
  137. package/utils/patches2bundledDeps.js +90 -0
  138. package/utils/removeHooks.js +20 -0
  139. package/utils/tbScript.js +14 -8
  140. package/utils/tbUtils.js +111 -19
  141. package/utils/troubleshootingAdapter.js +2 -26
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "type": "encryption",
4
+ "pointer": "/authentication/password"
5
+ },
6
+ {
7
+ "type": "encryption",
8
+ "pointer": "/authentication/token"
9
+ },
10
+ {
11
+ "type": "encryption",
12
+ "pointer": "/mongo/password"
13
+ }
14
+ ]
@@ -232,6 +232,21 @@
232
232
  "type": "boolean",
233
233
  "description": "This property turns on logging of Authentication Information and should only be true when debugging authentication and connectivity",
234
234
  "default": false
235
+ },
236
+ "client_id": {
237
+ "type": "string",
238
+ "description": "The client id for OAuth requests - can also use username depending on schema",
239
+ "default": ""
240
+ },
241
+ "client_secret": {
242
+ "type": "string",
243
+ "description": "The client secret for OAuth requests - can also use password depending on schema",
244
+ "default": ""
245
+ },
246
+ "grant_type": {
247
+ "type": "string",
248
+ "description": "The grant type for OAuth requests - can also provide in schema",
249
+ "default": ""
235
250
  }
236
251
  },
237
252
  "required": [
@@ -331,6 +346,10 @@
331
346
  "examples": [
332
347
  "/api/version/ping"
333
348
  ]
349
+ },
350
+ "query_object": {
351
+ "type": "object",
352
+ "description": "Query object { device: xxxxx } to be placed into the healthcheck, will be converted to query string by the adapter"
334
353
  }
335
354
  },
336
355
  "required": [
@@ -816,6 +835,356 @@
816
835
  }
817
836
  }
818
837
  }
838
+ },
839
+ "devicebroker": {
840
+ "type": "object",
841
+ "properties": {
842
+ "getDevice": {
843
+ "type": "array",
844
+ "description": "Broker call(s) to getDevice",
845
+ "items": {
846
+ "properties": {
847
+ "path": {
848
+ "type": "string",
849
+ "description": "The fully qualified path of the call to getDevice (e.g. /rest/api/device/{deviceid})",
850
+ "default": ""
851
+ },
852
+ "method": {
853
+ "type": "string",
854
+ "description": "The method of the call to getDevice",
855
+ "default": "GET"
856
+ },
857
+ "query": {
858
+ "type": "object",
859
+ "description": "The json object with query parameters of the call to getDevice",
860
+ "additionalProperties": {
861
+ "type": "string"
862
+ }
863
+ },
864
+ "body": {
865
+ "type": "object",
866
+ "description": "The json object with body of the call to getDevice",
867
+ "additionalProperties": {
868
+ "type": "string"
869
+ }
870
+ },
871
+ "headers": {
872
+ "type": "object",
873
+ "description": "The json object with headers of the call to getDevice",
874
+ "additionalProperties": {
875
+ "type": "string"
876
+ }
877
+ },
878
+ "handleFailure": {
879
+ "type": "string",
880
+ "enum": ["ignore", "fail"],
881
+ "description": "return failure or ignore failure",
882
+ "default": "ignore"
883
+ },
884
+ "requestFields": {
885
+ "type": "object",
886
+ "description": "The json object with response fields of the call to getDevice",
887
+ "additionalProperties": {
888
+ "type": "string"
889
+ },
890
+ "properties": {}
891
+ },
892
+ "responseFields": {
893
+ "type": "object",
894
+ "description": "The json object with response fields of the call to getDevice",
895
+ "additionalProperties": {
896
+ "type": "string"
897
+ },
898
+ "properties": {
899
+ "name": {
900
+ "type": "string",
901
+ "description": "The field in response to getDevice that contains the name of the device",
902
+ "default": "name"
903
+ },
904
+ "ostype": {
905
+ "type": "string",
906
+ "description": "The field in response to getDevice that contains the ostype of the device",
907
+ "default": "ostype"
908
+ },
909
+ "ostypePrefix": {
910
+ "type": "string",
911
+ "description": "Any prefix that should be added to the ostype of the device (e.g. aws-)",
912
+ "default": ""
913
+ },
914
+ "port": {
915
+ "type": "string",
916
+ "description": "The field in response to getDevice that contains the port of the device",
917
+ "default": ""
918
+ },
919
+ "ip": {
920
+ "type": "string",
921
+ "description": "The field in response to getDevice that contains the ip address of the device",
922
+ "default": ""
923
+ }
924
+ }
925
+ }
926
+ }
927
+ }
928
+ },
929
+ "getDevicesFiltered": {
930
+ "type": "array",
931
+ "description": "Broker call(s) to getDevicesFiltered",
932
+ "items": {
933
+ "properties": {
934
+ "path": {
935
+ "type": "string",
936
+ "description": "The fully qualified path of the call to getDevicesFiltered (e.g. /rest/api/device/{deviceid})",
937
+ "default": ""
938
+ },
939
+ "method": {
940
+ "type": "string",
941
+ "description": "The method of the call to getDevicesFiltered",
942
+ "default": "GET"
943
+ },
944
+ "query": {
945
+ "type": "object",
946
+ "description": "The json object with query parameters of the call to getDevicesFiltered",
947
+ "additionalProperties": {
948
+ "type": "string"
949
+ }
950
+ },
951
+ "body": {
952
+ "type": "object",
953
+ "description": "The json object with body of the call to getDevicesFiltered",
954
+ "additionalProperties": {
955
+ "type": "string"
956
+ }
957
+ },
958
+ "headers": {
959
+ "type": "object",
960
+ "description": "The json object with headers of the call to getDevicesFiltered",
961
+ "additionalProperties": {
962
+ "type": "string"
963
+ }
964
+ },
965
+ "handleFailure": {
966
+ "type": "string",
967
+ "enum": ["ignore", "fail"],
968
+ "description": "return failure or ignore failure",
969
+ "default": "ignore"
970
+ },
971
+ "responseFields": {
972
+ "type": "object",
973
+ "description": "The json object with response fields of the call to getDevicesFiltered",
974
+ "additionalProperties": {
975
+ "type": "string"
976
+ },
977
+ "properties": {
978
+ "name": {
979
+ "type": "string",
980
+ "description": "The field in response to getDevicesFiltered that contains the name of the device",
981
+ "default": "name"
982
+ },
983
+ "ostype": {
984
+ "type": "string",
985
+ "description": "The field in response to getDevicesFiltered that contains the ostype of the device",
986
+ "default": "ostype"
987
+ },
988
+ "ostypePrefix": {
989
+ "type": "string",
990
+ "description": "Any prefix that should be added to the ostype of the device (e.g. aws-)",
991
+ "default": ""
992
+ },
993
+ "port_field": {
994
+ "type": "string",
995
+ "description": "The field in response to getDevicesFiltered that contains the port of the device",
996
+ "default": ""
997
+ },
998
+ "ip_field": {
999
+ "type": "string",
1000
+ "description": "The field in response to getDevicesFiltered that contains the ip address of the device",
1001
+ "default": ""
1002
+ }
1003
+ }
1004
+ }
1005
+ }
1006
+ }
1007
+ },
1008
+ "isAlive": {
1009
+ "type": "array",
1010
+ "description": "Broker call(s) to determine if the device isAlive",
1011
+ "items": {
1012
+ "properties": {
1013
+ "path": {
1014
+ "type": "string",
1015
+ "description": "The fully qualified path of the call to isAlive (e.g. /rest/api/device/{deviceid})",
1016
+ "default": ""
1017
+ },
1018
+ "method": {
1019
+ "type": "string",
1020
+ "description": "The method of the call to isAlive",
1021
+ "default": "GET"
1022
+ },
1023
+ "query": {
1024
+ "type": "object",
1025
+ "description": "The json object with query parameters of the call to isAlive",
1026
+ "additionalProperties": {
1027
+ "type": "string"
1028
+ }
1029
+ },
1030
+ "body": {
1031
+ "type": "object",
1032
+ "description": "The json object with body of the call to isAlive",
1033
+ "additionalProperties": {
1034
+ "type": "string"
1035
+ }
1036
+ },
1037
+ "headers": {
1038
+ "type": "object",
1039
+ "description": "The json object with headers of the call to isAlive",
1040
+ "additionalProperties": {
1041
+ "type": "string"
1042
+ }
1043
+ },
1044
+ "handleFailure": {
1045
+ "type": "string",
1046
+ "enum": ["ignore", "fail"],
1047
+ "description": "return failure or ignore isAlive",
1048
+ "default": "ignore"
1049
+ },
1050
+ "statusValue": {
1051
+ "type": "string",
1052
+ "description": "The expected value in the status field",
1053
+ "default": "true"
1054
+ },
1055
+ "requestFields": {
1056
+ "type": "object",
1057
+ "description": "The json object with response fields of the call to getDevice",
1058
+ "additionalProperties": {
1059
+ "type": "string"
1060
+ },
1061
+ "properties": {}
1062
+ },
1063
+ "responseFields": {
1064
+ "type": "object",
1065
+ "description": "The json object with response fields of the call to isAlive",
1066
+ "additionalProperties": {
1067
+ "type": "string"
1068
+ },
1069
+ "properties": {
1070
+ "status": {
1071
+ "type": "string",
1072
+ "description": "The field in response to isAlive that contains the status of the device",
1073
+ "default": "name"
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ }
1079
+ },
1080
+ "getConfig": {
1081
+ "type": "array",
1082
+ "description": "Broker call(s) to getConfig",
1083
+ "items": {
1084
+ "properties": {
1085
+ "path": {
1086
+ "type": "string",
1087
+ "description": "The fully qualified path of the call to getConfig (e.g. /rest/api/device/{deviceid})",
1088
+ "default": ""
1089
+ },
1090
+ "method": {
1091
+ "type": "string",
1092
+ "description": "The method of the call to getConfig",
1093
+ "default": "GET"
1094
+ },
1095
+ "query": {
1096
+ "type": "object",
1097
+ "description": "The json object with query parameters of the call to getConfig",
1098
+ "additionalProperties": {
1099
+ "type": "string"
1100
+ }
1101
+ },
1102
+ "body": {
1103
+ "type": "object",
1104
+ "description": "The json object with body of the call to getConfig",
1105
+ "additionalProperties": {
1106
+ "type": "string"
1107
+ }
1108
+ },
1109
+ "headers": {
1110
+ "type": "object",
1111
+ "description": "The json object with headers of the call to getConfig",
1112
+ "additionalProperties": {
1113
+ "type": "string"
1114
+ }
1115
+ },
1116
+ "handleFailure": {
1117
+ "type": "string",
1118
+ "enum": ["ignore", "fail"],
1119
+ "description": "return failure or ignore getConfig",
1120
+ "default": "ignore"
1121
+ },
1122
+ "requestFields": {
1123
+ "type": "object",
1124
+ "description": "The json object with response fields of the call to getDevice",
1125
+ "additionalProperties": {
1126
+ "type": "string"
1127
+ },
1128
+ "properties": {}
1129
+ },
1130
+ "responseFields": {
1131
+ "type": "object",
1132
+ "description": "The json object with response fields of the call to getConfig",
1133
+ "additionalProperties": {
1134
+ "type": "string"
1135
+ },
1136
+ "properties": {
1137
+ }
1138
+ }
1139
+ }
1140
+ }
1141
+ },
1142
+ "getCount": {
1143
+ "type": "array",
1144
+ "description": "Broker call(s) to getCount",
1145
+ "items": {
1146
+ "properties": {
1147
+ "path": {
1148
+ "type": "string",
1149
+ "description": "The fully qualified path of the call to getCount (e.g. /rest/api/device/{deviceid})",
1150
+ "default": ""
1151
+ },
1152
+ "method": {
1153
+ "type": "string",
1154
+ "description": "The method of the call to getCount",
1155
+ "default": "GET"
1156
+ },
1157
+ "query": {
1158
+ "type": "object",
1159
+ "description": "The json object with query parameters of the call to getCount",
1160
+ "additionalProperties": {
1161
+ "type": "string"
1162
+ }
1163
+ },
1164
+ "body": {
1165
+ "type": "object",
1166
+ "description": "The json object with body of the call to getCount",
1167
+ "additionalProperties": {
1168
+ "type": "string"
1169
+ }
1170
+ },
1171
+ "headers": {
1172
+ "type": "object",
1173
+ "description": "The json object with headers of the call to getCount",
1174
+ "additionalProperties": {
1175
+ "type": "string"
1176
+ }
1177
+ },
1178
+ "handleFailure": {
1179
+ "type": "string",
1180
+ "enum": ["ignore", "fail"],
1181
+ "description": "return failure or ignore getCount",
1182
+ "default": "ignore"
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+ }
819
1188
  }
820
1189
  }
821
1190
  }
Binary file
@@ -0,0 +1,95 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "New adapter errors available for use",
7
+ "value": 0
8
+ },
9
+ {
10
+ "owner": "errorJson",
11
+ "description": "Adapter errors no longer available for use",
12
+ "value": 0
13
+ },
14
+ {
15
+ "owner": "errorJson",
16
+ "description": "Adapter errors that have been updated (e.g. recommendation changes)",
17
+ "value": 30
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of production dependencies",
22
+ "value": 13
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Number of development dependencies",
27
+ "value": 7
28
+ },
29
+ {
30
+ "owner": "packageJson",
31
+ "description": "Number of npm scripts",
32
+ "value": 23
33
+ },
34
+ {
35
+ "owner": "packageJson",
36
+ "description": "Runtime Library dependency",
37
+ "value": "^4.44.11"
38
+ },
39
+ {
40
+ "owner": "propertiesSchemaJson",
41
+ "description": "Adapter properties defined in the propertiesSchema file",
42
+ "value": 64
43
+ },
44
+ {
45
+ "owner": "readmeMd",
46
+ "description": "Number of lines in the README.md",
47
+ "value": 688
48
+ },
49
+ {
50
+ "owner": "unitTestJS",
51
+ "description": "Number of lines of code in unit tests",
52
+ "value": 3811
53
+ },
54
+ {
55
+ "owner": "unitTestJS",
56
+ "description": "Number of unit tests",
57
+ "value": 237
58
+ },
59
+ {
60
+ "owner": "integrationTestJS",
61
+ "description": "Number of lines of code in integration tests",
62
+ "value": 4047
63
+ },
64
+ {
65
+ "owner": "integrationTestJS",
66
+ "description": "Number of integration tests",
67
+ "value": 135
68
+ },
69
+ {
70
+ "owner": "staticFile",
71
+ "description": "Number of lines of code in adapterBase.js",
72
+ "value": 1029
73
+ },
74
+ {
75
+ "owner": "staticFile",
76
+ "description": "Number of static files added",
77
+ "value": 34
78
+ },
79
+ {
80
+ "owner": "Overall",
81
+ "description": "Total lines of Code",
82
+ "value": 8887
83
+ },
84
+ {
85
+ "owner": "Overall",
86
+ "description": "Total Tests",
87
+ "value": 372
88
+ },
89
+ {
90
+ "owner": "Overall",
91
+ "description": "Total Files",
92
+ "value": 6
93
+ }
94
+ ]
95
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "errors": [
3
+ {
4
+ "propertiesSchemaJson": "propertiesSchema.json owner reporting - Create propertiesSchema caught: TypeError: Cannot read property 'properties' of undefined"
5
+ }
6
+ ],
7
+ "statistics": [
8
+ {
9
+ "owner": "errorJson",
10
+ "description": "New adapter errors available for use",
11
+ "value": 1
12
+ },
13
+ {
14
+ "owner": "errorJson",
15
+ "description": "Adapter errors no longer available for use",
16
+ "value": 0
17
+ },
18
+ {
19
+ "owner": "errorJson",
20
+ "description": "Adapter errors that have been updated (e.g. recommendation changes)",
21
+ "value": 30
22
+ },
23
+ {
24
+ "owner": "packageJson",
25
+ "description": "Number of production dependencies",
26
+ "value": 13
27
+ },
28
+ {
29
+ "owner": "packageJson",
30
+ "description": "Number of development dependencies",
31
+ "value": 7
32
+ },
33
+ {
34
+ "owner": "packageJson",
35
+ "description": "Number of npm scripts",
36
+ "value": 23
37
+ },
38
+ {
39
+ "owner": "packageJson",
40
+ "description": "Runtime Library dependency",
41
+ "value": "^4.44.11"
42
+ },
43
+ {
44
+ "owner": "markdown",
45
+ "description": "Number of lines in the README.md",
46
+ "value": 258
47
+ },
48
+ {
49
+ "owner": "markdown",
50
+ "description": "Number of lines in the SUMMARY.md",
51
+ "value": 9
52
+ },
53
+ {
54
+ "owner": "markdown",
55
+ "description": "Number of lines in the PROPERTIES.md",
56
+ "value": 248
57
+ },
58
+ {
59
+ "owner": "markdown",
60
+ "description": "Number of lines in the TROUBLESHOOT.md",
61
+ "value": 47
62
+ },
63
+ {
64
+ "owner": "markdown",
65
+ "description": "Number of lines in the ENHANCE.md",
66
+ "value": 70
67
+ },
68
+ {
69
+ "owner": "unitTestJS",
70
+ "description": "Number of lines of code in unit tests",
71
+ "value": 11816
72
+ },
73
+ {
74
+ "owner": "unitTestJS",
75
+ "description": "Number of unit tests",
76
+ "value": 830
77
+ },
78
+ {
79
+ "owner": "integrationTestJS",
80
+ "description": "Number of lines of code in integration tests",
81
+ "value": 17211
82
+ },
83
+ {
84
+ "owner": "integrationTestJS",
85
+ "description": "Number of integration tests",
86
+ "value": 554
87
+ },
88
+ {
89
+ "owner": "staticFile",
90
+ "description": "Number of lines of code in adapterBase.js",
91
+ "value": 1294
92
+ },
93
+ {
94
+ "owner": "staticFile",
95
+ "description": "Number of static files added",
96
+ "value": 35
97
+ },
98
+ {
99
+ "owner": "Overall",
100
+ "description": "Total lines of Code",
101
+ "value": 30321
102
+ },
103
+ {
104
+ "owner": "Overall",
105
+ "description": "Total Tests",
106
+ "value": 1384
107
+ },
108
+ {
109
+ "owner": "Overall",
110
+ "description": "Total Files",
111
+ "value": 6
112
+ }
113
+ ]
114
+ }
@@ -19,13 +19,25 @@
19
19
  "token_timeout": 180000,
20
20
  "token_cache": "local",
21
21
  "invalid_token_error": 401,
22
- "auth_field": ["header.headers.Cookie", "header.headers.X-XSRF-TOKEN", "header.headers.Authorization"],
23
- "auth_field_format": ["JSESSIONID={token}", "{token2}", "Basic {b64}{username}:{password}{/b64}"],
24
- "auth_logging": false
22
+ "auth_field": [
23
+ "header.headers.Cookie",
24
+ "header.headers.X-XSRF-TOKEN",
25
+ "header.headers.Authorization"
26
+ ],
27
+ "auth_field_format": [
28
+ "JSESSIONID={token}",
29
+ "{tokenp2}",
30
+ "Basic {b64}{username}:{password}{/b64}"
31
+ ],
32
+ "auth_logging": false,
33
+ "client_id": "",
34
+ "client_secret": "",
35
+ "grant_type": ""
25
36
  },
26
37
  "healthcheck": {
27
38
  "type": "none",
28
- "frequency": 60000
39
+ "frequency": 60000,
40
+ "query_object": {}
29
41
  },
30
42
  "throttle": {
31
43
  "throttle_enabled": false,
@@ -14,7 +14,7 @@ const itParam = require('mocha-param');
14
14
 
15
15
  const utils = require('../../utils/tbUtils');
16
16
  const basicGet = require('../../utils/basicGet');
17
- const { name } = require('../../package');
17
+ const { name } = require('../../package.json');
18
18
  const { methods } = require('../../pronghorn.json');
19
19
 
20
20
  const getPronghornProps = (iapDir) => {