Commit 1657e950 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

README.md minor update

parent 0772aa54
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ Cleanup logic lives in `cleanUp.feature` and `deleteAll.feature`, and is designe

* **`deleteAll.feature`**: Contains the low-level, single-resource delete scenarios (`@deleteOrganizationbyId`, `@deletePeeringbyId`, `@deleteFabricNetwork`, `@deleteRegistryImagebyId`, `@deleteRegistryPackagebyId`, `@deleteServicebyId`, `@deleteServiceOrder`, etc.). Each accepts the relevant id as a parameter and tolerates `404` (already deleted) as a pass, so cleanup is idempotent and safe to re-run.
* **`cleanUp.feature`**: Contains the higher-level workflows:
  * `@cleanupTerminate`: terminates any services currently `ACTIVE` or `FEASIBILITY_CHECKED` (both CFS and OSL-named services) before deletion is attempted, since a service generally can't be deleted while still active.
  * `@cleanupTerminate`: terminates any services currently `ACTIVE` or `FEASIBILITY_CHECKED` (both CFS and OSL-named services) before deletion is attempted.
  * `@cleanupAll`: loops over arrays of ids (organizations, peerings, network controllers, registry image/package secrets, services, orders) and deletes each one via `karate.forEach`, calling the matching `deleteAll.feature` scenario per item with a short sleep between calls.
  * `@clean-up-workflow`: the full, self-contained cleanup entry point: authenticates, fetches the current state of every resource type (`getOrganizations`, `getControllers`, `getPeerings`, `getRegistries`, `getAllServices`, `getAllCfsandOslServices`, `getAllServiceOrders`), then calls `@cleanupTerminate` followed by `@cleanupAll` with the resulting id arrays.