File tree Expand file tree Collapse file tree 6 files changed +45
-1
lines changed
core/src/main/samples/docker-domain Expand file tree Collapse file tree 6 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
4+ #
5+ # Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
6+ #
7+ rm -Rf archive
8+ mkdir -p archive/wlsdeploy/applications
9+ cd simple-app
10+ jar cvf ../archive/wlsdeploy/applications/simple-app.war *
11+ cd ../archive
12+ jar cvf ../archive.zip *
Original file line number Diff line number Diff line change 11#! /bin/sh
22#
3- # Copyright (c) 2014- 2018 Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
44#
55# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
66#
77docker build \
88 --build-arg WDT_MODEL=simple-topology.yaml \
9+ --build-arg WDT_ARCHIVE=archive.zip \
910 -t 12213-domain-wdt .
1011
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <web-app version =" 2.5" xmlns =" http://java.sun.com/xml/ns/javaee"
3+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" >
5+ <welcome-file-list >
6+ <welcome-file >/simple.html</welcome-file >
7+ </welcome-file-list >
8+ </web-app >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" ISO-8859-1" ?>
2+
3+ <weblogic-web-app xmlns =" http://www.bea.com/ns/weblogic/90" >
4+ <context-root >/simple</context-root >
5+ </weblogic-web-app >
Original file line number Diff line number Diff line change 1+ < html >
2+ < head >
3+ < title > Simple Application</ title >
4+ </ head >
5+ < body >
6+ < h1 > Simple Application</ h1 >
7+ < p > This is the simple application.</ p >
8+ </ body >
9+ </ html >
Original file line number Diff line number Diff line change @@ -88,3 +88,12 @@ resources:
8888 MaxCapacity : 15
8989 TestTableName : SQL ISVALID
9090 TestConnectionsOnReserve : true
91+ appDeployments :
92+ Application :
93+ # Quote needed because of hyphen in string
94+ ' simple-app ' :
95+ SourcePath : ' wlsdeploy/applications/simple-app.war'
96+ Target : AdminServer
97+ ModuleType : war
98+ StagingMode : nostage
99+ PlanStagingMode : nostage
You can’t perform that action at this time.
0 commit comments