Commit Graph

20 Commits

Author SHA1 Message Date
Rick 2f409ca68d
feat: support proxy request body amend in mock (#638)
* chore: let the sql query input be empty

* feat: support proxy request body amend in mock

* test pass with the basic feature

---------

Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-03-04 20:13:25 +08:00
Rick 6908433f7e
fix: mock body render missing context (#630)
* fix: mock body render missing context

* feat: add support for repo parameter in mock response body

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-25 17:15:58 +08:00
Rick cc5a463b4d
add mysql/etcd query support (#624)
* feat: add data query service

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-02-23 20:17:33 +08:00
Rick 4a38bd2188
fix: webhook auth should support go template (#623)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-20 09:26:55 +08:00
Rick 4b4ee3a60c
feat: add webhook bearer auth support (#619)
* feat: add webhook bearer auth support

* add tpl func randFloat

* refactor run webhook

* add template func uptimeSeconds

* add random enum with weight feature

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-15 14:54:17 +08:00
Rick accdb0e4ef
feat: add metrics support to mock server (#606)
* feat: add metrics support to mock server

* add unit tests

* fix the unit testing

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-08 09:28:39 +08:00
Rick 6f4aef81e0
doc: add release note of v0.0.18 (#555)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-01 20:33:26 +08:00
Rick 2db16248ef
feat: imporove mock object with standard crud (#553)
* feat: imporove mock object with standard crud

* add more document of mock

* add a common proxy on mock server

* test pass with the mock proxy

* update mock json schema

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-01 16:44:28 +08:00
Rick bbaf91f73c
feat: support to config mock server on ui (#552)
* doc: add document of atest extension

* feat: support to config mock server on ui

* add more document

* Fix code scanning alert no. 61: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>

---------

Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-29 21:03:45 +08:00
Rick 296fd4084f
feat: support to show the body size on page (#536)
increase the body size limit default value to be 5120

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-25 13:41:11 +08:00
Rick 0cc0bb8be1
feat: support to download extensions automatically (#471)
* feat: add the extension sub-commad to download it

* do not put store-ext in the main image

* support to fetch the latest image tag

* finish the basic feature of extension downloading

* add some unit tests

* support different image registry

* add more unit tests

* remove useless files

* fix the unit test case

* simplify the apt install in the dockerfile

* add explanation for the empty methods

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-06-04 10:30:38 +08:00
Rick a11b7ff550
fix: not work when grpc port is a random one (#467)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-31 13:40:57 +08:00
Rick ea033d94b6
feat: support image registry mock server (#425)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-14 12:23:44 +08:00
Rick 1f0b7ca5e9
fix: using a better header struct (#418)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-09 10:14:34 +08:00
Rick 02026b2199
feat: support to set the prefix of mock server (#402) (#410)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-30 14:06:15 +08:00
Rick ffac34fd9d
feat: support to set the prefix of mock server (#402)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-04-28 08:30:52 +08:00
Rick f4f1d4c312
feat: support combine mock and core server together (#390)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-04-22 21:29:52 +08:00
YuLuo 1943e7d82e
feat: add logging support (#389)
* feat: add logging support

---------

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
Signed-off-by: YuLuo <yuluo08290126@gmail.com>
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2024-04-22 18:15:46 +08:00
Rick 062f96f965
feat: support detailed mock server (#377)
* feat: support detailed mock server

* make the constant be private

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-04-21 17:49:44 +08:00
Rick e53a8c5892
feat: add a simple mock server (#368)
* feat: add a simple mock server

* support to render the initial data as template

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-19 13:34:25 +08:00