-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of Financial portal and settlement services #233
Conversation
* Fix deployment probes names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. However the license scans are failing still.
There is no information about why they fail in the logs though, do you have a clue? |
My only hint was |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at the my comments and suggested changes.
Let me know if you agree/disagree or if you would like to jump on a call to discuss some/all the points.
metadata: | ||
name: {{ .Values.config.is_populate.name | quote }} | ||
labels: | ||
app: {{ template "finance-portal.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These labels are not following best practices --> https://helm.sh/docs/topics/chart_best_practices/labels/
See the following example: https://github.com/mojaloop/helm/blob/master/centralledger/chart-service/templates/deployment.yaml#L6
Please update.
metadata: | ||
name: {{ template "finance-portal.fullname" . }} | ||
labels: | ||
app: {{ template "finance-portal.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about labels.
kind: Deployment | ||
metadata: | ||
name: {{ template "finance-portal.fullname" . }} | ||
labels: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about labels apply here.
@@ -0,0 +1,20 @@ | |||
apiVersion: extensions/v1beta1 | |||
kind: Ingress | |||
metadata: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add labels, and align to the above label comments.
settlement/templates/service.yaml
Outdated
metadata: | ||
name: {{ template "settlement.fullname" . }} | ||
labels: | ||
app: {{ template "settlement.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Labels.
settlement/templates/service.yaml
Outdated
protocol: TCP | ||
name: http-settlement-management | ||
selector: | ||
app: {{ template "settlement.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Labels.
spec: | ||
selector: | ||
matchLabels: | ||
app: {{ template "finance-portal.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
labels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has still not been updated?
template: | ||
metadata: | ||
labels: | ||
app: {{ template "finance-portal.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
labels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has still not been updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my updated comments.
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "settlement.fullname" . }} | ||
name: {{ template "portal-settlement.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to use consistent naming with regard to portals?
I see that we have a finance-portal
, then why not a settlement-portal
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although I agree with consistent naming, settlement-portal
maybe sounds like another portal. the service is a complement for the finance-portal, so perhaps finance-portal-settlement-management
is a better name.
Please let me know what you think.
metadata: | ||
name: {{ template "portal-settlement.fullname" . }}-operator-settlement | ||
labels: | ||
app: {{ template "portal-settlement.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Labels please.
metadata: | ||
name: {{ template "portal-settlement.fullname" . }}-settlement-management | ||
labels: | ||
app: {{ template "portal-settlement.fullname" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Labels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. Its nearly there. I still see some labels that have not been updated.
spec: | ||
selector: | ||
matchLabels: | ||
app: {{ template "finance-portal-settlement-management.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label
template: | ||
metadata: | ||
labels: | ||
app: {{ template "finance-portal-settlement-management.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label
protocol: TCP | ||
name: http-settlement-management | ||
selector: | ||
app: {{ template "finance-portal-settlement-management.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label
template: | ||
metadata: | ||
labels: | ||
app: {{ template "finance-portal.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has still not been updated?
spec: | ||
selector: | ||
matchLabels: | ||
app: {{ template "finance-portal.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has still not been updated?
protocol: TCP | ||
name: http-finance-portal-ui | ||
selector: | ||
app: {{ template "finance-portal.name" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has still not been updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change
description: Portal Settlement | ||
name: finance-portal-settlement-management | ||
version: 8.6.0 | ||
appVersion: "8.6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate appVersion
@@ -0,0 +1,6 @@ | |||
apiVersion: v1 | |||
appVersion: "1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove
…o finance-portal-service
This PR adds a new functionality to display the state of the financial platform:
a Finance portal that enables the interaction for multiple actions like transactions and settlement windows, which is a service of two containers: a back-end in Koa and a frontend in React:
This portal depends on the settlement service, which manages how the settlement windows are closed and how the settlements are saved, both actions being done in the settlement management and operator settlement respectively.
The portal can be accessed through a new NginX ingress that is being added in the mojaloop chart dependencies. This enables us to access the portal from outside the cluster.