coder999o opened a new pull request, #2631: URL: https://github.com/apache/rocketmq-dashboard/pull/2631
## What is the purpose of the change The cloud instance import endpoint already supports cloud vendors through the generic vendor-based import flow, but the add instance dialog only exposed one-click import on the Aliyun tab. This change makes the same batch import flow available for Tencent Cloud instances. ## Brief changelog - Show the one-click import action for Tencent Cloud credentials. - Restrict the frontend cloud import API type to non-Apache cloud vendors. - Add coverage for Tencent one-click import and the cloud import request payload. ## Verifying this change - npm run test -- src/pages/instance/__tests__/InstancePage.test.tsx src/api/instance.test.ts - npx prettier --check src/api/instance.ts src/api/instance.test.ts src/pages/instance/index.tsx src/pages/instance/__tests__/InstancePage.test.tsx - npx eslint src/api/instance.ts src/api/instance.test.ts src/pages/instance/index.tsx src/pages/instance/__tests__/InstancePage.test.tsx - git diff --check - npm run build -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
