From 30f8bd23e04c6dfcc659196bc2b92747e3215ab3 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Fri, 13 Aug 2021 10:33:10 +0200
Subject: [PATCH] WIP: files

---
 doc/Doxyfile.in                        | 16 ++++++++--------
 src/caosdb/entity.cpp                  |  9 ---------
 test/test_data/test_caosdb_client.json |  6 ++++++
 3 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 787d718..798198a 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -485,7 +485,7 @@ NUM_PROC_THREADS       = 1
 # normally produced when WARNINGS is set to YES.
 # The default value is: NO.
 
-EXTRACT_ALL            = YES
+EXTRACT_ALL            = NO
 
 # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
 # be included in the documentation.
@@ -2317,7 +2317,7 @@ HIDE_UNDOC_RELATIONS   = YES
 # set to NO
 # The default value is: NO.
 
-HAVE_DOT               = YES
+HAVE_DOT               = NO
 
 # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
 # to run in parallel. When set to 0 doxygen will base this on the number of
@@ -2383,7 +2383,7 @@ GROUP_GRAPHS           = YES
 # The default value is: NO.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-UML_LOOK               = YES
+UML_LOOK               = NO
 
 # If the UML_LOOK tag is enabled, the fields and methods are shown inside the
 # class node. If there are many fields or methods and many nodes the graph may
@@ -2396,7 +2396,7 @@ UML_LOOK               = YES
 # Minimum value: 0, maximum value: 100, default value: 10.
 # This tag requires that the tag UML_LOOK is set to YES.
 
-UML_LIMIT_NUM_FIELDS   = 50
+UML_LIMIT_NUM_FIELDS   = 10
 
 # If the DOT_UML_DETAILS tag is set to NO, doxygen will show attributes and
 # methods without types and arguments in the UML graphs. If the DOT_UML_DETAILS
@@ -2409,7 +2409,7 @@ UML_LIMIT_NUM_FIELDS   = 50
 # The default value is: NO.
 # This tag requires that the tag UML_LOOK is set to YES.
 
-DOT_UML_DETAILS        = YES
+DOT_UML_DETAILS        = NO
 
 # The DOT_WRAP_THRESHOLD tag can be used to set the maximum number of characters
 # to display on a single line. If the actual line length exceeds this threshold
@@ -2426,7 +2426,7 @@ DOT_WRAP_THRESHOLD     = 17
 # The default value is: NO.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-TEMPLATE_RELATIONS     = YES
+TEMPLATE_RELATIONS     = NO
 
 # If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
 # YES then doxygen will generate a graph for each documented file showing the
@@ -2566,7 +2566,7 @@ PLANTUML_INCLUDE_PATH  =
 # Minimum value: 0, maximum value: 10000, default value: 50.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-DOT_GRAPH_MAX_NODES    = 100
+DOT_GRAPH_MAX_NODES    = 50
 
 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
 # generated by dot. A depth value of 3 means that only nodes reachable from the
@@ -2590,7 +2590,7 @@ MAX_DOT_GRAPH_DEPTH    = 0
 # The default value is: NO.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-DOT_TRANSPARENT        = YES
+DOT_TRANSPARENT        = NO
 
 # Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
 # files in one run (i.e. multiple -o and -T options on the command line). This
diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp
index d283305..e08c554 100644
--- a/src/caosdb/entity.cpp
+++ b/src/caosdb/entity.cpp
@@ -218,13 +218,4 @@ auto Entity::SetFilePath(const std::string &path) -> void {
   this->wrapped->mutable_file_descriptor()->set_path(path);
 }
 
-// auto Entity::SetFileTransmissionId(const std::string &registration_id,
-// const std::string &file_id) -> void {
-// this->file_transmission_id =
-// Arena::CreateMessage<FileTransmissionId>(get_arena());
-
-// this->file_transmission_id->set_registration_id(registration_id);
-// this->file_transmission_id->set_file_id(file_id);
-//}
-
 } // namespace caosdb::entity
diff --git a/test/test_data/test_caosdb_client.json b/test/test_data/test_caosdb_client.json
index b65d79b..2007413 100644
--- a/test/test_data/test_caosdb_client.json
+++ b/test/test_data/test_caosdb_client.json
@@ -25,6 +25,12 @@
     "sinks": {
       "stderr": {
         "destination": "console"
+      },
+      "file" : {
+        "destination": "file"
+      },
+      "syslog": {
+        "destination": "syslog"
       }
     }
   },
-- 
GitLab