Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Commit a30a1b4

Browse files
Merge pull request #47 from chirangaalwis/cf-is-pattern-2-package-refinements
Refinements to packages of WSO2 Identity Server deployment patterns
2 parents 8bd64fd + 5dcbedb commit a30a1b4

File tree

25 files changed

+269
-338
lines changed

25 files changed

+269
-338
lines changed

pattern-1/bosh-release/jobs/wso2is_1/spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ properties:
2828

2929
wso2is.user_ds.url:
3030
description: Connection URL of the user data source
31+
wso2is.bps_ds.url:
32+
description: Connection URL of the BPS data source
3133
wso2is.registry_ds.url:
3234
description: Connection URL of the registry data source
3335
wso2is.identity_ds.url:

pattern-1/bosh-release/jobs/wso2is_1/templates/config/datasources/bps-datasources.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</jndiConfig>
3232
<definition type="RDBMS">
3333
<configuration>
34-
<url><%=properties.wso2is.identity_ds.url%></url>
34+
<url><%=properties.wso2is.bps_ds.url%></url>
3535
<username><%=properties.wso2is.db.username%></username>
3636
<password><%=properties.wso2is.db.password%></password>
3737
<driverClassName><%=properties.wso2is.db.driver%></driverClassName>

pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ case $1 in
7171
cd /var/vcap/packages/${wso2_product}/
7272
archive=`ls ${wso2_product}*zip`
7373
unzip ${archive}
74-
cd wso2is*
74+
cd ${wso2_product}*
7575
wso2_is_home=`pwd`
7676

7777
log_debug "WSO2_IS_HOME: ${wso2_is_home}"

pattern-1/bosh-release/jobs/wso2is_2/spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ properties:
2828

2929
wso2is.user_ds.url:
3030
description: Connection URL of the user data source
31+
wso2is.bps_ds.url:
32+
description: Connection URL of the BPS data source
3133
wso2is.registry_ds.url:
3234
description: Connection URL of the registry data source
3335
wso2is.identity_ds.url:

pattern-1/bosh-release/jobs/wso2is_2/templates/config/datasources/bps-datasources.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</jndiConfig>
3232
<definition type="RDBMS">
3333
<configuration>
34-
<url><%=properties.wso2is.identity_ds.url%></url>
34+
<url><%=properties.wso2is.bps_ds.url%></url>
3535
<username><%=properties.wso2is.db.username%></username>
3636
<password><%=properties.wso2is.db.password%></password>
3737
<driverClassName><%=properties.wso2is.db.driver%></driverClassName>

pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ case $1 in
7171
cd /var/vcap/packages/${wso2_product}/
7272
archive=`ls ${wso2_product}*zip`
7373
unzip ${archive}
74-
cd wso2is*
74+
cd ${wso2_product}*
7575
wso2_is_home=`pwd`
7676

7777
log_debug "WSO2_IS_HOME: ${wso2_is_home}"

pattern-1/bosh-release/manifests/wso2is-manifest.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ properties:
5454
memory:
5555
max_heap: 1024
5656
min_heap: 1024
57-
user_ds:
58-
url: jdbc:mysql://192.168.50.1:3306/wso2is_db?autoReconnect=true
59-
registry_ds:
60-
url: jdbc:mysql://192.168.50.1:3306/wso2is_db?autoReconnect=true
61-
identity_ds:
62-
url: jdbc:mysql://192.168.50.1:3306/wso2is_db?autoReconnect=true
63-
db:
64-
driver: com.mysql.jdbc.Driver
6557
releases:
6658
- name: wso2is-release
6759
version: latest
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
mysqldriver/mysql-connector-java-5.1.34-bin.jar:
2+
size: 960374
3+
sha: 6df5bcec3970d71eaace2c5589077452c5e9ecfa
4+
oraclejdk/jdk-8u144-linux-x64.tar.gz:
5+
size: 185515842
6+
sha: d4c4f02908d39827393dd77f9eb8da348363efda
7+
wso2is/wso2is-5.4.0.zip:
8+
size: 376088880
9+
sha: 6f1ba157db5f73791fa862adc97586023ed31371
10+
wso2is_analytics/wso2is-analytics-5.4.0.zip:
11+
size: 383665620
12+
sha: 03e114ac4730990418e5f5ea02fb7d8dca1c8ae4

pattern-2/bosh-release/jobs/wso2is_1/spec

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,14 @@ properties:
3030

3131
wso2is.user_ds.url:
3232
description: Connection URL of the user data source
33-
wso2is.user_ds.driver:
34-
description: Database driver class name of the user data source
3533
wso2is.identity_ds.url:
3634
description: Connection URL of the identity data source
37-
wso2is.identity_ds.driver:
38-
description: Database driver class name of the identity data source
3935
wso2is.bps_ds.url:
4036
description: Connection URL of the BPS data source
41-
wso2is.bps_ds.driver:
42-
description: Database driver class name of the BPS data source
4337
wso2is.registry_ds.url:
4438
description: Connection URL of the Registry data source
45-
wso2is.registry_ds.driver:
46-
description: Database driver class name of the Registry data source
39+
wso2is.db.driver:
40+
description: Database driver class name of the data source
4741
wso2is.db.username:
4842
description: Username of the WSO2 Identity Server product database user
4943
default: root

pattern-2/bosh-release/jobs/wso2is_1/templates/config/conf/datasources/bps-datasources.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<datasources>
88
<datasource>
9-
<name>BPS_DS</name>
9+
<name>WSO2_BPS_DS</name>
1010
<description></description>
1111
<jndiConfig>
1212
<name>bpsds</name>
@@ -16,7 +16,7 @@
1616
<url><%=properties.wso2is.bps_ds.url%></url>
1717
<username><%=properties.wso2is.db.username%></username>
1818
<password><%=properties.wso2is.db.password%></password>
19-
<driverClassName><%=properties.wso2is.bps_ds.driver%></driverClassName>
19+
<driverClassName><%=properties.wso2is.db.driver%></driverClassName>
2020
<testOnBorrow>true</testOnBorrow>
2121
<validationQuery>SELECT 1</validationQuery>
2222
<validationInterval>30000</validationInterval>

0 commit comments

Comments
 (0)