You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Add the following configuration and adapt it to your service in `tenantConfig.js
56
56
Usage
57
57
-----
58
58
59
-
### Script
59
+
### CLI interface
60
60
61
61
Show command options:
62
62
@@ -74,7 +74,12 @@ Generate permissions file:
74
74
75
75
uv run src/config_generator_cli.py ./tenantConfig.json permissions
76
76
77
-
### Service
77
+
Additionally, the following command line args may be specified:
78
+
79
+
-`--use_cached_project_metadata=1`: Whether to use cached project metadata
80
+
-`--force_readonly_datasets=1`: Whether to force read-only dataset permissions
81
+
82
+
### Service interface
78
83
79
84
Set the `INPUT_CONFIG_PATH` environment variable to the base directory where for the configuration files are that should be read by the ConfigGenerator (default: `config-in/`).
80
85
Set the `OUTPUT_CONFIG_PATH` environment variable to the base directory where the ConfigGenerator should output service configurations and permissions (default: `/tmp/`).
@@ -85,7 +90,24 @@ Base URL:
85
90
86
91
Generate both service configs and permissions for `default` tenant:
87
92
88
-
curl -X POST "http://localhost:5010/generate_configs?tenant=default"
0 commit comments