wu-sheng opened a new pull request, #13889: URL: https://github.com/apache/skywalking/pull/13889
Replace raw `curl` interactions with the OAP admin-server REST host (port 17128) across the e2e suite with the new `swctl admin ...` command tree (skywalking-cli [#228](https://github.com/apache/skywalking-cli/pull/228), commit `b447211`): - runtime-rule flows (mal / lal / cluster) → `swctl admin runtime-rule ...` - dsl-debug flows (oal / mal / lal-block / lal-statement) → `swctl admin dsl-debug ...` - ui-management → `swctl admin ui-template ...` - storage inspect / config(dump, ttl) → `swctl admin inspect|config ...` `--display json/yaml` keeps response bodies parseable by the existing jq/yq assertions, so the assertions are unchanged for pass-through endpoints. The runtime-rule negative paths assert the CLI's typed error envelope (`HTTP <code> (<applyStatus>)`) instead of `curl -w '%{http_code}'`. `config-dump.yml` is regenerated as the JSON string-map that `admin config dump` returns under `Accept: application/json`. `SW_CTL_COMMIT` is bumped to the admin-capable commit. Non-admin curls (BanyanDB `/api/v1/measure/data` probe, `:1234` self-telemetry, alarm webhook) are intentionally kept. - [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [ ] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md). -- 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]
