Details
-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
All
-
GreenHopper Ranking:0|i0u83f:
-
9223372036854775807
-
Small
Description
This situation happens when creating a set of ComponentProperties when configuring an instance of component, and this new component is based on existing ComponentProperties from a repository. For example, creating a tSalesforceInput component from the SalesforceConnectionProperties in the repository.
The ComponentDefinition/ComponentService method to create the ComponentProperties given a component name should have another method that will accept the existing properties. It's then up to the ComponentProperties implementation how to create the new properties based on the given properties, and also to do any refresh as necessary.
To ComponentService add:
ComponentProperties getComponentProperties(String componentName, ComponentProperties properties)
to ComponentProperties add (something like):
protected void setupFromProperties(ComponentProperties properties)