@itentialopensource/adapter-bitbucket 0.3.4 → 0.3.7

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.
@@ -4,7 +4,7 @@
4
4
  "name": "getGenerics",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
7
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
@@ -25,7 +25,7 @@
25
25
  "name": "createGeneric",
26
26
  "protocol": "REST",
27
27
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
28
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
@@ -46,7 +46,7 @@
46
46
  "name": "updateGeneric",
47
47
  "protocol": "REST",
48
48
  "method": "PUT",
49
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
49
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
@@ -67,7 +67,7 @@
67
67
  "name": "patchGeneric",
68
68
  "protocol": "REST",
69
69
  "method": "PATCH",
70
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
70
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
@@ -88,7 +88,7 @@
88
88
  "name": "deleteGeneric",
89
89
  "protocol": "REST",
90
90
  "method": "DELETE",
91
- "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}?{query}",
91
+ "entitypath": "{base_path}/{version}/{pathv1}/{pathv2}/{pathv3}/{pathv4}/{pathv5}/{pathv6}/{pathv7}/{pathv8}/{pathv9}/{pathv10}/{pathv11}/{pathv12}/{pathv13}/{pathv14}/{pathv15}/{pathv16}/{pathv17}/{pathv18}/{pathv19}/{pathv20}?{query}",
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
@@ -220,7 +220,28 @@
220
220
  "timeout": 0,
221
221
  "sendEmpty": false,
222
222
  "sendGetBody": false,
223
- "requestDatatype": "PLAIN",
223
+ "requestDatatype": "FORM",
224
+ "responseDatatype": "PLAIN",
225
+ "headers": {},
226
+ "responseObjects": [
227
+ {
228
+ "type": "default",
229
+ "key": "",
230
+ "mockFile": ""
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "name": "CreateACommitByUploadingAFile",
236
+ "protocol": "REST",
237
+ "method": "POST",
238
+ "entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/src?{query}",
239
+ "requestSchema": "schema.json",
240
+ "responseSchema": "schema.json",
241
+ "timeout": 0,
242
+ "sendEmpty": false,
243
+ "sendGetBody": false,
244
+ "requestDatatype": "URLENCODE",
224
245
  "responseDatatype": "PLAIN",
225
246
  "headers": {},
226
247
  "responseObjects": [
@@ -28,7 +28,8 @@
28
28
  "putRepositoriesUsernameRepoSlugCommitNodeStatusesBuildKey",
29
29
  "getRepositoriesUsernameRepoSlugForks",
30
30
  "getRepositoriesUsernameRepoSlugPullrequestsPullRequestIdStatuses",
31
- "getRepositoriesUsernameRepoSlugWatchers"
31
+ "getRepositoriesUsernameRepoSlugWatchers",
32
+ "CreateACommitByUploadingAFile"
32
33
  ],
33
34
  "external_name": "ph_request_type"
34
35
  },
package/error.json CHANGED
@@ -168,6 +168,12 @@
168
168
  "displayString": "Failure response received for $VARIABLE$",
169
169
  "recommendation": "Check the reason for failure in the stack trace"
170
170
  },
171
+ {
172
+ "key": "Suspended Adapter",
173
+ "icode": "AD.600",
174
+ "displayString": "Adapter is suspended",
175
+ "recommendation": "Check if external system is functional and unsuspend if appropriate"
176
+ },
171
177
  {
172
178
  "key": "Caught Exception",
173
179
  "icode": "AD.900",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-bitbucket",
3
- "version": "0.3.4",
3
+ "version": "0.3.7",
4
4
  "description": "This adapter integrates with system described as: bitbucket.",
5
5
  "main": "adapter.js",
6
- "wizardVersion": "2.43.12",
7
- "engineVersion": "1.58.3",
6
+ "wizardVersion": "2.44.7",
7
+ "engineVersion": "1.59.55",
8
8
  "scripts": {
9
9
  "artifactize": "npm i && node utils/packModificationScript.js",
10
- "preinstall": "node utils/setup.js",
10
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
11
11
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
12
12
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
13
13
  "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
@@ -15,7 +15,7 @@
15
15
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
16
16
  "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
17
17
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
18
- "adapter:install": "node utils/tbScript.js install",
18
+ "adapter:install": "npm i && node utils/tbScript.js install",
19
19
  "adapter:checkMigrate": "node utils/checkMigrate.js",
20
20
  "adapter:findPath": "node utils/findPath.js",
21
21
  "adapter:migrate": "node utils/modify.js -m",
@@ -25,7 +25,7 @@
25
25
  "healthcheck": "node utils/tbScript.js healthcheck",
26
26
  "basicget": "node utils/tbScript.js basicget",
27
27
  "connectivity": "node utils/tbScript.js connectivity",
28
- "deploy": "npm publish --registry=http://registry.npmjs.org --access=public",
28
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
29
29
  "build": "npm run deploy"
30
30
  },
31
31
  "keywords": [
@@ -52,13 +52,14 @@
52
52
  "author": "Itential",
53
53
  "homepage": "https://gitlab.com/itentialopensource/adapters/devops-netops/adapter-bitbucket#readme",
54
54
  "dependencies": {
55
- "@itentialopensource/adapter-utils": "^4.39.1",
55
+ "@itentialopensource/adapter-utils": "^4.44.11",
56
56
  "ajv": "^6.12.0",
57
57
  "axios": "^0.21.0",
58
58
  "commander": "^2.20.0",
59
59
  "fs-extra": "^8.1.0",
60
- "mocha": "^8.1.1",
60
+ "mocha": "^9.0.1",
61
61
  "mocha-param": "^2.0.1",
62
+ "mongodb": "^4.1.0",
62
63
  "network-diagnostics": "^0.5.3",
63
64
  "nyc": "^15.1.0",
64
65
  "readline-sync": "^1.4.10",
@@ -66,13 +67,17 @@
66
67
  "winston": "^3.3.3"
67
68
  },
68
69
  "devDependencies": {
69
- "chai": "^4.2.0",
70
- "eslint": "^7.2.0",
71
- "eslint-config-airbnb-base": "^14.2.0",
72
- "eslint-plugin-import": "^2.21.2",
73
- "eslint-plugin-json": "^2.1.1",
70
+ "chai": "^4.3.4",
71
+ "eslint": "^7.29.0",
72
+ "eslint-config-airbnb-base": "^14.2.1",
73
+ "eslint-plugin-import": "^2.23.4",
74
+ "eslint-plugin-json": "^3.0.0",
74
75
  "package-json-validator": "^0.6.3",
75
76
  "testdouble": "^3.16.1"
76
77
  },
77
- "private": false
78
+ "resolutions": {
79
+ "minimist": "^1.2.5"
80
+ },
81
+ "private": false,
82
+ "adapterType": "http"
78
83
  }
package/pronghorn.json CHANGED
@@ -386,6 +386,198 @@
386
386
  },
387
387
  "task": true
388
388
  },
389
+ {
390
+ "name": "moveEntitiesToDB",
391
+ "summary": "Moves entities from an adapter into the IAP database",
392
+ "description": "Moves entities from an adapter into the IAP database",
393
+ "input": [],
394
+ "output": {
395
+ "name": "res",
396
+ "type": "object",
397
+ "description": "A JSON Object containing status, code and the response from the mongo transaction",
398
+ "schema": {
399
+ "title": "res",
400
+ "type": "object"
401
+ }
402
+ },
403
+ "roles": [
404
+ "admin"
405
+ ],
406
+ "route": {
407
+ "verb": "POST",
408
+ "path": "/moveEntitiesToDB"
409
+ },
410
+ "task": true
411
+ },
412
+ {
413
+ "name": "getDevice",
414
+ "summary": "Get the Appliance",
415
+ "description": "Get the Appliance",
416
+ "input": [
417
+ {
418
+ "name": "deviceName",
419
+ "type": "string",
420
+ "info": "An Appliance Device Name",
421
+ "required": true,
422
+ "schema": {
423
+ "title": "deviceName",
424
+ "type": "string"
425
+ }
426
+ }
427
+ ],
428
+ "output": {
429
+ "name": "result",
430
+ "type": "object",
431
+ "description": "A JSON Object containing status, code and the result",
432
+ "schema": {
433
+ "title": "result",
434
+ "type": "object"
435
+ }
436
+ },
437
+ "roles": [
438
+ "admin"
439
+ ],
440
+ "route": {
441
+ "verb": "POST",
442
+ "path": "/getDevice"
443
+ },
444
+ "task": false
445
+ },
446
+ {
447
+ "name": "getDevicesFiltered",
448
+ "summary": "Get Appliances that match the filter",
449
+ "description": "Get Appliances that match the filter",
450
+ "input": [
451
+ {
452
+ "name": "options",
453
+ "type": "object",
454
+ "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
455
+ "required": true,
456
+ "schema": {
457
+ "title": "options",
458
+ "type": "object"
459
+ }
460
+ }
461
+ ],
462
+ "output": {
463
+ "name": "result",
464
+ "type": "array",
465
+ "description": "A JSON Object containing status, code and the result",
466
+ "schema": {
467
+ "title": "result",
468
+ "type": "array"
469
+ }
470
+ },
471
+ "roles": [
472
+ "admin"
473
+ ],
474
+ "route": {
475
+ "verb": "POST",
476
+ "path": "/getDevicesFiltered"
477
+ },
478
+ "task": false
479
+ },
480
+ {
481
+ "name": "isAlive",
482
+ "summary": "Checks the status for the provided Appliance",
483
+ "description": "Checks the status for the provided Appliance",
484
+ "input": [
485
+ {
486
+ "name": "deviceName",
487
+ "type": "string",
488
+ "info": "An Appliance Device Name",
489
+ "required": true,
490
+ "schema": {
491
+ "title": "deviceName",
492
+ "type": "string"
493
+ }
494
+ }
495
+ ],
496
+ "output": {
497
+ "name": "result",
498
+ "type": "boolean",
499
+ "description": "A JSON Object containing status, code and the result",
500
+ "schema": {
501
+ "title": "result",
502
+ "type": "boolean"
503
+ }
504
+ },
505
+ "roles": [
506
+ "admin"
507
+ ],
508
+ "route": {
509
+ "verb": "POST",
510
+ "path": "/isAlive"
511
+ },
512
+ "task": false
513
+ },
514
+ {
515
+ "name": "getConfig",
516
+ "summary": "Gets a config for the provided Appliance",
517
+ "description": "Gets a config for the provided Appliance",
518
+ "input": [
519
+ {
520
+ "name": "deviceName",
521
+ "type": "string",
522
+ "info": "An Appliance Device Name",
523
+ "required": true,
524
+ "schema": {
525
+ "title": "deviceName",
526
+ "type": "string"
527
+ }
528
+ },
529
+ {
530
+ "name": "format",
531
+ "type": "string",
532
+ "info": "The format to be returned - this is ignored as we always return json",
533
+ "required": false,
534
+ "schema": {
535
+ "title": "format",
536
+ "type": "string"
537
+ }
538
+ }
539
+ ],
540
+ "output": {
541
+ "name": "result",
542
+ "type": "object",
543
+ "description": "A JSON Object containing status, code and the result",
544
+ "schema": {
545
+ "title": "result",
546
+ "type": "object"
547
+ }
548
+ },
549
+ "roles": [
550
+ "admin"
551
+ ],
552
+ "route": {
553
+ "verb": "POST",
554
+ "path": "/getConfig"
555
+ },
556
+ "task": false
557
+ },
558
+ {
559
+ "name": "getCount",
560
+ "summary": "Gets a device count from the system",
561
+ "description": "Gets a device count from the system",
562
+ "input": [],
563
+ "output": {
564
+ "name": "result",
565
+ "type": "object",
566
+ "description": "A JSON Object containing status, code and the result",
567
+ "schema": {
568
+ "title": "result",
569
+ "type": "object"
570
+ }
571
+ },
572
+ "roles": [
573
+ "admin"
574
+ ],
575
+ "route": {
576
+ "verb": "POST",
577
+ "path": "/getCount"
578
+ },
579
+ "task": false
580
+ },
389
581
  {
390
582
  "name": "deleteAddon",
391
583
  "summary": "",
@@ -1294,6 +1486,100 @@
1294
1486
  },
1295
1487
  "task": true
1296
1488
  },
1489
+ {
1490
+ "name": "CreateACommitByUploadingAFile",
1491
+ "summary": "This endpoint is used to create new commits in the repository by uploading files.",
1492
+ "description": "This endpoint is used to create new commits in the repository by uploading files.",
1493
+ "input": [
1494
+ {
1495
+ "name": "username",
1496
+ "type": "string",
1497
+ "info": "This can either be the username or the UUID of the user,\nsurrounded by curly-braces, for example: `{user UUID}`.",
1498
+ "required": true,
1499
+ "schema": {
1500
+ "title": "username",
1501
+ "type": "string"
1502
+ }
1503
+ },
1504
+ {
1505
+ "name": "repoSlug",
1506
+ "type": "string",
1507
+ "info": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.",
1508
+ "required": true,
1509
+ "schema": {
1510
+ "title": "repoSlug",
1511
+ "type": "string"
1512
+ }
1513
+ },
1514
+ {
1515
+ "name": "message",
1516
+ "type": "string",
1517
+ "info": "The commit message. When omitted, Bitbucket uses a canned string.",
1518
+ "required": false,
1519
+ "schema": {
1520
+ "title": "message",
1521
+ "type": "string"
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "author",
1526
+ "type": "string",
1527
+ "info": "The raw string to be used as the new commit's author.",
1528
+ "required": false,
1529
+ "schema": {
1530
+ "title": "author",
1531
+ "type": "string"
1532
+ }
1533
+ },
1534
+ {
1535
+ "name": "parents",
1536
+ "type": "string",
1537
+ "info": "A comma-separated list of SHA1s of the commits that should be the parents of the newly created commit.",
1538
+ "required": false,
1539
+ "schema": {
1540
+ "title": "parents",
1541
+ "type": "string"
1542
+ }
1543
+ },
1544
+ {
1545
+ "name": "files",
1546
+ "type": "object",
1547
+ "info": "Optional field that declares the files that the request is manipulating. ex. {'path/to/file.txt':'Contents of File'}",
1548
+ "required": false,
1549
+ "schema": {
1550
+ "title": "file",
1551
+ "type": "object"
1552
+ }
1553
+ },
1554
+ {
1555
+ "name": "branch",
1556
+ "type": "object",
1557
+ "info": "The name of the branch that the new commit should be created on. When omitted, the commit will be created on top of the main branch and will become the main branch's new head.",
1558
+ "required": false,
1559
+ "schema": {
1560
+ "title": "branch",
1561
+ "type": "object"
1562
+ }
1563
+ }
1564
+ ],
1565
+ "output": {
1566
+ "name": "result",
1567
+ "type": "object",
1568
+ "description": "A JSON Object containing status, code and the result",
1569
+ "schema": {
1570
+ "title": "result",
1571
+ "type": "object"
1572
+ }
1573
+ },
1574
+ "roles": [
1575
+ "admin"
1576
+ ],
1577
+ "route": {
1578
+ "verb": "POST",
1579
+ "path": "/postRepositoriesUsernameRepoSlugSrc"
1580
+ },
1581
+ "task": true
1582
+ },
1297
1583
  {
1298
1584
  "name": "putRepositoriesUsernameRepoSlug",
1299
1585
  "summary": "Since this endpoint can be used to both update and to create a\nrepository, the request body depends on the intent.\n### Creation\nSee the POST documentation for the repository endpoint for an example\nof the request body.\n### Update\nNote: Changing the `name` of the repository will cause the location to\nbe changed. This is because the URL of the repo is derived from the\nname (a process called slugification). In such a scenario, it is\npossible for the request to fail if the newly created slug conflic...(description truncated)",
@@ -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": [
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": 1
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": 29
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": 10756
53
+ },
54
+ {
55
+ "owner": "unitTestJS",
56
+ "description": "Number of unit tests",
57
+ "value": 661
58
+ },
59
+ {
60
+ "owner": "integrationTestJS",
61
+ "description": "Number of lines of code in integration tests",
62
+ "value": 6062
63
+ },
64
+ {
65
+ "owner": "integrationTestJS",
66
+ "description": "Number of integration tests",
67
+ "value": 187
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": 17847
83
+ },
84
+ {
85
+ "owner": "Overall",
86
+ "description": "Total Tests",
87
+ "value": 848
88
+ },
89
+ {
90
+ "owner": "Overall",
91
+ "description": "Total Files",
92
+ "value": 6
93
+ }
94
+ ]
95
+ }
@@ -3,25 +3,28 @@
3
3
  "type": "Bitbucket",
4
4
  "properties": {
5
5
  "host": "api.bitbucket.org",
6
- "port": 80,
7
- "base_path": "/api",
8
- "version": "v2.0",
6
+ "port": 443,
7
+ "base_path": "",
8
+ "version": "2.0",
9
9
  "cache_location": "none",
10
10
  "encode_pathvars": true,
11
11
  "save_metric": true,
12
12
  "stub": true,
13
13
  "protocol": "https",
14
14
  "authentication": {
15
- "auth_method": "no_authentication",
15
+ "auth_method": "basic user_password",
16
16
  "username": "username",
17
17
  "password": "password",
18
18
  "token": "",
19
19
  "token_timeout": 180000,
20
20
  "token_cache": "local",
21
21
  "invalid_token_error": 401,
22
- "auth_field": "header.headers.Cookie",
23
- "auth_field_format": "Token {token}",
24
- "auth_logging": false
22
+ "auth_field": "header.headers.Authorization",
23
+ "auth_field_format": "Basic {b64}{username}:{password}{/b64}",
24
+ "auth_logging": false,
25
+ "client_id": "",
26
+ "client_secret": "",
27
+ "grant_type": ""
25
28
  },
26
29
  "healthcheck": {
27
30
  "type": "none",
@@ -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) => {