Skip to content

Commit 52062f9

Browse files
committed
weblogic-deploy renaming
1 parent c711fa4 commit 52062f9

File tree

6 files changed

+45
-21
lines changed

6 files changed

+45
-21
lines changed

.mvn/maven.config-template

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-Dunit-test-wlst-dir=/scratch/jcslcm/jcs122121
1+
-Dunit-test-wlst-dir=/scratch/jcslcm/jcs122121/oracle_common/common/bin

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ topology:
175175

176176
To validate the standalone model file, run the tool as shown below:
177177

178-
wls-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml
178+
weblogic-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml
179179

180180
The output of the tool will look something like this:
181181

@@ -188,7 +188,7 @@ The output of the tool will look something like this:
188188

189189
To get the valid list of valid list of attributes and folders at this model location, run the tool like this:
190190

191-
wls-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -print_usage topology:/Server
191+
weblogic-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -print_usage topology:/Server
192192

193193
This will print out the list of attributes and valid subfolders (full output omitted here for brevity) that will include the following attribute in the list:
194194

@@ -201,7 +201,7 @@ This will print out the list of attributes and valid subfolders (full output omi
201201

202202
If the model contains variable definitions and the variable file is specified, the Validate Model tool will validate that all variable references in the model are defined in the variable file. For example, invoking the tool as shown here:
203203

204-
wls-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml -variable_file InvalidDemoDomain.properties
204+
weblogic-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml -variable_file InvalidDemoDomain.properties
205205

206206
will result in output that looks like that shown below if the db.password variable is not defined in the variable file.
207207

@@ -215,7 +215,7 @@ will result in output that looks like that shown below if the db.password variab
215215

216216
If the model references binaries that should be present in the archive, the validate Model tool will validate that all binary references in the model that point to archive file locations are present in the archive file. For example, invoking the tool as shown here:
217217

218-
wls-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml -archive_file InvalidDemoDomain.zip
218+
weblogic-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml -archive_file InvalidDemoDomain.zip
219219

220220
will result in output that looks like that shown below if the simpleear.ear file is not in the model-specified location inside the archive file.
221221

@@ -303,7 +303,7 @@ topology:
303303

304304
To run the encryption tool on the model, run the following command:
305305

306-
wls-deploy\bin\encryptModel.cmd -oracle_home c:\wls12213 -model_file UnencryptedDemoDomain.yaml
306+
weblogic-deploy\bin\encryptModel.cmd -oracle_home c:\wls12213 -model_file UnencryptedDemoDomain.yaml
307307

308308
The tool will prompt for the encryption passphrase twice and then encrypt any passwords it finds in the model, skipping any password fields that have variable values, to produce a result that looks like the following model.
309309

@@ -424,7 +424,7 @@ resources:
424424

425425
Run the encryption tool and pass both the model and variable files, like this:
426426

427-
wls-deploy\bin\encryptModel.cmd -oracle_home c:\wls12213 -model_file UnencryptedDemoDomain.yaml -variable_file UnencryptedDemoDomain.properties
427+
weblogic-deploy\bin\encryptModel.cmd -oracle_home c:\wls12213 -model_file UnencryptedDemoDomain.yaml -variable_file UnencryptedDemoDomain.properties
428428

429429
and the variable file will now look something like the following.
430430

@@ -446,13 +446,13 @@ domainInfo:
446446

447447
Using the model above, simply run the `createDomain` tool, specifying the type of domain to create and where to create it.
448448

449-
wls-deploy\bin\createDomain.cmd -oracle_home c:\wls12213 -domain_type WLS -domain_parent d:\demo\domains -model_file MinimalDemoDomain.yaml
449+
weblogic-deploy\bin\createDomain.cmd -oracle_home c:\wls12213 -domain_type WLS -domain_parent d:\demo\domains -model_file MinimalDemoDomain.yaml
450450

451451
Clearly, creating an empty domain with only the template-defined server(s) is not very interesting but this example just reinforces how sparse the model can be. When running the Create Domain tool, the model must be provided either inside the archive file or as a standalone file. If both the archive and model files are provided, the model file outside the archive will take precedence over any that might be inside the archive. If the archive file is not provided, Create Domain will only create the `topology` section (using the `domainInfo` section) of the model in the domain. This is because the `resources` and `appDeployments` sections of the model can reference files from the archive so to create the domain with the model-defined resources and applications, an archive file must be provided--even if the model does not reference anything in the archive. At some point in the future, this restriction may be relaxed to only require the archive if it is actually needed.
452452

453453
Create Domain understands three domain types: `WLS`, `RestrictedJRF`, and `JRF`. When specifying the domain type, the Oracle Home must match the requirements for the domain type. Both `RestrictedJRF` and `JRF` require an Oracle Home with the FMW Infrastucture (aka., JRF) installed. When creating a JRF domain, the RCU database information must be provided as arguments to the `createDomain` script. Note that the tool will prompt for any passwords required. Optionally, they can be piped to standard input (i.e., stdin) of the script to make the script run without user input. For example, the command to create a JRF domain looks like the one below. Note that this requires the user to have run RCU prior to running the command.
454454

455-
wls-deploy\bin\createDomain.cmd -oracle_home c:\jrf12213 -domain_type JRF -domain_parent d:\demo\domains -model_file DemoDomain.yaml -rcu_db mydb.example.com:1539/PDBORCL -rcu_prefix DEMO
455+
weblogic-deploy\bin\createDomain.cmd -oracle_home c:\jrf12213 -domain_type JRF -domain_parent d:\demo\domains -model_file DemoDomain.yaml -rcu_db mydb.example.com:1539/PDBORCL -rcu_prefix DEMO
456456

457457
To have the Create Domain tool run RCU, simply add the `-run_rcu` argument to the previous command-line and the RCU schemas will be automatically created. Be aware that when the tool runs RCU, it will automatically drop any conflicting schemas that already exist with the same RCU prefix prior to creating the new schemas!
458458

@@ -541,7 +541,7 @@ This file tells the Create Domain tool what templates to use to create the domai
541541

542542
Once the new domain typedef file exists, simply specify the new domain type name to the `createDomain` script, being sure reference an Oracle Home with the required components installed. For pre-12.2.1 versions, the `-wlst_path` argument must be used to point to the product home where the appropriate WLST shell script exists; for example, for SOA 12.1.3, add `-wlst_path <ORACLE_HOME>/soa` so that the tool uses the WLST shell script with the proper environment for SOA somains. In 12.2.1 and later, this is no longer necessary since the WLST shell script in the standard `<ORACLE_HOME>oracle_common/common/bin` directory will automatically load all components in the Oracle Home. Using the new domain type, simply run the following command to run RCU and create the SOA domain with all of its resources and applications deployed.
543543

544-
wls-deploy\bin\createDomain.cmd -oracle_home d:\SOA12213 -domain_type SOA -domain_parent d:\demo\domains -model_file DemoDomain.yaml -archive_file DemoDomain.zip -variable_file DemoDomain.properties -run_rcu -rcu_db mydb.example.com:1539/PDBORCL -rcu_prefix DEMO
544+
weblogic-deploy\bin\createDomain.cmd -oracle_home d:\SOA12213 -domain_type SOA -domain_parent d:\demo\domains -model_file DemoDomain.yaml -archive_file DemoDomain.zip -variable_file DemoDomain.properties -run_rcu -rcu_db mydb.example.com:1539/PDBORCL -rcu_prefix DEMO
545545

546546
One last note is that if the model or variables file contains encrypted passwords, add the `-use_encryption` flag to the command-line to tell the Create Domain tool that encryption is being used and to prompt for the encryption passphrase. As with the database passwords, the tool can also read the passphrase from standard input (i.e., stdin) to allow the tool to run without any user input.
547547

@@ -560,11 +560,11 @@ The goal is to make the tool both able to support iterative deployment and able
560560

561561
Running the Deploy Applications Tool in WLST offline mode is very similar to running the Create Domain Tool, simply provide the domain location and archive file, and separate model and variable files, if needed. For example:
562562

563-
wls-deploy\bin\deployApps.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DemoDomain.zip -model_file DemoDomain.yaml -variable_file DemoDomain.properties
563+
weblogic-deploy\bin\deployApps.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DemoDomain.zip -model_file DemoDomain.yaml -variable_file DemoDomain.properties
564564

565565
In WLST online mode, simply replace the `-domain_home` argument with the information on how to connect to the WebLogic Server Administration Server; for example:
566566

567-
wls-deploy\bin\deployApps.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DemoDomain.zip -model_file DemoDomain.yaml -variable_file DemoDomain.properties -admin_url t3://127.0.0.1:7001 -admin_user weblogic
567+
weblogic-deploy\bin\deployApps.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DemoDomain.zip -model_file DemoDomain.yaml -variable_file DemoDomain.properties -admin_url t3://127.0.0.1:7001 -admin_user weblogic
568568

569569
As usual, the tool will prompt for the password (it can also be supplied by piping it to standard input of the tool).
570570

@@ -580,7 +580,7 @@ The Discover Domain Tool provides a bootstrapping mechanism to creating a model
580580

581581
To run the Discover Domain tool, simply provide the domain location and the name of the archive file, a separate model file can also be provided to make editing the generated model easier. For example:
582582

583-
wls-deploy\bin\discoverDomain.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DiscoveredDemoDomain.zip -model_file DiscoveredDemoDomain.yaml
583+
weblogic-deploy\bin\discoverDomain.cmd -oracle_home c:\wls12213 -domain_home domains\DemoDomain -archive_file DiscoveredDemoDomain.zip -model_file DiscoveredDemoDomain.yaml
584584

585585
When creating the archive, the tool will try to gather all binaries, scripts, and required directories referenced by the domain configuration with the following caveats.
586586

core/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
77
<modelVersion>4.0.0</modelVersion>
88

9-
<artifactId>wls-deploy-core</artifactId>
9+
<artifactId>weblogic-deploy-core</artifactId>
1010

1111
<parent>
12-
<artifactId>wls-deploy</artifactId>
12+
<artifactId>weblogic-deploy</artifactId>
1313
<groupId>oracle.weblogic.lifecycle</groupId>
1414
<version>0.6-SNAPSHOT</version>
1515
<relativePath>../pom.xml</relativePath>

installer/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
77
<modelVersion>4.0.0</modelVersion>
88

9-
<artifactId>wls-deploy-installer</artifactId>
9+
<artifactId>weblogic-deploy-installer</artifactId>
1010
<packaging>pom</packaging>
1111

1212
<parent>
13-
<artifactId>wls-deploy</artifactId>
13+
<artifactId>weblogic-deploy</artifactId>
1414
<groupId>oracle.weblogic.lifecycle</groupId>
1515
<version>0.6-SNAPSHOT</version>
1616
<relativePath>../pom.xml</relativePath>
@@ -19,7 +19,7 @@
1919
<dependencies>
2020
<dependency>
2121
<groupId>${project.groupId}</groupId>
22-
<artifactId>wls-deploy-core</artifactId>
22+
<artifactId>weblogic-deploy-core</artifactId>
2323
<version>${project.version}</version>
2424
</dependency>
2525
<dependency>

installer/src/assembly/zip.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
7070
<useProjectArtifact>false</useProjectArtifact>
7171
<includes>
72-
<include>oracle.weblogic.lifecycle:wls-deploy-core</include>
72+
<include>oracle.weblogic.lifecycle:weblogic-deploy-core</include>
7373
</includes>
7474
</dependencySet>
7575
<dependencySet>

pom.xml

+26-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,39 @@
77
<modelVersion>4.0.0</modelVersion>
88

99
<groupId>oracle.weblogic.lifecycle</groupId>
10-
<artifactId>wls-deploy</artifactId>
10+
<artifactId>weblogic-deploy</artifactId>
1111
<version>0.6-SNAPSHOT</version>
1212
<packaging>pom</packaging>
1313

14+
<name>Oracle WebLogic Server Deploy Tooling</name>
15+
<description>A framework and set of tools to perform domain creation/changes.</description>
16+
<url>https://github.com/oracle/weblogic-deploy-tooling</url>
17+
<inceptionYear>2017</inceptionYear>
18+
<licenses>
19+
<license>
20+
<name>The Universal Permissive License (UPL), Version 1.0</name>
21+
<url>https://oss.oracle.com/licenses/upl/</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
<license>
25+
<name>The 3-Clause BSD License</name>
26+
<url>https://opensource.org/licenses/BSD-3-Clause</url>
27+
<distribution>repo</distribution>
28+
<comments>The Antlr Project license</comments>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/oracle/weblogic-deploy-tooling</url>
34+
<connection>scm:git:git@github.com:oracle/weblogic-deploy-tooling.git</connection>
35+
<developerConnection>scm:git:git@github.com:oracle/weblogic-deploy-tooling.git</developerConnection>
36+
</scm>
37+
1438
<properties>
1539
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1640
<maven.compiler.source>1.7</maven.compiler.source>
1741
<maven.compiler.target>1.7</maven.compiler.target>
18-
<wls-deploy-installer-name>wls-deploy</wls-deploy-installer-name>
42+
<wls-deploy-installer-name>weblogic-deploy</wls-deploy-installer-name>
1943
<skipTests>false</skipTests>
2044
<antlr.version>4.7.1</antlr.version>
2145

0 commit comments

Comments
 (0)