Skip to content

Commit

Permalink
frontend and backend chart with passing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
logoutdhaval committed Jul 1, 2024
1 parent f65276d commit 04ec1fd
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ It directly provides values.
value: "http://ph-ee-connector-ams-mifos:80"
- name: LOAN_BASE-URL
value: "https://fineract-server:8443"
- name: "OPERATIONS_APP_CONTACTPOINT"
- name: "OPERATIONS-APP_CONTACTPOINT"
value: "http://ph-ee-operations-app:80"
- name: "BULK_PROCESSOR_CONTACTPOINT"
- name: "BULK-PROCESSOR_CONTACTPOINT"
value: "https://ph-ee-connector-bulk:8443"
- name: "CHANNEL_CONNECTOR_CONTACTPOINT"
- name: "CHANNEL-CONNECTOR_CONTACTPOINT"
value: "https://ph-ee-connector-channel:8443"
- name: "LOGGING_LEVEL_ROOT"
value: "INFO"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Pod
metadata:
name: g2p-sandbox-test-ams-and-common
labels:
app: "integration-test-ams-and-common"
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: g2p-sandbox-test-ams
image: "{{.Values.integration_test.image}}"
imagePullPolicy: "Always"
command: [ "/bin/bash" , "-c" ]
args:
- ./gradlew test -Dcucumber.filter.tags="@amsIntegration or @common" ; echo 'Test complete' ; sleep 1500 ; echo 'pod terminate'
{{- include "inttest.env" . | nindent 4 }}
resources:
limits:
cpu: "800m"
memory: "1.2Gi"
requests:
cpu: "250m"
memory: "256Mi"
restartPolicy: Never
7 changes: 5 additions & 2 deletions helm/ph-ee-fin-back-end/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ph-ee-engine:
connector_bulk:
enabled: true
operations_app:
contactpoint: "http://ph-ee-operations-app:80"
contactpoint: "https://ph-ee-operations-app:80"
endpoints:
batch_transaction: "/api/v1/batch/transactions"

Expand Down Expand Up @@ -168,7 +168,7 @@ ph-ee-engine:
importer_rdbms:
enabled: true
LOGGING_LEVEL_ROOT: "DEBUG"
SPRING_PROFILES_ACTIVE: "local,tenants"
SPRING_PROFILES_ACTIVE: "local,tenants,tenantsConnection"

kong:
enabled: false
Expand Down Expand Up @@ -222,3 +222,6 @@ operations:
enabled: false
prometheus:
enabled: true

integration_test:
image: "docker.io/openmf/ph-ee-integration-test:v1.6.5"
12 changes: 12 additions & 0 deletions safaricom-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: safaricom-backend
description: A Helm chart for Kubernetes

type: application
version: 0.1.0
appVersion: "1.16.0"

dependencies:
- name: back-end
repository: "https://fynarfin.io/images/back-end-2.0.0/"
version: 2.0.0
4 changes: 4 additions & 0 deletions safaricom-backend/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
back-end:
ph-ee-engine:
connector_bulk:
enabled: false
12 changes: 12 additions & 0 deletions safaricom-frontend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: safaricom-frontend
description: A Helm chart for Kubernetes

type: application
version: 0.1.0
appVersion: "1.16.0"

dependencies:
- name: front-end
repository: "https://fynarfin.io/images/front-end-2.0.0/"
version: 2.0.0
4 changes: 4 additions & 0 deletions safaricom-frontend/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
front-end:
ph-ee-engine:
connector_bulk:
enabled: false

0 comments on commit 04ec1fd

Please sign in to comment.