Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-234

Support of delete tenant API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Firebird Sprint 121
    • Story Points:
      3
    • Development Team:
      Firebird

      Description

      Overview:
      When disable/purge mod-oai-pmh for a tenant, noticed database schema and roles were not removed. Please consider adding support of delete tenant API to be consistent with other modules.

      Steps to Reproduce:

      1. Disable mod-oai-pmh for a tenant with purge parameter true
      2. Check database and noticed schema and roles remain

      Expected Results:
      Database schema and roles are gone

      Actual Results:
      Database schema and roles remain

      Additional Information:
      Please refer RMB documentation and maybe use other module as an example
      https://github.com/folio-org/raml-module-builder#the-delete-tenant-api
      [https://github.com/folio-org/mod-orders-storage/blob/v11.0.3/descriptors/ModuleDescriptor-template.json#L457
      ]

      Note: need to review API tests and make sure they are up-to-date.

        TestRail: Results

          Attachments

          1. rancher_env_schemas_removed.PNG
            rancher_env_schemas_removed.PNG
            102 kB
          2. rancher_env.PNG
            rancher_env.PNG
            103 kB
          3. role_removed.PNG
            role_removed.PNG
            77 kB

            Issue Links

              Activity

                People

                Assignee:
                Harbuz Aliaksei Harbuz
                Reporter:
                hji Hongwei Ji
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases