@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.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +48 -0
- package/CONTRIBUTING.md +158 -0
- package/LICENSE +201 -0
- package/README.md +687 -0
- package/adapter.js +5428 -0
- package/adapterBase.js +1028 -0
- package/entities/.generic/action.json +109 -0
- package/entities/.generic/schema.json +23 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Account/action.json +46 -0
- package/entities/Account/mockdatafiles/getAccountBalance-default.json +5 -0
- package/entities/Account/mockdatafiles/getAccountDetails-default.json +18 -0
- package/entities/Account/schema.json +31 -0
- package/entities/CSR/action.json +64 -0
- package/entities/CSR/mockdatafiles/decodeCSR-default.json +6 -0
- package/entities/CSR/mockdatafiles/generateCSR-default.json +5 -0
- package/entities/CSR/schema.json +98 -0
- package/entities/DCV/action.json +84 -0
- package/entities/DCV/mockdatafiles/domainGetFromWhois-default.json +5 -0
- package/entities/DCV/mockdatafiles/getDomainAlternative-default.json +24 -0
- package/entities/DCV/mockdatafiles/getDomainEmails-default.json +5 -0
- package/entities/DCV/mockdatafiles/getDomainEmailsForGeotrust-default.json +10 -0
- package/entities/DCV/schema.json +33 -0
- package/entities/Invoices/action.json +67 -0
- package/entities/Invoices/mockdatafiles/getAllInvoices-default.json +27 -0
- package/entities/Invoices/mockdatafiles/getOrderInvoice-default.json +13 -0
- package/entities/Invoices/mockdatafiles/getUnpaidInvoices-default.json +60 -0
- package/entities/Invoices/schema.json +43 -0
- package/entities/LEI/action.json +127 -0
- package/entities/LEI/mockdatafiles/createNewLEI-default.json +13 -0
- package/entities/LEI/mockdatafiles/getLeiStatus-default.json +5 -0
- package/entities/LEI/schema.json +46 -0
- package/entities/Orders/action.json +249 -0
- package/entities/Orders/mockdatafiles/addSSLOrder-default.json +59 -0
- package/entities/Orders/mockdatafiles/addSSLSANOrder-default.json +10 -0
- package/entities/Orders/mockdatafiles/cancelOrder-default.json +4 -0
- package/entities/Orders/mockdatafiles/comodoClaimFreeEV-default.json +5 -0
- package/entities/Orders/mockdatafiles/getAllSSLOrders-default.json +40 -0
- package/entities/Orders/mockdatafiles/getOrderStatus-default.json +105 -0
- package/entities/Orders/mockdatafiles/getOrdersStatuses-default.json +32 -0
- package/entities/Orders/mockdatafiles/getTotalOrders-default.json +4 -0
- package/entities/Orders/mockdatafiles/getUnpaidOrders-default.json +131 -0
- package/entities/Orders/mockdatafiles/recheckCAA-default.json +5 -0
- package/entities/Orders/schema.json +459 -0
- package/entities/Products/action.json +151 -0
- package/entities/Products/mockdatafiles/getAllProductPrices-default.json +10 -0
- package/entities/Products/mockdatafiles/getAllProducts-default.json +110 -0
- package/entities/Products/mockdatafiles/getProductAgreement-default.json +5 -0
- package/entities/Products/mockdatafiles/getProductPrice-default.json +50 -0
- package/entities/Products/mockdatafiles/getSslProduct-default.json +29 -0
- package/entities/Products/mockdatafiles/getSslProducts-default.json +325 -0
- package/entities/Products/schema.json +47 -0
- package/entities/Validation/action.json +145 -0
- package/entities/Validation/mockdatafiles/changeDcv-default.json +12 -0
- package/entities/Validation/mockdatafiles/changeDomainsValidationMethod-default.json +4 -0
- package/entities/Validation/mockdatafiles/resend-default.json +5 -0
- package/entities/Validation/mockdatafiles/resendValidationEmail-default.json +5 -0
- package/entities/Validation/mockdatafiles/revalidate-default.json +5 -0
- package/entities/Validation/schema.json +91 -0
- package/entities/Webservers/action.json +25 -0
- package/entities/Webservers/mockdatafiles/getWebServers-default.json +149 -0
- package/entities/Webservers/schema.json +41 -0
- package/error.json +184 -0
- package/package.json +83 -0
- package/pronghorn.json +8799 -0
- package/propertiesSchema.json +840 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +339 -0
- package/report/gogetssl_apimatic_openapi3.json +21135 -0
- package/sampleProperties.json +106 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +1746 -0
- package/test/unit/adapterBaseTestUnit.js +944 -0
- package/test/unit/adapterTestUnit.js +4765 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +224 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/pre-commit.sh +27 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +169 -0
- package/utils/tbUtils.js +445 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +190 -0
- 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
|
+
}
|