@itentialopensource/adapter-opsramp 0.1.3 → 0.2.1

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.
Files changed (44) hide show
  1. package/.eslintrc.js +1 -0
  2. package/AUTH.md +4 -4
  3. package/BROKER.md +4 -4
  4. package/CALLS.md +9 -9
  5. package/ENHANCE.md +3 -3
  6. package/PROPERTIES.md +24 -9
  7. package/README.md +24 -23
  8. package/SUMMARY.md +2 -2
  9. package/SYSTEMINFO.md +1 -1
  10. package/TAB1.md +2 -2
  11. package/TAB2.md +9 -5
  12. package/TROUBLESHOOT.md +10 -1
  13. package/UTILITIES.md +473 -0
  14. package/adapter.js +5 -5
  15. package/adapterBase.js +52 -16
  16. package/package.json +25 -29
  17. package/pronghorn.json +82 -80
  18. package/propertiesSchema.json +196 -43
  19. package/report/adapterInfo.json +7 -7
  20. package/report/updateReport1748551297930.json +120 -0
  21. package/sampleProperties.json +4 -0
  22. package/test/integration/adapterTestBasicGet.js +88 -54
  23. package/test/integration/adapterTestConnectivity.js +15 -16
  24. package/test/integration/adapterTestIntegration.js +1 -38
  25. package/test/unit/adapterBaseTestUnit.js +641 -39
  26. package/test/unit/adapterTestUnit.js +23 -54
  27. package/utils/adapterInfo.js +114 -164
  28. package/utils/argParser.js +44 -0
  29. package/utils/checkMigrate.js +77 -38
  30. package/utils/entitiesToDB.js +53 -42
  31. package/utils/logger.js +26 -0
  32. package/utils/modify.js +56 -55
  33. package/utils/mongoDbConnection.js +79 -0
  34. package/utils/mongoUtils.js +162 -0
  35. package/utils/taskMover.js +31 -32
  36. package/utils/tbScript.js +36 -172
  37. package/utils/tbUtils.js +84 -226
  38. package/utils/troubleshootingAdapter.js +68 -84
  39. package/utils/updateAdapterConfig.js +158 -0
  40. package/utils/addAuth.js +0 -94
  41. package/utils/artifactize.js +0 -146
  42. package/utils/basicGet.js +0 -50
  43. package/utils/packModificationScript.js +0 -35
  44. package/utils/patches2bundledDeps.js +0 -90
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-opsramp",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "This adapter integrates with system described as: resourceManagement.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Opsramp",
7
- "wizardVersion": "3.2.2",
8
- "engineVersion": "1.68.9",
7
+ "wizardVersion": "2.44.7",
8
+ "engineVersion": "1.69.14",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
- "artifactize": "npm i && node utils/packModificationScript.js",
12
11
  "preinstall": "node utils/setup.js",
13
12
  "deinstall": "node utils/removeHooks.js",
14
13
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
@@ -17,7 +16,6 @@
17
16
  "test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
18
17
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
19
18
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
20
- "adapter:install": "npm i && node utils/tbScript.js install",
21
19
  "adapter:checkMigrate": "node utils/checkMigrate.js",
22
20
  "adapter:findPath": "node utils/findPath.js",
23
21
  "adapter:migrate": "node utils/modify.js -m",
@@ -32,10 +30,9 @@
32
30
  },
33
31
  "keywords": [
34
32
  "Itential",
35
- "IAP",
33
+ "Itential Platform",
36
34
  "Automation",
37
35
  "Integration",
38
- "App-Artifacts",
39
36
  "Adapter",
40
37
  "opsramp",
41
38
  "Pre-Release"
@@ -52,30 +49,29 @@
52
49
  "author": "Itential",
53
50
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-opsramp#readme",
54
51
  "dependencies": {
55
- "@itentialopensource/adapter-utils": "^5.9.4",
56
- "acorn": "^8.12.1",
57
- "ajv": "^8.17.1",
58
- "axios": "^1.8.2",
59
- "commander": "^11.0.0",
60
- "dns-lookup-promise": "^1.0.4",
61
- "fs-extra": "^11.2.0",
62
- "json-query": "^2.2.2",
63
- "mocha": "^10.7.3",
64
- "mocha-param": "^2.0.1",
65
- "mongodb": "^4.16.0",
66
- "ping": "^0.4.4",
67
- "prompts": "^2.4.2",
68
- "readline-sync": "^1.4.10",
69
- "semver": "^7.6.3",
70
- "winston": "^3.14.2"
52
+ "@itentialopensource/adapter-utils": "5.10.19",
53
+ "acorn": "8.14.1",
54
+ "ajv": "8.17.1",
55
+ "axios": "1.9.0",
56
+ "commander": "11.1.0",
57
+ "fs-extra": "11.3.0",
58
+ "json-query": "2.2.2",
59
+ "mocha": "10.8.2",
60
+ "mocha-param": "2.0.1",
61
+ "mongodb": "4.17.2",
62
+ "ping": "0.4.4",
63
+ "prompts": "2.4.2",
64
+ "readline-sync": "1.4.10",
65
+ "semver": "7.7.2",
66
+ "winston": "3.17.0"
71
67
  },
72
68
  "devDependencies": {
73
- "chai": "^4.3.7",
74
- "eslint": "^8.44.0",
75
- "eslint-config-airbnb-base": "^15.0.0",
76
- "eslint-plugin-import": "^2.27.5",
77
- "eslint-plugin-json": "^3.1.0",
78
- "testdouble": "^3.18.0"
69
+ "chai": "4.5.0",
70
+ "eslint": "8.57.0",
71
+ "eslint-config-airbnb-base": "15.0.0",
72
+ "eslint-plugin-import": "2.31.0",
73
+ "eslint-plugin-json": "3.1.0",
74
+ "testdouble": "3.18.0"
79
75
  },
80
76
  "private": false
81
77
  }