You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attributes and sub-folders for resources:/JDBCSystemResource
16
+
17
+
resources:
18
+
JDBCSystemResource:
19
+
'JDBC-1':
20
+
CompatibilityName: # string
21
+
DeploymentOrder: # integer
22
+
DeploymentPrincipalName: # string
23
+
DescriptorFileName: # string
24
+
ModuleType: # string
25
+
Notes: # string
26
+
SourcePath: # string
27
+
Target: # delimited_string
28
+
29
+
JdbcResource:
30
+
# see /JDBCSystemResource/JdbcResource
31
+
32
+
SubDeployment:
33
+
'SubDeployment-1':
34
+
# see /JDBCSystemResource/SubDeployment
35
+
```
36
+
This output shows the eight attributes and two sub-folders available for the `JDBCSystemResource` folder in the `resources` section of the model. Each attribute includes a comment describing the type of the value to be added.
37
+
38
+
Folders that support multiple instances, such as `JDBCSystemResource` in this example, are shown with a derived name, such as `'JDBC-1'`.
39
+
40
+
Each sub-folder includes a comment with a model path that can be used to display additional information about that sub-folder. For example, to determine the attributes and sub-folders for `'SubDeployment-1'`, the Model Help Tool could be re-invoked with the model path from the comment:
This result lists the attributes and folders available for the `JDBCSystemResource` folder in the `resources` section of the model. You can use this information to construct this model section:
44
+
You can use the information above to construct this model section:
30
45
```yaml
31
46
resources:
32
47
JDBCSystemResource:
33
48
CompatibilityName: 'myName'
34
49
DeploymentOrder: 5
35
50
Target: 'ms1,ms2'
36
-
JdbcSystemResource:
51
+
'JDBC-1':
37
52
# JdbcSystemResource attributes and folders
38
53
SubDeployment:
39
54
deployment1:
40
55
# SubDeployment attributes and folders
41
56
deployment2:
42
57
# SubDeployment attributes and folders
43
58
```
44
-
The `(multiple)` notation on the `SubDeployment` folder indicates that it should have one or more named sub-folders containing its attributes and sub-folders.
59
+
If you are copying elements from the sample model to create a full domain model, you should exclude any attributes or sub-folders that you do not intend to declare or override.
45
60
46
61
### Path Patterns
47
62
There are a number of ways to specify model location in the path argument. Here are some examples:
@@ -73,68 +88,33 @@ There are several command-line options that you can use to control the output te
73
88
When the top sections are listed using the path ```top```, any output options are ignored.
74
89
75
90
#### ```-attributes_only```
76
-
This option will list only the attributes for the specified path. If there are no attributes, then the section heading will appear with an empty list.
91
+
This option will list only the attributes for the specified path.
77
92
78
93
#### ```-folders_only```
79
-
This option will list only the immediate sub-folders for the specified path. If there are no sub-folders, then the section heading will appear with an empty list.
94
+
This option will list only the immediate sub-folders for the specified path.
80
95
81
96
#### ```-recursive```
82
-
This option will recursively list all the sub-folders within the specified path. No attributes are listed. If there are no sub-folders, then the section heading will appear with an empty list.
97
+
This option will recursively list all the sub-folders within the specified path. No attributes are listed.
Filtering output to recursively display the sub-folders of the specified model section or path
91
-
92
-
Path: resources:/JDBCSystemResource
93
-
94
-
Valid Folders:
95
-
JdbcResource
96
-
JDBCConnectionPoolParams
97
-
JDBCDataSourceParams
98
-
JDBCDriverParams
99
-
Properties (multiple)
100
-
JDBCOracleParams
101
-
JDBCXAParams
102
-
SubDeployment (multiple)
103
-
```
104
-
105
-
### Model Sample Output
106
-
You can use the `-model_sample` argument to output a model sample for the specified model path. Depending on the output options specified, this argument will create a sample with the available attributes and sub-folders for the specified path.
107
-
108
-
If you are copying elements from the sample model to create a full domain model, you should exclude any attributes or sub-folders that you do not intend to declare or override.
105
+
Recursive sub-folders only for resources:/JDBCSystemResource
109
106
110
-
Here is an example using the `-model_sample` argument:
This output shows the eight attributes and two sub-folders available for the model path. Each attribute includes a comment describing the type of the value to be added.
136
-
137
-
Each sub-folder includes a comment with a model path that can be used to display additional information about that sub-folder. For example, to determine the attributes and sub-folders for `'SubDeployment-1'`, the Model Help Tool could be re-invoked with the model path from the comment:
0 commit comments