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

Bulk removal operation for workflows and schedules violates JSON Schema

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.7.2
    • 2.7.3
    • JOC Cockpit GUI
    • None

    Description

      Current Situation

      • Configuration View
      • Bulk removal operation for workflows and schedules

      When trying to remove workflows or schedules with the bulk removal operation that is provided in the list of workflows/schedules, an error message is displayed and the dependencies are not displayed correctly

       

      2024-12-06T11:16:55,533 INFO qtp1904324159-47086 c.s.j.c.JOCDefaultResponse - 
      REQUEST: ./inventory/dependencies
      PARAMS: {"configurations":[{}],"operationType":"REMOVE"}
      USER: root
      2024-12-06T11:16:55,533 ERROR qtp1904324159-47086 c.s.j.c.JOCDefaultResponse - com.sos.schema.exception.SOSJsonSchemaException: $.configurations[0].name: is missing but it is required or $.configurations[0].type: is missing but it is required
      com.sos.schema.exception.SOSJsonSchemaException: $.configurations[0].name: is missing but it is required or $.configurations[0].type: is missing but it is required
      at com.sos.schema.JsonValidator.validate(JsonValidator.java:570) ~[sos-raml-2.7.2.jar:?]
      at com.sos.schema.JsonValidator.validate(JsonValidator.java:426) ~[sos-raml-2.7.2.jar:?]
      

       

      The error is thrown with the endpoint /api/inventory/dependencies  and the payload

      {"configurations":[{}],"operationType":"REMOVE"}

       

      How to reproduce

      • Open a workflow folder that contains more than 1 workflow
      • Select all workflows in the displayed list
      • Click the remove button.

      Desired Behaviour

      The bulk removal operation should work without violating the JSON Schema.

      Attachments

        Activity

          People

            ZtRahul193 Rahul Patidar
            ur Uwe Risse
            Pramokshi Narawariya Pramokshi Narawariya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: