apache /
knox /
ce810ac229c9ce4d4439a3d8404e812d7bd6b648 KNOX-2365 - Knox parses shared provider configuration from Hadoop XML type configuration files (#330)
Main changes in this commit:
- implemented a language that Knox understands when parsing shared provider configuration(s) in Haddop XML type descriptors
- XML/JSON provider configurations are moved out to their own classes from ProviderConfigurationParser
- XML/JSON provider configuration classes implement hashCode/equals properly
- XML/JSON provider classes implement Comparable (based on a predefined provider order) as well as fixing the order of fields and alphabetical order withing parameters when serializing
- changed the separator in Hadoop XML type descriptors from semicolon (;) to hash (#) to conform new requirements
- shared providers that are generated using this framework are read-only on Admimn UI
- end-users can modify/remove any parameters in a provider w/o touching others
22 files changed