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
Copy file name to clipboardExpand all lines: documentation/1.9/content/_index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ See the [Release Notes]({{< relref "/release-notes.md" >}}) for known issues and
50
50
This documentation includes sections targeted to different audiences:
51
51
52
52
*[Concepts]({{< relref "/concepts/" >}}) explains the underlying metadata models and archive files.
53
-
* The [User guide]({{< relref "/userguide/" >}}) contains detailed usage information, including how to install and configure WebLogic Deploy Tooling, and how to use each tool.
53
+
* The [User Guide]({{< relref "/userguide/" >}}) contains detailed usage information, including how to install and configure WebLogic Deploy Tooling, and how to use each tool.
54
54
* The [Samples]({{< relref "/samples/" >}}) provide informative use case scenarios.
55
-
* The [Developer guide]({{< relref "/developer/" >}}) provides details for people who want to understand how WDT is built, its features mapped and implemented.
55
+
* The [Developer Guide]({{< relref "/developer/" >}}) provides details for people who want to understand how WDT is built, its features mapped and implemented.
The example above shows the attribute `SourcePath` of the `simpleear` application with a value of `wlsdeploy/applications/simpleear.ear`. The prefix `wlsdeploy/` indicates that the resource is located in the archive file in the specified location, and will be deployed to that directory in the domain, in this case `<domain-home>/wlsdeploy/applications/simpleear.ear`.
33
33
34
-
### Archive Structure
34
+
### Archive structure
35
35
36
36
These are the paths within the archive that are used for different types of resources. Users can create further directory structures underneath these locations to organize the files and directories as they see fit.
37
37
@@ -85,7 +85,7 @@ The root directory under which shared libraries are stored. These are stored as
85
85
#### `wlsdeploy/stores`
86
86
The root directory under which empty directories must exist for `FileStore` elements in the model.
87
87
88
-
### Using Multiple Archive Files
88
+
### Using multiple archive files
89
89
90
90
The Create Domain, Update Domain, Deploy Applications, and Validate Model Tools allow the specification of multiple archive files on the command line. For example:
Copy file name to clipboardExpand all lines: documentation/1.9/content/concepts/model.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ weight: 1
8
8
### Contents
9
9
10
10
-[Overview](#overview)
11
-
-[Top-Level Sections](#top-level-model-sections)
12
-
-[Simple Example](#simple-example)
13
-
-[Model Names](#model-names)
14
-
-[Model Tokens](#model-tokens)
15
-
-[Model Semantics](#model-semantics)
16
-
-[Declaring Named MBeans to Delete](#declaring-named-mbeans-to-delete)
17
-
-[Using Multiple Models](#using-multiple-models)
11
+
-[Top-level sections](#top-level-model-sections)
12
+
-[Simple example](#simple-example)
13
+
-[Model names](#model-names)
14
+
-[Model tokens](#model-tokens)
15
+
-[Model semantics](#model-semantics)
16
+
-[Declaring named MBeans to delete](#declaring-named-mbeans-to-delete)
17
+
-[Using multiple models](#using-multiple-models)
18
18
19
19
### Overview
20
20
@@ -44,7 +44,7 @@ The model is written in YAML (or optionally, JSON). The YAML parser, built into
44
44
All assignment statements must have one or more spaces between the colon and the value. All comments must have a space after the pound sign (also known as hash) to be considered a comment. YAML doesn't allow comments in all locations. While the YAML parser used by the framework does not try to enforce these restrictions, it is likely that putting comments in some locations may cause parse errors since YAML is a difficult language to parse due to its complex indention rules.
45
45
46
46
47
-
### Top-Level Model Sections
47
+
### Top-level model sections
48
48
The tooling has five top-level model sections:
49
49
50
50
-`domainInfo` - The location where special information not represented in WLST is specified (for example, the libraries that go in `$DOMAIN_HOME/lib`).
@@ -53,7 +53,7 @@ The tooling has five top-level model sections:
53
53
-`appDeployments` - The location where shared libraries and applications are specified.
54
54
-`kubernetes` - The location where the WLS Kubernetes Operator domain configuration is specified.
55
55
56
-
#### Simple Example
56
+
#### Simple example
57
57
Here is a simple example of a model to deploy an application and its data source:
58
58
59
59
```yaml
@@ -88,17 +88,17 @@ appDeployments:
88
88
ModuleType: war
89
89
```
90
90
91
-
The above example shows two important features of the framework. First, notice that the `URL`, `PasswordEncrypted`, `user` property `Value` and all `Target` fields contain values that have a `@@PROP:<name>@@` pattern. This indicates a variable placeholder whose value is specified at runtime using a variables file. See [Model Tokens](#model-tokens) for more information about this and other token types.
91
+
The above example shows two important features of the framework. First, notice that the `URL`, `PasswordEncrypted`, `user` property `Value` and all `Target` fields contain values that have a `@@PROP:<name>@@` pattern. This indicates a variable placeholder whose value is specified at runtime using a variables file. See [Model tokens](#model-tokens) for more information about this and other token types.
92
92
93
-
Second, notice that the `jsf#2.0` shared library `SourcePath` attribute value starts with `@@WL_HOME@@`. This is a path token that can be used to specify that the location is relative to the location of the WebLogic Server home directory on the target environment. See [Model Tokens](#model-tokens) for more information and a list of available path tokens.
93
+
Second, notice that the `jsf#2.0` shared library `SourcePath` attribute value starts with `@@WL_HOME@@`. This is a path token that can be used to specify that the location is relative to the location of the WebLogic Server home directory on the target environment. See [Model tokens](#model-tokens) for more information and a list of available path tokens.
94
94
95
-
The example above shows the attribute `SourcePath` of the `simpleear` application with a value of `wlsdeploy/applications/simpleear.ear`. The prefix `wlsdeploy/` indicates that the resource is located in the archive file in the specified location, and will be deployed to that directory within the domain, in this case `<domain-home>/wlsdeploy/applications/simpleear.ear`. See [The Archive File]({{< relref "/concepts/archive.md" >}}) for more details about using the archive file.
95
+
The example above shows the attribute `SourcePath` of the `simpleear` application with a value of `wlsdeploy/applications/simpleear.ear`. The prefix `wlsdeploy/` indicates that the resource is located in the archive file in the specified location, and will be deployed to that directory within the domain, in this case `<domain-home>/wlsdeploy/applications/simpleear.ear`. See the [Archive file]({{< relref "/concepts/archive.md" >}}) for more details about using the archive file.
96
96
97
97
Users can create further directory structures underneath the above locations to organize the files and directories as they see fit. Note that any binary that already exists on the target system need not be included in the archive provided that the model specified the correct location on the target system.
98
98
99
99
One final note is that the framework is written in such a way to allow the model to be extended for use by other tools. Adding other top-level sections to the model is supported and the existing tooling and framework will simply ignore them, if present. For example, it would be possible to add a `soaComposites` section to the model where SOA composite applications are described, and a location within the archive file where those binaries can be stored, so that a tool that understands SOA composites and how to deploy them could be run against the same model and archive files.
100
100
101
-
### Model Names
101
+
### Model names
102
102
103
103
The WebLogic Deploy Tooling handles names of WebLogic Server configuration artifacts in a very prescribed way. To understand how names are handled, users first need a basic understanding of WLST offline naming. In WLST offline, there are two general categories of configuration artifacts:
104
104
@@ -131,7 +131,7 @@ topology:
131
131
132
132
As the example above shows, the `SecurityConfiguration` element has no named sub-element, as there is with `JDBCSystemResource`, even though the WLST path to the `SecurityConfiguration` attributes is `/SecurityConfiguration/<domain-name>`. The WebLogic Deploy Tooling has built-in rules and a knowledge base that controls how these names are handled so that it can complete the configuration of these artifacts. As with the previous class of configuration artifact, the folder almost always contains a ` Name` attribute that, in WLST, could be used to change the name. As with the previous class of artifact, the WebLogic Deploy Tooling does not support the use of the `Name` attribute in these folders and any attempt to set the `Name` attribute will not be honored. In general, the only model location that uses the `Name` attribute is the top-level topology section, because this maps to where WLST stores the domain name.
133
133
134
-
### Model Tokens
134
+
### Model tokens
135
135
136
136
The model allows the use of tokens that are substituted with text values as the model is processed. This section describes several types of tokens.
137
137
@@ -186,7 +186,7 @@ Using the path token `@@WL_HOME@@` allows the model to be used across multiple e
186
186
- `@@PWD@@`- The current working directory from which the tool was invoked.
187
187
- `@@TMP@@`- The location of the temporary directory, as controlled by the `java.io.tmpdir` system property.
188
188
189
-
### Model Semantics
189
+
### Model semantics
190
190
191
191
When modeling configuration attributes that can have multiple values, the WebLogic Deploy Tooling tries to make this as painless as possible. For example, the `Target` attribute on resources can have zero or more clusters and/or servers specified. When specifying the value of such list attributes, the user has freedom to specify them as a list or as a comma-delimited string (comma is the only recognized delimiter for lists). For attributes where the values can legally contain commas, the items must be specified as a list. Examples of each are shown below.
192
192
@@ -224,7 +224,7 @@ In the example above, the `Target` attribute is specified three different ways,
224
224
225
225
One of the primary goals of the WebLogic Deploy Tooling is to support a sparse model where the user can specify just the configuration needed for a particular situation. What this implies varies somewhat between the tools but, in general, this implies that the tools are using an additive model. That is, the tools add to what is already there in the existing domain or domain templates (when creating a new domain) rather than making the domain conform exactly to the specified model. Where it makes sense, a similar, additive approach is taken when setting the value of multi-valued attributes. For example, if the model specified the cluster `mycluster` as the target for an artifact, the tooling will add `mycluster` to any existing list of targets for the artifact. While the development team has tried to mark attributes that do not make sense to merge accordingly in our knowledge base, this behavior can be disabled on an attribute-by-attribute basis, by adding an additional annotation in the knowledge base data files. The development team is already thinking about how to handle situations that require a non-additive, converge-to-the-model approach, and how that might be supported, but this still remains a wish list item. Users with these requirements should raise an issue for this support.
226
226
227
-
### Declaring Named MBeans to Delete
227
+
### Declaring named MBeans to delete
228
228
229
229
With WebLogic Deploy Tooling release 1.3.0, you can specify named items in the model to be deleted using the Create Domain, Update Domain, and Deploy Applications Tools. Named items are those that have multiple instances that are distinguished by user-provided names, such as managed servers, data sources, and security realms. Items to be deleted are prepended with an exclamation point (!) in the model.
230
230
@@ -257,11 +257,11 @@ This feature can also remove items that were created by WebLogic Server template
257
257
...
258
258
```
259
259
260
-
This feature does not apply to named security providers within a realm. These items follow a special set of rules that are required to maintain their ordering. See [Modeling Security Providers]({{< relref "/samples/securityproviders-model.md" >}}) for detailed information.
260
+
This feature does not apply to named security providers within a realm. These items follow a special set of rules that are required to maintain their ordering. See [Modeling security providers]({{< relref "/samples/securityproviders-model.md" >}}) for detailed information.
261
261
262
262
This feature cannot be use to un-deploy applications or remove libraries.
263
263
264
-
### Using Multiple Models
264
+
### Using multiple models
265
265
266
266
The Create Domain, Update Domain, Deploy Applications, and Validate Model Tools allow the specification of multiple models on the command line. For example:
267
267
@@ -304,7 +304,7 @@ topology:
304
304
305
305
If variable properties are used in element names, such as ```@@PROP:my-server@@```, the names in both models will be resolved and matching elements will be merged.
306
306
307
-
#### Multiple Models and Delete Notation
307
+
#### Multiple models and delete notation
308
308
309
309
A named element using [delete notation](#declaring-named-mbeans-to-delete) will completely delete an element with a matching name and no delete notation in a previous model. For example, if Model 1 looks like:
Copy file name to clipboardExpand all lines: documentation/1.9/content/developer/ReleaseProcess.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This document describes the process that should be followed to create a WebLogic
22
22
</servers>
23
23
```
24
24
25
-
### Software Release Process
25
+
### Software release process
26
26
The best practice is to write the release notes that will be published to GitHub prior to starting the steps below.
27
27
28
28
1. Set (and export) the environment variable `WLST_DIR` to `<WLS-install-dir>/oracle_common/common/bin`, replacing `<WLS-install-dir>` with the full path to the WLS 12.2.1.x installation directory.
4. If the build fails, run the `mvn -B -P release release:rollback` command to undo it and start over from Step 2., after correcting the issue.
39
39
5. After the software has been released, move on to the GitHub Release Process.
40
40
41
-
### GitHub Release Process
41
+
### GitHub release process
42
42
Note that this process relies on the WDT installers being in your local Maven repository. As such, it is critical for the same user to run these steps on the same machine as the steps from the previous section!
43
43
44
44
1. Save the release notes in the file `<wdt-project-directory>/target/ReleaseNotes.md`.
Copy file name to clipboardExpand all lines: documentation/1.9/content/developer/alias-definitions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ The dictionary key defines the various WLST path values used elsewhere in this f
98
98
99
99
The `%DATASOURCE%` text is token placeholder. It will be replaced with the name of the actual data source by the tool.
100
100
101
-
### Keys for `attributes`Elements
101
+
### Keys for `attributes`elements
102
102
103
103
Each child of an `attributes` element represents a single MBean attribute, and its key is the corresponding model name, such as `CapacityIncrement`. It contains at least one description element with the JSON keys below. There may be multiple description elements for cases where the configuration varies for different WebLogic Server version ranges, or varies between offline and online WLST.
0 commit comments