GoodData CL Architecture
The GoodData CL framework. The framework wraps various GoodData HTTP APIs (authentication, provisioning, modeling, and dat loading) in convenient Java methods. Here is a simple diagram of the GoodData CL Framework:
The framework contains following components:
- CLI the command line interface that processes a simple commands like
TransferLastSnapshotetc. by translating them to the Connector function calls. The CLI also implements few generic commands (e.g.
- extract data from a particular source.
- generate an appropriate MAQL DDL script
- create a project's Logical Data Model (LDM) via executing the MAQL DDL script
- transform (normalize) the input data to fit the Data Loading Interfaces that have been generated from the MAQL DDL
- package and transfer the data to the GoodData project.
GdcRESTApiWrapper that is a communication stub that wraps the GoodData HTTP API in Java. This class de-facto translates the Java calls to the invocations of the GoodData HTTP API. The GdcRESTApiWrapper returns few info structures that describe the GoodData project, Data Loading Interface (DLI), DLI parts etc.
- GdcFTPApiWrapper that is a communication stub that wraps the GoodData FTP API in Java. This class takes care of the transfer of the data package to a secure private space on GoodData servers.
- Connector Backend performs the data transformation. The backend is implemented in the Derby SQL (embedded, low performance) and MySQL (needs installation, improves performance) databases. The connector backends transform the incoming data to the 3NF
- MAQLGenerator generates the MAQL DDL script that creates the GoodData LDM