Problem

The JOC Cockpit offers JS7 - File Transfer Deployment, i.e. the capability to deploy YADE XML configurations to Agents using JS7 - Job Resources.
The following XML Element in the File Transfer sub-view of JOC Cockpit's Configuration view might not be visible to users:

  • The tree in the left hand panel holds the top-level Configurations element. The action menu of this element allows the addition of a JobResource child element.

Analysis

YADE configurations are managed from the Configuration->File Transfer sub-view of JOC Cockpit.

  • The YADE configuration format is XML. The JOC Cockpit offers an XSD schema-aware XML Editor for configuration purposes.
  • The XSD Schema file is added by the JOC Cockpit installer. 

    • When using JS7 - JOC Cockpit Installation for Containers then the JOC Cockpit setup is not executed as JOC Cockpit ships preinstalled with the container image.
    • For container images the file is included with the image's file system.
  • If users have previously created their own volumes from earlier JOC Cockpit releases which included a previous version of the XSD Schema then the JETTY_BASE/resources/joc/xsd/yade/YADE_configuration_v1.12.xsd file might be missing or outdated. In fact the correct version of the file is included with the image but is not visible when an existing volume is mounted to the JETTY_BASE/resources/joc directory.
    • This problem is limited to use of volumes with containers.
    • This problem does not occur when installing JOC Cockpit on premises.

Solution

Download the XSD Schema from the indicated link and store the file to JETTY_BASE/resources/joc/xsd/yade/YADE_configuration_v1.12.xsd