Skip to content

Commit

Permalink
Merge pull request #93 from Niveathika92/master
Browse files Browse the repository at this point in the history
Adding WSO2_CARBON_DB datasource configuration in the deployment.yaml
  • Loading branch information
tishan89 authored Oct 4, 2017
2 parents 19e316f + cdd119a commit 16741b8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 3 deletions.
19 changes: 18 additions & 1 deletion modules/distribution/carbon-home/conf/editor/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,21 @@ wso2.securevault:
masterKeyReader:
type: org.wso2.carbon.secvault.reader.DefaultMasterKeyReader
parameters:
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml

wso2.datasources:
dataSources:
- name: WSO2_CARBON_DB
description: The datasource used for registry and user manager
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/${sys:wso2.runtime}/database/WSO2_CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
maxPoolSize: 50
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
18 changes: 17 additions & 1 deletion modules/distribution/carbon-home/conf/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,20 @@ wso2.securevault:
masterKeyReader:
type: org.wso2.carbon.secvault.reader.DefaultMasterKeyReader
parameters:
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
wso2.datasources:
dataSources:
- name: WSO2_CARBON_DB
description: The datasource used for registry and user manager
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/${sys:wso2.runtime}/database/WSO2_CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
maxPoolSize: 50
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
18 changes: 17 additions & 1 deletion modules/distribution/carbon-home/conf/worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,20 @@ wso2.securevault:
masterKeyReader:
type: org.wso2.carbon.secvault.reader.DefaultMasterKeyReader
parameters:
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
wso2.datasources:
dataSources:
- name: WSO2_CARBON_DB
description: The datasource used for registry and user manager
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/${sys:wso2.runtime}/database/WSO2_CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
maxPoolSize: 50
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false

0 comments on commit 16741b8

Please sign in to comment.