Skip to content

Commit 9e16f49

Browse files
Merge pull request #120 from icefoganalytics/issue-119/remove-destructive-qa-scenario-code
Remove Destructive QA Scenario Code
2 parents 0eb01ff + 9a1a094 commit 9e16f49

File tree

6 files changed

+0
-253
lines changed

6 files changed

+0
-253
lines changed

api/src/controllers/qa-scenarios/add-random-access-requests-controller.ts

Lines changed: 0 additions & 124 deletions
This file was deleted.

api/src/controllers/qa-scenarios/apply-random-access-grants-controller.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
export { LinkRandomTagsController } from "./link-random-tags-controller"
2-
export { ApplyRandomAccessGrantsController } from "./apply-random-access-grants-controller"
3-
export { AddRandomAccessRequestsController } from "./add-random-access-requests-controller"
41
export { CycleUserRoleTypeController } from "./cycle-user-role-type-controller"

api/src/controllers/qa-scenarios/link-random-tags-controller.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

api/src/router.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,6 @@ router
154154
.patch(VisualizationControlsController.update)
155155

156156
// TODO: might want to lock these to only run in non-production environments?
157-
router.route("/api/qa-scenarios/link-random-tags").post(QaScenarios.LinkRandomTagsController.create)
158-
router
159-
.route("/api/qa-scenarios/apply-random-access-grants")
160-
.post(QaScenarios.ApplyRandomAccessGrantsController.create)
161-
router
162-
.route("/api/qa-scenarios/add-random-access-requests")
163-
.post(QaScenarios.AddRandomAccessRequestsController.create)
164157
router
165158
.route("/api/qa-scenarios/cycle-user-role-type")
166159
.post(QaScenarios.CycleUserRoleTypeController.create)

web/src/components/qa-scenarios/QaScenariosCard.vue

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,6 @@ const nextRoleType = computed<RoleTypes | null>(() => {
6666
})
6767
6868
const scenarios = computed<Scenario[]>(() => [
69-
{
70-
url: "/api/qa-scenarios/link-random-tags",
71-
label: "Link Random Tags",
72-
},
73-
{
74-
url: "/api/qa-scenarios/apply-random-access-grants",
75-
label: "Apply Random Access Grants",
76-
},
77-
{
78-
url: "/api/qa-scenarios/add-random-access-requests",
79-
label: "Add Random Subscriptions (Access Requests)",
80-
},
8169
{
8270
url: "/api/qa-scenarios/cycle-user-role-type",
8371
label: `Cycle User Type From "${currentRoleType.value || "..."}" To "${

0 commit comments

Comments
 (0)