Skip to content

Commit

Permalink
Shrank the Jar. Moved Bitcoin to Examples project
Browse files Browse the repository at this point in the history
  • Loading branch information
miratepuffin committed Dec 8, 2020
1 parent 06325ab commit c5544f5
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 296 deletions.
36 changes: 18 additions & 18 deletions mainproject/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ val kamon_prometheus = "io.kamon" %% "kamon-prometheus" % "2.1.0"
val kamon_akka = "io.kamon" %% "kamon-akka" % "2.1.0"
val kamon_system = "io.kamon" %% "kamon-system-metrics" % "2.1.0"
val kamon_netty = "io.kamon" %% "kamon-netty" % "1.0.0"
val monix = "io.monix" %% "monix" % "3.0.0-RC1"
//val monix = "io.monix" %% "monix" % "3.0.0-RC1"
val mongo = "org.mongodb" % "mongo-java-driver" % "3.12.4"
val casbah = "org.mongodb" %% "casbah-core" % "3.1.1"

val doobie = "org.tpolecat" %% "doobie-core" % "0.8.4"
val doobiepostgres =
"org.tpolecat" %% "doobie-postgres" % "0.8.4" // Postgres driver 42.2.8 + type mappings.
//val doobie = "org.tpolecat" %% "doobie-core" % "0.8.4"
//val doobiepostgres =
// "org.tpolecat" %% "doobie-postgres" % "0.8.4" // Postgres driver 42.2.8 + type mappings.
val lift = "net.liftweb" %% "lift-json" % "3.3.0"

val bitcoin = "org.scalaj" %% "scalaj-http" % "2.3.0"
val twitter_eval = "com.twitter" %% "util-eval" % "6.43.0"
//val bitcoin = "org.scalaj" %% "scalaj-http" % "2.3.0"
//val twitter_eval = "com.twitter" %% "util-eval" % "6.43.0"
val hadoop = "org.apache.hadoop" % "hadoop-client" % "3.3.0"

// https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk
val aws = "com.amazonaws" % "aws-java-sdk" % "1.11.897"
//val aws = "com.amazonaws" % "aws-java-sdk" % "1.11.897"
val parquet = "com.github.mjakubowski84" %% "parquet4s-core" % "1.6.0"
val h3 = "com.uber" % "h3" % "3.6.4"
//val h3 = "com.uber" % "h3" % "3.6.4"


val IP = java.net.InetAddress.getLocalHost.getHostAddress
Expand Down Expand Up @@ -129,9 +129,9 @@ lazy val mergeStrategy: String => MergeStrategy = {
case _ => MergeStrategy.first
}

lazy val root = Project(id = "raphtory", base = file(".")) aggregate (cluster)
lazy val root = Project(id = "raphtory", base = file(".")) aggregate (raphtory)

lazy val cluster = project
lazy val raphtory = project
.in(file("."))
.enablePlugins(JavaAppPackaging)
.enablePlugins(AshScriptPlugin)
Expand Down Expand Up @@ -172,22 +172,22 @@ lazy val cluster = project
kamon_akka,
kamon_prometheus,
kamon_system,
monix,
bitcoin,
twitter_eval,
//monix,
//bitcoin,
//twitter_eval,
lift,
apacheLang,
kafka,
kafkac,
doobie,
doobiepostgres,
//doobie,
//doobiepostgres,
joda,
casbah,
mongo,
aws,
//aws,
parquet,
hadoop,
h3
hadoop
// h3
)
)
.settings(
Expand Down
35 changes: 0 additions & 35 deletions mainproject/src/main/scala/com/raphtory/api/S3Serialiser.scala

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,11 @@ class IngestionWorker(workerId: Int,partitionID:Int, storage: EntityStorage) ext
currentSafePoint = messageQueue.dequeue()
else if (messageQueue.head.routerEpoch == currentSafePoint.routerEpoch)
currentSafePoint = messageQueue.dequeue()
else {
currentSafePoint = messageQueue.dequeue()
//else {
// currentSafePoint = messageQueue.dequeue()
//println(s"$increments Writer Worker $partitionID $workerId --- ${safeMessageMap.get(routerName).get} $currentSafePoint ${messageQueue.head.routerEpoch}")
//break
}
//}
}
safeMessageMap put(routerName, currentSafePoint)
currentSafePoint
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 1 addition & 2 deletions mainproject/src/tests/scala/lotr/LOTRDeployment.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package examples.lotr

package lotr
import com.raphtory.RaphtoryGraph
import com.raphtory.algorithms.{ConnectedComponents, DegreeBasic}

Expand Down
2 changes: 1 addition & 1 deletion mainproject/src/tests/scala/lotr/LOTRGraphBuilder.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package examples.lotr
package lotr

import com.raphtory.core.actors.Router.GraphBuilder
import com.raphtory.core.model.communication._
Expand Down
2 changes: 1 addition & 1 deletion mainproject/src/tests/scala/lotr/LOTRSpout.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package examples.lotr
package lotr

import com.raphtory.core.actors.Spout.Spout

Expand Down

0 comments on commit c5544f5

Please sign in to comment.