Skip to content
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

Merged
merged 31 commits into from
Jan 8, 2020

Conversation

aaronreynoza
Copy link
Member

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:
Screenshot from 2019-12-10 04-14-19

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.

vbarzokas
vbarzokas previously approved these changes Dec 12, 2019
@vbarzokas vbarzokas self-requested a review December 18, 2019 09:00
lewisdaly
lewisdaly previously approved these changes Dec 19, 2019
Copy link
Contributor

@lewisdaly lewisdaly left a 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.

@vbarzokas
Copy link
Member

vbarzokas commented Dec 19, 2019

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?

@lewisdaly
Copy link
Contributor

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 exit code 2. Perhaps it's taking too long and circle is killing it? I've just re-run the step and we will see again.

vbarzokas
vbarzokas previously approved these changes Dec 20, 2019
Copy link
Member

@mdebarros mdebarros left a 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.

central/values.yaml Outdated Show resolved Hide resolved
metadata:
name: {{ .Values.config.is_populate.name | quote }}
labels:
app: {{ template "finance-portal.fullname" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

metadata:
name: {{ template "finance-portal.fullname" . }}
labels:
app: {{ template "finance-portal.fullname" . }}
Copy link
Member

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:
Copy link
Member

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:
Copy link
Member

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.

metadata:
name: {{ template "settlement.fullname" . }}
labels:
app: {{ template "settlement.name" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels.

protocol: TCP
name: http-settlement-management
selector:
app: {{ template "settlement.name" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels.

settlement/values.yaml Outdated Show resolved Hide resolved
spec:
selector:
matchLabels:
app: {{ template "finance-portal.name" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

labels.

Copy link
Member

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" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

labels.

Copy link
Member

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?

Copy link
Member

@mdebarros mdebarros left a 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" . }}
Copy link
Member

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?

Copy link
Member Author

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" . }}
Copy link
Member

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" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels.

Copy link
Member

@mdebarros mdebarros left a 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" . }}
Copy link
Member

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" . }}
Copy link
Member

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" . }}
Copy link
Member

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" . }}
Copy link
Member

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" . }}
Copy link
Member

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" . }}
Copy link
Member

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?

Copy link
Member

@mdebarros mdebarros left a 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"
Copy link
Member

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove

@elnyry-sam-k elnyry-sam-k merged commit 0d2221a into master Jan 8, 2020
@elnyry-sam-k elnyry-sam-k deleted the finance-portal-service branch January 8, 2020 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants