Skip to content

Commit b808dcc

Browse files
Wcp 31689 :- Updating the Documentation with the detailed process of cloning or downloading the script (#2018)
Signed-off-by: Anand Sirasagi <[email protected]>
1 parent e7db9fd commit b808dcc

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

OracleWebCenterPortal/dockerfiles/12.2.1.4/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,33 @@ Create an environment file `webcenter.env.list` file, to define the parameters.
5353
Update the parameters inside `webcenter.env.list` as per your local setup.
5454

5555
```
56-
#Database Configuration
56+
# Database Configuration details
5757
DB_DROP_AND_CREATE=<true or false>
5858
DB_CONNECTION_STRING=<Hostname/ContainerName>:<Database Port>/<DB_PDB>.<DB_DOMAIN>
5959
DB_RCUPREFIX=<RCU Prefix>
6060
DB_PASSWORD=<Database Password>
6161
DB_SCHEMA_PASSWORD=<Schema Password>
6262
63-
#configure container
63+
# Admin Server Configuration details
6464
ADMIN_SERVER_CONTAINER_NAME=<Admin Server Container Name>
6565
ADMIN_PORT=<Admin Server Port>
6666
ADMIN_PASSWORD=<Admin Server Password>
6767
ADMIN_USERNAME=<Admin Server User Name>
6868
MANAGED_SERVER_PORT=<Managed Server Port>
6969
70-
# Configure Content Server
70+
# Content Server Connection Configuration details
7171
CONFIGURE_UCM_CONNECTION=<true or false>
72-
#Valid option for socket type are socket,jaxws
72+
# Valid option for connection type are socket,jaxws
7373
UCM_SOCKET_TYPE=<UCM Socket Type >
74-
#Required if UCM_SOCKET_TYPE is jaxws
74+
# Set to true if UCM is using SSL or else false
75+
UCM_USING_SSL=<true or false>
7576
UCM_HOST=<UCM Host>
7677
UCM_PORT=<UCM Port>
7778
UCM_ADMIN_USER=<UCM Admin User>
7879
UCM_INTRADOC_SERVER_PORT=<required if socket>
7980
UCM_CLIENT_SECURITY_POLICY=<required if jaxws>
8081
81-
# Configure Elasticsearch Server
82+
# Elasticsearch Server Configuration details
8283
SEARCH_APP_USERNAME=<Search User Name>
8384
SEARCH_APP_USER_PASSWORD=<Search User Password>
8485
```

OracleWebCenterPortal/dockerfiles/12.2.1.4/container-scripts/createContentServerConnection.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python
2-
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020,2021, Oracle and/or its affiliates. All rights reserved.
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
import sys
55

@@ -22,6 +22,7 @@
2222
ucmsocketType = os.environ.get("UCM_SOCKET_TYPE")
2323
ucmIntraDocServerPort = os.environ.get("UCM_INTRADOC_SERVER_PORT")
2424
ucmClientSecurityPolicy = os.environ.get("UCM_CLIENT_SECURITY_POLICY")
25+
ucmUsingSSL = os.environ.get("UCM_USING_SSL")
2526

2627
print('')
2728
print('Configuring Content Server Connection');
@@ -40,7 +41,11 @@
4041
print('')
4142
print('')
4243

43-
ucmUrl= "http://" + ucmHost + ":" + ucmPort + "/" + "idcnativews"
44+
if (ucmUsingSSL == 'true'):
45+
ucmUrl = "https://" + ucmHost + ":" + ucmPort + "/" + "idcnativews"
46+
else:
47+
ucmUrl = "http://" + ucmHost + ":" + ucmPort + "/" + "idcnativews"
48+
4449
url = adminHost + ":" + adminPort
4550
connect(adminName, adminPassword, url)
4651

OracleWebCenterPortal/dockerfiles/12.2.1.4/container-scripts/installElasticsearchAndStart.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020,2021 Oracle and/or its affiliates. All rights reserved.
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
#
55
function validate_parameter {
@@ -21,8 +21,8 @@ fi
2121

2222
if [ -z ${CONFIGURE_ES_CONNECTION} ]
2323
then
24-
# by default we always keep this flag OFF
25-
export CONFIGURE_ES_CONNECTION="false"
24+
# by default we always keep this flag ON
25+
export CONFIGURE_ES_CONNECTION="true"
2626
fi
2727

2828
# validate admin server parameters

OracleWebCenterPortal/dockerfiles/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ $ docker tag container-registry.oracle.com/middleware/fmw-infrastructure:12.2.1.
4545
The Oracle Database image can be pulled from the [Oracle Container Registry](https://container-registry.oracle.com) or you can build your own using the Dockerfiles and scripts from the [Oracle Database section of this repo](https://github.com/oracle/docker-images/tree/master/OracleDatabase).
4646

4747
# 4. Building Oracle WebCenter Portal Images
48-
IMPORTANT: To build the Oracle WebCenter Portal image, you must first download the required version of the Oracle WebCenter Portal binaries these install binaries are required to create the Oracle WebCenter Portal image. These binaries must be downloaded and copied into the folder with the same version for e.g. 12.2.1.4.0 binaries need to be dropped into `../OracleWebCenterPortal/dockerfiles/12.2.1.4`.
48+
1. Clone or download the [Github repository](https://github.com/oracle/docker-images).The repository contains Docker files and scripts to build Docker images for Oracle products.
4949

50-
The binaries can be downloaded from the [Here](https://www.oracle.com/middleware/technologies/webcenter-portal-download.html#).
50+
2. Download Oracle WebCenter Portal 12.2.1.4 binary from [Oracle Technology Network](https://www.oracle.com/middleware/technologies/webcenter-portal-download.html#).
5151

52-
Extract the downloaded zip files and copy `fmw_12.2.1.4.0_wcportal.jar` files under `dockerfiles/12.2.1.4` for building Oracle WebCenter Portal 12.2.1.4 image.
52+
3. Save the Oracle WebCenter Portal 12.2.1.4 binary into the cloned repository folder located at $DIR/docker-images/OracleWebCenterPortal/dockerfiles/12.2.1.4/ and extract the downloaded zip.
5353

54-
To build Oracle WebCenter Portal Docker image, go to folder located at OracleWebCenterPortal/dockerfiles/ and run the following command:
55-
- Use the resulting image name to create containers
54+
To build Oracle WebCenter Portal Docker image, go to folder located at $DIR/docker-images/OracleWebCenterPortal/dockerfiles/ and run the following command:
5655

5756
```
5857
$ sh buildDockerImage.sh -v 12.2.1.4
5958
```
59+
- Use the resulting image name to create containers
6060

6161

6262
**IMPORTANT**: The resulting image has automated scripts to:

0 commit comments

Comments
 (0)