Skip to content

Commit 10c31f4

Browse files
robertpatrickjshum2479rosemarymaranorakillen
authored
WDT 3.0 Doc Updates (#1340)
* updating docs for WDT-689 * updating docs for WDT-706 * for remote online update doc changes * update for -remote option * update Slack URL * Move RCU doc (#1363) * Move RCU doc * update the description * Update RNs (#1364) Update RNs and move previously existing RN content. * start on 3.0 release notes so far * adding deprecation logging to the 3.0 release notes * Documentation for verrazzano section of model * Update Model Help Tool (#1373) * Add doc for archive helper (#1372) * updating release notes * updating 3.0 rel;ease notes with changes up to yesterday * minor edit * completing release notes for WDT 3.0 * fixing typo * fixing previous error * another typo --------- Co-authored-by: Johnny Shum <[email protected]> Co-authored-by: Rosemary Marano <[email protected]> Co-authored-by: Richard Killen <[email protected]>
1 parent f5ee0e0 commit 10c31f4

File tree

295 files changed

+458
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+458
-104
lines changed
File renamed without changes.

documentation/2.0/content/concepts/model.md renamed to documentation/3.0/content/concepts/model.md

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ weight: 1
1515
- [Model semantics](#model-semantics)
1616
- [Declaring named MBeans to delete](#declaring-named-mbeans-to-delete)
1717
- [Using multiple models](#using-multiple-models)
18+
- [Upgrading from WDT 1.x to WDT 2.x YAML files](#upgrading-from-wdt-1x-to-wdt-2x-yaml-files)
1819

1920
### Overview
2021

@@ -264,7 +265,7 @@ In addition to deleting named mbeans, you can remove items from a list. Most pra
264265
JMSSystemResource:
265266
BPMJMSModule:
266267
Target: soa_cluster,'!AdminServer'
267-
268+
268269
```
269270
In this example, the BPMJMSModule has the AdminServer target removed from the target list.
270271

@@ -360,3 +361,53 @@ topology:
360361
ListenPort: 7000
361362
Notes: Server 1
362363
```
364+
365+
### Upgrading from WDT 1.x to WDT 2.x YAML files
366+
367+
Beginning in 2.0, WebLogic Deploy Tooling now incorporates the SnakeYAML parser for reading and writing model files.
368+
This may require some changes to existing models in order to be parsed correctly.
369+
- Model elements that use [delete notation]({{< relref "/concepts/model#declaring-named-mbeans-to-delete" >}}) need to be escaped in single or double quotation marks.
370+
```yaml
371+
topology:
372+
    Server:
373+
        '!ms1':
374+
        ms2:
375+
```
376+
377+
378+
- Model elements under the same parent should be indented to the exact same level. The previous YAML parser did not enforce this restriction,
379+
but it is standard for YAML. In this example, each cluster is indented four spaces.
380+
```yaml
381+
topology:
382+
    Cluster:
383+
        cluster1:
384+
            ClientCertProxyEnabled: True
385+
        cluster2:
386+
            WeblogicPluginEnabled: true
387+
```
388+
389+
390+
391+
- Object lists in the `kubernetes` section of the model now should be specified in a hyphenated list format,
392+
similar to how they appear in the domain resource file produced for [WebLogic Kubernetes Operator](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-resource/).
393+
394+
```yaml
395+
    clusters:
396+
    - clusterName: 'cluster1'
397+
      allowReplicasBelowMinDynClusterSize: true
398+
    - clusterName: 'cluster2'
399+
      allowReplicasBelowMinDynClusterSize: true
400+
```
401+
402+
- The "named object list" format is deprecated now, and will cause warning messages to be displayed.
403+
```yaml
404+
    clusters:
405+
      'cluster1':
406+
        allowReplicasBelowMinDynClusterSize: true
407+
      'cluster2':
408+
        allowReplicasBelowMinDynClusterSize: true
409+
```
410+
411+
412+
- The deprecated argument `-model_sample` has been removed from the Model Help Tool.
413+
The Model Help Tool has used model sample format, by default, since release 1.9.2.

documentation/2.0/content/developer/alias-definitions.md renamed to documentation/3.0/content/developer/alias-definitions.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,13 @@ This key element specifies which method should be used for retrieving the value
136136

137137
#### `access`
138138

139-
By default, an attribute is read write in both WLST and MODEL. This element is used to set an attribute to read-only. The two read-only attributes are `RO` and `ROD`. The latter indicates that the attribute is read-only and will not be written into the domain. However, it will be discovered by the Discover Domain Tool into the model.
139+
By default, an attribute is read write in both WLST and MODEL. This element is used to set an attribute to read-only
140+
or ignored. The two attribute values are:
141+
142+
- `RO` indicates that the attribute is read-only and will not be written into the domain; however, it will be
143+
discovered and written into the model by the Discover Domain Tool.
144+
- `IGNORED` indicates that the attribute is both known and tolerated in the model but is never discovered or written
145+
into the domain.
140146
#### `preferred_model_type`
141147

142148
This key element specifies the preferred data type that should be used to put data in the model during discovery. As an example, list values can be represented in the model as comma-separated text, such as `"value1, value2"`, or as a YAML list, such as `["value1", "value2"]`. If the list values can contain commas, a YAML list must be used.

0 commit comments

Comments
 (0)