Distributed Data Framework - an open source, modular integration framework.
Java JavaScript HTML CSS Groovy XSLT
Latest commit f651f13 Feb 22, 2017 @andrewkfiedler andrewkfiedler committed on GitHub DDF-2785 Prevents duplicate points from being added onto the ends of …
…polygons (#1661)

- Polygons are meant to be a closed shape, so we were adding on the beginning point to the end.  However, we didn't check to see if we had already done so in the past.


Distributed Data Framework (DDF)

Join the chat at https://gitter.im/codice/ddf Coverity Scan Build Status CLA assistant

Distributed Data Framework (DDF) is an open source, modular integration framework.


  • Standardization
    • Building on established Free and Open Source Software (FOSS) and open standards avoids vendor lock-in
  • Extensibility
    • Capabilities can be extended by developing and sharing new features
    • Built on top of Apache Karaf for OSGi support
    • Apache Camel and Apache CXF integration
  • Flexibility
    • Only features required can be deployed
  • Federated Open Geospatial Consortium (OGC) filter powered metadata catalog
    • Enterprise Service Bus (ESB) performs transformation between query standards
    • Apache Solr integration
      • Well Known Text (WKT) indexing and search for spatial awareness
      • Full text search
      • XPath searches
      • XML indexing
    • Open Geospatial Consortium (OGC) KML, CSW, and WFS federated services
    • OpenSearch federated services
    • REST API for catalog operations
    • Integrated content framework to store actual products associated with the indexed metadata
    • Tika parser for extracting metadata from common file formats (Office, PDF, etc)
    • Plugin support for pre and post processing on all operations
    • Eventing for notifications
    • Metrics
  • Security
    • Web Service Security (WSS) functionality that comes with DDF is integrated throughout the system
      • SAML 2.0 Web Browser SSO Profile with included IdP server and client
      • SAML ECP Profile
      • SAML Security Token Service (STS) based on WS-Trust
      • Automatic protection and Single Sign On (SSO) for web applications without modifying the application itself
      • Extensible PDP with XACML 3.0 support for authorization decisions
      • LDAP integration
        • Included OSGi enabled OpenDJ LDAP server
      • CAS integration
      • X.509 authentication
      • Basic authentication
      • SAML authentication
      • Guest login support
      • Multiple realm login support to mix and match different authentication types and services between endpoints
      • WS-Security, WS-SecurityPolicy, WS-Policy, WS-Trust, WS-SecureConversation, WS-Addressing
    • Provides a pluggable and extensible Security Framework (a set of APIs that define the integration with the DDF framework)
    • Provides Security Service reference implementations for a realistic end-to-end use case.
    • Role and Attribute based access control
    • Attribute based filtering for searches performed throughout the system
    • Federated identity through metadata catalog
  • Search user interface
    • 3D WebGL map based on Cesium
    • 2D map based on OpenLayers 3
    • USNG/MGRS grid support
    • GeoNames geocoder integrated into both maps
    • CometD integration for push notifications
    • Upload and edit capability
    • Saved workspaces (searches and metadata artifacts)
  • Admin Web user interface
    • Web based install wizard
    • Application grid to organize configurations
    • Pluggable configuration pages for applications to simplify configurations for complex scenarios
    • Metrics web application to view up to date system metrics
  • Simplicity of installation and operation
    • Unzip and run
    • Configuration and Installation via a modern Admin Web console
  • Simplicity of Development
    • Build simple Java Objects and wire them in via a choice of dependency injection frameworks
    • Make use of widely available documentation and components for DDF's underlying technologies
    • Modular development supports multi-organizational and multi-regional teams


What you need

  • Install J2SE 8 SDK.
  • Make sure that your JAVA_HOME environment variable is set to the newly installed JDK location, and that your PATH includes %JAVA_HOME%\bin (Windows) or $JAVA_HOME$/bin (*NIX).
  • Install Maven 3.1.0 (or later). Make sure that your PATH includes the MVN_HOME/bin directory.
  • Set the MAVEN_OPTS variable with the appropriate memory settings
  • The DDF Eclipse Code Formatter - ddf-eclipse-code-formatter.xml

How to build

In order to run through a full build, be sure to have a clone for the ddf repository and optionally the ddf-support repository (NOTE: daily snapshots are deployed so downloading and building each repo may not be necessary since those artifacts will be retrieved.):

git clone git://github.com/codice/ddf.git
git clone git://github.com/codice/ddf-support.git (Optional)

Change to the root directory of the cloned ddf repository. Run the following command:

mvn install

This will compile DDF and run all of the tests in the DDF source distribution. It usually takes some time for maven to download required dependencies in the first build. The distribution will be available under "distribution/ddf/target" directory.

How to build using multiple threads (currently not usable on Windows)

To build DDF using the parallel builds feature of maven, Run the following command:

mvn install -T 8 -P\!documentation

Which tells maven to use 8 threads when building DDF. You can manually adjust the thread count to suit your machine, or use a relative thread count to the number of cores present on your machine by running the following command:

mvn install -T 1.5C -P\!documentation

Which will use 6 threads if your machine has 4 cores.

NOTE: documentation must be disabled because it currently cannot be consistently built in parallel.

How to Run

  • Unzip the distribution.
  • Run the executable at /bin/ddf.bat or /bin/ddf

Additional information

The wiki is the right place to find any documentation about DDF.

Discussions can be found on the Announcements forum, Users forum, and Developers forum.

For a DDF binary distribution, please read the release notes on the wiki for a list of supported and unsupported features.

If you find any issues with DDF, please submit reports with JIRA.

For information on contributing to DDF see Contributing to Codice.

The DDF Website also contains additional information at http://ddf.codice.org.

Many thanks for using DDF.

-- The Codice DDF Development Team

Copyright / License

Copyright (c) Codice Foundation

This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License is distributed along with this program and can be found at http://www.gnu.org/licenses/lgpl.html.