@itentialopensource/adapter-rundeck 0.1.2 → 0.2.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.
- package/.eslintignore +0 -1
- package/.jshintrc +3 -0
- package/AUTH.md +14 -17
- package/BROKER.md +31 -19
- package/CALLS.md +59 -23
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +11 -4
- package/TAB1.md +10 -0
- package/TAB2.md +319 -0
- package/metadata.json +44 -7
- package/package.json +9 -11
- package/propertiesSchema.json +133 -36
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/report/updateReport1717075906953.json +120 -0
- package/sampleProperties.json +46 -34
- package/test/integration/adapterTestIntegration.js +1 -0
- package/test/unit/adapterTestUnit.js +8 -4
- package/utils/artifactize.js +0 -0
package/propertiesSchema.json
CHANGED
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"https"
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
|
-
"service"
|
|
87
|
-
"type"
|
|
86
|
+
"service": {
|
|
87
|
+
"type": "string",
|
|
88
88
|
"description": "Service we are integrating with -- used with AWS Authentication",
|
|
89
|
-
"examples"
|
|
89
|
+
"examples": [
|
|
90
90
|
"ec2",
|
|
91
91
|
"route53"
|
|
92
92
|
]
|
|
@@ -290,7 +290,9 @@
|
|
|
290
290
|
"description": "the protocol to request token from system",
|
|
291
291
|
"default": "",
|
|
292
292
|
"enum": [
|
|
293
|
-
"http",
|
|
293
|
+
"http",
|
|
294
|
+
"https",
|
|
295
|
+
""
|
|
294
296
|
]
|
|
295
297
|
},
|
|
296
298
|
"host": {
|
|
@@ -329,7 +331,7 @@
|
|
|
329
331
|
"responseFields": {
|
|
330
332
|
"type": "object",
|
|
331
333
|
"description": "The fields from the step result"
|
|
332
|
-
|
|
334
|
+
},
|
|
333
335
|
"successfullResponseCode": {
|
|
334
336
|
"type": "integer",
|
|
335
337
|
"description": "Expected response code for given step, if not set any successfull http response is accepted",
|
|
@@ -943,6 +945,11 @@
|
|
|
943
945
|
"devicebroker": {
|
|
944
946
|
"type": "object",
|
|
945
947
|
"properties": {
|
|
948
|
+
"enabled": {
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"description": "Whether or not the device broker calls have been mapped",
|
|
951
|
+
"default": false
|
|
952
|
+
},
|
|
946
953
|
"getDevice": {
|
|
947
954
|
"type": "array",
|
|
948
955
|
"description": "Broker call(s) to getDevice",
|
|
@@ -963,21 +970,30 @@
|
|
|
963
970
|
"type": "object",
|
|
964
971
|
"description": "The json object with query parameters of the call to getDevice",
|
|
965
972
|
"additionalProperties": {
|
|
966
|
-
"type": [
|
|
973
|
+
"type": [
|
|
974
|
+
"string",
|
|
975
|
+
"number"
|
|
976
|
+
]
|
|
967
977
|
}
|
|
968
978
|
},
|
|
969
979
|
"body": {
|
|
970
980
|
"type": "object",
|
|
971
981
|
"description": "The json object with body of the call to getDevice",
|
|
972
982
|
"additionalProperties": {
|
|
973
|
-
"type": [
|
|
983
|
+
"type": [
|
|
984
|
+
"string",
|
|
985
|
+
"number"
|
|
986
|
+
]
|
|
974
987
|
}
|
|
975
988
|
},
|
|
976
989
|
"headers": {
|
|
977
990
|
"type": "object",
|
|
978
991
|
"description": "The json object with headers of the call to getDevice",
|
|
979
992
|
"additionalProperties": {
|
|
980
|
-
"type": [
|
|
993
|
+
"type": [
|
|
994
|
+
"string",
|
|
995
|
+
"number"
|
|
996
|
+
]
|
|
981
997
|
}
|
|
982
998
|
},
|
|
983
999
|
"handleFailure": {
|
|
@@ -993,7 +1009,10 @@
|
|
|
993
1009
|
"type": "object",
|
|
994
1010
|
"description": "The json object with response fields of the call to getDevice",
|
|
995
1011
|
"additionalProperties": {
|
|
996
|
-
"type": [
|
|
1012
|
+
"type": [
|
|
1013
|
+
"string",
|
|
1014
|
+
"number"
|
|
1015
|
+
]
|
|
997
1016
|
},
|
|
998
1017
|
"properties": {}
|
|
999
1018
|
},
|
|
@@ -1006,7 +1025,10 @@
|
|
|
1006
1025
|
"type": "object",
|
|
1007
1026
|
"description": "The json object with response fields of the call to getDevice",
|
|
1008
1027
|
"additionalProperties": {
|
|
1009
|
-
"type": [
|
|
1028
|
+
"type": [
|
|
1029
|
+
"string",
|
|
1030
|
+
"number"
|
|
1031
|
+
]
|
|
1010
1032
|
},
|
|
1011
1033
|
"properties": {
|
|
1012
1034
|
"name": {
|
|
@@ -1091,21 +1113,30 @@
|
|
|
1091
1113
|
"type": "object",
|
|
1092
1114
|
"description": "The json object with query parameters of the call to getDevicesFiltered",
|
|
1093
1115
|
"additionalProperties": {
|
|
1094
|
-
"type": [
|
|
1116
|
+
"type": [
|
|
1117
|
+
"string",
|
|
1118
|
+
"number"
|
|
1119
|
+
]
|
|
1095
1120
|
}
|
|
1096
1121
|
},
|
|
1097
1122
|
"body": {
|
|
1098
1123
|
"type": "object",
|
|
1099
1124
|
"description": "The json object with body of the call to getDevicesFiltered",
|
|
1100
1125
|
"additionalProperties": {
|
|
1101
|
-
"type": [
|
|
1126
|
+
"type": [
|
|
1127
|
+
"string",
|
|
1128
|
+
"number"
|
|
1129
|
+
]
|
|
1102
1130
|
}
|
|
1103
1131
|
},
|
|
1104
1132
|
"headers": {
|
|
1105
1133
|
"type": "object",
|
|
1106
1134
|
"description": "The json object with headers of the call to getDevicesFiltered",
|
|
1107
1135
|
"additionalProperties": {
|
|
1108
|
-
"type": [
|
|
1136
|
+
"type": [
|
|
1137
|
+
"string",
|
|
1138
|
+
"number"
|
|
1139
|
+
]
|
|
1109
1140
|
}
|
|
1110
1141
|
},
|
|
1111
1142
|
"handleFailure": {
|
|
@@ -1121,7 +1152,10 @@
|
|
|
1121
1152
|
"type": "object",
|
|
1122
1153
|
"description": "The json object with response fields of the call to getDevice",
|
|
1123
1154
|
"additionalProperties": {
|
|
1124
|
-
"type": [
|
|
1155
|
+
"type": [
|
|
1156
|
+
"string",
|
|
1157
|
+
"number"
|
|
1158
|
+
]
|
|
1125
1159
|
},
|
|
1126
1160
|
"properties": {}
|
|
1127
1161
|
},
|
|
@@ -1134,7 +1168,10 @@
|
|
|
1134
1168
|
"type": "object",
|
|
1135
1169
|
"description": "The json object with response fields of the call to getDevicesFiltered",
|
|
1136
1170
|
"additionalProperties": {
|
|
1137
|
-
"type": [
|
|
1171
|
+
"type": [
|
|
1172
|
+
"string",
|
|
1173
|
+
"number"
|
|
1174
|
+
]
|
|
1138
1175
|
},
|
|
1139
1176
|
"properties": {
|
|
1140
1177
|
"name": {
|
|
@@ -1187,21 +1224,30 @@
|
|
|
1187
1224
|
"type": "object",
|
|
1188
1225
|
"description": "The json object with query parameters of the call to isAlive",
|
|
1189
1226
|
"additionalProperties": {
|
|
1190
|
-
"type": [
|
|
1227
|
+
"type": [
|
|
1228
|
+
"string",
|
|
1229
|
+
"number"
|
|
1230
|
+
]
|
|
1191
1231
|
}
|
|
1192
1232
|
},
|
|
1193
1233
|
"body": {
|
|
1194
1234
|
"type": "object",
|
|
1195
1235
|
"description": "The json object with body of the call to isAlive",
|
|
1196
1236
|
"additionalProperties": {
|
|
1197
|
-
"type": [
|
|
1237
|
+
"type": [
|
|
1238
|
+
"string",
|
|
1239
|
+
"number"
|
|
1240
|
+
]
|
|
1198
1241
|
}
|
|
1199
1242
|
},
|
|
1200
1243
|
"headers": {
|
|
1201
1244
|
"type": "object",
|
|
1202
1245
|
"description": "The json object with headers of the call to isAlive",
|
|
1203
1246
|
"additionalProperties": {
|
|
1204
|
-
"type": [
|
|
1247
|
+
"type": [
|
|
1248
|
+
"string",
|
|
1249
|
+
"number"
|
|
1250
|
+
]
|
|
1205
1251
|
}
|
|
1206
1252
|
},
|
|
1207
1253
|
"handleFailure": {
|
|
@@ -1217,7 +1263,10 @@
|
|
|
1217
1263
|
"type": "object",
|
|
1218
1264
|
"description": "The json object with response fields of the call to getDevice",
|
|
1219
1265
|
"additionalProperties": {
|
|
1220
|
-
"type": [
|
|
1266
|
+
"type": [
|
|
1267
|
+
"string",
|
|
1268
|
+
"number"
|
|
1269
|
+
]
|
|
1221
1270
|
},
|
|
1222
1271
|
"properties": {}
|
|
1223
1272
|
},
|
|
@@ -1230,7 +1279,10 @@
|
|
|
1230
1279
|
"type": "object",
|
|
1231
1280
|
"description": "The json object with response fields of the call to isAlive",
|
|
1232
1281
|
"additionalProperties": {
|
|
1233
|
-
"type": [
|
|
1282
|
+
"type": [
|
|
1283
|
+
"string",
|
|
1284
|
+
"number"
|
|
1285
|
+
]
|
|
1234
1286
|
},
|
|
1235
1287
|
"properties": {
|
|
1236
1288
|
"status": {
|
|
@@ -1268,21 +1320,30 @@
|
|
|
1268
1320
|
"type": "object",
|
|
1269
1321
|
"description": "The json object with query parameters of the call to getConfig",
|
|
1270
1322
|
"additionalProperties": {
|
|
1271
|
-
"type": [
|
|
1323
|
+
"type": [
|
|
1324
|
+
"string",
|
|
1325
|
+
"number"
|
|
1326
|
+
]
|
|
1272
1327
|
}
|
|
1273
1328
|
},
|
|
1274
1329
|
"body": {
|
|
1275
1330
|
"type": "object",
|
|
1276
1331
|
"description": "The json object with body of the call to getConfig",
|
|
1277
1332
|
"additionalProperties": {
|
|
1278
|
-
"type": [
|
|
1333
|
+
"type": [
|
|
1334
|
+
"string",
|
|
1335
|
+
"number"
|
|
1336
|
+
]
|
|
1279
1337
|
}
|
|
1280
1338
|
},
|
|
1281
1339
|
"headers": {
|
|
1282
1340
|
"type": "object",
|
|
1283
1341
|
"description": "The json object with headers of the call to getConfig",
|
|
1284
1342
|
"additionalProperties": {
|
|
1285
|
-
"type": [
|
|
1343
|
+
"type": [
|
|
1344
|
+
"string",
|
|
1345
|
+
"number"
|
|
1346
|
+
]
|
|
1286
1347
|
}
|
|
1287
1348
|
},
|
|
1288
1349
|
"handleFailure": {
|
|
@@ -1298,7 +1359,10 @@
|
|
|
1298
1359
|
"type": "object",
|
|
1299
1360
|
"description": "The json object with response fields of the call to getDevice",
|
|
1300
1361
|
"additionalProperties": {
|
|
1301
|
-
"type": [
|
|
1362
|
+
"type": [
|
|
1363
|
+
"string",
|
|
1364
|
+
"number"
|
|
1365
|
+
]
|
|
1302
1366
|
},
|
|
1303
1367
|
"properties": {}
|
|
1304
1368
|
},
|
|
@@ -1311,7 +1375,10 @@
|
|
|
1311
1375
|
"type": "object",
|
|
1312
1376
|
"description": "The json object with response fields of the call to getConfig",
|
|
1313
1377
|
"additionalProperties": {
|
|
1314
|
-
"type": [
|
|
1378
|
+
"type": [
|
|
1379
|
+
"string",
|
|
1380
|
+
"number"
|
|
1381
|
+
]
|
|
1315
1382
|
},
|
|
1316
1383
|
"properties": {}
|
|
1317
1384
|
}
|
|
@@ -1338,21 +1405,30 @@
|
|
|
1338
1405
|
"type": "object",
|
|
1339
1406
|
"description": "The json object with query parameters of the call to getCount",
|
|
1340
1407
|
"additionalProperties": {
|
|
1341
|
-
"type": [
|
|
1408
|
+
"type": [
|
|
1409
|
+
"string",
|
|
1410
|
+
"number"
|
|
1411
|
+
]
|
|
1342
1412
|
}
|
|
1343
1413
|
},
|
|
1344
1414
|
"body": {
|
|
1345
1415
|
"type": "object",
|
|
1346
1416
|
"description": "The json object with body of the call to getCount",
|
|
1347
1417
|
"additionalProperties": {
|
|
1348
|
-
"type": [
|
|
1418
|
+
"type": [
|
|
1419
|
+
"string",
|
|
1420
|
+
"number"
|
|
1421
|
+
]
|
|
1349
1422
|
}
|
|
1350
1423
|
},
|
|
1351
1424
|
"headers": {
|
|
1352
1425
|
"type": "object",
|
|
1353
1426
|
"description": "The json object with headers of the call to getCount",
|
|
1354
1427
|
"additionalProperties": {
|
|
1355
|
-
"type": [
|
|
1428
|
+
"type": [
|
|
1429
|
+
"string",
|
|
1430
|
+
"number"
|
|
1431
|
+
]
|
|
1356
1432
|
}
|
|
1357
1433
|
},
|
|
1358
1434
|
"handleFailure": {
|
|
@@ -1368,7 +1444,10 @@
|
|
|
1368
1444
|
"type": "object",
|
|
1369
1445
|
"description": "The json object with response fields of the call to getDevice",
|
|
1370
1446
|
"additionalProperties": {
|
|
1371
|
-
"type": [
|
|
1447
|
+
"type": [
|
|
1448
|
+
"string",
|
|
1449
|
+
"number"
|
|
1450
|
+
]
|
|
1372
1451
|
},
|
|
1373
1452
|
"properties": {}
|
|
1374
1453
|
},
|
|
@@ -1381,7 +1460,10 @@
|
|
|
1381
1460
|
"type": "object",
|
|
1382
1461
|
"description": "The json object with response fields of the call to getConfig",
|
|
1383
1462
|
"additionalProperties": {
|
|
1384
|
-
"type": [
|
|
1463
|
+
"type": [
|
|
1464
|
+
"string",
|
|
1465
|
+
"number"
|
|
1466
|
+
]
|
|
1385
1467
|
},
|
|
1386
1468
|
"properties": {}
|
|
1387
1469
|
}
|
|
@@ -1487,21 +1569,30 @@
|
|
|
1487
1569
|
"type": "object",
|
|
1488
1570
|
"description": "The json object with query parameters of the call to getDevice",
|
|
1489
1571
|
"additionalProperties": {
|
|
1490
|
-
"type": [
|
|
1572
|
+
"type": [
|
|
1573
|
+
"string",
|
|
1574
|
+
"number"
|
|
1575
|
+
]
|
|
1491
1576
|
}
|
|
1492
1577
|
},
|
|
1493
1578
|
"body": {
|
|
1494
1579
|
"type": "object",
|
|
1495
1580
|
"description": "The json object with body of the call to getDevice",
|
|
1496
1581
|
"additionalProperties": {
|
|
1497
|
-
"type": [
|
|
1582
|
+
"type": [
|
|
1583
|
+
"string",
|
|
1584
|
+
"number"
|
|
1585
|
+
]
|
|
1498
1586
|
}
|
|
1499
1587
|
},
|
|
1500
1588
|
"headers": {
|
|
1501
1589
|
"type": "object",
|
|
1502
1590
|
"description": "The json object with headers of the call to getDevice",
|
|
1503
1591
|
"additionalProperties": {
|
|
1504
|
-
"type": [
|
|
1592
|
+
"type": [
|
|
1593
|
+
"string",
|
|
1594
|
+
"number"
|
|
1595
|
+
]
|
|
1505
1596
|
}
|
|
1506
1597
|
},
|
|
1507
1598
|
"handleFailure": {
|
|
@@ -1517,7 +1608,10 @@
|
|
|
1517
1608
|
"type": "object",
|
|
1518
1609
|
"description": "The json object with response fields of the call to getDevice",
|
|
1519
1610
|
"additionalProperties": {
|
|
1520
|
-
"type": [
|
|
1611
|
+
"type": [
|
|
1612
|
+
"string",
|
|
1613
|
+
"number"
|
|
1614
|
+
]
|
|
1521
1615
|
},
|
|
1522
1616
|
"properties": {}
|
|
1523
1617
|
},
|
|
@@ -1530,7 +1624,10 @@
|
|
|
1530
1624
|
"type": "object",
|
|
1531
1625
|
"description": "The json object with response fields of the call to getDevice",
|
|
1532
1626
|
"additionalProperties": {
|
|
1533
|
-
"type": [
|
|
1627
|
+
"type": [
|
|
1628
|
+
"string",
|
|
1629
|
+
"number"
|
|
1630
|
+
]
|
|
1534
1631
|
}
|
|
1535
1632
|
}
|
|
1536
1633
|
}
|
|
@@ -1566,4 +1663,4 @@
|
|
|
1566
1663
|
}
|
|
1567
1664
|
}
|
|
1568
1665
|
}
|
|
1569
|
-
}
|
|
1666
|
+
}
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"configLines":
|
|
2
|
+
"version": "0.1.3",
|
|
3
|
+
"configLines": 17280,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 20064,
|
|
6
|
-
"testLines":
|
|
6
|
+
"testLines": 15437,
|
|
7
7
|
"testCases": 808,
|
|
8
|
-
"totalCodeLines":
|
|
8
|
+
"totalCodeLines": 37284,
|
|
9
9
|
"wfTasks": 237
|
|
10
10
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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": 31
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of production dependencies",
|
|
22
|
+
"value": 16
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Number of development dependencies",
|
|
27
|
+
"value": 6
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "packageJson",
|
|
31
|
+
"description": "Number of npm scripts",
|
|
32
|
+
"value": 21
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "packageJson",
|
|
36
|
+
"description": "Runtime Library dependency",
|
|
37
|
+
"value": "^5.3.10"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "propertiesSchemaJson",
|
|
41
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
42
|
+
"value": 78
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "markdown",
|
|
46
|
+
"description": "Number of lines in the README.md",
|
|
47
|
+
"value": 344
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
52
|
+
"value": 9
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
57
|
+
"value": 647
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
62
|
+
"value": 48
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
67
|
+
"value": 70
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the BROKER.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "unitTestJS",
|
|
76
|
+
"description": "Number of lines of code in unit tests",
|
|
77
|
+
"value": 8063
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "unitTestJS",
|
|
81
|
+
"description": "Number of unit tests",
|
|
82
|
+
"value": 516
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "integrationTestJS",
|
|
86
|
+
"description": "Number of lines of code in integration tests",
|
|
87
|
+
"value": 6122
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "integrationTestJS",
|
|
91
|
+
"description": "Number of integration tests",
|
|
92
|
+
"value": 221
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "staticFile",
|
|
96
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
97
|
+
"value": 1453
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "staticFile",
|
|
101
|
+
"description": "Number of static files added",
|
|
102
|
+
"value": 36
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "Overall",
|
|
106
|
+
"description": "Total lines of Code",
|
|
107
|
+
"value": 15638
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "Overall",
|
|
111
|
+
"description": "Total Tests",
|
|
112
|
+
"value": 737
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "Overall",
|
|
116
|
+
"description": "Total Files",
|
|
117
|
+
"value": 6
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|