Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
9ca7503c
Commit
9ca7503c
authored
Aug 19, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated architecture image and network constants
parent
1b8b7aab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
25 deletions
+65
-25
smart-architecture.png
documentation/images/smart-architecture.png
+0
-0
network_constants.py
src/modules/network_constants.py
+65
-25
No files found.
documentation/images/smart-architecture.png
View replaced file @
1b8b7aab
View file @
9ca7503c
181 KB
|
W:
|
H:
158 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/modules/network_constants.py
View file @
9ca7503c
## Rabbit MQ
RABBIT_MQ_HOSTNAME
=
'rabbit-mq'
RABBIT_MQ_PORT
=
5672
# RABBIT_MQ_HOSTNAME = 'articonf1.itec.aau.at'
# RABBIT_MQ_PORT = 30302
'''Contains all networking constants for microservices to communicate to each other.'''
# set to false to run locally
# TODO set by using environment variable
server
=
True
#region Rabbit MQ
if
server
:
RABBIT_MQ_HOSTNAME
=
'rabbit-mq'
RABBIT_MQ_PORT
=
5672
else
:
RABBIT_MQ_HOSTNAME
=
'articonf1.itec.aau.at'
RABBIT_MQ_PORT
=
30302
#endregion Rabbit MQ
#region Transaction Hub In
## Trace Retrieval
TRACE_RETRIEVAL_HOSTNAME
=
'trace-retrieval'
TRACE_RETRIEVAL_REST_PORT
=
80
TRACE_RETRIEVAL_DB_HOSTNAME
=
f
'{TRACE_RETRIEVAL_HOSTNAME}-db'
TRACE_RETRIEVAL_DB_PORT
=
27017
if
server
:
TRACE_RETRIEVAL_HOSTNAME
=
'trace-retrieval'
TRACE_RETRIEVAL_REST_PORT
=
80
TRACE_RETRIEVAL_DB_HOSTNAME
=
f
'{TRACE_RETRIEVAL_HOSTNAME}-db'
TRACE_RETRIEVAL_DB_PORT
=
27017
else
:
TRACE_RETRIEVAL_HOSTNAME
=
'articonf1.itec.aau.at'
TRACE_RETRIEVAL_REST_PORT
=
30001
TRACE_RETRIEVAL_DB_HOSTNAME
=
'articonf1.itec.aau.at'
TRACE_RETRIEVAL_DB_PORT
=
30003
#endregion Transaction Hub In
#region Data Hub
## Semantic Linking
SEMANTIC_LINKING_HOSTNAME
=
'semantic-linking'
SEMANTIC_LINKING_REST_PORT
=
80
SEMANTIC_LINKING_DB_HOSTNAME
=
f
'{SEMANTIC_LINKING_HOSTNAME}-db'
SEMANTIC_LINKING_DB_PORT
=
27017
if
server
:
SEMANTIC_LINKING_HOSTNAME
=
'semantic-linking'
SEMANTIC_LINKING_REST_PORT
=
80
SEMANTIC_LINKING_DB_HOSTNAME
=
f
'{SEMANTIC_LINKING_HOSTNAME}-db'
SEMANTIC_LINKING_DB_PORT
=
27017
else
:
SEMANTIC_LINKING_HOSTNAME
=
'articonf1.itec.aau.at'
SEMANTIC_LINKING_REST_PORT
=
30101
SEMANTIC_LINKING_DB_HOSTNAME
=
'articonf1.itec.aau.at'
SEMANTIC_LINKING_DB_PORT
=
30102
## Role Stage Discovery
ROLESTAGE_DISCOVERY_HOSTNAME
=
'role-stage-discovery'
ROLESTAGE_DISCOVERY_REST_PORT
=
80
ROLESTAGE_DISCOVERY_DB_HOSTNAME
=
f
'{ROLESTAGE_DISCOVERY_HOSTNAME}-db'
ROLESTAGE_DISCOVERY_DB_PORT
=
27017
## Rest Gateway
# REST_GATEWAY_HOSTNAME = 'rest-gateway'
# REST_GATEWAY_DB_HOSTNAME = 'rest-gateway-db'
REST_GATEWAY_HOSTNAME
=
'rest-gateway'
REST_GATEWAY_REST_PORT
=
80
REST_GATEWAY_DB_HOSTNAME
=
f
'{REST_GATEWAY_HOSTNAME}-db'
REST_GATEWAY_DB_PORT
=
27017
if
server
:
ROLESTAGE_DISCOVERY_HOSTNAME
=
'role-stage-discovery'
ROLESTAGE_DISCOVERY_REST_PORT
=
80
ROLESTAGE_DISCOVERY_DB_HOSTNAME
=
f
'{ROLESTAGE_DISCOVERY_HOSTNAME}-db'
ROLESTAGE_DISCOVERY_DB_PORT
=
27017
else
:
ROLESTAGE_DISCOVERY_HOSTNAME
=
'articonf1.itec.aau.at'
ROLESTAGE_DISCOVERY_REST_PORT
=
30103
ROLESTAGE_DISCOVERY_DB_HOSTNAME
=
'articonf1.itec.aau.at'
ROLESTAGE_DISCOVERY_DB_PORT
=
30104
#endregion Data Hub
#region Rest Gateway
if
server
:
REST_GATEWAY_HOSTNAME
=
'rest-gateway'
REST_GATEWAY_REST_PORT
=
80
REST_GATEWAY_DB_HOSTNAME
=
f
'{REST_GATEWAY_HOSTNAME}-db'
REST_GATEWAY_DB_PORT
=
27017
else
:
REST_GATEWAY_HOSTNAME
=
'articonf1.itec.aau.at'
REST_GATEWAY_REST_PORT
=
30401
REST_GATEWAY_DB_HOSTNAME
=
'articonf1.itec.aau.at'
REST_GATEWAY_DB_PORT
=
30402
#endregion Rest Gateway
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