Skip to content

Commit 1062c13

Browse files
Merge pull request #1037 from oracle/doc-updates-2.0
Documentation updates for 2.0
2 parents 31fb620 + cd504d6 commit 1062c13

File tree

5 files changed

+46
-5
lines changed

5 files changed

+46
-5
lines changed

documentation/2.0/content/concepts/model.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ This feature can also remove items that were created by WebLogic Server template
252252
SecurityConfiguration:
253253
DefaultRealm: newrealm
254254
Realm:
255-
!myrealm:
255+
'!myrealm':
256256
newrealm:
257257
AuthenticationProvider:
258258
...
@@ -333,7 +333,7 @@ and Model 2 looks like:
333333
```yaml
334334
topology:
335335
Server:
336-
!m2:
336+
'!m2':
337337
```
338338
The resulting model would be:
339339
```yaml
@@ -348,7 +348,7 @@ Similarly, an element without delete notation will completely replace an element
348348
```yaml
349349
topology:
350350
Server:
351-
!m1:
351+
'!m1':
352352
```
353353
and Model 2 looks like:
354354
```yaml

documentation/2.0/content/release-notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ java.lang.IllegalArgumentException: In production mode, it's not allowed to set
3535
**ISSUE**: For WLS versions prior to 14.1.1, there is a problem setting the `GroupMemberOf` attribute in the `topology/Security/User` folder. The value is not persisted correctly, and the assignment will not be present when the domain is started.
3636

3737
**ACTION**: Contact Oracle Support to obtain the patch for bug number 30319071 for your WebLogic Server version before running the tool.
38+
39+
#### Problems setting `RotateLogOnStartup` attribute
40+
41+
**ISSUE**: For existing WLS versions, there is a problem setting the `RotateLogOnStartup` attribute in various log file folders. The value is not persisted correctly, and the assignment will not be present when the domain is started.
42+
43+
**ACTION**: Contact Oracle Support to obtain the patch for bug number 29547985 for your WebLogic Server version before running the tool.

documentation/2.0/content/userguide/target_env.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A target environment is configured in a JSON file at this location:
3131
$WLSDEPLOY_HOME/lib/target/<target-name>/target.json
3232
```
3333
The `<target-name>` value corresponds to the value of the `-target` argument on the tool's command line. The WLS installation includes three pre-defined targets:
34-
- [Weblogic Kubernetes Operator](#the-weblogic-kubernetes-operator-target) (named `wko`)
34+
- [WebLogic Kubernetes Operator](#the-weblogic-kubernetes-operator-target) (named `wko`)
3535
- [Verrazzano](#the-verrazzano-target) (named `vz`)
3636
- [Kubernetes](#generic-kubernetes-target) (named `k8s`)
3737

@@ -42,7 +42,8 @@ Here is an example of a target environment file:
4242
{
4343
"model_filters" : {
4444
"discover": [
45-
{ "name": "vz_prep", "path": "@@TARGET_CONFIG_DIR@@/vz_filter.py" }
45+
{ "name": "vz_prep", "path": "@@TARGET_CONFIG_DIR@@/vz_filter.py" },
46+
{ "id": "wko_filter" }
4647
]
4748
},
4849
"variable_injectors" : {"PORT": {},"HOST": {},"URL": {}},

documentation/2.0/content/userguide/tools-config/domain_def.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,21 @@ weight: 2
142142

143143
If there are any server groups in the custom template that should be targeted to managed servers, they should be specified in the `serverGroupsToTarget` attribute, similar to `MY_MAN_SVR` in the example above.
144144

145+
#### Using compact profile
146+
147+
The `topologyProfile` field can be used to create a domain using a specific profile for each of the templates. This partial example will apply the compact profile for each of the specified templates.
148+
```json
149+
{
150+
"copyright": "Copyright (c) 2022, Oracle Corporation and/or its affiliates. All rights reserved.",
151+
"license": "Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl",
152+
"name": "JRF-Compact",
153+
"description": "JRF type domain with a compact profile definitions",
154+
"topologyProfile": "Compact",
155+
...
156+
}
157+
```
158+
WebLogic Deploy Tooling provides the `JRF-Compact.json` type definition file that can be used to create a JRF domain using the compact profile.
159+
145160
#### Targeting in earlier WebLogic Server versions
146161

147162
Templates in WebLogic Server versions prior to 12.2.1 may require the use of the `applyJRF` WLST command to correctly target resources to the correct clusters and servers. The default behavior for WebLogic Deploy Tooling is to invoke `applyJRF` only when the `extensionTemplates` list includes JRF templates.

documentation/2.0/content/userguide/tools-config/model_filters.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,22 @@ This example configures two filters for the Create Domain Tool: `fix-password.py
4444
]
4545
}
4646
```
47+
### Internal Filters
48+
49+
Internal filters are provided by WebLogic Deploy Tooling to perform modifications to the domain model. They are referenced by ID in the target configuration file. This example shows the use of the internal filter `wko_filter` and a user-defined filter `fix-password` for use with the Create Domain Tool.
50+
```json
51+
{
52+
"create": [
53+
{ "name": "fixPassword", "path": "/home/user/fix-password.py" },
54+
{ "id": "wko_filter" }
55+
]
56+
}
57+
```
58+
Internal filters cannot be copied or modified like other types of filters.
59+
60+
#### Internal filter `wko_filter`
61+
62+
This filter prepares the domain model for use with WebLogic Kubernetes Operator. It performs the following modifications:
63+
- Removes any attributes that can only be deployed in online mode
64+
- Sets the `CalculatedListenPorts` attribute to false for dynamic clusters
65+
- Warns if servers in a static cluster have different listen ports

0 commit comments

Comments
 (0)