Skip to content

cdx.properties

Steve Cote edited this page Apr 23, 2017 · 1 revision

This is a file based configuration mechanism which allows you to load new system properties into the runtime environment. The operation of may components can be configured by setting system properties and this approach allows for a hierarchical approach for specifying and over-writing properties.

There are several components which are configured via system properties, at least initially. The Loader searches the following locations for a cdx.properties file:

  1. Class Path - The first instance of the cdx.properties file found on the class path.
  2. User's Home Directory - The home directory of the user running the Java runtime process
  3. User Defined Directory - what ever directory is specified in the cfg.dir system property
  4. Current Working Directory - The working directory for the Java runtime process

It is possible that each of these locations contain a cdx.properties file. if more than one file is found, subsequent loads will over-write the previous settings. This means any values found in the current working directory will over-write those found in the class path.

Proxy Settings

The cdx.properties file is a good location for setting proxy data.

  • http.proxyUser - user name to present to the proxy for authentication
  • http.proxyPassword - Password to present to the proxy for authentication
  • http.proxyHost - The hostname, or address, of the proxy server
  • http.proxyPort - The port number of the proxy server.
  • http.proxyDomain - use to define support for NTLM (Microsoft) proxy authentication.

Symbol Table

All system properties are loaded into the Symbol Table for use in the Template capability. It is therefore possible to specify data in configuration file (and on the command line with the -Dprefix) which can be used in many other parts of the toolkit.

Home

  1. Concepts
  2. Features
  3. Transform Engine
  4. Quick Start
  5. Configuration
  6. Secrets Vault
  7. Readers
  8. Writers
    • List of Writers
    • Custom Writers
  9. Filters
    • Accept
    • Reject
    • Custom Filters
  10. Tasks
    • List of Tasks
    • Custom Tasks
  11. Validators
    • List of Validators
    • Custom Validators
  12. Listeners
    • List of Listeners
    • Custom Listeners
  13. Transforms
    • List of Transforms
    • Custom Transforms
  14. Mappers
  15. Context
  16. Databases
  17. Templates
  18. Logging
  19. Encryption
  20. Usage
  21. Expressions
  22. Examples
Clone this wiki locally