@itentialopensource/adapter-beyond_trust 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 (122) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +1004 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TAB1.md +5 -0
  22. package/TAB2.md +2226 -0
  23. package/TROUBLESHOOT.md +47 -0
  24. package/adapter.js +12401 -0
  25. package/adapterBase.js +1452 -0
  26. package/entities/.generic/action.json +214 -0
  27. package/entities/.generic/schema.json +28 -0
  28. package/entities/.system/action.json +50 -0
  29. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  30. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  31. package/entities/.system/schema.json +19 -0
  32. package/entities/.system/schemaTokenReq.json +53 -0
  33. package/entities/.system/schemaTokenResp.json +53 -0
  34. package/entities/GroupPolicy/action.json +495 -0
  35. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyIndex-default.json +18 -0
  36. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyJumpGroupIndex-default.json +12 -0
  37. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyJumpointsIndex-default.json +8 -0
  38. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyMemberIndex-default.json +26 -0
  39. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyTeamIndex-default.json +10 -0
  40. package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyVaultAccountIndex-default.json +7 -0
  41. package/entities/GroupPolicy/schema.json +119 -0
  42. package/entities/JumpClient/action.json +147 -0
  43. package/entities/JumpClient/mockdatafiles/apiConfigJumpClientIndex-default.json +29 -0
  44. package/entities/JumpClient/schema.json +124 -0
  45. package/entities/JumpGroup/action.json +208 -0
  46. package/entities/JumpGroup/mockdatafiles/apiConfigJumpGroupIndex-default.json +30 -0
  47. package/entities/JumpGroup/mockdatafiles/apiConfigJumpGroupUserIndex-default.json +7 -0
  48. package/entities/JumpGroup/schema.json +72 -0
  49. package/entities/JumpItem/action.json +370 -0
  50. package/entities/JumpItem/mockdatafiles/apiConfigJumpItemRemoteRdpIndex-default.json +52 -0
  51. package/entities/JumpItem/mockdatafiles/apiConfigJumpItemShellJumpIndex-default.json +70 -0
  52. package/entities/JumpItem/mockdatafiles/apiConfigJumpItemWebJumpIndex-default.json +38 -0
  53. package/entities/JumpItem/schema.json +91 -0
  54. package/entities/JumpItemRole/action.json +46 -0
  55. package/entities/JumpItemRole/mockdatafiles/apiConfigJumpItemRoleIndex-default.json +34 -0
  56. package/entities/JumpItemRole/schema.json +42 -0
  57. package/entities/JumpPolicy/action.json +127 -0
  58. package/entities/JumpPolicy/mockdatafiles/apiConfigJumpPolicyIndex-default.json +86 -0
  59. package/entities/JumpPolicy/schema.json +57 -0
  60. package/entities/Jumpoint/action.json +230 -0
  61. package/entities/Jumpoint/mockdatafiles/apiConfigJumpointIndex-default.json +50 -0
  62. package/entities/Jumpoint/schema.json +95 -0
  63. package/entities/OpenapiYaml/action.json +25 -0
  64. package/entities/OpenapiYaml/schema.json +19 -0
  65. package/entities/SecurityProvider/action.json +25 -0
  66. package/entities/SecurityProvider/mockdatafiles/apiConfigSecurityProviderIndex-default.json +26 -0
  67. package/entities/SecurityProvider/schema.json +41 -0
  68. package/entities/SessionPolicy/action.json +25 -0
  69. package/entities/SessionPolicy/mockdatafiles/apiConfigSessionPolicyIndex-default.json +20 -0
  70. package/entities/SessionPolicy/schema.json +41 -0
  71. package/entities/Team/action.json +208 -0
  72. package/entities/Team/mockdatafiles/apiConfigTeamIndex-default.json +14 -0
  73. package/entities/Team/mockdatafiles/apiConfigTeamUserIndex-default.json +7 -0
  74. package/entities/Team/schema.json +72 -0
  75. package/entities/User/action.json +106 -0
  76. package/entities/User/mockdatafiles/apiConfigUserIndex-default.json +18 -0
  77. package/entities/User/schema.json +67 -0
  78. package/entities/Vault/action.json +676 -0
  79. package/entities/Vault/mockdatafiles/apiConfigVaultAccountGroupAccountIndex-default.json +18 -0
  80. package/entities/Vault/mockdatafiles/apiConfigVaultAccountGroupUserIndex-default.json +22 -0
  81. package/entities/Vault/mockdatafiles/apiConfigVaultAccountIndex-default.json +22 -0
  82. package/entities/Vault/mockdatafiles/apiConfigVaultAccountUserIndex-default.json +6 -0
  83. package/entities/Vault/schema.json +128 -0
  84. package/entities/Vendor/action.json +208 -0
  85. package/entities/Vendor/mockdatafiles/apiConfigVendorIndex-default.json +32 -0
  86. package/entities/Vendor/mockdatafiles/apiConfigVendorUserIndex-default.json +17 -0
  87. package/entities/Vendor/schema.json +61 -0
  88. package/error.json +190 -0
  89. package/metadata.json +50 -0
  90. package/package.json +83 -0
  91. package/pronghorn.json +9958 -0
  92. package/propertiesDecorators.json +14 -0
  93. package/propertiesSchema.json +1569 -0
  94. package/refs?service=git-upload-pack +0 -0
  95. package/report/adapterInfo.json +10 -0
  96. package/report/bt-pra-configuration.openapi.yaml-OpenApi3.json +13155 -0
  97. package/report/creationReport.json +970 -0
  98. package/sampleProperties.json +256 -0
  99. package/test/integration/adapterTestBasicGet.js +83 -0
  100. package/test/integration/adapterTestConnectivity.js +142 -0
  101. package/test/integration/adapterTestIntegration.js +4162 -0
  102. package/test/unit/adapterBaseTestUnit.js +1024 -0
  103. package/test/unit/adapterTestUnit.js +6145 -0
  104. package/utils/adapterInfo.js +206 -0
  105. package/utils/addAuth.js +94 -0
  106. package/utils/artifactize.js +146 -0
  107. package/utils/basicGet.js +50 -0
  108. package/utils/checkMigrate.js +63 -0
  109. package/utils/entitiesToDB.js +179 -0
  110. package/utils/findPath.js +74 -0
  111. package/utils/methodDocumentor.js +273 -0
  112. package/utils/modify.js +152 -0
  113. package/utils/packModificationScript.js +35 -0
  114. package/utils/patches2bundledDeps.js +90 -0
  115. package/utils/pre-commit.sh +32 -0
  116. package/utils/removeHooks.js +20 -0
  117. package/utils/setup.js +33 -0
  118. package/utils/taskMover.js +309 -0
  119. package/utils/tbScript.js +239 -0
  120. package/utils/tbUtils.js +489 -0
  121. package/utils/testRunner.js +298 -0
  122. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,119 @@
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": "apiConfigGroupPolicyIndex",
12
+ "enum": [
13
+ "apiConfigGroupPolicyIndex",
14
+ "apiConfigGroupPolicyDestroy",
15
+ "apiConfigVaultGroupPolicyCopy",
16
+ "apiConfigGroupPolicyJumpointsIndex",
17
+ "apiConfigGroupPolicyJumpointsStore",
18
+ "apiConfigGroupPolicyProvision",
19
+ "apiConfigGroupPolicyJumpointsShow",
20
+ "apiConfigGroupPolicyJumpointsDestroy",
21
+ "apiConfigGroupPolicyMemberIndex",
22
+ "apiConfigGroupPolicyMemberStore",
23
+ "apiConfigGroupPolicyMemberShow",
24
+ "apiConfigGroupPolicyMemberDestroy",
25
+ "apiConfigGroupPolicyJumpGroupIndex",
26
+ "apiConfigGroupPolicyJumpGroupStore",
27
+ "apiConfigGroupPolicyJumpGroupShow",
28
+ "apiConfigGroupPolicyJumpGroupDestroy",
29
+ "apiConfigGroupPolicyVaultAccountIndex",
30
+ "apiConfigGroupPolicyVaultAccountStore",
31
+ "apiConfigGroupPolicyVaultAccountShow",
32
+ "apiConfigGroupPolicyVaultAccountDestroy",
33
+ "apiConfigGroupPolicyTeamIndex",
34
+ "apiConfigGroupPolicyTeamStore",
35
+ "apiConfigGroupPolicyTeamShow",
36
+ "apiConfigGroupPolicyTeamDestroy"
37
+ ],
38
+ "external_name": "ph_request_type"
39
+ },
40
+ "perPage": {
41
+ "type": "number",
42
+ "description": "The number of items to include a paginated response.",
43
+ "parse": false,
44
+ "encode": false,
45
+ "encrypt": {
46
+ "type": "AES",
47
+ "key": ""
48
+ },
49
+ "external_name": "per_page"
50
+ },
51
+ "currentPage": {
52
+ "type": "number",
53
+ "description": "The 1-based index of the desired page.",
54
+ "parse": false,
55
+ "encode": false,
56
+ "encrypt": {
57
+ "type": "AES",
58
+ "key": ""
59
+ },
60
+ "external_name": "current_page"
61
+ },
62
+ "jumpointId": {
63
+ "type": "number",
64
+ "description": "Unique identifier for the Jumpoint.",
65
+ "parse": false,
66
+ "encode": false,
67
+ "encrypt": {
68
+ "type": "AES",
69
+ "key": ""
70
+ },
71
+ "external_name": "jumpoint_id"
72
+ },
73
+ "memberId": {
74
+ "type": "number",
75
+ "description": "Unique identifier for the Member.",
76
+ "parse": false,
77
+ "encode": false,
78
+ "encrypt": {
79
+ "type": "AES",
80
+ "key": ""
81
+ },
82
+ "external_name": "member_id"
83
+ },
84
+ "jumpGroupId": {
85
+ "type": "number",
86
+ "description": "Unique identifier for the Jump Group.",
87
+ "parse": false,
88
+ "encode": false,
89
+ "encrypt": {
90
+ "type": "AES",
91
+ "key": ""
92
+ },
93
+ "external_name": "jump_group_id"
94
+ },
95
+ "accountId": {
96
+ "type": "number",
97
+ "description": "Unique identifier for the Vault Account.",
98
+ "parse": false,
99
+ "encode": false,
100
+ "encrypt": {
101
+ "type": "AES",
102
+ "key": ""
103
+ },
104
+ "external_name": "account_id"
105
+ },
106
+ "teamId": {
107
+ "type": "number",
108
+ "description": "Unique identifier for the team.",
109
+ "parse": false,
110
+ "encode": false,
111
+ "encrypt": {
112
+ "type": "AES",
113
+ "key": ""
114
+ },
115
+ "external_name": "team_id"
116
+ }
117
+ },
118
+ "definitions": {}
119
+ }
@@ -0,0 +1,147 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiConfigJumpClientIndex",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/jump-client?{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/apiConfigJumpClientIndex-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiConfigJumpClientCreateInstaller",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/jump-client/installer?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": 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": "apiConfigJumpClientDownload",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/jump-client/installer/{pathv1}/{pathv2}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "apiConfigJumpClientShow",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/jump-client/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "apiConfigJumpClientUpdate",
88
+ "protocol": "REST",
89
+ "method": "PATCH",
90
+ "entitypath": "{base_path}/{version}/jump-client/{pathv1}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "apiConfigJumpClientDestroy",
108
+ "protocol": "REST",
109
+ "method": "DELETE",
110
+ "entitypath": "{base_path}/{version}/jump-client/{pathv1}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "apiConfigJumpClientCopy",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/jump-client/{pathv1}/copy?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ }
@@ -0,0 +1,29 @@
1
+ [
2
+ {
3
+ "id": 10,
4
+ "jump_group_id": 5,
5
+ "jump_group_type": null,
6
+ "name": "string",
7
+ "hostname": "string",
8
+ "fqdn": "string",
9
+ "tag": "string",
10
+ "public_site_address": "The primary hostname configured on the builder when the software was built.",
11
+ "comments": "string",
12
+ "jump_policy_id": 9,
13
+ "install_mode": null,
14
+ "is_quiet": false,
15
+ "connection_type": null,
16
+ "last_connect_timestamp": "string",
17
+ "last_disconnect_timestamp": "string",
18
+ "is_lost": true,
19
+ "needs_update": true,
20
+ "unavailable_reason": null,
21
+ "operating_system": "string",
22
+ "public_ip": "string",
23
+ "private_ip": "string",
24
+ "console_user": "string",
25
+ "expiration_timestamp": "string",
26
+ "last_access_timestamp": "string",
27
+ "endpoint_agreement_policy": null
28
+ }
29
+ ]
@@ -0,0 +1,124 @@
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": "apiConfigJumpClientIndex",
12
+ "enum": [
13
+ "apiConfigJumpClientIndex",
14
+ "apiConfigJumpClientCreateInstaller",
15
+ "apiConfigJumpClientDownload",
16
+ "apiConfigJumpClientShow",
17
+ "apiConfigJumpClientUpdate",
18
+ "apiConfigJumpClientDestroy",
19
+ "apiConfigJumpClientCopy"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ },
23
+ "perPage": {
24
+ "type": "number",
25
+ "description": "The number of items to include a paginated response.",
26
+ "parse": false,
27
+ "encode": false,
28
+ "encrypt": {
29
+ "type": "AES",
30
+ "key": ""
31
+ },
32
+ "external_name": "per_page"
33
+ },
34
+ "currentPage": {
35
+ "type": "number",
36
+ "description": "The 1-based index of the desired page.",
37
+ "parse": false,
38
+ "encode": false,
39
+ "encrypt": {
40
+ "type": "AES",
41
+ "key": ""
42
+ },
43
+ "external_name": "current_page"
44
+ },
45
+ "jumpGroupId": {
46
+ "type": "number",
47
+ "description": "Filters Jump Clients by the given jump group id.",
48
+ "parse": false,
49
+ "encode": false,
50
+ "encrypt": {
51
+ "type": "AES",
52
+ "key": ""
53
+ },
54
+ "external_name": "jump_group_id"
55
+ },
56
+ "jumpGroupType": {
57
+ "type": "string",
58
+ "description": "Filters Jump Clients by the given jump group type.",
59
+ "parse": false,
60
+ "encode": false,
61
+ "encrypt": {
62
+ "type": "AES",
63
+ "key": ""
64
+ },
65
+ "external_name": "jump_group_type"
66
+ },
67
+ "consoleUser": {
68
+ "type": "string",
69
+ "description": "Filters Jump Clients by the given console user.",
70
+ "parse": false,
71
+ "encode": false,
72
+ "encrypt": {
73
+ "type": "AES",
74
+ "key": ""
75
+ },
76
+ "external_name": "console_user"
77
+ },
78
+ "publicIp": {
79
+ "type": "string",
80
+ "description": "Filters Jump Clients by the given public IP address.",
81
+ "parse": false,
82
+ "encode": false,
83
+ "encrypt": {
84
+ "type": "AES",
85
+ "key": ""
86
+ },
87
+ "external_name": "public_ip"
88
+ },
89
+ "privateIp": {
90
+ "type": "string",
91
+ "description": "Filters Jump Clients by the given private IP address.",
92
+ "parse": false,
93
+ "encode": false,
94
+ "encrypt": {
95
+ "type": "AES",
96
+ "key": ""
97
+ },
98
+ "external_name": "private_ip"
99
+ },
100
+ "connectionType": {
101
+ "type": "string",
102
+ "description": "Filters Jump Clients by the given connection type.",
103
+ "parse": false,
104
+ "encode": false,
105
+ "encrypt": {
106
+ "type": "AES",
107
+ "key": ""
108
+ },
109
+ "external_name": "connection_type"
110
+ },
111
+ "installerId": {
112
+ "type": "string",
113
+ "description": "The unique installer identifier.",
114
+ "parse": false,
115
+ "encode": false,
116
+ "encrypt": {
117
+ "type": "AES",
118
+ "key": ""
119
+ },
120
+ "external_name": "installer_id"
121
+ }
122
+ },
123
+ "definitions": {}
124
+ }
@@ -0,0 +1,208 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiConfigJumpGroupIndex",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/jump-group?{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/apiConfigJumpGroupIndex-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiConfigJumpGroupStore",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/jump-group?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": 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": "apiConfigJumpGroupShow",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "apiConfigJumpGroupUpdate",
67
+ "protocol": "REST",
68
+ "method": "PATCH",
69
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "apiConfigJumpGroupDestroy",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "apiConfigJumpGroupUserIndex",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}/user?{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": "mockdatafiles/apiConfigJumpGroupUserIndex-default.json"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "apiConfigJumpGroupUserStore",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}/user?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "apiConfigJumpGroupUserUpdate",
148
+ "protocol": "REST",
149
+ "method": "PATCH",
150
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}/user/{pathv2}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "apiConfigJumpGroupUserDestroy",
168
+ "protocol": "REST",
169
+ "method": "DELETE",
170
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}/user/{pathv2}?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "apiConfigJumpGroupUserShow",
188
+ "protocol": "REST",
189
+ "method": "GET",
190
+ "entitypath": "{base_path}/{version}/jump-group/{pathv1}/user/{pathv2}?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "sendGetBody": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ }
207
+ ]
208
+ }
@@ -0,0 +1,30 @@
1
+ [
2
+ {
3
+ "id": 10,
4
+ "name": "string",
5
+ "code_name": "string",
6
+ "comments": "string",
7
+ "ecm_group_id": 10
8
+ },
9
+ {
10
+ "id": 1,
11
+ "name": "string",
12
+ "code_name": "string",
13
+ "comments": "string",
14
+ "ecm_group_id": 2
15
+ },
16
+ {
17
+ "id": 4,
18
+ "name": "string",
19
+ "code_name": "string",
20
+ "comments": "string",
21
+ "ecm_group_id": 10
22
+ },
23
+ {
24
+ "id": 7,
25
+ "name": "string",
26
+ "code_name": "string",
27
+ "comments": "string",
28
+ "ecm_group_id": 3
29
+ }
30
+ ]
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "user_id": 8,
4
+ "jump_item_role_id": 10,
5
+ "jump_policy_id": 9
6
+ }
7
+ ]