/
Deployment Guidelines

Deployment Guidelines

DDF relies on theĀ Directory Permissions of the host platform to protect the integrity of the DDF during operation. System administrators should take the following steps for deploying bundles added to the DDF.

  • Prior to allowing an hot deployment, check the available storage space on the system to ensure the deployment will not exceed the available space.
  • The maximum storage can be set on the DDF_HOME/deploy and DDF_HOME/system directories to restrict the amount of space used by deployments.
  • Do not assume the deployment is from a trusted source, verify its origination.
  • Verify from the source that it is required for deployment on DDF to prevent unnecessary/vulnerable deployments.

Endpoint Schema Validation

SOAP Web Services may have WSDL validation enabled. This step is to ensure that the bundle has WSDL schema validation enabled. These instructions assume the implementation made use of the Spring beans model. All DDF endpoint bundles follow this model.

  1. Prior to deploying a bundle/feature verify the schema validation if it is a DDF Endpoint.

  2. Modify the beans.xmlfile
    1. In a terminal (create one if necessary) change directory to the feature directory under the DDF installation directory.

      cd DDF_HOME/system/com/lmco/ddf/endpoint-bundle.jar
      
    2. Unzip the endpoint-bundle.jar

      unzip endpoint-bundle.jar
      
    3. Change directory to the beans.xml file.

      cd META-INF/spring 
    4. Open the beans.xml file in an editor (e.g., vi)
    5. Search for schema-validation-enabled and change its value to true

      <entry key="schema-validation-enabled" value="true"/>
    6. Save and close the file.
    7. Change directory to the feature directory,

       cd ../.. 
  3. Recreate the jar file (use zip or another archive tool)

    zip endpoint-bundle.jar *
  4. Re-install the feature
    1. Go into the browser and into the DDF Web Console,
    2. Click on the install button for the feature.

Schema validation is now enabled for the endpoint.