Skip to content

Commit

Permalink
Add support for Oracle databases.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikr3 committed Jun 29, 2020
1 parent f7255f5 commit 0f54679
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 6 deletions.
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.0.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down
8 changes: 7 additions & 1 deletion helm/files/conf/node-4.5.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ dataSourceProperties: {
dataSource.password: "{{ .Values.corda.node.conf.dataSource.password }}"
}
{{- if ne .Values.corda.node.conf.dataSource.className "" }}
database.runMigration=true
database = {
{{- if eq .Values.corda.node.conf.dataSource.className "oracle.jdbc.pool.OracleDataSource" }}
transactionIsolationLevel = READ_COMMITTED
schema = xe
{{- end}}
runMigration = true
}
{{- end}}

trustStorePassword: "{{ .Values.corda.node.conf.truststorePassword }}"
Expand Down

0 comments on commit 0f54679

Please sign in to comment.