diff --git a/src/main/scala/com/campudus/tableaux/cache/CacheClient.scala b/src/main/scala/com/campudus/tableaux/cache/CacheClient.scala index b5252be9..89728d6b 100644 --- a/src/main/scala/com/campudus/tableaux/cache/CacheClient.scala +++ b/src/main/scala/com/campudus/tableaux/cache/CacheClient.scala @@ -103,7 +103,6 @@ class CacheClient(vertxAccess: VertxAccess) extends VertxAccess { ): Future[_] = { val rowValue = Json.obj("value" -> rowLevelAnnotations.getJson) val obj = rowKey(tableId, rowId).copy().mergeIn(rowValue) - println(s"set cache value for row level annotations: $obj") eventBus.sendFuture(CacheVerticle.ADDRESS_SET_ROW_LEVEL_ANNOTATIONS, obj, options) } diff --git a/src/main/scala/com/campudus/tableaux/cache/CacheVerticle.scala b/src/main/scala/com/campudus/tableaux/cache/CacheVerticle.scala index 6e4d8e85..744d6930 100644 --- a/src/main/scala/com/campudus/tableaux/cache/CacheVerticle.scala +++ b/src/main/scala/com/campudus/tableaux/cache/CacheVerticle.scala @@ -319,7 +319,6 @@ class CacheVerticle(tableauxConfig: TableauxConfig) extends ScalaVerticle with L "value" -> value ) - println(s"hey, ausm cache raus: $value") message.reply(reply) } case None => { @@ -350,7 +349,6 @@ class CacheVerticle(tableauxConfig: TableauxConfig) extends ScalaVerticle with L private def messageHandlerInvalidateTableRowLevelAnnotations(message: Message[JsonObject]): Unit = { val obj = message.body() - println(s"caches clear arrived for all tables") (for { tableId <- Option(obj.getLong("tableId")).map(_.toLong) diff --git a/src/main/scala/com/campudus/tableaux/database/model/TableauxModel.scala b/src/main/scala/com/campudus/tableaux/database/model/TableauxModel.scala index 4c68ecc9..48c77d1c 100644 --- a/src/main/scala/com/campudus/tableaux/database/model/TableauxModel.scala +++ b/src/main/scala/com/campudus/tableaux/database/model/TableauxModel.scala @@ -1023,16 +1023,12 @@ class TableauxModel( rowLevelAnnotations <- rowLevelAnnotationsCache match { case Some(annotations) => { - println(s"Cache hit for rowLevelAnnotations for table ${column.table.id} and row $rowId") Future.successful(annotations) } case None => { for { (rowLevelAnnotations, _, _) <- retrieveRowModel.retrieveAnnotations(column.table.id, rowId, Seq(column)) } yield { - println( - s"Cache miss for rowLevelAnnotations for table ${column.table.id} and row $rowId, rowLevelAnnotations: $rowLevelAnnotations" - ) // fire-and-forget don't need to wait for this to return CacheClient(this.connection).setRowLevelAnnotations(column.table.id, rowId, rowLevelAnnotations) rowLevelAnnotations diff --git a/src/test/scala/com/campudus/tableaux/api/content/DuplicateRowTest.scala b/src/test/scala/com/campudus/tableaux/api/content/DuplicateRowTest.scala index 75d431e0..6cca3657 100644 --- a/src/test/scala/com/campudus/tableaux/api/content/DuplicateRowTest.scala +++ b/src/test/scala/com/campudus/tableaux/api/content/DuplicateRowTest.scala @@ -243,7 +243,6 @@ class DuplicateRowTest extends TableauxTestBase { modelTableId = tableIds(0) _ <- sendRequest("POST", s"/tables/$modelTableId/rows/1/duplicate?skipConstrainedLinks=true&annotateSkipped=true") res <- sendRequest("GET", s"/tables/$modelTableId/columns/3/rows/3/annotations") - _ = println(res) } yield { val checkMeAnnotation = res.getJsonArray("annotations").getJsonArray(0).getJsonObject(0) assertEquals(checkMeAnnotation.getString("type"), CellAnnotationType.FLAG) diff --git a/src/test/scala/com/campudus/tableaux/api/content/LinkConstraintTest.scala b/src/test/scala/com/campudus/tableaux/api/content/LinkConstraintTest.scala index b0f10de4..2df04e1e 100644 --- a/src/test/scala/com/campudus/tableaux/api/content/LinkConstraintTest.scala +++ b/src/test/scala/com/campudus/tableaux/api/content/LinkConstraintTest.scala @@ -1682,11 +1682,7 @@ class RetrieveFinalAndArchivedRows extends LinkTestBase with Helper { sendRequest("GET", s"/tables/$tableId1/columns/$linkColumnId/rows/$rowId1/foreignRows?final=true") resultForeignRowsArchived <- sendRequest("GET", s"/tables/$tableId1/columns/$linkColumnId/rows/$rowId1/foreignRows?archived=true") - - rrr <- sendRequest("GET", s"/tables/$tableId1/columns/$linkColumnId/rows/$rowId1") } yield { - println(s"rrr: $rrr") - assertEquals(0, resultCell.getJsonArray("value").size()) assertEquals(2, resultForeignRowsFinal.getJsonObject("page").getLong("totalSize").longValue()) diff --git a/src/test/scala/com/campudus/tableaux/api/content/TranslationStatusTest.scala b/src/test/scala/com/campudus/tableaux/api/content/TranslationStatusTest.scala index c213daea..48fefcc9 100644 --- a/src/test/scala/com/campudus/tableaux/api/content/TranslationStatusTest.scala +++ b/src/test/scala/com/campudus/tableaux/api/content/TranslationStatusTest.scala @@ -193,7 +193,6 @@ class TranslationStatusTest extends TableauxTestBase { translationStatus <- sendRequest("GET", s"/tables/translationStatus") } yield { - println(s"translationStatus: $translationStatus") val expectedTranslationStatus = Json.obj( "tables" -> Json.emptyArr(), "translationStatus" -> Json.obj( diff --git a/src/test/scala/com/campudus/tableaux/database/domain/domainobjectTest.scala b/src/test/scala/com/campudus/tableaux/database/domain/domainobjectTest.scala index 2950629a..ad52319f 100644 --- a/src/test/scala/com/campudus/tableaux/database/domain/domainobjectTest.scala +++ b/src/test/scala/com/campudus/tableaux/database/domain/domainobjectTest.scala @@ -53,7 +53,6 @@ class DomainObjectTest { val actual = DomainObject.compatibilityGet(cell) - println(actual.toString()) JSONAssert .assertEquals( s"""{"value": [{"value":1, "final":true}, {"value":2, "archived":true}, {"value":3}], "final":true, "archived":true}""",