Skip to content

Commit

Permalink
add policy for custom workflow webhook (#1916) (#1920)
Browse files Browse the repository at this point in the history
Signed-off-by: guoyu <[email protected]>

Signed-off-by: guoyu <[email protected]>
Co-authored-by: guoyu <[email protected]>

Signed-off-by: guoyu <[email protected]>
Co-authored-by: guoyu <[email protected]>
  • Loading branch information
dianqihanwangzi and guoyu authored Aug 18, 2022
1 parent 18a76a5 commit 8efe363
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/microservice/policy/core/yamlconfig/metas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ metas:
endpoint: /api/aslan/workflow/v4/workflowtask/workflow/?*/task/?*
- method: GET
endpoint: /api/aslan/workflow/v4/workflowtask/clone/workflow/?*/task/?*
- method: GET
endpoint: /api/aslan/workflow/v4/webhook/preset
- method: GET
endpoint: /api/aslan/workflow/v4/webhook
- method: GET
endpoint: /api/aslan/logs/log/v4/workflow/?*/tasks/?*/jobs/?*
- method: GET
Expand All @@ -505,6 +509,12 @@ metas:
endpoint: /api/aslan/workflow/v4/?*
- method: POST
endpoint: /api/aslan/workflow/v4/lint
- method: POST
endpoint: /api/aslan/workflow/v4/webhook/?*
- method: PUT
endpoint: /api/aslan/workflow/v4/webhook/?*
- method: DELETE
endpoint: /api/aslan/workflow/v4/webhook/?*/trigger/?*
- action: create_workflow
alias: 新建
description: ''
Expand Down

0 comments on commit 8efe363

Please sign in to comment.