Skip to content

Commit

Permalink
feature: Optimize checker for HTTP mode (#2306)
Browse files Browse the repository at this point in the history
* add column config

* change checker api

* change checker api (proto-go)

* impl checker for HTTP method

* fix go imports

* add ut for triggering.go (TestNew TestTriggering_Executor TestTriggering_BodyStrategy TestTriggering_HttpCodeStrategy)

* go imports format

* checker api fix

* fix ut
  • Loading branch information
innerpeacez authored and erda-bot committed Oct 14, 2021
1 parent 1e589e6 commit f949d22
Show file tree
Hide file tree
Showing 18 changed files with 1,377 additions and 596 deletions.
1 change: 1 addition & 0 deletions .erda/migrations/msp/20211009-01-sp_metric.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `sp_metric` ADD COLUMN `config` MEDIUMTEXT NOT NULL COMMENT '入参' AFTER `mode`;
331 changes: 169 additions & 162 deletions api/proto-go/msp/apm/checker/pb/checker.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions api/proto-go/msp/apm/checker/pb/checker.validator.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

141 changes: 119 additions & 22 deletions api/proto-go/msp/apm/checker/pb/checker_v1.form.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 20 additions & 69 deletions api/proto-go/msp/apm/checker/pb/checker_v1.http.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f949d22

Please sign in to comment.