skywalking-java/test/plugin
wallezhang 4b66f1e0a7
fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271)
* fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently. #6562

1. Rename current STATUS_CODE to HTTP_RESPONSE_STATUS_CODE, real tag key should be http.status_code.
2. Add a new string tag RPC_RESPONSE_STATUS_CODE to hold all string type value tag. The key is `rpc.status_code`.
3. At the backend, keep responseCode for HTTP_RESPONSE_STATUS_CODE tag, but add @Deprecated. Also, add httpResponseStatusCode(a duplicate of responseCode) and rpcStatusCode(for RPC_RESPONSE_STATUS_CODE) fields for OAL.

* Modify `Tags.STATUS_CODE` field name to `Tags.HTTP_RESPONSE_STATUS_CODE` and type from `StringTag` to `IntegerTag`, add `Tags.RPC_RESPONSE_STATUS_CODE` field to hold rpc response code value.

* Add `rpcStatusCode` for `rpc.status_code` tag in the OAL objects. The `responseCode` field is marked as deprecated and replaced by `httpResponseStatusCode` field. 

* Tag `status_code` is still supported in the backend for forward compatbility. Will be removed one year later.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-14 20:17:46 +08:00
..
agent-test-tools Fix spelling (#6418) 2021-02-22 07:40:35 +08:00
archetypes Add JDK 16 to test matrix, move bom to backend profile (#7139) 2021-06-20 23:24:02 +08:00
containers Pin the openjdk docker version (#6814) 2021-04-23 12:22:27 +08:00
runner-helper Checkstyle plugin checks test codes (#6003) 2020-12-29 17:58:34 +08:00
scenarios fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271) 2021-08-14 20:17:46 +08:00
script [test/plugin] docker prune at cleanup (#3679) 2019-10-22 13:24:36 +03:00
generator.sh chore: set up license-eye to check license header (#6200) 2021-01-14 22:08:37 +08:00
pom.xml Add JDK 16 to test matrix, move bom to backend profile (#7139) 2021-06-20 23:24:02 +08:00
run.sh fix: Fix macos test script command not found error. #6846 (#6964) 2021-05-19 13:13:29 +08:00