summaryrefslogtreecommitdiffstats
path: root/platformdoc/docs/components/component-specification/configuration-grid.md
diff options
context:
space:
mode:
Diffstat (limited to 'platformdoc/docs/components/component-specification/configuration-grid.md')
-rw-r--r--platformdoc/docs/components/component-specification/configuration-grid.md26
1 files changed, 16 insertions, 10 deletions
diff --git a/platformdoc/docs/components/component-specification/configuration-grid.md b/platformdoc/docs/components/component-specification/configuration-grid.md
index e9054593..e1154218 100644
--- a/platformdoc/docs/components/component-specification/configuration-grid.md
+++ b/platformdoc/docs/components/component-specification/configuration-grid.md
@@ -1,13 +1,19 @@
# Configuration Quick Reference
-The following types of configuration are supported by the DCAE Platform.
-
-|Input Sources|Default Values|Designer Input |Clamp Input|Policy Input|Runtime Input|
-|---------|---------|----------|---------|----------|---|
-|Notes||This applies only to components that are self-service (supported by SDC) |This applies only to components that are part of a closed-loop interface || |
-|Who provides?|Component Developer|Service Designer|CLAMP|Operations|Runtime Platform|
-| When/Where it is provided |During onboarding – in the component specification | At design time – in the SDC UI | At installation – in the CLAMP UI | Anytime – in the POLICY GUI | When the component is deployed |
-|Component Specification Details|For CDAP:<br> ‘value’ Name and KV pairs in AppConfig or AppPreferences For Docker:<br> ‘value’ is provided for variable in ‘parameter’ section|‘designer-editable’ must be set to ‘true’ for variable in ‘parameter’ section. || ‘policy-editable’ must be set to ‘true’ and ‘policy_schema’ must be provided for variable in ‘parameter’ section |'sourced_at_<br>deployment' must be set to 'true' for variable in 'parameter' section |
-| How it is used | This is passed to the component in the generated configuration if not overridden.|This overrides any values previously set, but can be overridden by CLAMP or POLICY.|This overrides any values previously set, but can be overridden by POLICY.|This overrides any values previously set, but can be overridden at any point thereafter.|This overrides any values previously set, but can be overridden at any point thereafter by Policy. |
-| Additional Info for Component Developer|For CDAP:<br> ‘value’ is provided for variable in the ‘AppConfig’ or ‘AppPreferences’ sections<br><br> For Docker:<br> ‘value’ is provided for variable in ‘parameter’ section|||For Docker: In the auxiliary section:<br> {"policy": {"trigger_type": "policy","script_path": “/opt/app/reconfigure.sh”} }<br> Script interface must be "opt/app/reconfigure.sh” $trigger_type $updated_policies $updated_appl_config" <br> where $updated_policies is a json provided by the Policy Handler and <br> $update_appl_config is the post-merged appl config which may contain unresolved configuration that didn’t come from policy.<br> Suggestion is for script to call CONFIG BINDING SERVICE to resolve any configuration. |
+#### Default Values
+
+The component developer can provide default values for any `parameter` in the component specification. These defaults will be passed to the component in its generated configuration.
+
+#### Overridden/Entered Values
+
+Depending on the other properties set for the parameter, the default value can be overridden at 'design-time', 'deploy-time' or once the microservice is running ('run-time').
+(*In the future, when Policy is supported, configuration will also be able to be provided/changed in the Policy UI at any time).*
+
+||Design-Time Input |CLAMP Input|Policy Input (future) |Deploy-Time Input|Run-Time Input (DTI)|
+|-----|-----|-----|-----|----------|----------|
+|Description|Applies to SDC self-service components|Applies to components deployed by CLAMP |(not yet supported)|Applies to manually deployed services| Applies to components supporting DTI reconfiguration|
+|Input provided by|Service Designer|CLAMP|Operations|DevOps|Runtime Platform(DTI)|
+|How it is provided |In the SDC UI |In the CLAMP UI |In the POLICY GUI |In the DCAE Dashboard (or Jenkins job)|In the DTI Event
+|Component Specification Details|‘designer-editable’ set to ‘true’| None. Developer provides CLAMP an email with parameters to be supported|‘policy_editable’ must be set to ‘true’ and ‘policy_schema’ must be provided|'sourced_at_<br>deployment' must be set to 'true'|parameter 'dcae_target_type' defined with default value set to supported vnfType-vnfFuncId, with properties 'designer_editable' and 'sourced_at_deployment' set appropriately|
+|Additional Info for Component Developer|||For Docker only: In the auxiliary section:<br> {"policy": {"trigger_type": "policy","script_path": “/opt/app/reconfigure.sh”} }<br> Script interface would then be "/opt/app/reconfigure.sh” $trigger_type $updated_policy" <br> where $updated_policy is json provided by the Policy Handler.||For Docker only: In the auxiliary section:<br> {"dti": “/opt/app/reconfigure.sh”} <br> Script interface would then be "/opt/app/reconfigure.sh” $trigger_type $updated_dti" <br> where $updated_dti is json provided by the DTI Plugin.|