@itentialopensource/adapter-datadog 0.7.3 → 0.8.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/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/SYSTEMINFO.md +8 -1
- package/TAB1.md +10 -0
- package/TAB2.md +308 -0
- package/metadata.json +19 -5
- package/package.json +4 -6
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +146 -146
- package/report/adapterInfo.json +4 -4
- package/report/sample-openapi.json +156 -0
- package/report/updateReport1714079379399.json +120 -0
- package/sampleProperties.json +1 -0
- package/test/integration/adapterTestIntegration.js +1 -0
- package/test/unit/adapterTestUnit.js +2 -4
- /package/report/{adapter-openapi.yaml → sample-openapi.yaml} +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-datadog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "This adapter integrates with system: Datadog.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Datadog",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.67.
|
|
8
|
+
"engineVersion": "1.67.16",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
17
17
|
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
18
18
|
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
19
|
-
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
20
19
|
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
21
20
|
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
22
21
|
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
@@ -55,10 +54,10 @@
|
|
|
55
54
|
"author": "Itential",
|
|
56
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/telemetry-analytics/adapter-datadog#readme",
|
|
57
56
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^5.3.10",
|
|
59
58
|
"acorn": "^8.10.0",
|
|
60
59
|
"ajv": "^8.12.0",
|
|
61
|
-
"axios": "^1.6.
|
|
60
|
+
"axios": "^1.6.8",
|
|
62
61
|
"commander": "^11.0.0",
|
|
63
62
|
"dns-lookup-promise": "^1.0.4",
|
|
64
63
|
"fs-extra": "^11.1.1",
|
|
@@ -66,7 +65,6 @@
|
|
|
66
65
|
"mocha": "^10.3.0",
|
|
67
66
|
"mocha-param": "^2.0.1",
|
|
68
67
|
"mongodb": "^4.16.0",
|
|
69
|
-
"nyc": "^15.1.0",
|
|
70
68
|
"ping": "^0.4.4",
|
|
71
69
|
"prompts": "^2.4.2",
|
|
72
70
|
"readline-sync": "^1.4.10",
|
package/propertiesSchema.json
CHANGED
|
@@ -945,6 +945,11 @@
|
|
|
945
945
|
"devicebroker": {
|
|
946
946
|
"type": "object",
|
|
947
947
|
"properties": {
|
|
948
|
+
"enabled": {
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"description": "Whether or not the device broker calls have been mapped",
|
|
951
|
+
"default": false
|
|
952
|
+
},
|
|
948
953
|
"getDevice": {
|
|
949
954
|
"type": "array",
|
|
950
955
|
"description": "Broker call(s) to getDevice",
|
|
Binary file
|
|
@@ -1,156 +1,156 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
"paths": {
|
|
8
|
-
"": {
|
|
9
|
-
"post": {
|
|
10
|
-
"operationId": "addTagsToAHost",
|
|
11
|
-
"responses": {
|
|
12
|
-
"200": {
|
|
13
|
-
"description": "Successful operation",
|
|
14
|
-
"content": {
|
|
15
|
-
"application/json": {
|
|
16
|
-
"schema": {
|
|
17
|
-
"title": "result",
|
|
18
|
-
"type": "object"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
2
|
+
"openapi": "3.0.2",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "adapter-datadog",
|
|
5
|
+
"version": "1.0.0"
|
|
23
6
|
},
|
|
24
|
-
"
|
|
25
|
-
{
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"title": "applicationKey",
|
|
40
|
-
"type": "string"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"requestBody": {
|
|
45
|
-
"content": {
|
|
46
|
-
"application/json": {
|
|
47
|
-
"schema": {
|
|
48
|
-
"type": "object"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"get": {
|
|
55
|
-
"operationId": "getHostTags",
|
|
56
|
-
"responses": {
|
|
57
|
-
"200": {
|
|
58
|
-
"description": "Successful operation",
|
|
59
|
-
"content": {
|
|
60
|
-
"application/json": {
|
|
61
|
-
"schema": {
|
|
62
|
-
"title": "result",
|
|
63
|
-
"type": "object"
|
|
7
|
+
"paths": {
|
|
8
|
+
"": {
|
|
9
|
+
"post": {
|
|
10
|
+
"operationId": "addTagsToAHost",
|
|
11
|
+
"responses": {
|
|
12
|
+
"200": {
|
|
13
|
+
"description": "Successful operation",
|
|
14
|
+
"content": {
|
|
15
|
+
"application/json": {
|
|
16
|
+
"schema": {
|
|
17
|
+
"title": "result",
|
|
18
|
+
"type": "object"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
64
22
|
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"200": {
|
|
94
|
-
"description": "Successful operation",
|
|
95
|
-
"content": {
|
|
96
|
-
"application/json": {
|
|
97
|
-
"schema": {
|
|
98
|
-
"title": "result",
|
|
99
|
-
"type": "object"
|
|
23
|
+
},
|
|
24
|
+
"parameters": [
|
|
25
|
+
{
|
|
26
|
+
"name": "apiKey",
|
|
27
|
+
"in": "query",
|
|
28
|
+
"required": true,
|
|
29
|
+
"schema": {
|
|
30
|
+
"title": "apiKey",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "applicationKey",
|
|
36
|
+
"in": "query",
|
|
37
|
+
"required": true,
|
|
38
|
+
"schema": {
|
|
39
|
+
"title": "applicationKey",
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"requestBody": {
|
|
45
|
+
"content": {
|
|
46
|
+
"application/json": {
|
|
47
|
+
"schema": {
|
|
48
|
+
"type": "object"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
100
51
|
}
|
|
101
52
|
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
|
|
53
|
+
},
|
|
54
|
+
"get": {
|
|
55
|
+
"operationId": "getHostTags",
|
|
56
|
+
"responses": {
|
|
57
|
+
"200": {
|
|
58
|
+
"description": "Successful operation",
|
|
59
|
+
"content": {
|
|
60
|
+
"application/json": {
|
|
61
|
+
"schema": {
|
|
62
|
+
"title": "result",
|
|
63
|
+
"type": "object"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"parameters": [
|
|
70
|
+
{
|
|
71
|
+
"name": "apiKey",
|
|
72
|
+
"in": "query",
|
|
73
|
+
"required": true,
|
|
74
|
+
"schema": {
|
|
75
|
+
"title": "apiKey",
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "applicationKey",
|
|
81
|
+
"in": "query",
|
|
82
|
+
"required": true,
|
|
83
|
+
"schema": {
|
|
84
|
+
"title": "applicationKey",
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"put": {
|
|
91
|
+
"operationId": "sendServices",
|
|
92
|
+
"responses": {
|
|
93
|
+
"200": {
|
|
94
|
+
"description": "Successful operation",
|
|
95
|
+
"content": {
|
|
96
|
+
"application/json": {
|
|
97
|
+
"schema": {
|
|
98
|
+
"title": "result",
|
|
99
|
+
"type": "object"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"requestBody": {
|
|
106
|
+
"content": {
|
|
107
|
+
"application/json": {
|
|
108
|
+
"schema": {
|
|
109
|
+
"type": "object"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
125
112
|
}
|
|
126
113
|
}
|
|
114
|
+
},
|
|
115
|
+
"delete": {
|
|
116
|
+
"operationId": "removeHostTags",
|
|
117
|
+
"responses": {
|
|
118
|
+
"200": {
|
|
119
|
+
"description": "Successful operation",
|
|
120
|
+
"content": {
|
|
121
|
+
"application/json": {
|
|
122
|
+
"schema": {
|
|
123
|
+
"title": "result",
|
|
124
|
+
"type": "object"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"parameters": [
|
|
131
|
+
{
|
|
132
|
+
"name": "apiKey",
|
|
133
|
+
"in": "query",
|
|
134
|
+
"required": true,
|
|
135
|
+
"schema": {
|
|
136
|
+
"title": "apiKey",
|
|
137
|
+
"type": "string"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "applicationKey",
|
|
142
|
+
"in": "query",
|
|
143
|
+
"required": true,
|
|
144
|
+
"schema": {
|
|
145
|
+
"title": "applicationKey",
|
|
146
|
+
"type": "string"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
127
150
|
}
|
|
128
151
|
}
|
|
129
152
|
},
|
|
130
|
-
"
|
|
131
|
-
{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"required": true,
|
|
135
|
-
"schema": {
|
|
136
|
-
"title": "apiKey",
|
|
137
|
-
"type": "string"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"name": "applicationKey",
|
|
142
|
-
"in": "query",
|
|
143
|
-
"required": true,
|
|
144
|
-
"schema": {
|
|
145
|
-
"title": "applicationKey",
|
|
146
|
-
"type": "string"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"components": {
|
|
154
|
-
"schemas": {}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
153
|
+
"components": {
|
|
154
|
+
"schemas": {}
|
|
155
|
+
}
|
|
156
|
+
}
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"configLines":
|
|
2
|
+
"version": "0.7.4",
|
|
3
|
+
"configLines": 9391,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 15890,
|
|
6
|
-
"testLines":
|
|
6
|
+
"testLines": 14002,
|
|
7
7
|
"testCases": 749,
|
|
8
|
-
"totalCodeLines":
|
|
8
|
+
"totalCodeLines": 31675,
|
|
9
9
|
"wfTasks": 153
|
|
10
10
|
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.2",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "adapter-datadog",
|
|
5
|
+
"version": "1.0.0"
|
|
6
|
+
},
|
|
7
|
+
"paths": {
|
|
8
|
+
"": {
|
|
9
|
+
"post": {
|
|
10
|
+
"operationId": "addTagsToAHost",
|
|
11
|
+
"responses": {
|
|
12
|
+
"200": {
|
|
13
|
+
"description": "Successful operation",
|
|
14
|
+
"content": {
|
|
15
|
+
"application/json": {
|
|
16
|
+
"schema": {
|
|
17
|
+
"title": "result",
|
|
18
|
+
"type": "object"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"parameters": [
|
|
25
|
+
{
|
|
26
|
+
"name": "apiKey",
|
|
27
|
+
"in": "query",
|
|
28
|
+
"required": true,
|
|
29
|
+
"schema": {
|
|
30
|
+
"title": "apiKey",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "applicationKey",
|
|
36
|
+
"in": "query",
|
|
37
|
+
"required": true,
|
|
38
|
+
"schema": {
|
|
39
|
+
"title": "applicationKey",
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"requestBody": {
|
|
45
|
+
"content": {
|
|
46
|
+
"application/json": {
|
|
47
|
+
"schema": {
|
|
48
|
+
"type": "object"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"get": {
|
|
55
|
+
"operationId": "getHostTags",
|
|
56
|
+
"responses": {
|
|
57
|
+
"200": {
|
|
58
|
+
"description": "Successful operation",
|
|
59
|
+
"content": {
|
|
60
|
+
"application/json": {
|
|
61
|
+
"schema": {
|
|
62
|
+
"title": "result",
|
|
63
|
+
"type": "object"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"parameters": [
|
|
70
|
+
{
|
|
71
|
+
"name": "apiKey",
|
|
72
|
+
"in": "query",
|
|
73
|
+
"required": true,
|
|
74
|
+
"schema": {
|
|
75
|
+
"title": "apiKey",
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "applicationKey",
|
|
81
|
+
"in": "query",
|
|
82
|
+
"required": true,
|
|
83
|
+
"schema": {
|
|
84
|
+
"title": "applicationKey",
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"put": {
|
|
91
|
+
"operationId": "sendServices",
|
|
92
|
+
"responses": {
|
|
93
|
+
"200": {
|
|
94
|
+
"description": "Successful operation",
|
|
95
|
+
"content": {
|
|
96
|
+
"application/json": {
|
|
97
|
+
"schema": {
|
|
98
|
+
"title": "result",
|
|
99
|
+
"type": "object"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"requestBody": {
|
|
106
|
+
"content": {
|
|
107
|
+
"application/json": {
|
|
108
|
+
"schema": {
|
|
109
|
+
"type": "object"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"delete": {
|
|
116
|
+
"operationId": "removeHostTags",
|
|
117
|
+
"responses": {
|
|
118
|
+
"200": {
|
|
119
|
+
"description": "Successful operation",
|
|
120
|
+
"content": {
|
|
121
|
+
"application/json": {
|
|
122
|
+
"schema": {
|
|
123
|
+
"title": "result",
|
|
124
|
+
"type": "object"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"parameters": [
|
|
131
|
+
{
|
|
132
|
+
"name": "apiKey",
|
|
133
|
+
"in": "query",
|
|
134
|
+
"required": true,
|
|
135
|
+
"schema": {
|
|
136
|
+
"title": "apiKey",
|
|
137
|
+
"type": "string"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "applicationKey",
|
|
142
|
+
"in": "query",
|
|
143
|
+
"required": true,
|
|
144
|
+
"schema": {
|
|
145
|
+
"title": "applicationKey",
|
|
146
|
+
"type": "string"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"components": {
|
|
154
|
+
"schemas": {}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -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": 17
|
|
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": 22
|
|
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": 8927
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "unitTestJS",
|
|
81
|
+
"description": "Number of unit tests",
|
|
82
|
+
"value": 542
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "integrationTestJS",
|
|
86
|
+
"description": "Number of lines of code in integration tests",
|
|
87
|
+
"value": 3825
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "integrationTestJS",
|
|
91
|
+
"description": "Number of integration tests",
|
|
92
|
+
"value": 137
|
|
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": 14205
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "Overall",
|
|
111
|
+
"description": "Total Tests",
|
|
112
|
+
"value": 679
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "Overall",
|
|
116
|
+
"description": "Total Files",
|
|
117
|
+
"value": 6
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
package/sampleProperties.json
CHANGED
|
@@ -46,6 +46,7 @@ samProps.ssl.accept_invalid_cert = false;
|
|
|
46
46
|
if (samProps.request.attempt_timeout < 30000) {
|
|
47
47
|
samProps.request.attempt_timeout = 30000;
|
|
48
48
|
}
|
|
49
|
+
samProps.devicebroker.enabled = true;
|
|
49
50
|
const attemptTimeout = samProps.request.attempt_timeout;
|
|
50
51
|
const { stub } = samProps;
|
|
51
52
|
|