This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ws_taak [ERROR] [11/03/2022 15:45:08.174] [default-akka.actor.default-dispatcher-8] [akka.actor.ActorSystemImpl(default)] Websocket handler failed with class scala.collection.immutable.$colon$colon cannot be cast to class java.lang.String (scala.collection.immutable.$colon$colon is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap' | |
| ws_taak java.lang.ClassCastException: class scala.collection.immutable.$colon$colon cannot be cast to class java.lang.String (scala.collection.immutable.$colon$colon is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap') | |
| ws_taak at boopickle.BasicPicklers$StringPickler$.pickle(Pickler.scala:136) | |
| ws_taak at boopickle.PickleState.pickle(Pickler.scala:421) | |
| ws_taak at RESTServer$Pickler$macro$1$1$Pickler$macro$9$1$.pickle(RESTServer.scala:82) | |
| ws_taak at RESTServer$Pickler$macro$1$1$Pickler$macro$9$1$.pickle(RESTServer.scala:82) | |
| ws_taak at boopickle.CompositePickler.pickle(CompositePicklers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [info] Resolved dependencies | |
| [warn] | |
| [warn] Note: Unresolved dependencies path: | |
| [error] sbt.librarymanagement.ResolveException: Error downloading com.github.cornerman.colibri:colibri-monix_sjs1_2.13:9add104 | |
| [error] Not found | |
| [error] Not found | |
| [error] not found: /home/elyphas/.ivy2/localcom.github.cornerman.colibri/colibri-monix_sjs1_2.13/9add104/ivys/ivy.xml | |
| [error] not found: https://repo1.maven.org/maven2/com/github/cornerman/colibri/colibri-monix_sjs1_2.13/9add104/colibri-monix_sjs1_2.13-9add104.pom | |
| [error] not found: https://jitpack.io/com/github/cornerman/colibri/colibri-monix_sjs1_2.13/9add104/colibri-monix_sjs1_2.13-9add104.pom | |
| [error] Error downloading com.github.cornerman.colibri:colibri_sjs1_2.13:0b2299d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class BatchAndExpiration(batch: String, expiration: Long) | |
| case class ItemInputScarango ( | |
| entidad: String, | |
| batchAndExpiration: Option[BatchAndExpiration], | |
| _id: Id[ItemInputScarango] = ItemInputScarango.id() | |
| ) extends Document[ItemInputScarango] | |
| object ItemInputScarango extends DocumentModel[ItemInputScarango] { | |
| override implicit val rw: ReaderWriter[ItemInputScarango] = ccRW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ComparativeRepository { | |
| val hdlProcessingSideEffects = Handler.create[String]("").unsafeRunSync() | |
| def processingSideEffects = hdlProcessingSideEffects.map { | |
| case "" => None | |
| case msg => Some(div( clear.both, cls:="processingSideEffects", msg)) | |
| } | |
| val storeComparative = new StoreComparative() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val eventDocument = PublishSubject[(Inputs, EventsDoobieWillDo)]() | |
| //Old, New | |
| val onEventDocument: Observable[Either[String, (Inputs, Inputs, EventsDoobieResult)]] = | |
| eventDocument.dump("onEventDocument:").mapEval { case (oldItem, event) => | |
| Task.suspend { | |
| Task.fromFuture { | |
| val payload = Pickle.intoBytes[(Inputs, EventsDoobieWillDo)]((oldItem, event)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val qryOutputs = aqlu""" | |
| FOR item IN tblrecipe_details | |
| LET item_por_pieza = ( | |
| FOR i IN tbl_claves_por_pieza FILTER i.cve_articulo == item.key_item RETURN i | |
| ) | |
| FOR itemPre IN ( LENGTH(item_por_pieza) > 0 ? item_por_pieza: [ { /* no match exists*/ } ] ) | |
| LET recipesFechas = ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ConnectionScarango { | |
| implicit val ec: scala.concurrent.ExecutionContext = scala.concurrent.ExecutionContext.global | |
| Profig.initConfiguration().map { in => println(in) } | |
| lazy val db = new ArangoDB(credentials = Some(Credentials("root", "jctaurys"))) | |
| lazy val dbExample = db.api.db("example") | |
| //lazy val collection = dbExample.collection("proveedores") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ArangoDB | |
| db.tblrecipe.document("2021-88888") | |
| { | |
| "_key" : "2021-88888", | |
| "_id" : "tblrecipe/2021-88888", | |
| "_rev" : "_cRMJ_Yi---", | |
| "fiscal_period" : 2021, | |
| "folio" : "88888", | |
| "date" : 1620049658325, | |
| "id_area" : "3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [error] (run-main-2) java.lang.RuntimeException: Failed to decode from { | |
| [error] | |
| [error] } | |
| [error] java.lang.RuntimeException: Failed to decode from { | |
| [error] | |
| [error] } | |
| [error] at com.outr.arango.ArangoDB$.config(ArangoDB.scala:100) | |
| [error] at com.outr.arango.ArangoDB$.$lessinit$greater$default$1(ArangoDB.scala:17) | |
| [error] at example.Hello$.delayedEndpoint$example$Hello$1(Hello.scala:15) | |
| [error] at example.Hello$delayedInit$body.apply(Hello.scala:11) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [error] (run-main-2) java.lang.RuntimeException: Failed to decode from { | |
| [error] | |
| [error] } | |
| [error] java.lang.RuntimeException: Failed to decode from { | |
| [error] | |
| [error] } | |
| [error] at com.outr.arango.ArangoDB$.config(ArangoDB.scala:100) | |
| [error] at com.outr.arango.ArangoDB$.$lessinit$greater$default$1(ArangoDB.scala:17) | |
| [error] at example.Hello$.delayedEndpoint$example$Hello$1(Hello.scala:15) | |
| [error] at example.Hello$delayedInit$body.apply(Hello.scala:11) |