Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- split bbb-apps into bbb-apps-common
- Loading branch information
Showing
74 changed files
with
191 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,118 @@ | |||
name := "bbb-apps-common" | |||
|
|||
organization := "org.bigbluebutton" | |||
|
|||
version := "0.0.1-SNAPSHOT" | |||
|
|||
scalaVersion := "2.12.2" | |||
|
|||
scalacOptions ++= Seq( | |||
"-unchecked", | |||
"-deprecation", | |||
"-Xlint", | |||
"-Ywarn-dead-code", | |||
"-language:_", | |||
"-target:jvm-1.8", | |||
"-encoding", "UTF-8" | |||
) | |||
|
|||
// We want to have our jar files in lib_managed dir. | |||
// This way we'll have the right path when we import | |||
// into eclipse. | |||
retrieveManaged := true | |||
|
|||
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "html", "console", "junitxml") | |||
|
|||
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/scalatest-reports") | |||
|
|||
val scalaV = "2.12.2" | |||
|
|||
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaV | |||
libraryDependencies += "org.scala-lang" % "scala-library" % scalaV | |||
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaV | |||
|
|||
libraryDependencies += "org.bigbluebutton" % "bbb-common-message_2.12" % "0.0.19-SNAPSHOT" | |||
|
|||
libraryDependencies += "redis.clients" % "jedis" % "2.7.2" | |||
libraryDependencies += "com.google.code.gson" % "gson" % "2.5" | |||
|
|||
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 | |||
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.5" | |||
libraryDependencies += "commons-io" % "commons-io" % "2.4" | |||
|
|||
libraryDependencies += "org.apache.commons" % "commons-pool2" % "2.3" | |||
libraryDependencies += "commons-io" % "commons-io" % "2.4" | |||
|
|||
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.5" | |||
|
|||
libraryDependencies += "org.pegdown" % "pegdown" % "1.4.0" % "test" | |||
libraryDependencies += "junit" % "junit" % "4.12" % "test" | |||
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test" | |||
// https://mvnrepository.com/artifact/org.mockito/mockito-core | |||
libraryDependencies += "org.mockito" % "mockito-core" % "2.7.12" % "test" | |||
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.1" % "test" | |||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test" | |||
|
|||
seq(Revolver.settings: _*) | |||
|
|||
//----------- | |||
// Packaging | |||
// | |||
// Reference: | |||
// http://xerial.org/blog/2014/03/24/sbt/ | |||
// http://www.scala-sbt.org/sbt-pgp/usage.html | |||
// http://www.scala-sbt.org/0.13/docs/Using-Sonatype.html | |||
// http://central.sonatype.org/pages/requirements.html | |||
// http://central.sonatype.org/pages/releasing-the-deployment.html | |||
//----------- | |||
|
|||
// Build pure Java lib (i.e. without scala) | |||
// Do not append Scala versions to the generated artifacts | |||
crossPaths := false | |||
|
|||
// This forbids including Scala related libraries into the dependency | |||
autoScalaLibrary := false | |||
|
|||
/*************************** | |||
* When developing, change the version above to x.x.x-SNAPSHOT then use the file resolver to | |||
* publish to the local maven repo using "sbt publish" | |||
*/ | |||
// Uncomment this to publish to local maven repo while commenting out the nexus repo | |||
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository"))) | |||
|
|||
|
|||
// Comment this out when publishing to local maven repo using SNAPSHOT version. | |||
// To push to sonatype "sbt publishSigned" | |||
//publishTo := { | |||
// val nexus = "https://oss.sonatype.org/" | |||
// if (isSnapshot.value) | |||
// Some("snapshots" at nexus + "content/repositories/snapshots") | |||
// else | |||
// Some("releases" at nexus + "service/local/staging/deploy/maven2") | |||
//} | |||
|
|||
// Enables publishing to maven repo | |||
publishMavenStyle := true | |||
|
|||
publishArtifact in Test := false | |||
|
|||
pomIncludeRepository := { _ => false } | |||
|
|||
pomExtra := ( | |||
<scm> | |||
<url>git@github.com:bigbluebutton/bigbluebutton.git</url> | |||
<connection>scm:git:git@github.com:bigbluebutton/bigbluebutton.git</connection> | |||
</scm> | |||
<developers> | |||
<developer> | |||
<id>ritzalam</id> | |||
<name>Richard Alam</name> | |||
<url>http://www.bigbluebutton.org</url> | |||
</developer> | |||
</developers>) | |||
|
|||
licenses := Seq("LGPL-3.0" -> url("http://opensource.org/licenses/LGPL-3.0")) | |||
|
|||
homepage := Some(url("http://www.bigbluebutton.org")) | |||
|
|||
|
Binary file added
BIN
+54.3 KB
...aged/bundles/com.fasterxml.jackson.core/jackson-annotations/jackson-annotations-2.8.8.jar
Binary file not shown.
Binary file added
BIN
+276 KB
...common/lib_managed/bundles/com.fasterxml.jackson.core/jackson-core/jackson-core-2.8.8.jar
Binary file not shown.
Binary file added
BIN
+1.18 MB
...ib_managed/bundles/com.fasterxml.jackson.core/jackson-databind/jackson-databind-2.8.8.jar
Binary file not shown.
Binary file added
BIN
+41.8 KB
.../com.fasterxml.jackson.module/jackson-module-paranamer/jackson-module-paranamer-2.8.8.jar
Binary file not shown.
Binary file added
BIN
+339 KB
...om.fasterxml.jackson.module/jackson-module-scala_2.12/jackson-module-scala_2.12-2.8.8.jar
Binary file not shown.
Binary file added
BIN
+33.8 KB
bbb-apps-common/lib_managed/bundles/com.thoughtworks.paranamer/paranamer/paranamer-2.8.jar
Binary file not shown.
Binary file added
BIN
+182 KB
bbb-apps-common/lib_managed/bundles/org.parboiled/parboiled-core/parboiled-core-1.1.5.jar
Binary file not shown.
Binary file added
BIN
+81.8 KB
bbb-apps-common/lib_managed/bundles/org.parboiled/parboiled-java/parboiled-java-1.1.5.jar
Binary file not shown.
Binary file added
BIN
+200 KB
....scala-lang.modules/scala-parser-combinators_2.12/scala-parser-combinators_2.12-1.0.4.jar
Binary file not shown.
Binary file added
BIN
+535 KB
...common/lib_managed/bundles/org.scala-lang.modules/scala-xml_2.12/scala-xml_2.12-1.0.6.jar
Binary file not shown.
Binary file added
BIN
+689 KB
bbb-apps-common/lib_managed/bundles/org.scalactic/scalactic_2.12/scalactic_2.12-3.0.1.jar
Binary file not shown.
Binary file added
BIN
+6.67 MB
bbb-apps-common/lib_managed/bundles/org.scalatest/scalatest_2.12/scalatest_2.12-3.0.1.jar
Binary file not shown.
Binary file added
BIN
+227 KB
bbb-apps-common/lib_managed/jars/com.google.code.gson/gson/gson-2.5.jar
Binary file not shown.
Binary file added
BIN
+29.6 KB
bbb-apps-common/lib_managed/jars/com.novocode/junit-interface/junit-interface-0.11.jar
Binary file not shown.
Binary file added
BIN
+181 KB
bbb-apps-common/lib_managed/jars/commons-io/commons-io/commons-io-2.4.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+30.4 KB
bbb-apps-common/lib_managed/jars/net.bytebuddy/byte-buddy-agent/byte-buddy-agent-1.6.9.jar
Binary file not shown.
Binary file added
BIN
+2.64 MB
bbb-apps-common/lib_managed/jars/net.bytebuddy/byte-buddy/byte-buddy-1.6.9.jar
Binary file not shown.
Binary file added
BIN
+469 KB
bbb-apps-common/lib_managed/jars/org.apache.commons/commons-lang3/commons-lang3-3.5.jar
Binary file not shown.
Binary file added
BIN
+107 KB
bbb-apps-common/lib_managed/jars/org.apache.commons/commons-pool2/commons-pool2-2.3.jar
Binary file not shown.
Binary file added
BIN
+324 KB
...ars/org.bigbluebutton/bbb-common-message_2.12/bbb-common-message_2.12-0.0.19-SNAPSHOT.jar
Binary file not shown.
Binary file added
BIN
+44 KB
bbb-apps-common/lib_managed/jars/org.hamcrest/hamcrest-core/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added
BIN
+519 KB
bbb-apps-common/lib_managed/jars/org.mockito/mockito-core/mockito-core-2.7.12.jar
Binary file not shown.
Binary file added
BIN
+53.1 KB
bbb-apps-common/lib_managed/jars/org.objenesis/objenesis/objenesis-2.5.jar
Binary file not shown.
Binary file added
BIN
+19.3 KB
bbb-apps-common/lib_managed/jars/org.ow2.asm/asm-analysis/asm-analysis-4.1.jar
Binary file not shown.
Binary file added
BIN
+21.6 KB
bbb-apps-common/lib_managed/jars/org.ow2.asm/asm-tree/asm-tree-4.1.jar
Binary file not shown.
Binary file added
BIN
+36.7 KB
bbb-apps-common/lib_managed/jars/org.ow2.asm/asm-util/asm-util-4.1.jar
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+64.6 KB
bbb-apps-common/lib_managed/jars/org.pegdown/pegdown/pegdown-1.4.0.jar
Binary file not shown.
Binary file added
BIN
+9.2 MB
bbb-apps-common/lib_managed/jars/org.scala-lang/scala-compiler/scala-compiler-2.12.2.jar
Binary file not shown.
Binary file added
BIN
+5.03 MB
bbb-apps-common/lib_managed/jars/org.scala-lang/scala-library/scala-library-2.12.2.jar
Binary file not shown.
Binary file added
BIN
+3.39 MB
bbb-apps-common/lib_managed/jars/org.scala-lang/scala-reflect/scala-reflect-2.12.2.jar
Binary file not shown.
Binary file added
BIN
+14.4 KB
bbb-apps-common/lib_managed/jars/org.scala-sbt/test-interface/test-interface-1.0.jar
Binary file not shown.
Binary file added
BIN
+25.5 KB
bbb-apps-common/lib_managed/jars/org.slf4j/slf4j-api/slf4j-api-1.7.5.jar
Binary file not shown.
Binary file not shown.
Empty file.
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
sbt.version=0.13.8 |
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
addSbtPlugin("io.spray" % "sbt-revolver" % "0.7.2") | |||
|
|||
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0") | |||
|
|||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") | |||
|
|||
//addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.2") | |||
|
|||
|
This file contains 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
This file contains 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
13 changes: 13 additions & 0 deletions
13
bbb-apps-common/src/main/java/org/bigbluebutton/red5/client/ChatKeyUtil.java
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
package org.bigbluebutton.red5.client; | |||
|
|||
public class ChatKeyUtil { | |||
public static final String CHAT_TYPE = "chatType"; | |||
public static final String FROM_USERID = "fromUserID"; | |||
public static final String FROM_USERNAME = "fromUsername"; | |||
public static final String FROM_COLOR = "fromColor"; | |||
public static final String FROM_TIME = "fromTime"; | |||
public static final String FROM_TZ_OFFSET = "fromTimezoneOffset"; | |||
public static final String TO_USERID = "toUserID"; | |||
public static final String TO_USERNAME = "toUsername"; | |||
public static final String MESSAGE = "message"; | |||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...mmon/src/main/java/org/bigbluebutton/red5/client/messaging/IConnectionInvokerService.java
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,6 @@ | |||
package org.bigbluebutton.red5.client.messaging; | |||
|
|||
|
|||
public interface IConnectionInvokerService { | |||
void sendMessage(final ClientMessage message); | |||
} |
File renamed without changes.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.