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

ADM-856:[backend]feat: add decode default case error message #1139

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

weiraneve
Copy link

Summary

...

Before

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

After

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

Note

Null

Copy link

Hi @weiraneve! 👋
Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.

Copy link

codacy-production bot commented Mar 12, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (9f235c5) 5832 5832 100.00%
Head commit (e43f6a3) 11630 (+5798) 11630 (+5798) 100.00% (+0.00%)

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 (#1139) 23 23 100.00%

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

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Copy link

sonarcloud bot commented Mar 12, 2024

Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Passed Quality Gate passed for 'au-heartbeat-heartbeat-frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

@PengxiWPix PengxiWPix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@weiraneve weiraneve merged commit 5466b52 into main Mar 12, 2024
51 checks passed
@weiraneve weiraneve deleted the ADM-856 branch March 12, 2024 08:20
lxuebing added a commit that referenced this pull request Mar 14, 2024
* AMD-793 [frontend] feature: add reverify logic and timeout alert

* AMD-793 [frontend] refactor: abstract config button component for config page

* AMD-793 [frontend] refactor: abstract timeout alert component for config page

* AMD-793 [frontend] feat: add timeout alert component to config page for three settings

* AMD-793 [frontend] test: add test for timeout alert component

* AMD-793 [frontend] test: add test for config button group component

* [ADM-793] style: fix css check

* AMD-793 [frontend] fix: set HB timeout and timeout alert false in SourceControlClient.ts and PipelineToolClient.ts

* AMD-793 [frontend] fix: fix test for PipelineToolClient.test.ts and SourceControlClient.test.ts

* [ADM-793] style: fix border css

* [ADM-793] test: fix test for useVerifyBoardEffect

* AMD-793 [frontend] test: add test of isHBTimeout for useVerifySourceControlTokenEffect

* [ADM-793] test: add test for useVerifyPipelineToolEffect

* [ADM-793] test: add test for getFieldsWithNoVerifiedError

* AMD-793 [frontend] test: remove not use mock in test file and change test case name

* ADM-856:[backend]feat: update all feign clients decoder error message (#1133)

* ADM-856:[backend]feat: update buildkite feign client decoder error message

* ADM-856:[backend]feat: update github feign client decoder error message

* ADM-856:[backend]feat: update jira feign client decoder error message

---------

Co-authored-by: guzhongren <guzhongren@live.cn>

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design (#1137)

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design

* ADM-697:[docx] docx: add spike export rework content when generate board csv

* ADM-697:[docx] docx: add spike calculate rework times

* ADM-697:[docx] docx: rewrite the doc of calculate rework times when don't check "Consider the 'Flag' as 'Block'

* ADM-697:[docx] docx: add logic for consider flag is block

* ADM-697:[docx] docx: fix some words

* ADM-697:[docx] docx: add logic of judge is our need rework

---------

Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>

* ADM-691: [frontend] feat: add feat about rework settings (#1138)

* ADM-691: [frontend] feat: add new metrics field

* ADM-691: [frontend] feat: add rework setting title

* ADM-691: [frontend] feat: complete basic function about rework settings

* ADM-691: [frontend] feat: use redux to store fields

* ADM-691: [frontend] feat: replace undefind to null

* ADM-691: [frontend] feat: import config with rework times settings

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: refactor code after cr

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] test: improve test coverage

* ADM-691: [frontend] test: remove unused code

* ADM-691: [frontend] test: add test for rework setting

* ADM-691: [frontend] fix: fix e2e

* ADM-691: [frontend] fix: fix sonar

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-856:[backend]feat: add decode default case error message (#1139)

* ADM-837:[docs] docs: spike about optimizing generate report backend logic (#1140)

* ADM-837:[docs]feat: add half completed spike doc

* ADM-837: [docs] completed spike solution for export-allMetrics button polling api.

* ADM-837: [docs] completed spike design for export-allMetrics button polling api.

* ADM-837: [docs] add note to notice allMetricCompleted as true

---------

Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>

* add test case

* AMD-793 [frontend] style: fix color for reverify button

* [ADM-793] fix: revert httpTimeout

* Build(deps): bump softprops/action-gh-release from 1 to 2 (#1136)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* AMD-793 [frontend] fix: remove annotation in test file

* AMD-793 [frontend] fix: update test name for clear

* AMD-793 [frontend] fix: update test name use given when then

* chore: extend the overall timeout of e2e 1 more minute. (#1144)

* chore: extend the overall timeout of e2e 1 more minute.

* distinguish local and CI for overall timeout.

* ADM-691: [frontend] fix: add request fields (#1143)

* ADM-691: [frontend] fix: add request fields

* ADM-691: [frontend] fix: fix sonar cloud

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: modify sytle, rename field

* ADM-691: [frontend] fix: fix sonar issue

* ADM-691: [frontend] fix: remove unused code

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-691: [frontend] fix: fix sonar issue (#1145)

* [ADM-793] refactor: rename AXIOS_REQUEST_ERROR_CODE

* AMD-793 [frontend] fix: update alert position to keep element still

* [ADM-793] feat: enhance style for alert

* [ADM-793] feat: change moduleType text

* [ADM-793] style: enhance style

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yp.wu <yiping.wu@yipings-MacBook-Pro.local>
Co-authored-by: xuebing <xuebing.li@thoughtworks.com>
Co-authored-by: yp.wu <yiping.wu@192.168.10.4>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: Genhao Liu <103744663+Liughgood@users.noreply.github.com>
Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>
Co-authored-by: neomgb <123063936+neomgb@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
Co-authored-by: sqsq5566 <154306546+sqsq5566@users.noreply.github.com>
Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 李雪冰 <33832990+lxuebing@users.noreply.github.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
Liughgood added a commit that referenced this pull request Mar 14, 2024
* AMD-793 [frontend] feature: add reverify logic and timeout alert

* AMD-793 [frontend] refactor: abstract config button component for config page

* AMD-793 [frontend] refactor: abstract timeout alert component for config page

* AMD-793 [frontend] feat: add timeout alert component to config page for three settings

* AMD-793 [frontend] test: add test for timeout alert component

* AMD-793 [frontend] test: add test for config button group component

* [ADM-793] style: fix css check

* AMD-793 [frontend] fix: set HB timeout and timeout alert false in SourceControlClient.ts and PipelineToolClient.ts

* AMD-793 [frontend] fix: fix test for PipelineToolClient.test.ts and SourceControlClient.test.ts

* [ADM-793] style: fix border css

* [ADM-793] test: fix test for useVerifyBoardEffect

* AMD-793 [frontend] test: add test of isHBTimeout for useVerifySourceControlTokenEffect

* [ADM-793] test: add test for useVerifyPipelineToolEffect

* [ADM-793] test: add test for getFieldsWithNoVerifiedError

* AMD-793 [frontend] test: remove not use mock in test file and change test case name

* ADM-856:[backend]feat: update all feign clients decoder error message (#1133)

* ADM-856:[backend]feat: update buildkite feign client decoder error message

* ADM-856:[backend]feat: update github feign client decoder error message

* ADM-856:[backend]feat: update jira feign client decoder error message

---------

Co-authored-by: guzhongren <guzhongren@live.cn>

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design (#1137)

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design

* ADM-697:[docx] docx: add spike export rework content when generate board csv

* ADM-697:[docx] docx: add spike calculate rework times

* ADM-697:[docx] docx: rewrite the doc of calculate rework times when don't check "Consider the 'Flag' as 'Block'

* ADM-697:[docx] docx: add logic for consider flag is block

* ADM-697:[docx] docx: fix some words

* ADM-697:[docx] docx: add logic of judge is our need rework

---------

Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>

* ADM-691: [frontend] feat: add feat about rework settings (#1138)

* ADM-691: [frontend] feat: add new metrics field

* ADM-691: [frontend] feat: add rework setting title

* ADM-691: [frontend] feat: complete basic function about rework settings

* ADM-691: [frontend] feat: use redux to store fields

* ADM-691: [frontend] feat: replace undefind to null

* ADM-691: [frontend] feat: import config with rework times settings

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: refactor code after cr

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] test: improve test coverage

* ADM-691: [frontend] test: remove unused code

* ADM-691: [frontend] test: add test for rework setting

* ADM-691: [frontend] fix: fix e2e

* ADM-691: [frontend] fix: fix sonar

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-856:[backend]feat: add decode default case error message (#1139)

* ADM-837:[docs] docs: spike about optimizing generate report backend logic (#1140)

* ADM-837:[docs]feat: add half completed spike doc

* ADM-837: [docs] completed spike solution for export-allMetrics button polling api.

* ADM-837: [docs] completed spike design for export-allMetrics button polling api.

* ADM-837: [docs] add note to notice allMetricCompleted as true

---------

Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>

* add test case

* AMD-793 [frontend] style: fix color for reverify button

* [ADM-793] fix: revert httpTimeout

* Build(deps): bump softprops/action-gh-release from 1 to 2 (#1136)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* AMD-793 [frontend] fix: remove annotation in test file

* AMD-793 [frontend] fix: update test name for clear

* AMD-793 [frontend] fix: update test name use given when then

* chore: extend the overall timeout of e2e 1 more minute. (#1144)

* chore: extend the overall timeout of e2e 1 more minute.

* distinguish local and CI for overall timeout.

* ADM-691: [frontend] fix: add request fields (#1143)

* ADM-691: [frontend] fix: add request fields

* ADM-691: [frontend] fix: fix sonar cloud

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: modify sytle, rename field

* ADM-691: [frontend] fix: fix sonar issue

* ADM-691: [frontend] fix: remove unused code

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-691: [frontend] fix: fix sonar issue (#1145)

* [ADM-793] refactor: rename AXIOS_REQUEST_ERROR_CODE

* AMD-793 [frontend] fix: update alert position to keep element still

* [ADM-793] feat: enhance style for alert

* [ADM-793] feat: change moduleType text

* [ADM-793] style: enhance style

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yp.wu <yiping.wu@yipings-MacBook-Pro.local>
Co-authored-by: xuebing <xuebing.li@thoughtworks.com>
Co-authored-by: yp.wu <yiping.wu@192.168.10.4>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: Genhao Liu <103744663+Liughgood@users.noreply.github.com>
Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>
Co-authored-by: neomgb <123063936+neomgb@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
Co-authored-by: sqsq5566 <154306546+sqsq5566@users.noreply.github.com>
Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 李雪冰 <33832990+lxuebing@users.noreply.github.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
WSSsssss33 pushed a commit that referenced this pull request Mar 18, 2024
* AMD-793 [frontend] feature: add reverify logic and timeout alert

* AMD-793 [frontend] refactor: abstract config button component for config page

* AMD-793 [frontend] refactor: abstract timeout alert component for config page

* AMD-793 [frontend] feat: add timeout alert component to config page for three settings

* AMD-793 [frontend] test: add test for timeout alert component

* AMD-793 [frontend] test: add test for config button group component

* [ADM-793] style: fix css check

* AMD-793 [frontend] fix: set HB timeout and timeout alert false in SourceControlClient.ts and PipelineToolClient.ts

* AMD-793 [frontend] fix: fix test for PipelineToolClient.test.ts and SourceControlClient.test.ts

* [ADM-793] style: fix border css

* [ADM-793] test: fix test for useVerifyBoardEffect

* AMD-793 [frontend] test: add test of isHBTimeout for useVerifySourceControlTokenEffect

* [ADM-793] test: add test for useVerifyPipelineToolEffect

* [ADM-793] test: add test for getFieldsWithNoVerifiedError

* AMD-793 [frontend] test: remove not use mock in test file and change test case name

* ADM-856:[backend]feat: update all feign clients decoder error message (#1133)

* ADM-856:[backend]feat: update buildkite feign client decoder error message

* ADM-856:[backend]feat: update github feign client decoder error message

* ADM-856:[backend]feat: update jira feign client decoder error message

---------

Co-authored-by: guzhongren <guzhongren@live.cn>

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design (#1137)

* ADM-697:[docx] docx: add docx spike the logic of calculating card rework and api design

* ADM-697:[docx] docx: add spike export rework content when generate board csv

* ADM-697:[docx] docx: add spike calculate rework times

* ADM-697:[docx] docx: rewrite the doc of calculate rework times when don't check "Consider the 'Flag' as 'Block'

* ADM-697:[docx] docx: add logic for consider flag is block

* ADM-697:[docx] docx: fix some words

* ADM-697:[docx] docx: add logic of judge is our need rework

---------

Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>

* ADM-691: [frontend] feat: add feat about rework settings (#1138)

* ADM-691: [frontend] feat: add new metrics field

* ADM-691: [frontend] feat: add rework setting title

* ADM-691: [frontend] feat: complete basic function about rework settings

* ADM-691: [frontend] feat: use redux to store fields

* ADM-691: [frontend] feat: replace undefind to null

* ADM-691: [frontend] feat: import config with rework times settings

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: refactor code after cr

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] test: improve test coverage

* ADM-691: [frontend] test: remove unused code

* ADM-691: [frontend] test: add test for rework setting

* ADM-691: [frontend] fix: fix e2e

* ADM-691: [frontend] fix: fix sonar

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-856:[backend]feat: add decode default case error message (#1139)

* ADM-837:[docs] docs: spike about optimizing generate report backend logic (#1140)

* ADM-837:[docs]feat: add half completed spike doc

* ADM-837: [docs] completed spike solution for export-allMetrics button polling api.

* ADM-837: [docs] completed spike design for export-allMetrics button polling api.

* ADM-837: [docs] add note to notice allMetricCompleted as true

---------

Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>

* add test case

* AMD-793 [frontend] style: fix color for reverify button

* [ADM-793] fix: revert httpTimeout

* Build(deps): bump softprops/action-gh-release from 1 to 2 (#1136)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* AMD-793 [frontend] fix: remove annotation in test file

* AMD-793 [frontend] fix: update test name for clear

* AMD-793 [frontend] fix: update test name use given when then

* chore: extend the overall timeout of e2e 1 more minute. (#1144)

* chore: extend the overall timeout of e2e 1 more minute.

* distinguish local and CI for overall timeout.

* ADM-691: [frontend] fix: add request fields (#1143)

* ADM-691: [frontend] fix: add request fields

* ADM-691: [frontend] fix: fix sonar cloud

* ADM-691: [frontend] fix: fix unit test

* ADM-691: [frontend] chore: modify sytle, rename field

* ADM-691: [frontend] fix: fix sonar issue

* ADM-691: [frontend] fix: remove unused code

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-691: [frontend] fix: fix sonar issue (#1145)

* [ADM-793] refactor: rename AXIOS_REQUEST_ERROR_CODE

* AMD-793 [frontend] fix: update alert position to keep element still

* [ADM-793] feat: enhance style for alert

* [ADM-793] feat: change moduleType text

* [ADM-793] style: enhance style

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yp.wu <yiping.wu@yipings-MacBook-Pro.local>
Co-authored-by: xuebing <xuebing.li@thoughtworks.com>
Co-authored-by: yp.wu <yiping.wu@192.168.10.4>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: Genhao Liu <103744663+Liughgood@users.noreply.github.com>
Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>
Co-authored-by: neomgb <123063936+neomgb@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
Co-authored-by: sqsq5566 <154306546+sqsq5566@users.noreply.github.com>
Co-authored-by: Yunlong Gan <yunlong.gan@thoughtworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 李雪冰 <33832990+lxuebing@users.noreply.github.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants