[CDF-238]: Reviewed build process for CPK master
[CDF-238]: Reviewed build process for CPK master
[SERVDEV-21] Moved data source metada classes from cpk-pentaho-base to cpk-core
[SERVDEV-21]
- Promoted pluginId property from CpkDataSourceMetadata to DataSourceMetadata
- Moved json annotations from fields to getters
- Small code refactor to allow setting pluginId after CpkDataSourceMetadata construction
[SERVDEV-21]
- Added getMetadata method to IElement
- Implemented getMetadata in KettleJobElement and KettleTransformationElement. DashboardElement at the moment returns null Metadata.
- Refactored cpkApi.sanitizePluginId function for better code abstraction and readability
[SERVDEV-21]
- Elements now know if they are DataSources or not through the use of isDatasource() method
- CpkApi.listDataAccessTypes now uses isDatasource() instead of class type for identifying which cpkEngine elements are dataAccessTypes
- Moved duplicated inferResult functionality from KettleTransformationElement and KettleJobElement into a new base class KettleElement
- Refactored *KettleOutput constructors to receive more understandable information instead of bloatedMap. The *KettleOutput dependency on HttpServeletResponse should be removed eventually.
[SERVDEV-21]
- Added KettleOutputTypes to KettleElements metadata
[SERVDEV-21]
- Added kettleStepNames setter to KettleElementMetadata.
- Minor code cleanup.
[SERVDEV-21]
- Added kettleStepNames to KettleTransformationElement metadata.
[SERVDEV-21]
- Moved remaining DataSource classes from cpk-pentaho-base to cpk-core
[SERVDEV-21]
- Changed the way IElements expose their DataSources. Instead of using isDataSource(), elements that have an associated datasource should implement IDatasource interface. This is reflected in the CpkAPI.listDataAccessTypes(...) method that now searches for elements that implement this interface.
[SERVDEV-21]
- Added a datasource definition class for KettleElements where the output step name and output type are defined.
- Refactored DataSourceDefinition in order to add more structure to the DataAccess and Connection Parameters.
- Code cleanup at KettleTransformationElement class.
[SERVDEV-21] [CLEANUP]
- Applied Pentaho code style and added copyright headers.
[SERVDEV-21]
- Removed kettle output types from kettle metadata.
- Minor refactoring.
[SERVDEV-21]
- Refactored to use new logger class.
[SERVDEV-21]
- Corrected bug on KettleTransformationElement that prevented the output to be properly processed when it was explicitly set to output type ResultFiles.
- Refactored KettleTransformationElement.processRequest into two functions to to improve separation of concerns between httpRequest parameter parsing and business logic.
[SERVDEV-21]
- Major refactor of KettleOutput classes to use inclusion polymorphism and improve code readability and maintainability.
[SERVDEV-21]
- Removed IMetadata interface. Back to using DataSourceMetadata for simplicity.
[SERVDEV-21]
- Added KettleElementDefinition to the DataSource associated with a KettleJobElement.
- Renamed KettleElementDefinition property names to match other similar references.
[CLEANUP]
- Updated copyright header year.
- Removed unused imports.
- Removed commented code.