summaryrefslogtreecommitdiffstats
path: root/docs/sections/design-components/component-specification/configuration-grid.rst
blob: 3efb98509589c5864c2abb7c14b52b986b888cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Configuration Quick Reference
=============================

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’). 

+--------+--------+--------+--------+------------+
|        | Design\| CLAMP  | Policy | Deploy-Time|
|        | -Time  | Input  | Input  | Input      |
|        | Input  |        |        |            |
|        |        |        |        |            |
+========+========+========+========+============+
| Descri\| Applie\| Applie\| (not   | Applies to |
| ption  | s      | s      | yet    | manually   |
|        | to     | to     | suppor\| deployed   |
|        | self-s\| compon\| ted)   | services   |
|        | ervice | ents   |        |            |
|        | compon\| deploy\|        |            |
|        | ents   | ed     |        |            |
|        |        | by     |        |            |
|        |        | CLAMP  |        |            |
+--------+--------+--------+--------+------------+
| Input  | Servic\| CLAMP  | Operat\| DevOps     |
| provid\| e      |        | ions   |            |
| ed     | Designe|        |        |            |
| by     | r      |        |        |            |
+--------+--------+--------+--------+------------+
| How it | In the | In the | In the | In the DCAE|
| is     | SDC/MOD| CLAMP  | POLICY | Dashboard  |
| provid\| UI     | UI     | GUI    | (or Jenkins|
| ed     |        |        |        | job)       |
+--------+--------+--------+--------+------------+
| Compon\| ‘desig\| None.  | ‘polic\| ‘sourced\  |
| ent    | ner-ed\| Develo\| y_edit\| _at_deploy\|
| Specif\| itable\| per    | able’  | ment’ must |
| icatio\| ’      | provid\| must   | be set to  |
| n      | set to | es     | be set | ‘true’     |
| Detail\| ‘true’ | CLAMP  | to     |            |
| s      |        | an     | ‘true’ |            |
|        |        | email  | and    |            |
|        |        | with   | ‘polic\|            |
|        |        | parame\| y_sche\|            |
|        |        | ters   | ma’    |            |
|        |        | to be  | must   |            |
|        |        | suppor\| be     |            |
|        |        | ted    | provid\|            |
|        |        |        | ed     |            |
|        |        |        |        |            |
|        |        |        |        |            |
+--------+--------+--------+--------+------------+
| Additi\|        |        | For    |            |
| onal   |        |        | Docker |            |
| Info   |        |        | only:  |            |
| for    |        |        | In the |            |
| Compon\|        |        | auxili\|            |
| ent    |        |        | ary    |            |
| Develo\|        |        | sectio\|            |
| per    |        |        | n:     |            |
|        |        |        | {“poli\|            |
|        |        |        | cy”:   |            |
|        |        |        | {“trig\|            |
|        |        |        | ger_ty\|            |
|        |        |        | pe”:   |            |
|        |        |        | “polic\|            |
|        |        |        | y”,“sc\|            |
|        |        |        | ript_p\|            |
|        |        |        | ath”:  |            |
|        |        |        | “/opt/\|            |
|        |        |        | app/re\|            |
|        |        |        | config\|            |
|        |        |        | ure.sh |            |
|        |        |        | ”}     |            |
|        |        |        | }      |            |
|        |        |        | Script |            |
|        |        |        | interf\|            |
|        |        |        | ace    |            |
|        |        |        | would  |            |
|        |        |        | then   |            |
|        |        |        | be     |            |
|        |        |        | “/opt/\|            |
|        |        |        | app/re\|            |
|        |        |        | config\|            |
|        |        |        | ure.sh |            |
|        |        |        | ”      |            |
|        |        |        | $trigg\|            |
|        |        |        | er_typ\|            |
|        |        |        | e      |            |
|        |        |        | $updat\|            |
|        |        |        | ed_pol\|            |
|        |        |        | icy"   |            |
|        |        |        | where  |            |
|        |        |        | $updat\|            |
|        |        |        | ed_pol\|            |
|        |        |        | icy    |            |
|        |        |        | is     |            |
|        |        |        | json   |            |
|        |        |        | provid\|            |
|        |        |        | ed     |            |
|        |        |        | by the |            |
|        |        |        | Policy |            |
|        |        |        | Handle\|            |
|        |        |        | r.     |            |
+--------+--------+--------+--------+------------+