@opencrvs/toolkit 2.0.0-rc.bd55713 → 2.0.0-rc.bd854e0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/build.sh +3 -3
- package/dist/application-config/index.js +17 -6
- package/dist/cli.js +362 -305
- package/dist/commons/api/router.d.ts +10 -0
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +39 -0
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +9 -0
- package/dist/conditionals/index.js +10 -5
- package/dist/environment/custom-types.d.ts.map +1 -1
- package/dist/environment/custom-types.js +10 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +11 -1
- package/dist/environment/editor-questions.d.ts +0 -1
- package/dist/environment/editor-questions.d.ts.map +1 -1
- package/dist/environment/editor-questions.js +16 -5
- package/dist/environment/git.d.ts.map +1 -1
- package/dist/environment/git.js +15 -5
- package/dist/environment/github.d.ts.map +1 -1
- package/dist/environment/github.js +25 -12
- package/dist/environment/index.d.ts +0 -1
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +12 -2
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/logger.js +10 -0
- package/dist/environment/manage-users.d.ts.map +1 -1
- package/dist/environment/manage-users.js +21 -8
- package/dist/environment/questions-helper.d.ts.map +1 -1
- package/dist/environment/questions-helper.js +15 -5
- package/dist/environment/questions.d.ts +0 -23
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +24 -67
- package/dist/environment/setup-environment.js +85 -54
- package/dist/environment/ssh-keygen.d.ts.map +1 -1
- package/dist/environment/ssh-keygen.js +15 -2
- package/dist/environment/swarm-to-k8s.js +26 -15
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +26 -12
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +48 -30
- package/dist/environment/users.d.ts +1 -1
- package/dist/environment/users.d.ts.map +1 -1
- package/dist/environment/users.js +29 -9
- package/dist/environment/utils.d.ts.map +1 -1
- package/dist/environment/utils.js +11 -1
- package/dist/events/index.js +40 -6
- package/dist/migrations/v2.0/index.js +10 -5
- package/dist/notification/index.js +17 -6
- package/dist/scopes/index.d.ts +89 -1
- package/dist/scopes/index.js +10 -5
- package/dist/{environment/templates → templates}/charts-values/dependencies/values.yaml +7 -6
- package/dist/{environment/templates/charts-values/dependencies → templates/charts-values/opencrvs-services}/values.override.yaml +1 -1
- package/dist/{environment/templates → templates}/charts-values/opencrvs-services/values.yaml +8 -6
- package/dist/{environment/templates → templates}/charts-values/traefik/values.override.yaml +1 -1
- package/dist/{environment/templates → templates}/charts-values/traefik/values.yaml +6 -7
- package/dist/{environment/templates → templates}/inventory/production.example.yml +2 -2
- package/opencrvs-toolkit-2.0.0-rc.bd854e0.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.bd55713.tgz +0 -0
- /package/dist/{environment/templates/charts-values/opencrvs-services → templates/charts-values/dependencies}/values.override.yaml +0 -0
- /package/dist/{environment/templates → templates}/inventory/inventory.template.yml +0 -0
- /package/dist/{environment/templates → templates}/inventory/qa.example.yml +0 -0
package/dist/{environment/templates → templates}/charts-values/opencrvs-services/values.yaml
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
##################################################################################
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
2
|
+
# GENERATED FILE — DO NOT EDIT
|
|
3
|
+
#
|
|
4
|
+
# This file is managed by `opencrvs environment init` and may be overwritten.
|
|
5
|
+
# Put all custom Helm values in values.override.yaml, preserving the same YAML
|
|
6
|
+
# hierarchy used here. To remove a generated section, set its top-level key to
|
|
7
|
+
# null in values.override.yaml.
|
|
7
8
|
##################################################################################
|
|
8
9
|
|
|
9
10
|
########################################################################################
|
|
@@ -22,6 +23,7 @@ hpa:
|
|
|
22
23
|
env:
|
|
23
24
|
APN_SERVICE_URL: "http://apm-server.opencrvs-deps-{{env}}.svc.cluster.local:8200"
|
|
24
25
|
MINIO_BUCKET: ocrvs
|
|
26
|
+
OPENCRVS_ENVIRONMENT: {{opencrvs_environment}}
|
|
25
27
|
|
|
26
28
|
influxdb:
|
|
27
29
|
host: influxdb-0.influxdb.opencrvs-deps-{{env}}.svc.cluster.local
|
|
@@ -76,4 +78,4 @@ dashboards:
|
|
|
76
78
|
enabled: true
|
|
77
79
|
|
|
78
80
|
on_restore_cronjob:
|
|
79
|
-
enabled: {{restore_enabled}}
|
|
81
|
+
enabled: {{restore_enabled}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
##################################################################################
|
|
2
2
|
# Use this file to customize helm chart behavior
|
|
3
3
|
# Please make sure your custom changes doesn't conflict with values.yaml
|
|
4
|
-
##################################################################################
|
|
4
|
+
##################################################################################
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
##################################################################################
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
2
|
+
# GENERATED FILE — DO NOT EDIT
|
|
3
|
+
#
|
|
4
|
+
# This file is managed by `opencrvs environment init` and may be overwritten.
|
|
5
|
+
# Put all custom Helm values in values.override.yaml, preserving the same YAML
|
|
6
|
+
# hierarchy used here. To remove a generated section, set its top-level key to
|
|
7
|
+
# null in values.override.yaml.
|
|
7
8
|
##################################################################################
|
|
8
9
|
|
|
9
10
|
# Overwriting https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml
|
|
@@ -64,14 +65,12 @@ ports:
|
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
{{#if lets_encrypt}}
|
|
67
|
-
# 👇 Adjust this section if needed
|
|
68
68
|
certificatesResolvers:
|
|
69
69
|
letsencrypt:
|
|
70
70
|
acme:
|
|
71
71
|
tlsChallenge: false
|
|
72
72
|
httpChallenge:
|
|
73
73
|
entryPoint: web
|
|
74
|
-
# 👇 Provide admin email address
|
|
75
74
|
email: admin@opencrvs.org
|
|
76
75
|
# Storage for certificates:
|
|
77
76
|
storage: /certificates/acme.json
|
|
@@ -40,7 +40,7 @@ all:
|
|
|
40
40
|
children:
|
|
41
41
|
master:
|
|
42
42
|
hosts:
|
|
43
|
-
# Replace master with value returned by command: hostname
|
|
43
|
+
# Replace master with value returned by command: hostname
|
|
44
44
|
master:
|
|
45
45
|
# Keep values (ansible_host, ansible_connection) as is
|
|
46
46
|
# Ansible is executed on master node
|
|
@@ -64,7 +64,7 @@ all:
|
|
|
64
64
|
role: data1
|
|
65
65
|
# Replace worker0 with value returned by command: hostname
|
|
66
66
|
worker1:
|
|
67
|
-
|
|
67
|
+
# Put internal IP address here
|
|
68
68
|
ansible_host: 10.10.10.11
|
|
69
69
|
|
|
70
70
|
# backup section is optional, feel free to remove if backups are not enabled
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|