@itentialopensource/adapter-datadog 0.7.0 → 0.7.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/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.7.2 [02-27-2024]
3
+
4
+ * Changes made at 2024.02.27_11:40AM
5
+
6
+ See merge request itentialopensource/adapters/telemetry-analytics/adapter-datadog!10
7
+
8
+ ---
9
+
10
+ ## 0.7.1 [01-03-2024]
11
+
12
+ * add api docs
13
+
14
+ See merge request itentialopensource/adapters/telemetry-analytics/adapter-datadog!9
15
+
16
+ ---
17
+
2
18
  ## 0.7.0 [01-03-2024]
3
19
 
4
20
  * Adapter Engine has been updated and the changes are being migrated to the adapter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-datadog",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "This adapter integrates with system: Datadog.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Datadog",
@@ -55,15 +55,15 @@
55
55
  "author": "Itential",
56
56
  "homepage": "https://gitlab.com/itentialopensource/adapters/telemetry-analytics/adapter-datadog#readme",
57
57
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^5.3.2",
58
+ "@itentialopensource/adapter-utils": "^5.3.8",
59
59
  "acorn": "^8.10.0",
60
60
  "ajv": "^8.12.0",
61
- "axios": "^1.6.3",
61
+ "axios": "^1.6.7",
62
62
  "commander": "^11.0.0",
63
63
  "dns-lookup-promise": "^1.0.4",
64
64
  "fs-extra": "^11.1.1",
65
65
  "json-query": "^2.2.2",
66
- "mocha": "^10.2.0",
66
+ "mocha": "^10.3.0",
67
67
  "mocha-param": "^2.0.1",
68
68
  "mongodb": "^4.16.0",
69
69
  "nyc": "^15.1.0",
Binary file
@@ -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,131 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: adapter-datadog
4
+ contact: {}
5
+ version: '1.0.0'
6
+ servers:
7
+ - url: https://{defaultHost}
8
+ variables:
9
+ defaultHost:
10
+ default: www.example.com
11
+ paths:
12
+ /:
13
+ post:
14
+ summary: addTagsToAHost
15
+ description: ''
16
+ operationId: addTagsToAHost
17
+ parameters:
18
+ - name: apiKey
19
+ in: query
20
+ description: ''
21
+ required: true
22
+ style: form
23
+ explode: true
24
+ schema:
25
+ type: string
26
+ - name: applicationKey
27
+ in: query
28
+ description: ''
29
+ required: true
30
+ style: form
31
+ explode: true
32
+ schema:
33
+ type: string
34
+ requestBody:
35
+ description: ''
36
+ content:
37
+ application/json:
38
+ schema:
39
+ type: object
40
+ required: false
41
+ responses:
42
+ '200':
43
+ description: Successful operation
44
+ headers: {}
45
+ content:
46
+ application/json:
47
+ schema:
48
+ type: object
49
+ deprecated: false
50
+ get:
51
+ summary: getHostTags
52
+ description: ''
53
+ operationId: getHostTags
54
+ parameters:
55
+ - name: apiKey
56
+ in: query
57
+ description: ''
58
+ required: true
59
+ style: form
60
+ explode: true
61
+ schema:
62
+ type: string
63
+ - name: applicationKey
64
+ in: query
65
+ description: ''
66
+ required: true
67
+ style: form
68
+ explode: true
69
+ schema:
70
+ type: string
71
+ responses:
72
+ '200':
73
+ description: Successful operation
74
+ headers: {}
75
+ content:
76
+ application/json:
77
+ schema:
78
+ type: object
79
+ deprecated: false
80
+ put:
81
+ summary: sendServices
82
+ description: ''
83
+ operationId: sendServices
84
+ parameters: []
85
+ requestBody:
86
+ description: ''
87
+ content:
88
+ application/json:
89
+ schema:
90
+ type: object
91
+ required: false
92
+ responses:
93
+ '200':
94
+ description: Successful operation
95
+ headers: {}
96
+ content:
97
+ application/json:
98
+ schema:
99
+ type: object
100
+ deprecated: false
101
+ delete:
102
+ summary: removeHostTags
103
+ description: ''
104
+ operationId: removeHostTags
105
+ parameters:
106
+ - name: apiKey
107
+ in: query
108
+ description: ''
109
+ required: true
110
+ style: form
111
+ explode: true
112
+ schema:
113
+ type: string
114
+ - name: applicationKey
115
+ in: query
116
+ description: ''
117
+ required: true
118
+ style: form
119
+ explode: true
120
+ schema:
121
+ type: string
122
+ responses:
123
+ '200':
124
+ description: Successful operation
125
+ headers: {}
126
+ content:
127
+ application/json:
128
+ schema:
129
+ type: object
130
+ deprecated: false
131
+ tags: []
@@ -316,10 +316,10 @@ describe('[unit] Datadog Adapter Test', () => {
316
316
  assert.notEqual(null, packageDotJson.dependencies);
317
317
  assert.notEqual('', packageDotJson.dependencies);
318
318
  assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
319
- assert.equal('^1.6.3', packageDotJson.dependencies.axios);
319
+ assert.equal('^1.6.7', packageDotJson.dependencies.axios);
320
320
  assert.equal('^11.0.0', packageDotJson.dependencies.commander);
321
321
  assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
322
- assert.equal('^10.2.0', packageDotJson.dependencies.mocha);
322
+ assert.equal('^10.3.0', packageDotJson.dependencies.mocha);
323
323
  assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
324
324
  assert.equal('^15.1.0', packageDotJson.dependencies.nyc);
325
325
  assert.equal('^0.4.4', packageDotJson.dependencies.ping);