@@ -79,10 +79,10 @@ func main() {
79
79
transaction .Request .Body = "{ \" user_id\" : " + strconv .Itoa (userPathTestUser .ID ) + ",\" role\" : \" owner\" }"
80
80
})
81
81
82
- h .Before ("project > /api/project/{project_id}/integrations > get all integrations > 200 > application/json" , capabilityWrapper ("integration" ))
83
- h .Before ("project > /api/project/{project_id}/integrations/{integration_id} > Get Integration > 200 > application/json" , capabilityWrapper ("integration" ))
84
- h .Before ("project > /api/project/{project_id}/integrations/{integration_id} > Update Integration > 204 > application/json" , capabilityWrapper ("integration" ))
85
- h .Before ("project > /api/project/{project_id}/integrations/{integration_id} > Remove integration > 204 > application/json" , capabilityWrapper ("integration" ))
82
+ h .Before ("integration > /api/project/{project_id}/integrations > get all integrations > 200 > application/json" , capabilityWrapper ("integration" ))
83
+ h .Before ("integration > /api/project/{project_id}/integrations/{integration_id} > Get Integration > 200 > application/json" , capabilityWrapper ("integration" ))
84
+ h .Before ("integration > /api/project/{project_id}/integrations/{integration_id} > Update Integration > 204 > application/json" , capabilityWrapper ("integration" ))
85
+ h .Before ("integration > /api/project/{project_id}/integrations/{integration_id} > Remove integration > 204 > application/json" , capabilityWrapper ("integration" ))
86
86
87
87
h .Before ("integration > /api/project/{project_id}/integrations/{integration_id}/values > Get Integration Extracted Values linked to integration extractor > 200 > application/json" , capabilityWrapper ("integrationextractvalue" ))
88
88
h .Before ("integration > /api/project/{project_id}/integrations/{integration_id}/values > Add Integration Extracted Value > 204 > application/json" , capabilityWrapper ("integrationextractvalue" ))
@@ -93,41 +93,41 @@ func main() {
93
93
h .Before ("integration > /api/project/{project_id}/integrations/{integration_id}/matchers > Add Integration Matcher > 204 > application/json" , capabilityWrapper ("integration" ))
94
94
h .Before ("integration > /api/project/{project_id}/integrations/{integration_id}/matchers/{matcher_id} > Updates Integration Matcher > 204 > application/json" , capabilityWrapper ("integrationmatcher" ))
95
95
96
- h .Before ("project > /api/project/{project_id}/keys > Add access key > 201 > application/json" , capabilityWrapper ("access_key" ))
97
- h .Before ("project > /api/project/{project_id}/keys/{key_id} > Updates access key > 204 > application/json" , capabilityWrapper ("access_key" ))
98
- h .Before ("project > /api/project/{project_id}/keys/{key_id} > Removes access key > 204 > application/json" , capabilityWrapper ("access_key" ))
96
+ h .Before ("key-store > /api/project/{project_id}/keys > Add access key > 201 > application/json" , capabilityWrapper ("access_key" ))
97
+ h .Before ("key-store > /api/project/{project_id}/keys/{key_id} > Updates access key > 204 > application/json" , capabilityWrapper ("access_key" ))
98
+ h .Before ("key-store > /api/project/{project_id}/keys/{key_id} > Removes access key > 204 > application/json" , capabilityWrapper ("access_key" ))
99
99
100
- h .Before ("project > /api/project/{project_id}/repositories > Add repository > 201 > application/json" , capabilityWrapper ("access_key" ))
101
- h .Before ("project > /api/project/{project_id}/repositories/{repository_id} > Get repository > 200 > application/json" , capabilityWrapper ("repository" ))
102
- h .Before ("project > /api/project/{project_id}/repositories/{repository_id} > Updates repository > 204 > application/json" , capabilityWrapper ("repository" ))
103
- h .Before ("project > /api/project/{project_id}/repositories/{repository_id} > Removes repository > 204 > application/json" , capabilityWrapper ("repository" ))
100
+ h .Before ("repository > /api/project/{project_id}/repositories > Add repository > 201 > application/json" , capabilityWrapper ("access_key" ))
101
+ h .Before ("repository > /api/project/{project_id}/repositories/{repository_id} > Get repository > 200 > application/json" , capabilityWrapper ("repository" ))
102
+ h .Before ("repository > /api/project/{project_id}/repositories/{repository_id} > Updates repository > 204 > application/json" , capabilityWrapper ("repository" ))
103
+ h .Before ("repository > /api/project/{project_id}/repositories/{repository_id} > Removes repository > 204 > application/json" , capabilityWrapper ("repository" ))
104
104
105
- h .Before ("project > /api/project/{project_id}/inventory > create inventory > 201 > application/json" , capabilityWrapper ("inventory" ))
106
- h .Before ("project > /api/project/{project_id}/inventory/{inventory_id} > Get inventory > 200 > application/json" , capabilityWrapper ("inventory" ))
107
- h .Before ("project > /api/project/{project_id}/inventory/{inventory_id} > Updates inventory > 204 > application/json" , capabilityWrapper ("inventory" ))
108
- h .Before ("project > /api/project/{project_id}/inventory/{inventory_id} > Removes inventory > 204 > application/json" , capabilityWrapper ("inventory" ))
105
+ h .Before ("inventory > /api/project/{project_id}/inventory > create inventory > 201 > application/json" , capabilityWrapper ("inventory" ))
106
+ h .Before ("inventory > /api/project/{project_id}/inventory/{inventory_id} > Get inventory > 200 > application/json" , capabilityWrapper ("inventory" ))
107
+ h .Before ("inventory > /api/project/{project_id}/inventory/{inventory_id} > Updates inventory > 204 > application/json" , capabilityWrapper ("inventory" ))
108
+ h .Before ("inventory > /api/project/{project_id}/inventory/{inventory_id} > Removes inventory > 204 > application/json" , capabilityWrapper ("inventory" ))
109
109
110
- h .Before ("project > /api/project/{project_id}/environment > Add environment > 201 > application/json" , capabilityWrapper ("environment" ))
111
- h .Before ("project > /api/project/{project_id}/environment/{environment_id} > Get environment > 200 > application/json" , capabilityWrapper ("environment" ))
112
- h .Before ("project > /api/project/{project_id}/environment/{environment_id} > Update environment > 204 > application/json" , capabilityWrapper ("environment" ))
113
- h .Before ("project > /api/project/{project_id}/environment/{environment_id} > Removes environment > 204 > application/json" , capabilityWrapper ("environment" ))
110
+ h .Before ("variable-group > /api/project/{project_id}/environment > Add environment > 201 > application/json" , capabilityWrapper ("environment" ))
111
+ h .Before ("variable-group > /api/project/{project_id}/environment/{environment_id} > Get environment > 200 > application/json" , capabilityWrapper ("environment" ))
112
+ h .Before ("variable-group > /api/project/{project_id}/environment/{environment_id} > Update environment > 204 > application/json" , capabilityWrapper ("environment" ))
113
+ h .Before ("variable-group > /api/project/{project_id}/environment/{environment_id} > Removes environment > 204 > application/json" , capabilityWrapper ("environment" ))
114
114
115
- h .Before ("project > /api/project/{project_id}/templates > create template > 201 > application/json" , func (t * trans.Transaction ) {
115
+ h .Before ("template > /api/project/{project_id}/templates > create template > 201 > application/json" , func (t * trans.Transaction ) {
116
116
addCapabilities ([]string {"repository" , "inventory" , "environment" , "view" })
117
117
})
118
118
119
- h .Before ("project > /api/project/{project_id}/templates/{template_id} > Get template > 200 > application/json" , capabilityWrapper ("template" ))
120
- h .Before ("project > /api/project/{project_id}/templates/{template_id} > Updates template > 204 > application/json" , capabilityWrapper ("template" ))
121
- h .Before ("project > /api/project/{project_id}/templates/{template_id} > Removes template > 204 > application/json" , capabilityWrapper ("template" ))
119
+ h .Before ("template > /api/project/{project_id}/templates/{template_id} > Get template > 200 > application/json" , capabilityWrapper ("template" ))
120
+ h .Before ("template > /api/project/{project_id}/templates/{template_id} > Updates template > 204 > application/json" , capabilityWrapper ("template" ))
121
+ h .Before ("template > /api/project/{project_id}/templates/{template_id} > Removes template > 204 > application/json" , capabilityWrapper ("template" ))
122
122
123
- h .Before ("project > /api/project/{project_id}/tasks > Starts a job > 201 > application/json" , capabilityWrapper ("template" ))
124
- h .Before ("project > /api/project/{project_id}/tasks/last > Get last 200 Tasks related to current project > 200 > application/json" , capabilityWrapper ("template" ))
123
+ h .Before ("task > /api/project/{project_id}/tasks > Starts a job > 201 > application/json" , capabilityWrapper ("template" ))
124
+ h .Before ("task > /api/project/{project_id}/tasks/last > Get last 200 Tasks related to current project > 200 > application/json" , capabilityWrapper ("template" ))
125
125
126
- h .Before ("project > /api/project/{project_id}/tasks/{task_id} > Get a single task > 200 > application/json" , capabilityWrapper ("task" ))
127
- h .Before ("project > /api/project/{project_id}/tasks/{task_id} > Deletes task (including output) > 204 > application/json" , capabilityWrapper ("task" ))
128
- h .Before ("project > /api/project/{project_id}/tasks/{task_id}/output > Get task output > 200 > application/json" , capabilityWrapper ("task" ))
129
- h .Before ("project > /api/project/{project_id}/tasks/{task_id}/raw_output > Get task raw output > 200 > text/plain; charset=utf-8" , capabilityWrapper ("task" ))
130
- h .Before ("project > /api/project/{project_id}/tasks/{task_id}/stop > Stop a job > 204 > application/json" , capabilityWrapper ("task" ))
126
+ h .Before ("task > /api/project/{project_id}/tasks/{task_id} > Get a single task > 200 > application/json" , capabilityWrapper ("task" ))
127
+ h .Before ("task > /api/project/{project_id}/tasks/{task_id} > Deletes task (including output) > 204 > application/json" , capabilityWrapper ("task" ))
128
+ h .Before ("task > /api/project/{project_id}/tasks/{task_id}/output > Get task output > 200 > application/json" , capabilityWrapper ("task" ))
129
+ h .Before ("task > /api/project/{project_id}/tasks/{task_id}/raw_output > Get task raw output > 200 > text/plain; charset=utf-8" , capabilityWrapper ("task" ))
130
+ h .Before ("task > /api/project/{project_id}/tasks/{task_id}/stop > Stop a job > 204 > application/json" , capabilityWrapper ("task" ))
131
131
132
132
h .Before ("schedule > /api/project/{project_id}/schedules/{schedule_id} > Get schedule > 200 > application/json" , capabilityWrapper ("schedule" ))
133
133
h .Before ("schedule > /api/project/{project_id}/schedules/{schedule_id} > Updates schedule > 204 > application/json" , capabilityWrapper ("schedule" ))
0 commit comments