generated from multiversx/mx-template-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: README.md modified: apps/api/Dockerfile modified: apps/api/config/config.devnet.yaml modified: apps/api/config/config.mainnet.yaml modified: apps/api/config/config.testnet.yaml modified: apps/api/src/websockets/events.gateway.ts modified: apps/api/src/websockets/pub.sub.controller.ts modified: apps/cache-warmer/Dockerfile modified: apps/cache-warmer/config/config.mainnet.yaml modified: apps/queue-worker/Dockerfile modified: apps/queue-worker/config/config.mainnet.yaml modified: apps/transactions-processor/Dockerfile modified: apps/transactions-processor/config/config.devnet.yaml modified: apps/transactions-processor/config/config.mainnet.yaml deleted: apps/transactions-processor/src/processor/transaction.processor.metrics.ts modified: docker-compose.yml new file: helm/mx-app/.helmignore new file: helm/mx-app/Chart.yaml new file: helm/mx-app/grafana-dashboards-configmap.yaml new file: helm/mx-app/grafana-datasource-configmap.yaml new file: helm/mx-app/grafana-deployment.yaml new file: helm/mx-app/prometheus-configmap.yaml new file: helm/mx-app/prometheus-deployment.yaml new file: helm/mx-app/templates/NOTES.txt new file: helm/mx-app/templates/_helpers.tpl new file: helm/mx-app/templates/deployment.yaml new file: helm/mx-app/templates/hpa.yaml new file: helm/mx-app/templates/ingress.yaml new file: helm/mx-app/templates/service.yaml new file: helm/mx-app/templates/serviceaccount.yaml new file: helm/mx-app/templates/tests/test-connection.yaml new file: helm/mx-app/values.yaml new file: helm/mx-challenge-app/.helmignore new file: helm/mx-challenge-app/Chart.lock new file: helm/mx-challenge-app/Chart.yaml new file: helm/mx-challenge-app/charts/grafana-7.3.11.tgz new file: helm/mx-challenge-app/charts/mongodb-15.4.3.tgz new file: helm/mx-challenge-app/charts/mysql-10.2.4.tgz new file: helm/mx-challenge-app/charts/prometheus-15.18.0.tgz new file: helm/mx-challenge-app/charts/redis-19.3.2.tgz new file: helm/mx-challenge-app/dashboards/template_service_dashboard.json new file: helm/mx-challenge-app/dashboards/transactions.json new file: helm/mx-challenge-app/templates/api/deployment.yaml new file: helm/mx-challenge-app/templates/cache-warmer/deployment.yaml new file: helm/mx-challenge-app/templates/grafana-datasource-configmap.yaml new file: helm/mx-challenge-app/templates/queue-worker/deployment.yaml new file: helm/mx-challenge-app/templates/transactions-processor/deployment.yaml.old new file: helm/mx-challenge-app/values.yaml new file: helm/package.json modified: libs/common/src/config/api.config.service.ts modified: libs/common/src/metrics/api.metrics.service.ts modified: libs/common/src/pubsub/pub.sub.listener.controller.ts modified: monitoring/grafana/dashboards/template_service_dashboard.json new file: monitoring/grafana/dashboards/template_service_dashboard.json.old modified: monitoring/prometheus/prometheus.yml modified: package-lock.json modified: package.json
- Loading branch information
mradian1
committed
May 19, 2024
1 parent
1c22d27
commit 524509b
Showing
58 changed files
with
8,445 additions
and
3,501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,4 @@ EXPOSE 3000 | |
EXPOSE 3005 | ||
EXPOSE 4000 | ||
|
||
CMD ["node", "dist/apps/api/main"] | ||
|
||
|
||
CMD ["node", "dist/apps/api/src/main"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
urls: | ||
api: 'https://api.multiversx.com' | ||
redis: '127.0.0.1' | ||
redis: 'redis' #'127.0.0.1' | ||
features: | ||
cacheWarmer: | ||
enabled: true | ||
port: 5201 | ||
privateApi: | ||
enabled: true | ||
port: 4000 | ||
enabled: false | ||
port: 4000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
urls: | ||
api: 'https://devnet-api.multiversx.com' | ||
redis: '127.0.0.1' | ||
redis: 'redis' #'127.0.0.1' | ||
features: | ||
queueWorker: | ||
enabled: true | ||
port: 8000 | ||
privateApi: | ||
enabled: true | ||
enabled: false | ||
port: 4000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
urls: | ||
api: 'https://api.multiversx.com' | ||
redis: '127.0.0.1' | ||
redis: 'redis' #'127.0.0.1' | ||
features: | ||
transactionProcessor: | ||
port: 5202 | ||
maxLookBehind: 100 | ||
privateApi: | ||
enabled: true | ||
port: 4000 | ||
enabled: false | ||
port: 4000 |
33 changes: 0 additions & 33 deletions
33
apps/transactions-processor/src/processor/transaction.processor.metrics.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: v2 | ||
name: mx-app | ||
description: A Helm chart for Kubernetes | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.1.0 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "1.16.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: grafana-dashboards | ||
labels: | ||
app: grafana | ||
data: | ||
prometheus.yaml: | | ||
{{ .Files.Get "../../../monitoring/grafana/dashboards/prometheus.yml" | indent 2 }} | ||
template_service_dashboard.json: | | ||
{{ .Files.Get "../../../monitoring/grafana/dashboards/template_service_dashboard.json" | indent 2 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: grafana-datasource | ||
labels: | ||
app: grafana | ||
data: | ||
prometheus.yaml: | | ||
{{ .Files.Get "../../../monitoring/grafana/datasources/prometheus.yml" | indent 2 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: grafana | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: grafana | ||
template: | ||
metadata: | ||
labels: | ||
app: grafana | ||
spec: | ||
containers: | ||
- name: grafana | ||
image: grafana/grafana | ||
env: | ||
- name: GF_SECURITY_ADMIN_PASSWORD | ||
value: {{ .Values.grafana.adminPassword }} | ||
- name: GF_SECURITY_ADMIN_USER | ||
value: {{ .Values.grafana.adminUser }} | ||
volumeMounts: | ||
- name: datasource-volume | ||
mountPath: /etc/grafana/provisioning/datasources | ||
- name: dashboard-volume | ||
mountPath: /etc/grafana/provisioning/dashboards | ||
volumes: | ||
- name: datasource-volume | ||
configMap: | ||
name: grafana-datasource | ||
- name: dashboard-volume | ||
configMap: | ||
name: grafana-dashboards |
Oops, something went wrong.