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
b91c2624
Commit
b91c2624
authored
3 years ago
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing builds
context aware community prediction with linux requirements settings
parent
32ebd07f
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 @
b91c2624
...
...
@@ -38,6 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT):
print
(
f
"Executing tests in {dirname}"
)
os
.
chdir
(
os
.
path
.
normpath
(
dirname
))
# 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
#resultCodeList.append(exit_val)
#exit_val = os.system(f"{PY} -m unittest discover") # execute the tests
...
...
This diff is collapsed.
Click to expand it.
src/data-hub/proactive-community-detection-microservice/Dockerfile
View file @
b91c2624
...
...
@@ -2,6 +2,7 @@ FROM python:3
LABEL
maintainer="Alexander Lercher"
RUN
apt-get update
RUN
pip
install
-U
pip
EXPOSE
5000
...
...
This diff is collapsed.
Click to expand it.
src/data-hub/proactive-community-detection-microservice/app/requirements.txt
View file @
b91c2624
...
...
@@ -9,6 +9,7 @@ clickclick==20.10.2
colorama==0.4.4
connexion==2.9.0
cycler==0.10.0
cython==0.28.5
debugpy==1.4.0
decorator==5.0.9
Flask==1.1.4
...
...
@@ -18,9 +19,6 @@ imbalanced-learn==0.8.0
imblearn==0.0
importlib-metadata==3.10.1
inflection==0.5.1
ipykernel==6.0.3
ipython==7.25.0
ipython-genutils==0.2.0
isodate==0.6.0
itsdangerous==1.1.0
jedi==0.18.0
...
...
@@ -51,11 +49,11 @@ pyparsing==2.4.7
pyrsistent==0.18.0
python-dateutil==2.8.2
pytz==2021.1
pywin32==301
PyYAML==5.4.1
pyzmq==22.1.0
requests==2.26.0
scikit-learn==0.24.2
scikit-build==0.11.1
scipy==1.7.0
semver==2.13.0
six==1.16.0
...
...
@@ -63,7 +61,6 @@ soupsieve==2.2.1
swagger-ui-bundle==0.0.8
threadpoolctl==2.2.0
tornado==6.1
traitlets==5.0.5
typing-extensions==3.10.0.0
urllib3==1.26.6
wcwidth==0.2.5
...
...
This diff is collapsed.
Click to expand it.
src/data-hub/reputation-calculation-microservice/app/tests/test_messaging.py
View file @
b91c2624
import
unittest
import
sys
for
path
in
[
'../'
,
'./'
]:
sys
.
path
.
insert
(
1
,
path
)
from
lib.database.entities.trust_trace
import
TrustTrace
from
lib.database.entities.user_trust
import
UserTrust
from
lib.database.entities.user
import
User
...
...
This diff is collapsed.
Click to expand it.
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