Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1714

Allow to delete, revoke, recall inventory objects from dependencies

    XMLWordPrintable

Details

    Description

      Current Situation

      • JOC Cockpit allows to delete inventory objects individually or at folder level. Optionally recursive deletion is offered for folders.
      • Deletion of objects does not consider dependencies, for example
        • if a Workflow is removed then a related File Order Source remains in place and will fail.
        • if a Calendar is removed then the related Schedule remains in place.
        • if a Workflow is removed then the related Schedule remains in place.
      • For deployable objects such as Workflows, File Order Sources etc. the Controller checks dependencies and denies deletion. If the Controller is not available then objects are removed from the inventory resulting in an inconsistent status.

      Desired Behavior

      • JOC Cockpit offers the "remove" operation that is extended:
        • The operation recursively checks object dependencies and offers inventory objects that depend on the currently removed object to be deleted or to be revoked/recalled.
        • The GUI offers a popup window that displays related inventory objects that are offered for removal. The user can agree to remove objects or not to remove any object. If dependent objects are not removed then they will be revoked/recalled.
      • Related dependencies include:
        • Workflow -> File Order Source: delete both or delete Workflow and revoke File Order Source (keep invalid File Order Source)
        • Workflow -> Schedule: delete both or delete Workflow and recall Schedule (keep invalid Schedule)
        • Calendar -> Schedule: delete both or delete Calendar and recall Schedule (keep invalid Schedule)
        • Resource Lock -> Workflow: delete both or delete Resource Lock and revoke Workflow (keep invalid Workflow)
        • Notice Board -> Workflow: delete both or delete Notice Board and revoke Workflow (keep invalid Workflow)
        • Job Template -> Workflow: delete both or delete Job Template and revoke Workflow (keep invalid Workflow)
        • Script Include -> Workflow: delete both or delete Script Include and revoke Workflow (keep invalid Workflow)

      Maintainer Note
      The functionality is base on JOC-1850: if a Workflow is removed then the Dependencies API is called and the user is presented the list of objects that should be deleted or revoked/recalled.

      Attachments

        Issue Links

          Activity

            People

              ZtRahul193 Rahul Patidar
              ap Andreas PĆ¼schel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: