@itentialopensource/adapter-gogetssl 0.1.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 (100) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +5428 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Account/action.json +46 -0
  20. package/entities/Account/mockdatafiles/getAccountBalance-default.json +5 -0
  21. package/entities/Account/mockdatafiles/getAccountDetails-default.json +18 -0
  22. package/entities/Account/schema.json +31 -0
  23. package/entities/CSR/action.json +64 -0
  24. package/entities/CSR/mockdatafiles/decodeCSR-default.json +6 -0
  25. package/entities/CSR/mockdatafiles/generateCSR-default.json +5 -0
  26. package/entities/CSR/schema.json +98 -0
  27. package/entities/DCV/action.json +84 -0
  28. package/entities/DCV/mockdatafiles/domainGetFromWhois-default.json +5 -0
  29. package/entities/DCV/mockdatafiles/getDomainAlternative-default.json +24 -0
  30. package/entities/DCV/mockdatafiles/getDomainEmails-default.json +5 -0
  31. package/entities/DCV/mockdatafiles/getDomainEmailsForGeotrust-default.json +10 -0
  32. package/entities/DCV/schema.json +33 -0
  33. package/entities/Invoices/action.json +67 -0
  34. package/entities/Invoices/mockdatafiles/getAllInvoices-default.json +27 -0
  35. package/entities/Invoices/mockdatafiles/getOrderInvoice-default.json +13 -0
  36. package/entities/Invoices/mockdatafiles/getUnpaidInvoices-default.json +60 -0
  37. package/entities/Invoices/schema.json +43 -0
  38. package/entities/LEI/action.json +127 -0
  39. package/entities/LEI/mockdatafiles/createNewLEI-default.json +13 -0
  40. package/entities/LEI/mockdatafiles/getLeiStatus-default.json +5 -0
  41. package/entities/LEI/schema.json +46 -0
  42. package/entities/Orders/action.json +249 -0
  43. package/entities/Orders/mockdatafiles/addSSLOrder-default.json +59 -0
  44. package/entities/Orders/mockdatafiles/addSSLSANOrder-default.json +10 -0
  45. package/entities/Orders/mockdatafiles/cancelOrder-default.json +4 -0
  46. package/entities/Orders/mockdatafiles/comodoClaimFreeEV-default.json +5 -0
  47. package/entities/Orders/mockdatafiles/getAllSSLOrders-default.json +40 -0
  48. package/entities/Orders/mockdatafiles/getOrderStatus-default.json +105 -0
  49. package/entities/Orders/mockdatafiles/getOrdersStatuses-default.json +32 -0
  50. package/entities/Orders/mockdatafiles/getTotalOrders-default.json +4 -0
  51. package/entities/Orders/mockdatafiles/getUnpaidOrders-default.json +131 -0
  52. package/entities/Orders/mockdatafiles/recheckCAA-default.json +5 -0
  53. package/entities/Orders/schema.json +459 -0
  54. package/entities/Products/action.json +151 -0
  55. package/entities/Products/mockdatafiles/getAllProductPrices-default.json +10 -0
  56. package/entities/Products/mockdatafiles/getAllProducts-default.json +110 -0
  57. package/entities/Products/mockdatafiles/getProductAgreement-default.json +5 -0
  58. package/entities/Products/mockdatafiles/getProductPrice-default.json +50 -0
  59. package/entities/Products/mockdatafiles/getSslProduct-default.json +29 -0
  60. package/entities/Products/mockdatafiles/getSslProducts-default.json +325 -0
  61. package/entities/Products/schema.json +47 -0
  62. package/entities/Validation/action.json +145 -0
  63. package/entities/Validation/mockdatafiles/changeDcv-default.json +12 -0
  64. package/entities/Validation/mockdatafiles/changeDomainsValidationMethod-default.json +4 -0
  65. package/entities/Validation/mockdatafiles/resend-default.json +5 -0
  66. package/entities/Validation/mockdatafiles/resendValidationEmail-default.json +5 -0
  67. package/entities/Validation/mockdatafiles/revalidate-default.json +5 -0
  68. package/entities/Validation/schema.json +91 -0
  69. package/entities/Webservers/action.json +25 -0
  70. package/entities/Webservers/mockdatafiles/getWebServers-default.json +149 -0
  71. package/entities/Webservers/schema.json +41 -0
  72. package/error.json +184 -0
  73. package/package.json +83 -0
  74. package/pronghorn.json +8799 -0
  75. package/propertiesSchema.json +840 -0
  76. package/refs?service=git-upload-pack +0 -0
  77. package/report/creationReport.json +339 -0
  78. package/report/gogetssl_apimatic_openapi3.json +21135 -0
  79. package/sampleProperties.json +106 -0
  80. package/test/integration/adapterTestBasicGet.js +85 -0
  81. package/test/integration/adapterTestConnectivity.js +93 -0
  82. package/test/integration/adapterTestIntegration.js +1746 -0
  83. package/test/unit/adapterBaseTestUnit.js +944 -0
  84. package/test/unit/adapterTestUnit.js +4765 -0
  85. package/utils/addAuth.js +94 -0
  86. package/utils/artifactize.js +146 -0
  87. package/utils/basicGet.js +50 -0
  88. package/utils/checkMigrate.js +63 -0
  89. package/utils/entitiesToDB.js +224 -0
  90. package/utils/findPath.js +74 -0
  91. package/utils/modify.js +154 -0
  92. package/utils/packModificationScript.js +35 -0
  93. package/utils/pre-commit.sh +27 -0
  94. package/utils/removeHooks.js +20 -0
  95. package/utils/setup.js +33 -0
  96. package/utils/tbScript.js +169 -0
  97. package/utils/tbUtils.js +445 -0
  98. package/utils/testRunner.js +298 -0
  99. package/utils/troubleshootingAdapter.js +190 -0
  100. package/workflows/README.md +3 -0
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@itentialopensource/adapter-gogetssl",
3
+ "version": "0.1.1",
4
+ "description": "This adapter integrates with system described as: gogetsslApi(v1)Documentation.",
5
+ "main": "adapter.js",
6
+ "wizardVersion": "2.44.7",
7
+ "engineVersion": "1.59.50",
8
+ "adapterType": "http",
9
+ "scripts": {
10
+ "artifactize": "npm i && node utils/packModificationScript.js",
11
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
12
+ "deinstall": "node utils/removeHooks.js",
13
+ "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
14
+ "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
15
+ "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
16
+ "test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
17
+ "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
18
+ "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
19
+ "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
20
+ "adapter:install": "npm i && node utils/tbScript.js install",
21
+ "adapter:checkMigrate": "node utils/checkMigrate.js",
22
+ "adapter:findPath": "node utils/findPath.js",
23
+ "adapter:migrate": "node utils/modify.js -m",
24
+ "adapter:update": "node utils/modify.js -u",
25
+ "adapter:revert": "node utils/modify.js -r",
26
+ "troubleshoot": "node utils/tbScript.js",
27
+ "healthcheck": "node utils/tbScript.js healthcheck",
28
+ "basicget": "node utils/tbScript.js basicget",
29
+ "connectivity": "node utils/tbScript.js connectivity",
30
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
31
+ "build": "npm run deploy"
32
+ },
33
+ "keywords": [
34
+ "Itential",
35
+ "IAP",
36
+ "Automation",
37
+ "Integration",
38
+ "App-Artifacts",
39
+ "Adapter",
40
+ "Security",
41
+ "GoGetSSL",
42
+ "Pre-Release"
43
+ ],
44
+ "license": "Apache-2.0",
45
+ "engines": {
46
+ "node": ">= 8.0.0",
47
+ "npm": ">= 6.0.0"
48
+ },
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git@gitlab.com:itentialopensource/adapters/security/adapter-gogetssl.git"
52
+ },
53
+ "author": "Itential",
54
+ "homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-gogetssl#readme",
55
+ "dependencies": {
56
+ "@itentialopensource/adapter-utils": "^4.44.11",
57
+ "ajv": "^6.12.0",
58
+ "axios": "^0.21.0",
59
+ "commander": "^2.20.0",
60
+ "fs-extra": "^8.1.0",
61
+ "mocha": "^9.0.1",
62
+ "mocha-param": "^2.0.1",
63
+ "mongodb": "^4.1.0",
64
+ "network-diagnostics": "^0.5.3",
65
+ "nyc": "^15.1.0",
66
+ "readline-sync": "^1.4.10",
67
+ "semver": "^7.3.2",
68
+ "winston": "^3.3.3"
69
+ },
70
+ "devDependencies": {
71
+ "chai": "^4.3.4",
72
+ "eslint": "^7.29.0",
73
+ "eslint-config-airbnb-base": "^14.2.1",
74
+ "eslint-plugin-import": "^2.23.4",
75
+ "eslint-plugin-json": "^3.0.0",
76
+ "package-json-validator": "^0.6.3",
77
+ "testdouble": "^3.16.1"
78
+ },
79
+ "resolutions": {
80
+ "minimist": "^1.2.5"
81
+ },
82
+ "private": false
83
+ }