Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudbank-v5/account/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: account # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
10 changes: 5 additions & 5 deletions cloudbank-v5/account/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/account"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,17 +137,17 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: account-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

otel:
enabled: true
# MicroProfile LRA
mp_lra:
enabled: false
enabled: true
# Spring Boot applications
springboot:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/account/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/account:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/account:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
4 changes: 2 additions & 2 deletions cloudbank-v5/account/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ spring:
liquibase:
change-log: classpath:db/changelog/controller.yaml
url: ${spring.datasource.url}
user: ${liquibase.datasource.username}
password: ${liquibase.datasource.password}
user: ${spring.datasource.username}
password: ${spring.datasource.password}
enabled: ${LIQUIBASE_ENABLED:true}

datasource:
Expand Down
13 changes: 0 additions & 13 deletions cloudbank-v5/account/src/main/resources/db/changelog/txeventq.sql
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
-- liquibase formatted sql

--changeset account:1
grant execute on dbms_aq to account;
grant execute on dbms_aqadm to account;
grant execute on dbms_aqin to account;
grant execute on dbms_aqjms TO account;
grant execute on dbms_aqjms_internal to account;

--rollback revoke dbms_aq from ACCOUNT;
--rollback revoke dbms_aqadm from ACCOUNT;
--rollback revoke dbms_aqin from ACCOUNT;
--rollback revoke dbms_aqjms from ACCOUNT;
--rollback revoke dbms_aqjms_internal from ACCOUNT;

--changeset account:2 endDelimiter:/
begin
-- deposits
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/chatbot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ https://oss.oracle.com/licenses/upl/ -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/chatbot:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/chatbot:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/checks/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: checks # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
10 changes: 5 additions & 5 deletions cloudbank-v5/checks/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/checks"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,17 +137,17 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: account-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

otel:
enabled: true
# MicroProfile LRA
mp_lra:
enabled: false
enabled: true
# Spring Boot applications
springboot:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/checks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ https://oss.oracle.com/licenses/upl. -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/checks:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/checks:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/creditscore/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: creditscore # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
8 changes: 4 additions & 4 deletions cloudbank-v5/creditscore/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/creditscore"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,9 +137,9 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: customer-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/creditscore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ https://oss.oracle.com/licenses/upl/ -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/creditscore:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/creditscore:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/customer/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: customer # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
10 changes: 5 additions & 5 deletions cloudbank-v5/customer/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/customer"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,17 +137,17 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: customer-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

otel:
enabled: true
# MicroProfile LRA
mp_lra:
enabled: false
enabled: true
# Spring Boot applications
springboot:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/customer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ https://oss.oracle.com/licenses/upl/ -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/customer:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/customer:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
4 changes: 2 additions & 2 deletions cloudbank-v5/customer/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ spring:
liquibase:
change-log: classpath:db/changelog/controller.yaml
url: ${spring.datasource.url}
user: ${liquibase.datasource.username}
password: ${liquibase.datasource.password}
user: ${spring.datasource.username}
password: ${spring.datasource.password}
enabled: ${LIQUIBASE_ENABLED:true}

datasource:
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/${project.artifactId}:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/${project.artifactId}:${project.version}</name>
</image>
</images>
</configuration>
Expand Down
15 changes: 11 additions & 4 deletions cloudbank-v5/sqljob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ spec:
SET SERVEROUTPUT ON;
WHENEVER SQLERROR EXIT SQL.SQLCODE;

create user customer identified by Welcome-12345;
grant db_developer_role to customer;
drop user if exists customer cascade;
create user customer identified by Welcome12345;
grant connect, resource, db_developer_role to customer;
grant unlimited tablespace to customer;

create user account identified by Welcome-12345;
grant db_developer_role to customer;
drop user if exists account cascade;
create user account identified by Welcome12345;
grant connect, resource, db_developer_role to customer;
grant unlimited tablespace to customer;
grant execute on dbms_aq to account;
grant execute on dbms_aqadm to account;
grant execute on dbms_aqin to account;
grant execute on dbms_aqjms TO account;
grant execute on dbms_aqjms_internal to account;
commit;

/
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/testrunner/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: testrunner # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
10 changes: 5 additions & 5 deletions cloudbank-v5/testrunner/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/testrunner"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,17 +137,17 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: account-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

otel:
enabled: true
# MicroProfile LRA
mp_lra:
enabled: false
enabled: true
# Spring Boot applications
springboot:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/testrunner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ https://oss.oracle.com/licenses/upl. -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/testrunner:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/testrunner:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/transfer/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: <appliaction name> # Replace with your application name
name: transfer # Replace with your application name
description: A Helm chart for the OBaaS Platform Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
10 changes: 5 additions & 5 deletions cloudbank-v5/transfer/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ replicaCount: 1

# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: ""
repository: "phx.ocir.io/maacloud/mark-cloudbank5/transfer"
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "0.0.1-SNAPSHOT"

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
Expand Down Expand Up @@ -137,17 +137,17 @@ tolerations: []
affinity: {}

obaas:
namespace: application
namespace: obaas-dev
database:
credentialsSecret: obaas-app-db-secrets
credentialsSecret: account-db-secrets
walletSecret: obaas-adb-tns-admin-1
runsqljob: false

otel:
enabled: true
# MicroProfile LRA
mp_lra:
enabled: false
enabled: true
# Spring Boot applications
springboot:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion cloudbank-v5/transfer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ https://oss.oracle.com/licenses/upl/ -->
<configuration>
<images>
<image>
<name>sjc.ocir.io/maacloud/cloudbank-v5/transfer:${project.version}</name>
<name>phx.ocir.io/maacloud/mark-cloudbank5/transfer:${project.version}</name>
<build>
<from>ghcr.io/oracle/openjdk-image-obaas:21</from>
<assembly>
Expand Down