Skip to content

Commit 59343d1

Browse files
Merge pull request #1049 from oracle/alias-def-doc
Update alias definition documentation
2 parents c9eaca8 + cca4d35 commit 59343d1

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

documentation/2.0/content/developer/alias-definitions.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ No elements in the `domainInfo` section of the model are represented in the alia
2323

2424
This example, from the file `JDBCSystemResource.json`, will be used as a reference in the descriptions below:
2525

26-
```yaml
26+
```json
2727
{
2828
"copyright": "Copyright (c) 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.",
2929
"license": "Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl",
@@ -41,14 +41,14 @@ This example, from the file `JDBCSystemResource.json`, will be used as a referen
4141
"wlst_mode": "both",
4242
"wlst_name": "CapacityIncrement",
4343
"wlst_path": "WP001",
44-
"value": {"default": "${None:1}"},
44+
"default_value": "${__NULL__:1}",
4545
"wlst_type": "integer",
4646
"get_method": "LSA"} ],
4747
"ConnectionCreationRetryFrequencySeconds": [ {"version": "[10,)",
4848
"wlst_mode": "both",
4949
"wlst_name": "ConnectionCreationRetryFrequencySeconds",
5050
"wlst_path": "WP001",
51-
"value": {"default": "${None:0}"},
51+
"default_value": "${__NULL__:0}",
5252
"wlst_type": "integer",
5353
"get_method": "LSA"} ]
5454
},
@@ -145,11 +145,19 @@ This key element specifies the preferred data type that should be used to put da
145145

146146
This key element specifies the name of the path expression used for navigating to the MBean attribute's folder. This name maps to an entry in the parent folder's `"wlst_paths": { }` list.
147147

148-
#### `value`
148+
#### `default_value`
149+
150+
This key element specifies the default value of the MBean attribute. For example:
151+
152+
`"default_value": "text"`
153+
154+
`"default_value": 99`
155+
156+
`"default_value": null`
149157

150-
This key element is used to specify the default value of the MBean attribute. For example:
158+
`"default_value": "${__NULL__:1}"`
151159

152-
`"value": {"default": "${None:1}"}`
160+
The `__NULL__` key represents a `null` value when `"${a:b}"` notation is used to specify offline and online values.
153161

154162
#### `set_method`
155163

0 commit comments

Comments
 (0)