@tencentcloud/sdk-mcp 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/resource/doc/chatuikit/faq/common/server_error_code.md +74 -0
- package/resource/doc/chatuikit/faq/{freq_qa.md → native_sdk/faq.md} +2 -1
- package/resource/doc/chatuikit/faq/web_sdk/error_code.md +47 -0
- package/resource/doc/chatuikit/faq/web_sdk/faq.md +115 -0
- package/resource/doc/chatuikit/flutter/faq.md +117 -0
- package/resource/doc/chatuikit/iOS/faq.md +117 -0
- package/resource/doc/chatuikit/react/faq.md +26 -0
- package/resource/doc/chatuikit/vue/faq.md +35 -0
- package/resource/doc/livekit/faq/common/error_code.md +89 -0
- package/resource/doc/roomkit/common/error_code.md +67 -0
- package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
- package/resource/doc/tuicallkit/android/faq.md +1000 -0
- package/resource/doc/tuicallkit/faq/common/error_code.md +47 -0
- package/resource/doc/tuicallkit/flutter/faq.md +981 -0
- package/resource/doc/tuicallkit/{faq → iOS}/faq.md +0 -72
- package/resource/doc/tuicallkit/react/faq.md +986 -0
- package/resource/doc/tuicallkit/vue/faq.md +986 -0
- package/tools/call/get-native-call-integration.js +4 -10
- package/tools/call/get-native-call-integration.js.map +1 -1
- package/tools/call/get-web-call-api.js +4 -7
- package/tools/call/get-web-call-api.js.map +1 -1
- package/tools/call/get-web-call-integration.js +4 -9
- package/tools/call/get-web-call-integration.js.map +1 -1
- package/tools/chat/get-native-chat-integration.js +4 -8
- package/tools/chat/get-native-chat-integration.js.map +1 -1
- package/tools/chat/get-web-chat-component-detail.js +5 -10
- package/tools/chat/get-web-chat-component-detail.js.map +1 -1
- package/tools/chat/get-web-chat-integration.js +4 -12
- package/tools/chat/get-web-chat-integration.js.map +1 -1
- package/tools/chat/get-web-chat-uikit-init.js +5 -6
- package/tools/chat/get-web-chat-uikit-init.js.map +1 -1
- package/tools/chat/get-web-chat-window-integration.js +4 -12
- package/tools/chat/get-web-chat-window-integration.js.map +1 -1
- package/tools/chat/{create-group.js → get-web-create-group-doc.js} +5 -6
- package/tools/chat/get-web-create-group-doc.js.map +1 -0
- package/tools/common/get-faq.js +93 -0
- package/tools/common/get-faq.js.map +1 -0
- package/tools/common/get-usersig.js +9 -18
- package/tools/common/get-usersig.js.map +1 -1
- package/tools/common/present-framework-choice.js +3 -10
- package/tools/common/present-framework-choice.js.map +1 -1
- package/tools/common/record-prompt.js +5 -12
- package/tools/common/record-prompt.js.map +1 -1
- package/tools/common/record-result.js +7 -11
- package/tools/common/record-result.js.map +1 -1
- package/tools/definitions/get_faq_def.js +28 -0
- package/tools/definitions/get_faq_def.js.map +1 -0
- package/tools/definitions/get_native_call_uikit_integration_def.js +21 -0
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +21 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +34 -0
- package/tools/definitions/get_usersig_def.js.map +1 -0
- package/tools/definitions/get_web_call_uikit_api_def.js +23 -0
- package/tools/definitions/get_web_call_uikit_api_def.js.map +1 -0
- package/tools/definitions/get_web_call_uikit_integration_def.js +20 -0
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -0
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +24 -0
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_chat_uikit_init_def.js +23 -0
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +1 -0
- package/tools/definitions/get_web_chat_uikit_integration_def.js +26 -0
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -0
- package/tools/definitions/get_web_chat_window_integration_def.js +26 -0
- package/tools/definitions/get_web_chat_window_integration_def.js.map +1 -0
- package/tools/definitions/get_web_create_group_doc_def.js +18 -0
- package/tools/definitions/get_web_create_group_doc_def.js.map +1 -0
- package/tools/definitions/get_web_live_state_detail_def.js +19 -0
- package/tools/definitions/get_web_live_state_detail_def.js.map +1 -0
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +21 -0
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_state_detail_def.js +19 -0
- package/tools/definitions/get_web_room_state_detail_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -0
- package/tools/definitions/present_framework_choice_def.js.map +1 -0
- package/tools/definitions/record_prompt_def.js +22 -0
- package/tools/definitions/record_prompt_def.js.map +1 -0
- package/tools/definitions/record_result_def.js +22 -0
- package/tools/definitions/record_result_def.js.map +1 -0
- package/tools/index.js +7 -9
- package/tools/index.js.map +1 -1
- package/tools/live/get-web-live-component-detail.js +5 -7
- package/tools/live/get-web-live-component-detail.js.map +1 -1
- package/tools/live/get-web-live-state-detail.js +5 -7
- package/tools/live/get-web-live-state-detail.js.map +1 -1
- package/tools/room/get-web-room-state-detail.js +5 -7
- package/tools/room/get-web-room-state-detail.js.map +1 -1
- package/utils/report-cls-client.js +1 -1
- package/utils/report-es-client.js +1 -1
- package/libs/@tencent/aegis-node-sdk/CHANGELOG.md +0 -8
- package/libs/@tencent/aegis-node-sdk/LICENSE +0 -21
- package/libs/@tencent/aegis-node-sdk/README.md +0 -562
- package/libs/@tencent/aegis-node-sdk/lib/aegis.min.js +0 -1
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +0 -14
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +0 -1
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +0 -9
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +0 -85
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +0 -3
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +0 -9
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +0 -3
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +0 -9
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +0 -62
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +0 -11
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +0 -4
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +0 -130
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +0 -34
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +0 -18
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +0 -8
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +0 -8
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +0 -4
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +0 -10
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +0 -3
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +0 -3
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +0 -34
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +0 -12
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +0 -14
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +0 -12
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +0 -3
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +0 -33
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +0 -18
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +0 -60
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +0 -15
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +0 -5
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +0 -6
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +0 -18
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +0 -12
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +0 -10
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +0 -20
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +0 -27
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +0 -2
- package/libs/@tencent/aegis-node-sdk/package.json +0 -19
- package/libs/@tencent/polaris/README.md +0 -407
- package/libs/@tencent/polaris/dist/consumer/health.d.ts +0 -126
- package/libs/@tencent/polaris/dist/consumer/health.js +0 -283
- package/libs/@tencent/polaris/dist/consumer/health.js.map +0 -1
- package/libs/@tencent/polaris/dist/consumer/index.d.ts +0 -120
- package/libs/@tencent/polaris/dist/consumer/index.js +0 -348
- package/libs/@tencent/polaris/dist/consumer/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/consumer/monitor.d.ts +0 -145
- package/libs/@tencent/polaris/dist/consumer/monitor.js +0 -343
- package/libs/@tencent/polaris/dist/consumer/monitor.js.map +0 -1
- package/libs/@tencent/polaris/dist/consumer/selector.d.ts +0 -73
- package/libs/@tencent/polaris/dist/consumer/selector.js +0 -316
- package/libs/@tencent/polaris/dist/consumer/selector.js.map +0 -1
- package/libs/@tencent/polaris/dist/errors.d.ts +0 -373
- package/libs/@tencent/polaris/dist/errors.js +0 -154
- package/libs/@tencent/polaris/dist/errors.js.map +0 -1
- package/libs/@tencent/polaris/dist/global.d.ts +0 -16
- package/libs/@tencent/polaris/dist/global.js +0 -18
- package/libs/@tencent/polaris/dist/global.js.map +0 -1
- package/libs/@tencent/polaris/dist/index.d.ts +0 -62
- package/libs/@tencent/polaris/dist/index.js +0 -145
- package/libs/@tencent/polaris/dist/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/instance.d.ts +0 -109
- package/libs/@tencent/polaris/dist/instance.js +0 -38
- package/libs/@tencent/polaris/dist/instance.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/bucket.d.ts +0 -51
- package/libs/@tencent/polaris/dist/limiter/bucket.js +0 -152
- package/libs/@tencent/polaris/dist/limiter/bucket.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/index.d.ts +0 -73
- package/libs/@tencent/polaris/dist/limiter/index.js +0 -149
- package/libs/@tencent/polaris/dist/limiter/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/ratelimit.d.ts +0 -27
- package/libs/@tencent/polaris/dist/limiter/ratelimit.js +0 -134
- package/libs/@tencent/polaris/dist/limiter/ratelimit.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +0 -17
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js +0 -15
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +0 -59
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js +0 -397
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +0 -3
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js +0 -19
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +0 -17
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js +0 -52
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +0 -1
- package/libs/@tencent/polaris/dist/location.d.ts +0 -48
- package/libs/@tencent/polaris/dist/location.js +0 -67
- package/libs/@tencent/polaris/dist/location.js.map +0 -1
- package/libs/@tencent/polaris/dist/logging.d.ts +0 -106
- package/libs/@tencent/polaris/dist/logging.js +0 -130
- package/libs/@tencent/polaris/dist/logging.js.map +0 -1
- package/libs/@tencent/polaris/dist/metadata.d.ts +0 -78
- package/libs/@tencent/polaris/dist/metadata.js +0 -119
- package/libs/@tencent/polaris/dist/metadata.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +0 -47
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js +0 -162
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/base.d.ts +0 -24
- package/libs/@tencent/polaris/dist/plugins/lb/base.js +0 -32
- package/libs/@tencent/polaris/dist/plugins/lb/base.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/edf.d.ts +0 -24
- package/libs/@tencent/polaris/dist/plugins/lb/edf.js +0 -77
- package/libs/@tencent/polaris/dist/plugins/lb/edf.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.d.ts +0 -24
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.js +0 -53
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.d.ts +0 -31
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.js +0 -88
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.d.ts +0 -25
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.js +0 -72
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/wr.d.ts +0 -17
- package/libs/@tencent/polaris/dist/plugins/lb/wr.js +0 -50
- package/libs/@tencent/polaris/dist/plugins/lb/wr.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.d.ts +0 -19
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.js +0 -81
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/logging/console.d.ts +0 -10
- package/libs/@tencent/polaris/dist/plugins/logging/console.js +0 -38
- package/libs/@tencent/polaris/dist/plugins/logging/console.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +0 -32
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js +0 -88
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +0 -124
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +0 -398
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +0 -27
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +0 -287
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +0 -15
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +0 -43
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +0 -28
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +0 -249
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +0 -19
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +0 -222
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +0 -26
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +0 -99
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +0 -60
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +0 -259
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +0 -24
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +0 -18
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +0 -12
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +0 -39
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +0 -115
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +0 -24
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +0 -22
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +0 -28
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +0 -80
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +0 -18
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +0 -65
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +0 -66
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +0 -95
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +0 -1568
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +0 -36
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +0 -51
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +0 -18
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +0 -67
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +0 -82
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +0 -11
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +0 -46
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +0 -16
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +0 -10
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +0 -1102
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +0 -29
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +0 -77
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +0 -12
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +0 -28
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +0 -395
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +0 -13
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +0 -116
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +0 -67
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +0 -67
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +0 -99
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +0 -217
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/registry/memory.d.ts +0 -10
- package/libs/@tencent/polaris/dist/plugins/registry/memory.js +0 -50
- package/libs/@tencent/polaris/dist/plugins/registry/memory.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +0 -51
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js +0 -145
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +0 -11
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js +0 -174
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +0 -25
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js +0 -36
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +0 -10
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js +0 -34
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +0 -56
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js +0 -106
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +0 -31
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js +0 -124
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +0 -61
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js +0 -171
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.d.ts +0 -23
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.js +0 -159
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.js.map +0 -1
- package/libs/@tencent/polaris/dist/plugins.d.ts +0 -619
- package/libs/@tencent/polaris/dist/plugins.js +0 -91
- package/libs/@tencent/polaris/dist/plugins.js.map +0 -1
- package/libs/@tencent/polaris/dist/polaris.d.ts +0 -33
- package/libs/@tencent/polaris/dist/polaris.js +0 -59
- package/libs/@tencent/polaris/dist/polaris.js.map +0 -1
- package/libs/@tencent/polaris/dist/provider/index.d.ts +0 -102
- package/libs/@tencent/polaris/dist/provider/index.js +0 -168
- package/libs/@tencent/polaris/dist/provider/index.js.map +0 -1
- package/libs/@tencent/polaris/dist/registry.d.ts +0 -174
- package/libs/@tencent/polaris/dist/registry.js +0 -660
- package/libs/@tencent/polaris/dist/registry.js.map +0 -1
- package/libs/@tencent/polaris/dist/rules.d.ts +0 -163
- package/libs/@tencent/polaris/dist/rules.js +0 -24
- package/libs/@tencent/polaris/dist/rules.js.map +0 -1
- package/libs/@tencent/polaris/dist/scripts/postinstall.d.ts +0 -1
- package/libs/@tencent/polaris/dist/scripts/postinstall.js +0 -71
- package/libs/@tencent/polaris/dist/scripts/postinstall.js.map +0 -1
- package/libs/@tencent/polaris/dist/service.d.ts +0 -18
- package/libs/@tencent/polaris/dist/service.js +0 -3
- package/libs/@tencent/polaris/dist/service.js.map +0 -1
- package/libs/@tencent/polaris/dist/skeleton.d.ts +0 -87
- package/libs/@tencent/polaris/dist/skeleton.js +0 -282
- package/libs/@tencent/polaris/dist/skeleton.js.map +0 -1
- package/libs/@tencent/polaris/dist/utils.d.ts +0 -36
- package/libs/@tencent/polaris/dist/utils.js +0 -74
- package/libs/@tencent/polaris/dist/utils.js.map +0 -1
- package/libs/@tencent/polaris/dist/weak.d.ts +0 -11
- package/libs/@tencent/polaris/dist/weak.js +0 -44
- package/libs/@tencent/polaris/dist/weak.js.map +0 -1
- package/libs/@tencent/polaris/package.json +0 -114
- package/resource/doc/chatuikit/faq/web_qa.md +0 -118
- package/tools/call/get-call-faq.js +0 -29
- package/tools/call/get-call-faq.js.map +0 -1
- package/tools/chat/create-group.js.map +0 -1
- package/tools/chat/get-chat-faq.js +0 -29
- package/tools/chat/get-chat-faq.js.map +0 -1
- /package/resource/doc/chatuikit/{faq/sdk_qa.md → android/faq.md} +0 -0
- /package/{libs/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts → resource/doc/livekit/vue/faq.md} +0 -0
- /package/resource/doc/{chatuikit/faq/vue_qa.md → roomkit/vue/faq.md} +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PolarisGRPCClient } from "./connector/grpc";
|
|
2
|
-
import { PolarisHTTPClient } from "./connector/http";
|
|
3
|
-
export * from "./connector/grpc";
|
|
4
|
-
export * from "./connector/http";
|
|
5
|
-
export * from "./types";
|
|
6
|
-
export { PolarisServerAdapter, ServerAdapterOptions, DiscoverApi, MonitorApi, RatelimitApi, PolarisApi, PolarisClient, PolarisRequest, PolarisResponse } from "./adapter";
|
|
7
|
-
export { kProtoPath } from "./utils";
|
|
8
|
-
export type { v1 as PolarisService, google } from "./discover-pb/types";
|
|
9
|
-
export type { v1 as MonitorService } from "./monitor-pb/types";
|
|
10
|
-
export type { v1 as RatelimitService } from "./ratelimit-pb/types";
|
|
11
|
-
/**
|
|
12
|
-
* @description
|
|
13
|
-
* Inheritance hierarchy:
|
|
14
|
-
* - |PolarisBaseAdapter|
|
|
15
|
-
* - |PolarisDiscoverAdapter| |PolarisMonitorAdapter| |PolarisRatelimitAdapter|
|
|
16
|
-
* - |PolarisServerAdapter|
|
|
17
|
-
* - |PolarisGRPCClient|
|
|
18
|
-
* - |PolarisHTTPClient|
|
|
19
|
-
*
|
|
20
|
-
* According to the current environment, automatically select suitable client as |PolarisServerClient|
|
|
21
|
-
* Select Priority:
|
|
22
|
-
* |PolarisGRPCClient| --> |PolarisHTTPClient|
|
|
23
|
-
*/
|
|
24
|
-
export declare const PolarisServerClient: typeof PolarisGRPCClient | typeof PolarisHTTPClient;
|
|
25
|
-
/**
|
|
26
|
-
* Is equal or inherit from |PolarisGRPCClient|
|
|
27
|
-
*/
|
|
28
|
-
export declare const isPolarisGRPCClient: (klass: {
|
|
29
|
-
prototype: unknown;
|
|
30
|
-
}) => klass is typeof PolarisGRPCClient;
|
|
31
|
-
/**
|
|
32
|
-
* Is equal or inherit from |PolarisHTTPClient|
|
|
33
|
-
*/
|
|
34
|
-
export declare const isPolarisHTTPClient: (klass: {
|
|
35
|
-
prototype: unknown;
|
|
36
|
-
}) => klass is typeof PolarisHTTPClient;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.isPolarisHTTPClient = exports.isPolarisGRPCClient = exports.PolarisServerClient = exports.kProtoPath = exports.PolarisServerAdapter = void 0;
|
|
18
|
-
const grpc_1 = require("./connector/grpc");
|
|
19
|
-
const http_1 = require("./connector/http");
|
|
20
|
-
__exportStar(require("./connector/grpc"), exports);
|
|
21
|
-
__exportStar(require("./connector/http"), exports);
|
|
22
|
-
__exportStar(require("./types"), exports);
|
|
23
|
-
var adapter_1 = require("./adapter");
|
|
24
|
-
Object.defineProperty(exports, "PolarisServerAdapter", { enumerable: true, get: function () { return adapter_1.PolarisServerAdapter; } });
|
|
25
|
-
var utils_1 = require("./utils");
|
|
26
|
-
Object.defineProperty(exports, "kProtoPath", { enumerable: true, get: function () { return utils_1.kProtoPath; } });
|
|
27
|
-
/**
|
|
28
|
-
* @description
|
|
29
|
-
* Inheritance hierarchy:
|
|
30
|
-
* - |PolarisBaseAdapter|
|
|
31
|
-
* - |PolarisDiscoverAdapter| |PolarisMonitorAdapter| |PolarisRatelimitAdapter|
|
|
32
|
-
* - |PolarisServerAdapter|
|
|
33
|
-
* - |PolarisGRPCClient|
|
|
34
|
-
* - |PolarisHTTPClient|
|
|
35
|
-
*
|
|
36
|
-
* According to the current environment, automatically select suitable client as |PolarisServerClient|
|
|
37
|
-
* Select Priority:
|
|
38
|
-
* |PolarisGRPCClient| --> |PolarisHTTPClient|
|
|
39
|
-
*/
|
|
40
|
-
exports.PolarisServerClient = [grpc_1.PolarisGRPCClient].find(client => client.isSupported()) || http_1.PolarisHTTPClient;
|
|
41
|
-
/**
|
|
42
|
-
* Is equal or inherit from |PolarisGRPCClient|
|
|
43
|
-
*/
|
|
44
|
-
const isPolarisGRPCClient = (klass) => (klass === grpc_1.PolarisGRPCClient || klass.prototype instanceof grpc_1.PolarisGRPCClient);
|
|
45
|
-
exports.isPolarisGRPCClient = isPolarisGRPCClient;
|
|
46
|
-
/**
|
|
47
|
-
* Is equal or inherit from |PolarisHTTPClient|
|
|
48
|
-
*/
|
|
49
|
-
const isPolarisHTTPClient = (klass) => (klass === exports.isPolarisHTTPClient || klass.prototype instanceof exports.isPolarisHTTPClient);
|
|
50
|
-
exports.isPolarisHTTPClient = isPolarisHTTPClient;
|
|
51
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/naming/polaris-server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAqD;AACrD,2CAAqD;AAErD,mDAAiC;AACjC,mDAAiC;AACjC,0CAAwB;AACxB,qCAA0K;AAAjK,+GAAA,oBAAoB,OAAA;AAC7B,iCAAqC;AAA5B,mGAAA,UAAU,OAAA;AAKnB;;;;;;;;;;;;GAYG;AACU,QAAA,mBAAmB,GAAG,CAAC,wBAAiB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,wBAAiB,CAAC;AAEjH;;GAEG;AACI,MAAM,mBAAmB,GAAG,CAAC,KAA2B,EAAqC,EAAE,CAAC,CACrG,KAAK,KAAK,wBAAiB,IAAI,KAAK,CAAC,SAAS,YAAY,wBAAiB,CAC5E,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEF;;GAEG;AACI,MAAM,mBAAmB,GAAG,CAAC,KAA2B,EAAqC,EAAE,CAAC,CACrG,KAAK,KAAK,2BAAmB,IAAI,KAAK,CAAC,SAAS,YAAY,2BAAmB,CAChF,CAAC;AAFW,QAAA,mBAAmB,uBAE9B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1;
|
|
4
|
-
|
|
5
|
-
import "request.proto";
|
|
6
|
-
import "response.proto";
|
|
7
|
-
import "sdkconfiguration.proto";
|
|
8
|
-
import "sdkcache.proto";
|
|
9
|
-
import "circuitbreak.proto";
|
|
10
|
-
|
|
11
|
-
service MonitorApi {
|
|
12
|
-
rpc CollectServerStatistics(stream ServerStatistics) returns(stream StatResponse) {}
|
|
13
|
-
rpc CollectSdkapiStatistics(stream SDKAPIStatistics) returns(stream StatResponse) {}
|
|
14
|
-
rpc CollectServiceStatistics(stream ServiceStatistics) returns(stream StatResponse) {}
|
|
15
|
-
rpc CollectSdkConfiguration(SDKConfig) returns(StatResponse) {}
|
|
16
|
-
rpc CollectSdkCache(stream ServiceInfo) returns(stream StatResponse) {}
|
|
17
|
-
rpc CollectCircuitBreak(stream ServiceCircuitbreak) returns(stream StatResponse) {}
|
|
18
|
-
}
|
package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1;
|
|
4
|
-
|
|
5
|
-
import "sdktoken.proto";
|
|
6
|
-
import "google/protobuf/timestamp.proto";
|
|
7
|
-
|
|
8
|
-
//熔断状态变更类型
|
|
9
|
-
enum StatusChange {
|
|
10
|
-
Unknown = 0;
|
|
11
|
-
CloseToOpen = 1;
|
|
12
|
-
OpenToHalfOpen = 2;
|
|
13
|
-
HalfOpenToOpen = 3;
|
|
14
|
-
HalfOpenToClose = 4;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
enum RecoverAllStatus {
|
|
18
|
-
Invalid = 0;
|
|
19
|
-
//发生了全死全活
|
|
20
|
-
Start = 1;
|
|
21
|
-
//全死全活结束(由于服务实例状态的改变)
|
|
22
|
-
End = 2;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
//实例的一次熔断状态改变
|
|
26
|
-
message CircuitbreakChange {
|
|
27
|
-
//变更时间
|
|
28
|
-
google.protobuf.Timestamp time = 1;
|
|
29
|
-
//变更的次序
|
|
30
|
-
uint32 change_seq = 2;
|
|
31
|
-
//状态变更类型
|
|
32
|
-
StatusChange change = 3;
|
|
33
|
-
//状态变更原因
|
|
34
|
-
string reason = 4;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
//实例的周期熔断变更历史
|
|
38
|
-
message CircuitbreakHistory {
|
|
39
|
-
string ip = 1;
|
|
40
|
-
uint32 port = 2;
|
|
41
|
-
string vpc_id = 3;
|
|
42
|
-
repeated CircuitbreakChange changes = 4;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
//全死全活状态
|
|
46
|
-
message RecoverAllChange {
|
|
47
|
-
//发生全死全活时间
|
|
48
|
-
google.protobuf.Timestamp time = 1;
|
|
49
|
-
//发生全死全活的实例集合的信息,如共同metadata、共同位置等
|
|
50
|
-
string instance_info = 2;
|
|
51
|
-
//全死全活是发生了还是结束了
|
|
52
|
-
RecoverAllStatus change = 3;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
//一个服务一个周期的熔断变化情况
|
|
56
|
-
message ServiceCircuitbreak {
|
|
57
|
-
//该条记录的唯一id
|
|
58
|
-
string id = 1;
|
|
59
|
-
//sdk标识
|
|
60
|
-
SDKToken sdk_token = 2;
|
|
61
|
-
string namespace = 3;
|
|
62
|
-
string service = 4;
|
|
63
|
-
//发生全死全活的情况
|
|
64
|
-
repeated RecoverAllChange recover_all = 5;
|
|
65
|
-
//实例熔断情况
|
|
66
|
-
repeated CircuitbreakHistory instance_circuitbreak = 6;
|
|
67
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/wrappers.proto";
|
|
6
|
-
|
|
7
|
-
// polaris server上报的统计数据
|
|
8
|
-
message ServerStatistics {
|
|
9
|
-
google.protobuf.StringValue id = 1; // 唯一标识
|
|
10
|
-
ServerStatisticsKey key = 2; // 维度
|
|
11
|
-
Indicator value = 3; // 指标
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
message ServerStatisticsKey {
|
|
15
|
-
google.protobuf.StringValue server_host = 1; // server地址
|
|
16
|
-
google.protobuf.StringValue resource = 2; // server处理的资源类型,分为Namespace、Service和Instance
|
|
17
|
-
google.protobuf.StringValue operation = 3; // server对于资源进行的操作,分为创建、查询、修改和删除
|
|
18
|
-
google.protobuf.StringValue code = 4; // server对于资源操作的返回码
|
|
19
|
-
google.protobuf.BoolValue success = 5; // server对于资源操作是否成功
|
|
20
|
-
google.protobuf.StringValue delay_range = 6; // 操作延迟范围,如[3ms, 10ms)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// SDK上报的API调用统计
|
|
24
|
-
message SDKAPIStatistics {
|
|
25
|
-
google.protobuf.StringValue id = 1; // 唯一标识
|
|
26
|
-
SDKAPIStatisticsKey key = 2; // 维度
|
|
27
|
-
Indicator value = 3; // 指标
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message SDKAPIStatisticsKey {
|
|
31
|
-
google.protobuf.StringValue client_host = 1; // SDK的ip
|
|
32
|
-
google.protobuf.StringValue sdk_api = 2; // 被调用的api
|
|
33
|
-
google.protobuf.StringValue res_code = 3; // 调用结果码,如果有错误,那么就是具体的错误码,否则为0,表示成功
|
|
34
|
-
google.protobuf.BoolValue success = 4; // API调用是否成功
|
|
35
|
-
google.protobuf.StringValue delay_range = 5; // 操作延迟范围,如[3ms, 10ms)
|
|
36
|
-
google.protobuf.StringValue client_version = 6; // 版本号
|
|
37
|
-
google.protobuf.StringValue client_type = 7; // sdk或agent
|
|
38
|
-
APIResultType result = 8; //api接口调用的的返回类型
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// server和sdk的上报指标
|
|
42
|
-
message Indicator {
|
|
43
|
-
google.protobuf.UInt32Value total_request_per_minute = 1; //总请求数
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// SDK上报的服务调用统计
|
|
47
|
-
message ServiceStatistics {
|
|
48
|
-
google.protobuf.StringValue id = 1; // 唯一标识
|
|
49
|
-
ServiceStatisticsKey key = 2; // 维度
|
|
50
|
-
ServiceIndicator value = 3; // 指标
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// 服务调用的上报维度
|
|
54
|
-
message ServiceStatisticsKey {
|
|
55
|
-
google.protobuf.StringValue caller_host = 1; // 该服务调用者的IP
|
|
56
|
-
google.protobuf.StringValue namespace = 2; // 命名空间
|
|
57
|
-
google.protobuf.StringValue service = 3; // 服务名
|
|
58
|
-
google.protobuf.StringValue instance_host = 4; //具体服务实例ip
|
|
59
|
-
google.protobuf.BoolValue success = 5; // 服务调用是否成功
|
|
60
|
-
oneof res_code { // 服务调用返回码
|
|
61
|
-
int32 res_code_int32 = 6;
|
|
62
|
-
google.protobuf.StringValue res_code_string = 7;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// 服务调用的上报指标
|
|
67
|
-
message ServiceIndicator {
|
|
68
|
-
google.protobuf.UInt32Value total_request_per_minute = 1; // 总请求数
|
|
69
|
-
google.protobuf.UInt64Value total_delay_per_minute = 2; // 总延迟
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
//api接口调用
|
|
73
|
-
enum APIResultType {
|
|
74
|
-
//未知原因,更新pb后的sdk不得上报这种类型,用于兼容旧版本sdk
|
|
75
|
-
UnknownType = 0;
|
|
76
|
-
//用户调用成功
|
|
77
|
-
Success = 1;
|
|
78
|
-
//由于用户的原因,如参数错误导致的调用错误
|
|
79
|
-
UserFail = 2;
|
|
80
|
-
//由于系统原因(sdk或者server)导致用户调用失败
|
|
81
|
-
PolarisFail = 3;
|
|
82
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1;
|
|
4
|
-
|
|
5
|
-
import "sdktoken.proto";
|
|
6
|
-
import "google/protobuf/timestamp.proto";
|
|
7
|
-
|
|
8
|
-
//一次版本号变更
|
|
9
|
-
message RevisionHistory {
|
|
10
|
-
//变更时间
|
|
11
|
-
google.protobuf.Timestamp time = 1;
|
|
12
|
-
//变更的次序
|
|
13
|
-
uint32 change_seq = 2;
|
|
14
|
-
//变更后版本号
|
|
15
|
-
string revision = 3;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
//路由变更历史
|
|
19
|
-
message RoutingHistory {
|
|
20
|
-
//版本号变更
|
|
21
|
-
repeated RevisionHistory revision = 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//实例变更历史
|
|
25
|
-
message InstancesHistory {
|
|
26
|
-
//版本号变更
|
|
27
|
-
repeated RevisionHistory revision = 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
//上报的服务信息
|
|
31
|
-
message ServiceInfo {
|
|
32
|
-
//该条记录的唯一id
|
|
33
|
-
string id = 1;
|
|
34
|
-
//sdk标识
|
|
35
|
-
SDKToken sdk_token = 2;
|
|
36
|
-
string namespace = 3;
|
|
37
|
-
string service = 4;
|
|
38
|
-
//服务实例的版本变化
|
|
39
|
-
InstancesHistory instances_history = 5;
|
|
40
|
-
//服务的实例数据已从sdk中删除(过期淘汰或者server删除了)
|
|
41
|
-
bool instance_eliminated = 6;
|
|
42
|
-
//该服务对应的路由变化情况
|
|
43
|
-
RoutingHistory routing_history = 7;
|
|
44
|
-
//服务的路由数据已从sdk中删除(过期淘汰或者server删除了)
|
|
45
|
-
bool routing_eliminated = 8;
|
|
46
|
-
}
|
package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1;
|
|
4
|
-
|
|
5
|
-
import "sdktoken.proto";
|
|
6
|
-
import "google/protobuf/timestamp.proto";
|
|
7
|
-
|
|
8
|
-
// SDK的配置信息
|
|
9
|
-
message SDKConfig {
|
|
10
|
-
SDKToken token = 1;
|
|
11
|
-
string config = 2;
|
|
12
|
-
google.protobuf.Timestamp take_effect_time = 3;
|
|
13
|
-
string location = 4;
|
|
14
|
-
string version = 5;
|
|
15
|
-
string client = 6;
|
|
16
|
-
}
|