@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
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getDomainAlternative",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/tools/domain/alternative?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "URLENCODE",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": "mockdatafiles/getDomainAlternative-default.json"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getDomainEmails",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/tools/domain/emails?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "URLENCODE",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": "mockdatafiles/getDomainEmails-default.json"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "getDomainEmailsForGeotrust",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/tools/domain/emails/geotrust?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "URLENCODE",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": "mockdatafiles/getDomainEmailsForGeotrust-default.json"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "domainGetFromWhois",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/tools/domain_get_from_whois?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"requestDatatype": "URLENCODE",
|
|
73
|
+
"responseDatatype": "JSON",
|
|
74
|
+
"headers": {},
|
|
75
|
+
"responseObjects": [
|
|
76
|
+
{
|
|
77
|
+
"type": "default",
|
|
78
|
+
"key": "",
|
|
79
|
+
"mockFile": "mockdatafiles/domainGetFromWhois-default.json"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"validation": {
|
|
3
|
+
"http": {
|
|
4
|
+
"http": {
|
|
5
|
+
"link": "http://domain.tld/.well-known/pki-validation/604693EB6CD1DCB4551BCC5370E09055.txt",
|
|
6
|
+
"filename": "604693EB6CD1DCB4551BCC5370E09055.txt",
|
|
7
|
+
"content": "22F5AB9523A304F616B855FF3322EADD15805BE87CF949B3C8E8DF78890209A5\r\nCOMODOCA.COM"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"https": {
|
|
11
|
+
"https": {
|
|
12
|
+
"link": "https://domain2.tld/.well-known/pki-validation/604693EB6CD1DCB4551BCC5370E09055.txt",
|
|
13
|
+
"filename": "604693EB6CD1DCB4551BCC5370E09055.txt",
|
|
14
|
+
"content": "22F5AB9523A304F616B855FF3322EADD15805BE87CF949B3C8E8DF78890209A5\r\nCOMODOCA.COM"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"dns": {
|
|
18
|
+
"dns": {
|
|
19
|
+
"record": "_604693EB6CD1DCB4551BCC5370E09055.DOMAIN3.COM CNAME 22f5ab9523a304f616b855ff3322eadd.15805be87cf949b3c8e8df78890209a5.comodoca.com"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"success": true
|
|
24
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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": "getDomainAlternative",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getDomainAlternative",
|
|
14
|
+
"getDomainEmails",
|
|
15
|
+
"getDomainEmailsForGeotrust",
|
|
16
|
+
"domainGetFromWhois"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
},
|
|
20
|
+
"authKey": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Request token obtained from Auth method",
|
|
23
|
+
"parse": false,
|
|
24
|
+
"encode": false,
|
|
25
|
+
"encrypt": {
|
|
26
|
+
"type": "AES",
|
|
27
|
+
"key": ""
|
|
28
|
+
},
|
|
29
|
+
"external_name": "auth_key"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"definitions": {}
|
|
33
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getAllInvoices",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/account/invoices?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getAllInvoices-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getUnpaidInvoices",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/account/invoices/unpaid?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": "mockdatafiles/getUnpaidInvoices-default.json"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getOrderInvoice",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/orders/invoice/{pathv1}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": "mockdatafiles/getOrderInvoice-default.json"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"invoices": [
|
|
3
|
+
{
|
|
4
|
+
"number": "GGM-0818506737",
|
|
5
|
+
"date": "2018-08-01",
|
|
6
|
+
"subtotal": "0.00",
|
|
7
|
+
"tax": "0.00",
|
|
8
|
+
"total": "0.00",
|
|
9
|
+
"tax_rate": "0.00",
|
|
10
|
+
"status": "paid",
|
|
11
|
+
"currency": "EUR",
|
|
12
|
+
"payment_method": "bank_transfer"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"number": "GGM-0818506737",
|
|
16
|
+
"date": "2018-08-01",
|
|
17
|
+
"subtotal": "0.00",
|
|
18
|
+
"tax": "0.00",
|
|
19
|
+
"total": "0.00",
|
|
20
|
+
"tax_rate": "0.00",
|
|
21
|
+
"status": "paid",
|
|
22
|
+
"currency": "EUR",
|
|
23
|
+
"payment_method": "bank_transfer"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"success": true
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order_id": "1146748",
|
|
3
|
+
"number": "GGS-0719723755",
|
|
4
|
+
"date": "2019-07-23",
|
|
5
|
+
"subtotal": "59.13",
|
|
6
|
+
"tax": "12.42",
|
|
7
|
+
"tax_rate": "21.00",
|
|
8
|
+
"total": "71.55",
|
|
9
|
+
"status": "paid",
|
|
10
|
+
"currency": "EUR",
|
|
11
|
+
"payment_method": "balance",
|
|
12
|
+
"success": true
|
|
13
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"invoices": [
|
|
3
|
+
{
|
|
4
|
+
"order_id": "2033503",
|
|
5
|
+
"number": "GGS-10211329562",
|
|
6
|
+
"date": "2021-10-11",
|
|
7
|
+
"tax": "37.80",
|
|
8
|
+
"tax_rate": "21.00",
|
|
9
|
+
"subtotal": "180.00",
|
|
10
|
+
"total": "217.80",
|
|
11
|
+
"currency": "USD",
|
|
12
|
+
"payment_method": "balance"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"order_id": "2033503",
|
|
16
|
+
"number": "GGS-10211329562",
|
|
17
|
+
"date": "2021-10-11",
|
|
18
|
+
"tax": "37.80",
|
|
19
|
+
"tax_rate": "21.00",
|
|
20
|
+
"subtotal": "180.00",
|
|
21
|
+
"total": "217.80",
|
|
22
|
+
"currency": "USD",
|
|
23
|
+
"payment_method": "balance"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"order_id": "2033503",
|
|
27
|
+
"number": "GGS-10211329562",
|
|
28
|
+
"date": "2021-10-11",
|
|
29
|
+
"tax": "37.80",
|
|
30
|
+
"tax_rate": "21.00",
|
|
31
|
+
"subtotal": "180.00",
|
|
32
|
+
"total": "217.80",
|
|
33
|
+
"currency": "USD",
|
|
34
|
+
"payment_method": "balance"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"order_id": "2033503",
|
|
38
|
+
"number": "GGS-10211329562",
|
|
39
|
+
"date": "2021-10-11",
|
|
40
|
+
"tax": "37.80",
|
|
41
|
+
"tax_rate": "21.00",
|
|
42
|
+
"subtotal": "180.00",
|
|
43
|
+
"total": "217.80",
|
|
44
|
+
"currency": "USD",
|
|
45
|
+
"payment_method": "balance"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"order_id": "2033503",
|
|
49
|
+
"number": "GGS-10211329562",
|
|
50
|
+
"date": "2021-10-11",
|
|
51
|
+
"tax": "37.80",
|
|
52
|
+
"tax_rate": "21.00",
|
|
53
|
+
"subtotal": "180.00",
|
|
54
|
+
"total": "217.80",
|
|
55
|
+
"currency": "USD",
|
|
56
|
+
"payment_method": "balance"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"success": true
|
|
60
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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": "getAllInvoices",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAllInvoices",
|
|
14
|
+
"getUnpaidInvoices",
|
|
15
|
+
"getOrderInvoice"
|
|
16
|
+
],
|
|
17
|
+
"external_name": "ph_request_type"
|
|
18
|
+
},
|
|
19
|
+
"authKey": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Request token obtained from Auth method",
|
|
22
|
+
"parse": false,
|
|
23
|
+
"encode": false,
|
|
24
|
+
"encrypt": {
|
|
25
|
+
"type": "AES",
|
|
26
|
+
"key": ""
|
|
27
|
+
},
|
|
28
|
+
"external_name": "auth_key"
|
|
29
|
+
},
|
|
30
|
+
"orderId": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "",
|
|
33
|
+
"parse": false,
|
|
34
|
+
"encode": false,
|
|
35
|
+
"encrypt": {
|
|
36
|
+
"type": "AES",
|
|
37
|
+
"key": ""
|
|
38
|
+
},
|
|
39
|
+
"external_name": "order_id"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"definitions": {}
|
|
43
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "createNewLEI",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/orders/lei/create?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "URLENCODE",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": "mockdatafiles/createNewLEI-default.json"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getLEIJurisdictions",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/lei/jurisdictions?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "confirmLEIDataQuality",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/lei/confirm/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "URLENCODE",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "getLeiStatus",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/lei/status/{pathv1}?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": "mockdatafiles/getLeiStatus-default.json"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "renewLEI",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "POST",
|
|
89
|
+
"entitypath": "{base_path}/{version}/orders/lei/renew/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "URLENCODE",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "leiLoolup",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/lei/lookup?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"product_id": "string",
|
|
3
|
+
"order_number": "string",
|
|
4
|
+
"order_id": "string",
|
|
5
|
+
"invoice_num": "string",
|
|
6
|
+
"invoice_id": "string",
|
|
7
|
+
"lei_id": "string",
|
|
8
|
+
"order_amount": 7,
|
|
9
|
+
"currency": "string",
|
|
10
|
+
"tax": "string",
|
|
11
|
+
"tax_rate": "string",
|
|
12
|
+
"success": true
|
|
13
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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": "createNewLEI",
|
|
12
|
+
"enum": [
|
|
13
|
+
"createNewLEI",
|
|
14
|
+
"getLEIJurisdictions",
|
|
15
|
+
"confirmLEIDataQuality",
|
|
16
|
+
"getLeiStatus",
|
|
17
|
+
"renewLEI",
|
|
18
|
+
"leiLoolup"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
},
|
|
22
|
+
"authKey": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "",
|
|
25
|
+
"parse": false,
|
|
26
|
+
"encode": false,
|
|
27
|
+
"encrypt": {
|
|
28
|
+
"type": "AES",
|
|
29
|
+
"key": ""
|
|
30
|
+
},
|
|
31
|
+
"external_name": "auth_key"
|
|
32
|
+
},
|
|
33
|
+
"orderId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "",
|
|
36
|
+
"parse": false,
|
|
37
|
+
"encode": false,
|
|
38
|
+
"encrypt": {
|
|
39
|
+
"type": "AES",
|
|
40
|
+
"key": ""
|
|
41
|
+
},
|
|
42
|
+
"external_name": "order_id"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"definitions": {}
|
|
46
|
+
}
|