Skip to content

Commit 0bb22be

Browse files
committed
2 parents 49b6a7a + 1e1d8aa commit 0bb22be

26 files changed

+397
-179
lines changed

documentation/1.9/content/KnownIssues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Known Issues for Oracle WebLogic Server Deploy Tooling
1+
## Known Issues for WebLogic Deploy Tooling
22

33
The following list contains known issues. Each issue may contain a workaround or an associated issue number.
44

documentation/1.9/content/_index.md

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,26 @@
33
Many organizations are using WebLogic Server, with or without other Oracle Fusion Middleware components, to run their enterprise applications. As more and more organizations move toward Continuous Delivery of their applications, the importance of automated testing grows. Automating WebLogic Server domain creation and application deployment with hand-coded WLST scripts is challenging. After those scripts exist for a project, they must be maintained as the project evolves. WebLogic Deploy Tooling (WDT) removes the need for most users to write WLST scripts for routine domain creation and application deployment tasks. Instead, you can write a declarative, metadata model describing the domain and applications (with their dependent resources), and use one or more of the single-purpose tools that perform domain lifecycle operations based on the content of the model. This makes it easy to stand up environments and perform domain lifecycle operations in a repeatable fashion based on a metadata model that can be treated as source and evolve as the project evolves.
44

55

6-
WDT provides several single-purpose tools, all exposed as shell scripts (for both Windows and UNIX):
6+
WDT provides several single-purpose tools, all exposed as shell scripts (for both Windows and UNIX). For detailed information, see [WDT Tools]({{< relref "/userguide/tools/" >}}).
77

8-
- The [Create Domain Tool]({{< relref "/create.md" >}}) (`createDomain`) understands how to create a domain and populate the domain with all resources and applications specified in the model.
9-
- The [Update Domain Tool]({{< relref "/update.md" >}}) (`updateDomain`) understands how to update an existing domain and populate the domain with all resources and applications specified in the model, either in offline or online mode.
10-
- The [Deploy Applications Tool]({{< relref "/deploy.md" >}}) (`deployApps`) understands how to add resources and applications to an existing domain, either in offline or online mode.
11-
- The [Discover Domain Tool]({{< relref "/discover.md" >}}) (`discoverDomain`) introspects an existing domain and creates a model file describing the domain and an archive file of the binaries deployed to the domain.
12-
- The [Encrypt Model Tool]({{< relref "/encrypt.md" >}}) (`encryptModel`) encrypts the passwords in a model (or its variable file) using a user-provided passphrase.
13-
- The [Validate Model Tool]({{< relref "/validate.md" >}}) (`validateModel`) provides both standalone validation of a model as well as model usage information to help users write or edit their models.
14-
- The [Compare Model Tool]({{< relref "/compare.md" >}}) (`compareModel`) compares two model files.
15-
- The [Prepare Model Tool]({{< relref "/prepare.md" >}}) (`prepareModel`) prepares model files for deploying to WebLogic Server Kubernetes Operator environment.
16-
- The [Extract Domain Resource Tool]({{< relref "/kubernetes.md" >}}) (`extractDomainResource`) generates a domain resource YAML for use with the Oracle WebLogic Server Kubernetes Operator.
17-
- The [Variable Injector Tool]({{< relref "/variable_injection.md" >}}) is used to tokenize a model with variables.
18-
- The [Model Help Tool]({{< relref "/model_help.md" >}}) (`modelHelp.sh`) provides information about the folders and attributes that are valid for sections and folders of a domain model.
198

20-
As new use cases are discovered, new tools will likely be added to cover those operations but all will use the metadata model to describe what needs to be done.
9+
### Current production release
2110

11+
The current [release](https://github.com/oracle/weblogic-deploy-tooling/releases) of WebLogic Deploy Tooling is 1.9.11. This release was published on March, 2021.
2212

23-
### Download and Install the Software
13+
### Recent changes and known issues
2414

25-
The Oracle WebLogic Server Deploy Tooling project repository is located at [`https://github.com/oracle/weblogic-deploy-tooling`](https://github.com/oracle/weblogic-deploy-tooling). Binary distributions of the `weblogic-deploy.zip` installer can be downloaded from the [GitHub Releases page](https://github.com/oracle/weblogic-deploy-tooling/releases). To install the software, simply unzip the `weblogic-deploy.zip` installer on a machine that has the desired versions of WebLogic Server installed. After being unzipped, the software is ready to use, just set the `JAVA_HOME` environment variable to point to a Java 7 or higher JDK and the shell scripts are ready to run.
15+
See the [Release Notes]({{< relref "/release-notes.md" >}}) for recent changes, known issues, and workarounds.
2616

17+
### About this documentation
2718

28-
### Supported WLS Versions
19+
This documentation includes sections targeted to different audiences. To help you find what you are looking for more easily, please consult this table of contents:
2920

30-
For the supported WebLogic Server and JDK versions required to run WebLogic Server Deploy Tooling, see [Supported WLS Versions]({{< relref "/wls_versions.md" >}}).
21+
* [Concepts]({{< relref "/concepts/" >}}) explains the underlying metadata model, files, and configurations...
22+
* The [User guide]({{< relref "/userguide/" >}}) contains detailed usage information, including how to install and configure WebLogic Deploy Tooling, and how to use each tool.
23+
* The [Samples]({{< relref "/samples/" >}}) provide detailed example code and instructions that show you how to perform various tasks.
24+
* The [Developer guide]({{< relref "/developer/" >}}) provides details for people who want to understand how WDT is built, tested, and so on.
3125

3226

33-
## Concepts
34-
35-
- [The Model]({{< relref "/model.md" >}})
36-
- [The Archive File]({{< relref "/archive.md" >}})
37-
- [Model Use Cases]({{< relref "/use_cases.md" >}})
38-
- [Tools Configuration]({{< relref "/tool_configuration.md" >}})
39-
40-
## Developer Guide
41-
42-
For information for developers, see the [Developer Guide]({{< relref "/developer/_index.md" >}}).
43-
44-
## Known Issues
45-
46-
See the following list of [Known Issues]({{< relref "/KnownIssues.md" >}}) and workarounds.
27+
### Contributing
28+
Those who wish to contribute to the WebLogic Deploy Tooling code will find useful information [here](https://github.com/oracle/weblogic-deploy-tooling/blob/master/CONTRIBUTING.md).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
+++
2+
title = "Concepts"
3+
date = 2019-02-22T15:27:54-05:00
4+
weight = 1
5+
chapter = true
6+
pre = "<b>1. </b>"
7+
+++
8+
9+
# Concepts

documentation/1.9/content/archive.md renamed to documentation/1.9/content/concepts/archive.md

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
# The Archive File
1+
---
2+
title: "Archive File"
3+
date: 2019-02-23T17:19:24-05:00
4+
draft: false
5+
weight: 2
6+
---
7+
28

39
The archive file is used to deploy binaries and other file resources to the target domain. The archive is a ZIP file with a specific directory structure. Any file resources referenced in the model that are not already on the target system must be stored in the correct location in the archive, and the model must reflect the path into the archive. The model itself can also be stored inside the archive, if desired.
410

511
Note that file resources that already exist on the target system need not be included in the archive, provided that the model specifies the correct location on the target system.
612

13+
### Contents
14+
715
- [Example](#example)
816
- [Archive Structure](#archive-structure)
917
- [Using Multiple Archive Files](#using-multiple-archive-files)
1018

11-
## Example
19+
#### Example
1220

1321
This example shows an application with a `SourcePath` value referencing an EAR file resource contained in the archive.
1422

@@ -23,22 +31,22 @@ appDeployments:
2331
2432
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`.
2533

26-
## Archive Structure
34+
### Archive Structure
2735

2836
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.
2937

30-
### `atpwallet`
38+
#### `atpwallet`
3139

3240
The directory where a wallet can be stored for use with Oracle Autonomous Transaction Processing Cloud Database. The file resource name is not specified in the model, and is assumed to be a single ZIP file in the archive at this location.
3341

34-
### `model`
42+
#### `model`
3543
The directory where the model is optionally located. Only one model file, either in YAML or JSON, is allowed, and it must have the appropriate YAML or JSON file extension.
3644

37-
### `opsswallet`
45+
#### `opsswallet`
3846

3947
The directory where a wallet can be stored for use with Oracle Platform Security Services. The file resource name is not specified in the model, and is assumed to be a single ZIP file in the archive at this location.
4048

41-
### `wlsdeploy/applications`
49+
#### `wlsdeploy/applications`
4250
The root directory under which applications are stored. Applications can be stored in the archive as EAR or WAR files, or expanded* under this folder. A sample expanded WAR application might have these entries:
4351
```
4452
wlsdeploy/applications/myApp/index.jsp
@@ -50,41 +58,41 @@ wlsdeploy/applications/myApp/WEB-INF/weblogic.xml
5058

5159
\* Expanded application directories are supported after WebLogic Deploy Tooling release 1.6.2
5260

53-
### `wlsdeploy/classpathLibraries`
54-
The root directory under which JARs/directories used for server classpaths are stored. Every file resource under this directory is extracted, even those not referenced in the model.
61+
#### `wlsdeploy/classpathLibraries`
62+
The root directory under which JARs/directories used for server classpaths are stored. Every file resource under this directory is extracted, even those not referenced in the model.
5563

56-
### `wlsdeploy/coherence`
64+
#### `wlsdeploy/coherence`
5765
The root directory under which empty directories must exist for Coherence persistent stores.
5866

59-
### `wlsdeploy/domainBin`
67+
#### `wlsdeploy/domainBin`
6068
The root directory under which $DOMAIN_HOME/bin scripts are stored. Only scripts referenced in the `domainInfo/domainBin` section of the model are extracted.
6169

62-
### `wlsdeploy/domainLibraries`
70+
#### `wlsdeploy/domainLibraries`
6371
The root directory under which `$DOMAIN_HOME/lib` libraries are stored. Only libraries referenced in the `domainInfo/domainLibraries` section of the model are extracted.
6472

65-
### `wlsdeploy/nodeManager`
73+
#### `wlsdeploy/nodeManager`
6674
The root directory under which node manager file resources, such as keystore files, are stored.
6775

68-
### `wlsdeploy/scripts`
76+
#### `wlsdeploy/scripts`
6977
The root directory under which scripts are stored. These can include JDBC create scripts, and WLDF action scripts.
7078

71-
### `wlsdeploy/servers`
79+
#### `wlsdeploy/servers`
7280
The root directory under which server files, such as keystore files, are stored. These are organized by server name, such as `wlsdeploy/server/my-server/mykey.jks`
7381

74-
### `wlsdeploy/sharedLibraries`
82+
#### `wlsdeploy/sharedLibraries`
7583
The root directory under which shared libraries are stored. These are stored as JAR files within the archive.
7684

77-
### `wlsdeploy/stores`
85+
#### `wlsdeploy/stores`
7886
The root directory under which empty directories must exist for `FileStore` elements in the model.
7987

80-
## Using Multiple Archive Files
88+
### Using Multiple Archive Files
8189

8290
The Create Domain, Update Domain, Deploy Applications, and Validate Model Tools allow the specification of multiple archive files on the command line. For example:
8391

8492
weblogic-deploy\bin\createDomain.cmd -archive_file one.zip,two.zip,three.zip ...
8593

8694
File resources can be present in any of these archives. Resources in each archive will supersede resources found in previous archives.
87-
95+
8896
When the model references a resource that is present in multiple archives, the latest in the list takes precedence. For example, if the model references `wlsdeploy/applications/myapp.ear`, and that resource is present in archives `one.zip` and `two.zip`, the resource in `two.zip` will be used.
8997

9098
A similar rule applies for resources that have an assumed location, but are not specifically called out in the model. For example, if archive `two.zip` has a wallet in location `atpwallet/wallet2.zip`, and `three.zip` has a wallet in location `atpwallet/wallet3.zip`, the wallet `atpwallet/wallet3.zip` will be used.

documentation/1.9/content/model.md renamed to documentation/1.9/content/concepts/model.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## The Metadata Model
1+
---
2+
title: "Metadata Model"
3+
date: 2019-02-23T17:19:24-05:00
4+
draft: false
5+
weight: 1
6+
---
7+
28

39
The metadata model (or model, for short) is a version-independent description of a WebLogic Server domain configuration. The tools are designed to support a sparse model so that the model need only describe what is required for the specific operation without describing other artifacts. For example, to deploy an application that depends on a JDBC data source into an existing domain that may contain other applications or data sources, the model needs to describe only the application and the data source in question. If the data source was previously created, the `deployApps` tool will not try to recreate it but may update part of that data source's configuration if the model description is different than the existing values. If the application was previously deployed, the `deployApps` tool will compare the binaries to determine if the application needs to be redeployed or not.
410

@@ -25,7 +31,7 @@ The model is written in YAML (or optionally, JSON). The YAML parser, built into
2531

2632
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.
2733

28-
## Contents
34+
### Contents
2935

3036
- [Top-Level Sections](#top-level-model-sections)
3137
- [Simple Example](#simple-example)
@@ -44,7 +50,7 @@ The tooling has five top-level model sections:
4450
- `appDeployments` - The location where shared libraries and applications are specified.
4551
- `kubernetes` - The location where the WLS Kubernetes Operator domain configuration is specified.
4652

47-
### Simple Example
53+
#### Simple Example
4854
Here is a simple example of a model to deploy an application and its data source:
4955

5056
```yaml
@@ -83,7 +89,7 @@ The above example shows two important features of the framework. First, notice
8389

8490
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.
8591

86-
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](archive.md) for more details about using the archive file.
92+
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.
8793

8894
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.
8995

@@ -248,7 +254,7 @@ This feature can also remove items that were created by WebLogic Server template
248254
...
249255
```
250256

251-
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](use_cases.md#modeling-security-providers) for detailed information.
257+
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 "/concepts/use_cases#modeling-security-providers" >}}) for detailed information.
252258

253259
This feature cannot be use to un-deploy applications or remove libraries.
254260

0 commit comments

Comments
 (0)