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

SOSShell has to support the active code page of windows systems and use of timeouts

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.3.0
    • None
    • None

    Description

      Current Situation

      • The SOSShell currently supports code page CP850 for windows systems.
      • The SOSShell does not support setting a timeout for command execution.

      Desired Behavior

      • The SOSShell has to support the currently active code page of the windows OS:
        • JOC-Cockpit
          • Auto detection.
          • Introducing a new JOC-Cockpit setting for JOC-Cockpit command executions (Monitoring, GIT, etc.) to use instead of the auto detection.
            • Settings->joc->encoding
              • default - not set
        • JITL-Jobs
          • Usage of the system encoding provided with the Agent API for internal jobs (see JS-1983).
      • The SOSShell has to support use of a timeout.

      Test Instructions

      • JOC-Cockpit
        • Create a workflow with the following JITL job:
          • Agent - use an Agent on Windows
          • ClassName=com.sos.jitl.jobs.examples.SOSShellJob
          • Arguments:
            • add a command argument, e.g.: command = echo 123
        • Deploy and run the new workflow.
        • Code page/Character Set test:
          • check the output result: [INFO][encoding]...
            • the value should be not equal UTF-8
      • JITL-Jobs
        • Create a workflow with the following JITL job:
          • Agent - use an Agent on Windows
          • ClassName=com.sos.jitl.jobs.db.oracle.SQLPLUSJob
          • Arguments:
            • db_url= <oracle connection url>
            • db_user= <oracle user>
            • db_password= <oracle password>
            • command =echo 123
            • log_level =DEBUG
        • Deploy and run the new workflow.
        • Code page/Character Set test:
          • check the output result: [DEBUG][command encoding]...
            • the value should be not equal UTF-8
      • Repeat the test with the timeout and charset arguments.

      Attachments

        Activity

          People

            re Robert Ehrlich
            sp Santiago Aucejo Petzoldt
            Divyani Rathore Divyani Rathore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: