Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DataCatalog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eFlows4HPC WP2
DataCatalog
Commits
27d2e6bd
Commit
27d2e6bd
authored
4 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
prepare settings for json based user database
parent
2295fa76
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
apiserver/__init__.py
+1
-1
1 addition, 1 deletion
apiserver/__init__.py
apiserver/config.env
+1
-0
1 addition, 0 deletions
apiserver/config.env
apiserver/config/settings.py
+1
-0
1 addition, 0 deletions
apiserver/config/settings.py
with
3 additions
and
1 deletion
apiserver/__init__.py
+
1
−
1
View file @
27d2e6bd
from
.main
import
app
\ No newline at end of file
from
.main
import
app
,
settings
\ No newline at end of file
This diff is collapsed.
Click to expand it.
apiserver/config.env
+
1
−
0
View file @
27d2e6bd
...
...
@@ -2,3 +2,4 @@
# DATACATALOG_APISERVER_HOST="0.0.0.0",
# DATACATALOG_APISERVER_PORT=80
DATACATALOG_APISERVER_JSON_STORAGE_PATH="./app/data"
DATACATALOG_APISERVER_USERDB_PATH="./app/userdb.json"
This diff is collapsed.
Click to expand it.
apiserver/config/settings.py
+
1
−
0
View file @
27d2e6bd
...
...
@@ -7,6 +7,7 @@ DEFAULT_JSON_FILEPATH: str = "./app/data"
class
ApiserverSettings
(
BaseSettings
):
json_storage_path
:
str
=
DEFAULT_JSON_FILEPATH
userdb_path
:
str
=
None
class
Config
:
env_prefix
:
str
=
"
datacatalog_apiserver_
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment