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
69949920
Commit
69949920
authored
Aug 02, 2021
by
Alfonso Orta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'staging'
Fixed failing builds See merge request
!46
parents
c4ca1390
b91c2624
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
testing.py
bin/testing.py
+1
-0
Dockerfile
...hub/proactive-community-detection-microservice/Dockerfile
+1
-0
requirements.txt
...ive-community-detection-microservice/app/requirements.txt
+2
-5
test_messaging.py
...tion-calculation-microservice/app/tests/test_messaging.py
+5
-0
No files found.
bin/testing.py
View file @
69949920
...
@@ -38,6 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT):
...
@@ -38,6 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT):
print
(
f
"Executing tests in {dirname}"
)
print
(
f
"Executing tests in {dirname}"
)
os
.
chdir
(
os
.
path
.
normpath
(
dirname
))
os
.
chdir
(
os
.
path
.
normpath
(
dirname
))
# TODO do this during docker image setup
# TODO do this during docker image setup
os
.
system
(
f
"{PY} -m pip install -U pip"
)
# update pip
exit_val
=
os
.
system
(
f
"{PY} -m pip install -r ../requirements.txt"
)
# install pip dependencies
exit_val
=
os
.
system
(
f
"{PY} -m pip install -r ../requirements.txt"
)
# install pip dependencies
#resultCodeList.append(exit_val)
#resultCodeList.append(exit_val)
#exit_val = os.system(f"{PY} -m unittest discover") # execute the tests
#exit_val = os.system(f"{PY} -m unittest discover") # execute the tests
...
...
src/data-hub/proactive-community-detection-microservice/Dockerfile
View file @
69949920
...
@@ -2,6 +2,7 @@ FROM python:3
...
@@ -2,6 +2,7 @@ FROM python:3
LABEL
maintainer="Alexander Lercher"
LABEL
maintainer="Alexander Lercher"
RUN
apt-get update
RUN
apt-get update
RUN
pip
install
-U
pip
EXPOSE
5000
EXPOSE
5000
...
...
src/data-hub/proactive-community-detection-microservice/app/requirements.txt
View file @
69949920
...
@@ -9,6 +9,7 @@ clickclick==20.10.2
...
@@ -9,6 +9,7 @@ clickclick==20.10.2
colorama==0.4.4
colorama==0.4.4
connexion==2.9.0
connexion==2.9.0
cycler==0.10.0
cycler==0.10.0
cython==0.28.5
debugpy==1.4.0
debugpy==1.4.0
decorator==5.0.9
decorator==5.0.9
Flask==1.1.4
Flask==1.1.4
...
@@ -18,9 +19,6 @@ imbalanced-learn==0.8.0
...
@@ -18,9 +19,6 @@ imbalanced-learn==0.8.0
imblearn==0.0
imblearn==0.0
importlib-metadata==3.10.1
importlib-metadata==3.10.1
inflection==0.5.1
inflection==0.5.1
ipykernel==6.0.3
ipython==7.25.0
ipython-genutils==0.2.0
isodate==0.6.0
isodate==0.6.0
itsdangerous==1.1.0
itsdangerous==1.1.0
jedi==0.18.0
jedi==0.18.0
...
@@ -51,11 +49,11 @@ pyparsing==2.4.7
...
@@ -51,11 +49,11 @@ pyparsing==2.4.7
pyrsistent==0.18.0
pyrsistent==0.18.0
python-dateutil==2.8.2
python-dateutil==2.8.2
pytz==2021.1
pytz==2021.1
pywin32==301
PyYAML==5.4.1
PyYAML==5.4.1
pyzmq==22.1.0
pyzmq==22.1.0
requests==2.26.0
requests==2.26.0
scikit-learn==0.24.2
scikit-learn==0.24.2
scikit-build==0.11.1
scipy==1.7.0
scipy==1.7.0
semver==2.13.0
semver==2.13.0
six==1.16.0
six==1.16.0
...
@@ -63,7 +61,6 @@ soupsieve==2.2.1
...
@@ -63,7 +61,6 @@ soupsieve==2.2.1
swagger-ui-bundle==0.0.8
swagger-ui-bundle==0.0.8
threadpoolctl==2.2.0
threadpoolctl==2.2.0
tornado==6.1
tornado==6.1
traitlets==5.0.5
typing-extensions==3.10.0.0
typing-extensions==3.10.0.0
urllib3==1.26.6
urllib3==1.26.6
wcwidth==0.2.5
wcwidth==0.2.5
...
...
src/data-hub/reputation-calculation-microservice/app/tests/test_messaging.py
View file @
69949920
import
unittest
import
sys
for
path
in
[
'../'
,
'./'
]:
sys
.
path
.
insert
(
1
,
path
)
from
lib.database.entities.trust_trace
import
TrustTrace
from
lib.database.entities.trust_trace
import
TrustTrace
from
lib.database.entities.user_trust
import
UserTrust
from
lib.database.entities.user_trust
import
UserTrust
from
lib.database.entities.user
import
User
from
lib.database.entities.user
import
User
...
...
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