From 03e7e0527e81bdcfdb577677cabd513aaef9500f Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Wed, 22 Feb 2023 13:54:09 +0100
Subject: [PATCH] Added port

---
 .gitignore                               |   1 +
 docker-compose.prod.yml                  |   2 ++
 fda-analyse-service/coverage.txt         |   9 ---------
 fda-analyse-service/report.xml           |   1 -
 fda-discovery-service/rest-service/ready |   0
 fda-semantics-service/.coverage          | Bin 53248 -> 0 bytes
 fda-semantics-service/coverage.txt       |  13 -------------
 fda-semantics-service/report.xml         |   1 -
 8 files changed, 3 insertions(+), 24 deletions(-)
 delete mode 100644 fda-analyse-service/coverage.txt
 delete mode 100644 fda-analyse-service/report.xml
 delete mode 100644 fda-discovery-service/rest-service/ready
 delete mode 100644 fda-semantics-service/.coverage
 delete mode 100644 fda-semantics-service/coverage.txt
 delete mode 100644 fda-semantics-service/report.xml

diff --git a/.gitignore b/.gitignore
index 36fb8d7539..e372ff156b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ target/
 # Notebooks
 .jupyter/
 .pytest_cache/
+__pycache__/
 
 # demo
 .demo
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index 8dffa725c1..78fc30f911 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -295,6 +295,8 @@ services:
     networks:
       core:
       public:
+    ports:
+      - "3000:3000"
     env_file:
       - .env
     volumes:
diff --git a/fda-analyse-service/coverage.txt b/fda-analyse-service/coverage.txt
deleted file mode 100644
index bd9242486b..0000000000
--- a/fda-analyse-service/coverage.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Name                        Stmts   Miss  Cover
------------------------------------------------
-determine_dt.py                56     16    71%
-determine_pk.py                49      0   100%
-test/__init__.py                0      0   100%
-test/test_determine_dt.py      34      7    79%
-test/test_determine_pk.py      41      1    98%
------------------------------------------------
-TOTAL                         180     24    87%
diff --git a/fda-analyse-service/report.xml b/fda-analyse-service/report.xml
deleted file mode 100644
index 5495aa234b..0000000000
--- a/fda-analyse-service/report.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="12" time="1.131" timestamp="2023-01-26T09:31:19.024531" hostname="medusa"><testcase classname="test.test_determine_dt.DetermineDatatypesTest" name="test_determine_datatypes_fileDoesNotExist_fails" time="0.001" /><testcase classname="test.test_determine_dt.DetermineDatatypesTest" name="test_determine_datatypes_fileEmpty_fails" time="0.002" /><testcase classname="test.test_determine_dt.DetermineDatatypesTest" name="test_determine_datatypes_separatorSemicolon_succeeds" time="0.004" /><testcase classname="test.test_determine_dt.DetermineDatatypesTest" name="test_determine_datatypes_succeeds" time="0.166" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_largeFileIdFirst_succeeds" time="0.073" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_largeFileIdInBetween_succeeds" time="0.072" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_largeFileNoPrimaryKey_fails" time="0.062" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_largeFileNullInUnique_fails" time="0.106" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_smallFileIdFirst_fails" time="0.013" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_smallFileIdIntBetween_fails" time="0.013" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_smallFileNoPrimaryKey_fails" time="0.011" /><testcase classname="test.test_determine_pk.DeterminePrimaryKeyTest" name="test_determine_pk_smallFileNullInUnique_fails" time="0.012" /></testsuite></testsuites>
\ No newline at end of file
diff --git a/fda-discovery-service/rest-service/ready b/fda-discovery-service/rest-service/ready
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/fda-semantics-service/.coverage b/fda-semantics-service/.coverage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3>R{#J2

diff --git a/fda-semantics-service/coverage.txt b/fda-semantics-service/coverage.txt
deleted file mode 100644
index dbcdea6c85..0000000000
--- a/fda-semantics-service/coverage.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-Name                    Stmts   Miss  Cover
--------------------------------------------
-app.py                    132     71    46%
-list.py                    56      0   100%
-onto_feat.py               41     26    37%
-save.py                    31     26    16%
-test/__init__.py            0      0   100%
-test/test_app.py           38      1    97%
-test/test_list.py          40      1    98%
-test/test_validate.py      18      1    94%
-validate.py                21      0   100%
--------------------------------------------
-TOTAL                     377    126    67%
diff --git a/fda-semantics-service/report.xml b/fda-semantics-service/report.xml
deleted file mode 100644
index cf16f04fde..0000000000
--- a/fda-semantics-service/report.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="18" time="85.067" timestamp="2023-01-26T09:41:09.876196" hostname="medusa"><testcase classname="test.test_validate.ValidatorUnitTest" name="test_validator_dividedunit" time="0.006" /><testcase classname="test.test_validate.ValidatorUnitTest" name="test_validator_misspelling" time="0.003" /><testcase classname="test.test_validate.ValidatorUnitTest" name="test_validator_no_SI_Unit" time="0.002" /><testcase classname="test.test_validate.ValidatorUnitTest" name="test_validator_prefixedunit" time="0.002" /><testcase classname="test.test_validate.ValidatorUnitTest" name="test_validator_true" time="0.002" /><testcase classname="test.test_list.ListUnitTest" name="test_get_concept_uri_hasSpaces_succeeds" time="22.945" /><testcase classname="test.test_list.ListUnitTest" name="test_get_concept_uri_succeeds" time="24.992" /><testcase classname="test.test_list.ListUnitTest" name="test_get_unit_uri_hasBraces_succeeds" time="0.239" /><testcase classname="test.test_list.ListUnitTest" name="test_get_unit_uri_succeeds" time="0.056" /><testcase classname="test.test_list.ListUnitTest" name="test_list_concepts_succeeds" time="19.513" /><testcase classname="test.test_list.ListUnitTest" name="test_list_units_fails" time="0.116" /><testcase classname="test.test_list.ListUnitTest" name="test_list_units_succeeds" time="0.066" /><testcase classname="test.test_app.AppUnitTest" name="test_save_concept_name_null_fails" time="0.004" /><testcase classname="test.test_app.AppUnitTest" name="test_save_concept_uri_and_name_null_fails" time="0.002" /><testcase classname="test.test_app.AppUnitTest" name="test_save_concept_uri_null_fails" time="0.002" /><testcase classname="test.test_app.AppUnitTest" name="test_save_unit_name_null_fails" time="0.002" /><testcase classname="test.test_app.AppUnitTest" name="test_save_unit_uri_and_name_null_fails" time="0.002" /><testcase classname="test.test_app.AppUnitTest" name="test_save_unit_uri_null_fails" time="0.002" /></testsuite></testsuites>
\ No newline at end of file
-- 
GitLab