Details
-
Fix
-
Status: Released (View Workflow)
-
Blocker
-
Resolution: Fixed
-
2.0.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
- Settings->joc->encoding
- JITL-Jobs
- Usage of the system encoding provided with the Agent API for internal jobs (see
JS-1983).
- Usage of the system encoding provided with the Agent API for internal jobs (see
- JOC-Cockpit
- 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
- check the output result: [INFO][encoding]...
- Create a workflow with the following JITL job:
- 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
- check the output result: [DEBUG][command encoding]...
- Create a workflow with the following JITL job:
- Repeat the test with the timeout and charset arguments.