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

Notification Configuration - MailFragment support for use of multiple job resources is broken

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.2.2
    • None
    • None

    Description

      Current Situation

      • As explained with the¬†JS7 - Notifications - Configuration Element MailFragment¬†article the attribute job_resources should accept a list of JS7 - Job Resources that specify mail server connection settings.
      • This does not work:
        • GUI - the MailFragment accepts a single job resource only.
        • Monitor Service - does not properly resolve the sequence of job resource assignments.

      Desired Behavior

      • The handling of a number of job resources should work fine.
      • The sequence of assignments is relevant as variables with the same name are not overwritten in the order of the first to the last assignment.

      Test Instructions

      • Configuration->Inventory
        • create a job_resource e.g. mail with the mail settings.
          • set the from_name argument to from mail job resource
        • create a job_resource e.g. mail_copy as a copy the mail job resource.
          • set the from_name argument to from mail_copy job resource
        • Deploy this job resources
      • Configuration->Notification
        • assign the job resources to a MailFragment job_resources attribute:
          • use ordering: job_resources mail mail_copy
            • Release this configuration and run a workflow order
            • Check From of the recieved mail - it should be from mail job resource
          • use ordering: job_resources mail_copy mail
            • Release this configuration and run a workflow order
            • Check From of the recieved mail - it should be from mail_copy job resource

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: