Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support to start and update mock server on ui #410

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

LinuxSuRen
Copy link
Owner

@LinuxSuRen LinuxSuRen commented Apr 29, 2024

What type of PR is this?

What this PR does / why we need it:
As mentioned in the title.

image

Which issue(s) this PR fixes:

Fixes #

@LinuxSuRen LinuxSuRen added enhancement New feature or request ui labels Apr 29, 2024
Copy link

codacy-production bot commented Apr 29, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-1.61% 15.67%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (ffac34f) 12651 5821 46.01%
Head commit (b38ef45) 13315 (+664) 5912 (+91) 44.40% (-1.61%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#410) 766 120 15.67%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more

Copy link

github-actions bot commented Apr 29, 2024

There are 20 test cases, failed count 0:

See all test records
Name Average Max Min Count Error
createSuite 3.921165ms 3.921165ms 3.921165ms 1 0
GenerateCode 2.557839ms 2.557839ms 2.557839ms 1 0
2.532927ms 3.715228ms 1.007957ms 9 0
list-code-generators 2.328751ms 2.328751ms 2.328751ms 1 0
query-funcs 2.275051ms 2.275051ms 2.275051ms 1 0
list-testcases-not-found 1.723146ms 1.723146ms 1.723146ms 1 0
get-testcase-not-found 1.662993ms 1.662993ms 1.662993ms 1 0
ListTestCase 1.662142ms 1.662142ms 1.662142ms 1 0
ConvertTestSuite 1.409378ms 1.409378ms 1.409378ms 1 0
suites 1.214661ms 1.214661ms 1.214661ms 1 0
GetSuggestedAPIs-no-testsuite-found 1.129675ms 1.129675ms 1.129675ms 1 0
suite 1.102749ms 1.102749ms 1.102749ms 1 0
get-popular-headers 1.044043ms 1.044043ms 1.044043ms 1 0
DeleteTestSuite 988.25µs 988.25µs 988.25µs 1 0
version 982.851µs 982.851µs 982.851µs 1 0
DeleteTestSuiteNotFound 957.312µs 957.312µs 957.312µs 1 0
GetSecrets 897.369µs 897.369µs 897.369µs 1 0
UpdateTestSuite 875.446µs 875.446µs 875.446µs 1 0
list-stores 718.789µs 718.789µs 718.789µs 1 0
listConverters 636.943µs 636.943µs 636.943µs 1 0

Reported by api-testing.

Copy link

github-actions bot commented Apr 29, 2024

There are 1 test cases, failed count 1:

Name Average Max Min Count Error
CreateStore 982.166µs 982.166µs 982.166µs 1 1
See the error message * Case: CreateStore. error: literal not terminated (2:1) | /healthz", 2400) | ^. body:

e2e-testing

@LinuxSuRen LinuxSuRen force-pushed the feat/mock-timer branch 3 times, most recently from 14a7634 to bf3931b Compare April 30, 2024 02:21
Copy link

github-actions bot commented Apr 30, 2024

Qodana for Go

10 new problems were found

Inspection name Severity Problems
Unused parameter 🔶 Warning 4
Unhandled error 🔶 Warning 1
Comment of exported element starts with the incorrect name ◽️ Notice 3
Name starts with a package name ◽️ Notice 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@CLAassistant
Copy link

CLAassistant commented Apr 30, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

codacy-production bot commented Apr 30, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-1.60% 17.34%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (ffac34f) 12651 5821 46.01%
Head commit (3d2d449) 13337 (+686) 5923 (+102) 44.41% (-1.60%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#410) 790 137 17.34%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more

@LinuxSuRen LinuxSuRen force-pushed the feat/mock-timer branch 3 times, most recently from 4fab208 to 0cf7653 Compare April 30, 2024 03:18
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
Copy link

sonarcloud bot commented Apr 30, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

@LinuxSuRen LinuxSuRen merged commit 02026b2 into master Apr 30, 2024
17 of 18 checks passed
@LinuxSuRen LinuxSuRen deleted the feat/mock-timer branch April 30, 2024 06:06
LinuxSuRen pushed a commit that referenced this pull request Jun 17, 2024
* chore(deps): update sonatype/nexus3 docker tag to v3.60.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants