Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.7.0
-
Component/s: None
-
Labels:None
-
Acceptance Test - Add?:No
Description
Define rule to permit plugins to overwrite spark properties values
Spark defines values like: Login Page image, background, Application name etc in
spark.properties or default.properties
By this task it should be allowed to overwrite such properties from plugin
Issue Links
- is related to
-
SPARK-1312
Load plugins before Login page and workspace are initialized
-
The attached patch contains:
-improved Spark Resources management: SparkRes.java and Default.java
by adding a new SparkPropertyResourceBundle as a wrapper around resource bundles
instances from SparkRes or Default
When a property value is retrieved, first is looked in a specific plugin location.
If not found it falls back to the Spark default property value
You simply add spark.properties and default.properties with keys/values you want overwritten by plugin
inside plugin's .jar archive file
NOTE: this patch needs
SPARK-1312attached patchPlease review
Thanks