Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
production
building-knowledge-centre
building-dao
Commits
382cc095
Commit
382cc095
authored
Sep 23, 2020
by
unknown
Browse files
get bkc api key fro any incoming queue
parent
4336bb57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
building_dao/settings.py
building_dao/settings.py
+1
-1
No files found.
building_dao/settings.py
View file @
382cc095
...
...
@@ -12,7 +12,7 @@ class Settings:
building_center_info
=
registry
.
get_info
(
"building-knowledge-information-center"
)
self
.
api_key
=
building_center_info
[
"api_in"
]
[
registry
.
node_id
]
[
"key"
]
self
.
api_key
=
next
(
iter
(
building_center_info
[
"api_in"
]
.
values
()))
[
"key"
]
self
.
base_url
=
"http://{}:{}/api/buildings"
.
format
(
building_center_info
[
"service_addr"
],
building_center_info
[
"service_port"
]
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment