Commit Graph

452 Commits

Author SHA1 Message Date
Rick 4a26a8c711
feat: support to query next page in elastic (#663)
* feat: support to query next page in elastic

* fix the typescript syntax error

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-04-12 20:31:07 +08:00
Rick 6c9ab38114
Merge pull request #661 from LinuxSuRen/feat/elasticsearch
feat: add elasticsearch extension support
2025-04-11 15:12:21 +08:00
Rick 9d3e7ad6d4
Merge pull request #656 from LinuxSuRen/feat/cassandra
feat: add cassandra database support
2025-03-31 16:17:33 +08:00
rick 5f80de803c fix the frontend ut error 2025-03-31 07:29:33 +00:00
rick 355390b68a feat: add cassandra database support 2025-03-31 07:01:25 +00:00
Rick d96e2b5485
Merge pull request #654 from LinuxSuRen/feat/refresh-tables
feat: support to refresh tables
2025-03-28 19:04:06 +08:00
rick 13fe6ee1ce support to show the table struct 2025-03-28 10:53:51 +00:00
rick 185fb0de7e change from testSuite api from input to history-input 2025-03-28 09:56:46 +00:00
rick 2558d5dee3 feat: support to refresh tables 2025-03-28 03:42:12 +00:00
Rick 34eeb2a253
Merge pull request #653 from LinuxSuRen/feat/iotdb
feat: add iotdb support
2025-03-27 17:17:37 +08:00
rick 05d9194b43 add missing part of iotdb 2025-03-27 09:05:09 +00:00
rick 6c2cb6726f fix the ui unit testing 2025-03-27 08:40:35 +00:00
rick 4b42dadc50 fix the conflicts 2025-03-27 08:34:38 +00:00
rick 9252000e37 remove useless print statements 2025-03-27 05:56:17 +00:00
rick 739e356f5d adjust the iotdb query 2025-03-27 03:48:21 +00:00
rick c4eca6cbc1 feat: add iotdb support 2025-03-26 11:45:03 +00:00
Rick 12a0db899e
Merge pull request #648 from LinuxSuRen/feat/data-query-labels
feat: add more data as lables for the data query
2025-03-24 15:26:18 +08:00
rick 47cbd75f95 support to show the native sql 2025-03-24 06:40:28 +00:00
rick 41c9b16681 feat: add more data as lables for the data query 2025-03-19 03:10:03 +00:00
Rick 9c243c29eb
Merge pull request #641 from LinuxSuRen/feat/ui-improve-input
feat: create a history based autocomplete input
2025-03-11 16:03:44 +08:00
rick 8a1e72f23d
feat: enhance DataManager to display query duration and result count 2025-03-11 08:29:47 +08:00
rick dd08c128ca feat: support to show sql query duration 2025-03-10 09:30:28 +00:00
rick 7b8a5bbce2
chore: upgrade element-plugin to 2.9.6 2025-03-09 21:28:51 +08:00
rick 66b2f1eade
feat: create a history based autocomplete input 2025-03-08 21:11:34 +08:00
Rick 11ab39f11f
support to load swaggers from an extension (#639)
* feat: support to download differnt kinds of ext

* support to load swaggers from an extension

* docs(extension): add swagger data extension and update documentation

- Add swagger data extension to the extensions list
- Update documentation to include new extension usage

* Potential fix for code scanning alert no. 69: Arbitrary file access during archive extraction ("Zip Slip")

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>
2025-03-06 23:17:57 +08:00
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 5372c556df
chore: let the sql query input be empty (#637)
* chore: let the sql query input be empty

* empty the sql query when switch the store

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-03-04 19:55:45 +08:00
Rick 1372e6d21d
feat: support to show databases and tables on ui (#631)
* feat: support to show databases and tables

* support to show database and tables

* support to show databases and tables

* feat: add urlEncode and urlDecode functions to template rendering

* fix: update copyright year and add password placeholder handling in store update

* feat(DataManager): add support for multiple databases

- Add currentDatabase parameter to DataQuery function
- Update API request to include X-Database header
- Modify query object for atest-store-orm to include database key

* feat(console): enhance database manager functionality and layout

- Add queryDataFromTable and queryTables functions
- Implement database and table selection
- Adjust layout for better usability
- Optimize SQL query execution

* fix the scrollbar issues on the data manager page

* add etcd and orm compitable

* add redis key-value query support

* support to let user to choose store param from list

* update readme file

* fix the frontend unit test issues

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-03-02 16:38:13 +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 c8df84cbeb
refactor(console): add more HTTP status codes and proxy settings to localization files- Added new HTTP status codes to both English and Chinese localization files (#625)
- Updated proxy settings in English localization file
- Expanded HTTP status code list in Chinese localization file

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-02-24 21:28:14 +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 430d9127c6
fix: content disposition filename parsing error (#613)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-08 16:42:08 +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 664451e6ee
fix: the shell, python generator is incorrect (#601)
* fix: the shell, python generator is incorrect

* update go.sum

* update the end-of-line

* remove go.work.sum

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-01-26 10:54:25 +08:00
Rick 768b79f0c3
fix: the desktop icon is incorrect on macos (#604)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-01-26 10:18:26 +08:00
Rick 4f7f5a085a
chore: migrate operator into a new repository (#605)
* chore: migrate operator into a new repository

see also https://github.com/LinuxSuRen/atest-operator

* remove go.work

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-01-26 10:06:18 +08:00
Rick c827476bc9
[wip] feat: add http proxy support (#597)
* feat: add http proxy support

* feat: enhance server command to print local IPs on startup

- Added a new function `printLocalIPs` to display available local IP addresses when the server starts.
- Integrated the IP printing functionality into both the mock command and the server command, improving visibility of server accessibility.

This change helps users easily identify the server's available addresses for better connectivity.

* feat: support to set proxy on ui

* update the test suite page

* test pass with the http proxy mode

* update grpc files

* update grpc files

* support insecure during testing

* fix the unit tests

* add more unit testing

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-01-20 23:10:08 +08:00
Rick 7b25fa373a
docs: introduce how to generate a random phone number (#594)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-01-12 20:33:32 +08:00
Rick 73d71a3321
docs: give more examples of the verify (#590)
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2025-01-06 15:21:34 +08:00
Rick 87fe3ee61a
chore: support to print test case count in stdout (#589)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-24 21:27:59 +08:00
Rick efb2235754
test: add unit tests of binary upload (#587)
* test: add unit tests of binary upload

* add more http status code desc

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-12-17 22:54:19 +08:00
Rick b0d18fcdf8
fix: the ui component binding errors (#586)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-16 21:29:18 +08:00
Rick 7fe64b67cb
feat: add a template func to read local file (#582)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-14 22:13:13 +08:00
dependabot[bot] 6d754cf8bc
chore(deps): bump the npm_and_yarn group across 2 directories with 6 updates (#571)
Bumps the npm_and_yarn group with 2 updates in the /console/atest-desktop directory: [braces](https://github.com/micromatch/braces) and [cross-spawn](https://github.com/moxystudio/node-cross-spawn).
Bumps the npm_and_yarn group with 6 updates in the /console/atest-ui directory:

| Package | From | To |
| --- | --- | --- |
| [braces](https://github.com/micromatch/braces) | `3.0.2` | `3.0.3` |
| [cross-spawn](https://github.com/moxystudio/node-cross-spawn) | `6.0.5` | `6.0.6` |
| [jsonpath-plus](https://github.com/s3u/JSONPath) | `7.2.0` | `10.0.7` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `4.3.9` | `4.5.5` |
| [nanoid](https://github.com/ai/nanoid) | `3.3.6` | `3.3.8` |
| [ws](https://github.com/websockets/ws) | `8.13.0` | `8.18.0` |



Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `cross-spawn` from 6.0.5 to 6.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `jsonpath-plus` from 7.2.0 to 10.0.7
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/compare/v7.2.0...v10.0.7)

Updates `vite` from 4.3.9 to 4.5.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.5/packages/vite)

Updates `nanoid` from 3.3.6 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.6...3.3.8)

Updates `ws` from 8.13.0 to 8.18.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.18.0)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: jsonpath-plus
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: nanoid
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 22:15:15 +08:00
dependabot[bot] 4780d26111
chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 (#568)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 22:14:34 +08:00
dependabot[bot] ad9b4ba14c
chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#581)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 22:14:11 +08:00
Rick 66008a7b1e
chore: set package ecosystem of dependabot (#572)
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2024-12-12 19:48:33 +08:00
Rick 0720cef5ea
Create dependabot.yml (#570)
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2024-12-12 19:41:00 +08:00