@itentialopensource/adapter-checkpoint_management 0.10.4 → 0.10.6
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/CALLS.md +54 -0
- package/adapter.js +997 -0
- package/entities/PackageDeployment/action.json +184 -0
- package/entities/PackageDeployment/schema.json +27 -0
- package/package.json +7 -7
- package/pronghorn.json +546 -69
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +234 -0
- package/test/unit/adapterTestUnit.js +264 -3
- package/refs?service=git-upload-pack +0 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "verifySoftwarePackage",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/verify-software-package?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "installSoftwarePackage",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/install-software-package?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "uninstallSoftwarePackage",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/uninstall-software-package?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": ""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "addRepositoryPackage",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/add-repository-package?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"requestDatatype": "JSON",
|
|
73
|
+
"responseDatatype": "JSON",
|
|
74
|
+
"headers": {},
|
|
75
|
+
"responseObjects": [
|
|
76
|
+
{
|
|
77
|
+
"type": "default",
|
|
78
|
+
"key": "",
|
|
79
|
+
"mockFile": ""
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "showRepositoryPackage",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"entitypath": "{base_path}/{version}/show-repository-package?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"requestDatatype": "JSON",
|
|
93
|
+
"responseDatatype": "JSON",
|
|
94
|
+
"headers": {},
|
|
95
|
+
"responseObjects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "default",
|
|
98
|
+
"key": "",
|
|
99
|
+
"mockFile": ""
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "showSoftwarePackageDetails",
|
|
105
|
+
"protocol": "REST",
|
|
106
|
+
"method": "POST",
|
|
107
|
+
"entitypath": "{base_path}/{version}/show-software-package-details?{query}",
|
|
108
|
+
"requestSchema": "schema.json",
|
|
109
|
+
"responseSchema": "schema.json",
|
|
110
|
+
"timeout": 0,
|
|
111
|
+
"sendEmpty": false,
|
|
112
|
+
"requestDatatype": "JSON",
|
|
113
|
+
"responseDatatype": "JSON",
|
|
114
|
+
"headers": {},
|
|
115
|
+
"responseObjects": [
|
|
116
|
+
{
|
|
117
|
+
"type": "default",
|
|
118
|
+
"key": "",
|
|
119
|
+
"mockFile": ""
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "showSoftwarePackagesPerTargets",
|
|
125
|
+
"protocol": "REST",
|
|
126
|
+
"method": "POST",
|
|
127
|
+
"entitypath": "{base_path}/{version}/show-software-packages-per-targets?{query}",
|
|
128
|
+
"requestSchema": "schema.json",
|
|
129
|
+
"responseSchema": "schema.json",
|
|
130
|
+
"timeout": 0,
|
|
131
|
+
"sendEmpty": false,
|
|
132
|
+
"requestDatatype": "JSON",
|
|
133
|
+
"responseDatatype": "JSON",
|
|
134
|
+
"headers": {},
|
|
135
|
+
"responseObjects": [
|
|
136
|
+
{
|
|
137
|
+
"type": "default",
|
|
138
|
+
"key": "",
|
|
139
|
+
"mockFile": ""
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "deleteRepositoryPackage",
|
|
145
|
+
"protocol": "REST",
|
|
146
|
+
"method": "POST",
|
|
147
|
+
"entitypath": "{base_path}/{version}/delete-repository-package?{query}",
|
|
148
|
+
"requestSchema": "schema.json",
|
|
149
|
+
"responseSchema": "schema.json",
|
|
150
|
+
"timeout": 0,
|
|
151
|
+
"sendEmpty": false,
|
|
152
|
+
"requestDatatype": "JSON",
|
|
153
|
+
"responseDatatype": "JSON",
|
|
154
|
+
"headers": {},
|
|
155
|
+
"responseObjects": [
|
|
156
|
+
{
|
|
157
|
+
"type": "default",
|
|
158
|
+
"key": "",
|
|
159
|
+
"mockFile": ""
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "showRepositoryPackages",
|
|
165
|
+
"protocol": "REST",
|
|
166
|
+
"method": "POST",
|
|
167
|
+
"entitypath": "{base_path}/{version}/show-repository-packages?{query}",
|
|
168
|
+
"requestSchema": "schema.json",
|
|
169
|
+
"responseSchema": "schema.json",
|
|
170
|
+
"timeout": 0,
|
|
171
|
+
"sendEmpty": false,
|
|
172
|
+
"requestDatatype": "JSON",
|
|
173
|
+
"responseDatatype": "JSON",
|
|
174
|
+
"headers": {},
|
|
175
|
+
"responseObjects": [
|
|
176
|
+
{
|
|
177
|
+
"type": "default",
|
|
178
|
+
"key": "",
|
|
179
|
+
"mockFile": ""
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "verifySoftwarePackage",
|
|
12
|
+
"enum": [
|
|
13
|
+
"verifySoftwarePackage",
|
|
14
|
+
"installSoftwarePackage",
|
|
15
|
+
"uninstallSoftwarePackage",
|
|
16
|
+
"addRepositoryPackage",
|
|
17
|
+
"showRepositoryPackage",
|
|
18
|
+
"showSoftwarePackageDetails",
|
|
19
|
+
"showSoftwarePackagesPerTargets",
|
|
20
|
+
"deleteRepositoryPackage",
|
|
21
|
+
"showRepositoryPackages"
|
|
22
|
+
],
|
|
23
|
+
"external_name": "ph_request_type"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"definitions": {}
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-checkpoint_management",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.6",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Checkpoint Management",
|
|
@@ -54,22 +54,22 @@
|
|
|
54
54
|
"author": "Itential",
|
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-checkpoint_management#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
58
|
-
"acorn": "^8.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^5.10.1",
|
|
58
|
+
"acorn": "^8.14.0",
|
|
59
59
|
"ajv": "^8.17.1",
|
|
60
|
-
"axios": "^1.7.
|
|
60
|
+
"axios": "^1.7.9",
|
|
61
61
|
"commander": "^11.0.0",
|
|
62
62
|
"dns-lookup-promise": "^1.0.4",
|
|
63
63
|
"fs-extra": "^11.2.0",
|
|
64
64
|
"json-query": "^2.2.2",
|
|
65
|
-
"mocha": "^10.
|
|
65
|
+
"mocha": "^10.8.2",
|
|
66
66
|
"mocha-param": "^2.0.1",
|
|
67
|
-
"mongodb": "^4.
|
|
67
|
+
"mongodb": "^4.17.2",
|
|
68
68
|
"ping": "^0.4.4",
|
|
69
69
|
"prompts": "^2.4.2",
|
|
70
70
|
"readline-sync": "^1.4.10",
|
|
71
71
|
"semver": "^7.6.3",
|
|
72
|
-
"winston": "^3.
|
|
72
|
+
"winston": "^3.17.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"chai": "^4.3.7",
|