From 196ea41cc5ea0dac0a31811449269dd0a73a33d6 Mon Sep 17 00:00:00 2001 From: cbullinger <115956901+cbullinger@users.noreply.github.com> Date: Wed, 10 Jul 2024 14:24:42 -0400 Subject: [PATCH] DOCSP-41342: Update redirects for realm-cli pages (#792) Update redirects for realm-cli/v2 pages --- config/redirects | 75 +++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/config/redirects b/config/redirects index 4f3bdd779..10d492657 100644 --- a/config/redirects +++ b/config/redirects @@ -268,42 +268,45 @@ raw: ${prefix}/sync/app-builder/tiered-device-sync/index -> ${base}/edge-server/ raw: ${prefix}/sync/app-builder/edge-server/ -> ${base}/edge-server/ # realm-cli -> appservices-cli -raw: ${prefix}/cli/realm-cli-accessList-create -> ${base}/realm-cli/realm-cli-accessList-create/ -raw: ${prefix}/cli/realm-cli-accessList-delete -> ${base}/realm-cli/realm-cli-accessList-delete/ -raw: ${prefix}/cli/realm-cli-accessList-list -> ${base}/realm-cli/realm-cli-accessList-list/ -raw: ${prefix}/cli/realm-cli-accessList-update -> ${base}/realm-cli/realm-cli-accessList-update/ -raw: ${prefix}/cli/realm-cli-accessList -> ${base}/realm-cli/realm-cli-accessList/ -raw: ${prefix}/cli/realm-cli-apps-create -> ${base}/realm-cli/realm-cli-apps-create/ -raw: ${prefix}/cli/realm-cli-apps-delete -> ${base}/realm-cli/realm-cli-apps-delete/ -raw: ${prefix}/cli/realm-cli-apps-describe -> ${base}/realm-cli/realm-cli-apps-describe/ -raw: ${prefix}/cli/realm-cli-apps-diff -> ${base}/realm-cli/realm-cli-apps-diff/ -raw: ${prefix}/cli/realm-cli-apps-init -> ${base}/realm-cli/realm-cli-apps-init/ -raw: ${prefix}/cli/realm-cli-apps-list -> ${base}/realm-cli/realm-cli-apps-list/ -raw: ${prefix}/cli/realm-cli-apps -> ${base}/realm-cli/realm-cli-apps/ -raw: ${prefix}/cli/realm-cli-function-run -> ${base}/realm-cli/realm-cli-function-run/ -raw: ${prefix}/cli/realm-cli-function -> ${base}/realm-cli/realm-cli-function/ -raw: ${prefix}/cli/realm-cli-login -> ${base}/realm-cli/realm-cli-login/ -raw: ${prefix}/cli/realm-cli-logout -> ${base}/realm-cli/realm-cli-logout/ -raw: ${prefix}/cli/realm-cli-logs-list -> ${base}/realm-cli/realm-cli-logs-list/ -raw: ${prefix}/cli/realm-cli-logs -> ${base}/realm-cli/realm-cli-logs/ -raw: ${prefix}/cli/realm-cli-pull -> ${base}/realm-cli/realm-cli-pull/ -raw: ${prefix}/cli/realm-cli-push -> ${base}/realm-cli/realm-cli-push/ -raw: ${prefix}/cli/realm-cli-reference-v1 -> ${base}/realm-cli/realm-cli-reference-v1/ -raw: ${prefix}/cli/realm-cli-schema-datamodels -> ${base}/realm-cli/realm-cli-schema-datamodels/ -raw: ${prefix}/cli/realm-cli-schema -> ${base}/realm-cli/realm-cli-schema/ -raw: ${prefix}/cli/realm-cli-secrets-create -> ${base}/realm-cli/realm-cli-secrets-create/ -raw: ${prefix}/cli/realm-cli-secrets-delete -> ${base}/realm-cli/realm-cli-secrets-delete/ -raw: ${prefix}/cli/realm-cli-secrets-list -> ${base}/realm-cli/realm-cli-secrets-list/ -raw: ${prefix}/cli/realm-cli-secrets-update -> ${base}/realm-cli/realm-cli-secrets-update/ -raw: ${prefix}/cli/realm-cli-secrets -> ${base}/realm-cli/realm-cli-secrets/ -raw: ${prefix}/cli/realm-cli-users-create -> ${base}/realm-cli/realm-cli-users-create/ -raw: ${prefix}/cli/realm-cli-users-delete -> ${base}/realm-cli/realm-cli-users-delete/ -raw: ${prefix}/cli/realm-cli-users-disable -> ${base}/realm-cli/realm-cli-users-disable/ -raw: ${prefix}/cli/realm-cli-users-enable -> ${base}/realm-cli/realm-cli-users-enable/ -raw: ${prefix}/cli/realm-cli-users-list -> ${base}/realm-cli/realm-cli-users-list/ -raw: ${prefix}/cli/realm-cli-users-revoke -> ${base}/realm-cli/realm-cli-users-revoke/ -raw: ${prefix}/cli/realm-cli-users -> ${base}/realm-cli/realm-cli-users/ -raw: ${prefix}/cli/realm-cli-whoami -> ${base}/realm-cli/realm-cli-whoami/ +# (DOCSP-41342): Fix broken realm-cli redirects to point to /v2 directory +raw: ${prefix}/cli/realm-cli-accessList-create -> ${base}/realm-cli/v2/realm-cli-accessList-create/ +raw: ${prefix}/cli/realm-cli-accessList-delete -> ${base}/realm-cli/v2/realm-cli-accessList-delete/ +raw: ${prefix}/cli/realm-cli-accessList-list -> ${base}/realm-cli/v2/realm-cli-accessList-list/ +raw: ${prefix}/cli/realm-cli-accessList-update -> ${base}/realm-cli/v2/realm-cli-accessList-update/ +raw: ${prefix}/cli/realm-cli-accessList -> ${base}/realm-cli/v2/realm-cli-accessList/ +raw: ${prefix}/cli/realm-cli-apps-create -> ${base}/realm-cli/v2/realm-cli-apps-create/ +raw: ${prefix}/cli/realm-cli-apps-delete -> ${base}/realm-cli/v2/realm-cli-apps-delete/ +raw: ${prefix}/cli/realm-cli-apps-describe -> ${base}/realm-cli/v2/realm-cli-apps-describe/ +raw: ${prefix}/cli/realm-cli-apps-diff -> ${base}/realm-cli/v2/realm-cli-apps-diff/ +raw: ${prefix}/cli/realm-cli-apps-init -> ${base}/realm-cli/v2/realm-cli-apps-init/ +raw: ${prefix}/cli/realm-cli-apps-list -> ${base}/realm-cli/v2/realm-cli-apps-list/ +raw: ${prefix}/cli/realm-cli-apps -> ${base}/realm-cli/v2/realm-cli-apps/ +raw: ${prefix}/cli/realm-cli-function-run -> ${base}/realm-cli/v2/realm-cli-function-run/ +raw: ${prefix}/cli/realm-cli-function -> ${base}/realm-cli/v2/realm-cli-function/ +raw: ${prefix}/cli/realm-cli-login -> ${base}/realm-cli/v2/realm-cli-login/ +raw: ${prefix}/cli/realm-cli-logout -> ${base}/realm-cli/v2/realm-cli-logout/ +raw: ${prefix}/cli/realm-cli-logs-list -> ${base}/realm-cli/v2/realm-cli-logs-list/ +raw: ${prefix}/cli/realm-cli-logs -> ${base}/realm-cli/v2/realm-cli-logs/ +raw: ${prefix}/cli/realm-cli-pull -> ${base}/realm-cli/v2/realm-cli-pull/ +raw: ${prefix}/cli/realm-cli-push -> ${base}/realm-cli/v2/realm-cli-push/ +raw: ${prefix}/cli/realm-cli-schema-datamodels -> ${base}/realm-cli/v2/realm-cli-schema-datamodels/ +raw: ${prefix}/cli/realm-cli-schema -> ${base}/realm-cli/v2/realm-cli-schema/ +raw: ${prefix}/cli/realm-cli-secrets-create -> ${base}/realm-cli/v2/realm-cli-secrets-create/ +raw: ${prefix}/cli/realm-cli-secrets-delete -> ${base}/realm-cli/v2/realm-cli-secrets-delete/ +raw: ${prefix}/cli/realm-cli-secrets-list -> ${base}/realm-cli/v2/realm-cli-secrets-list/ +raw: ${prefix}/cli/realm-cli-secrets-update -> ${base}/realm-cli/v2/realm-cli-secrets-update/ +raw: ${prefix}/cli/realm-cli-secrets -> ${base}/realm-cli/v2/realm-cli-secrets/ +raw: ${prefix}/cli/realm-cli-users-create -> ${base}/realm-cli/v2/realm-cli-users-create/ +raw: ${prefix}/cli/realm-cli-users-delete -> ${base}/realm-cli/v2/realm-cli-users-delete/ +raw: ${prefix}/cli/realm-cli-users-disable -> ${base}/realm-cli/v2/realm-cli-users-disable/ +raw: ${prefix}/cli/realm-cli-users-enable -> ${base}/realm-cli/v2/realm-cli-users-enable/ +raw: ${prefix}/cli/realm-cli-users-list -> ${base}/realm-cli/v2/realm-cli-users-list/ +raw: ${prefix}/cli/realm-cli-users-revoke -> ${base}/realm-cli/v2/realm-cli-users-revoke/ +raw: ${prefix}/cli/realm-cli-users -> ${base}/realm-cli/v2/realm-cli-users/ +raw: ${prefix}/cli/realm-cli-whoami -> ${base}/realm-cli/v2/realm-cli-whoami/ + +raw: ${prefix}/cli/realm-cli-reference-v1 -> ${base}/realm-cli/v1/ +raw: ${prefix}/cli/realm-cli-reference-v1/index -> ${base}/realm-cli/v1/ # Return to using tutorials instead of get started raw: ${prefix}/get-started -> ${base}/tutorials/