-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support DIDComm via Websockets Support WebSocket URI as endpoints Update scala-did to 0.1.0-M15 Use of Scala DID framework and Transport Remove module 'http-utils' Support multi endpoint in the config file Better error handling Configuration update Cleanup duplicated code Work for #144 --------- Signed-off-by: Pete Vielhaber <[email protected]> Co-authored-by: Pete Vielhaber <[email protected]> Signed-off-by: Fabio Pinheiro <[email protected]> Signed-off-by: mineme0110 <[email protected]>
- Loading branch information
1 parent
7785393
commit 8b0126e
Showing
44 changed files
with
797 additions
and
1,101 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,7 @@ inThisBuild( | |
|
||
/** Versions */ | ||
lazy val V = new { | ||
val scalaDID = "0.1.0-M13" | ||
// val scalajsJavaSecureRandom = "1.0.0" | ||
val scalaDID = "0.1.0-M15" | ||
|
||
// FIXME another bug in the test framework https://github.com/scalameta/munit/issues/554 | ||
val munit = "1.0.0-M10" // "0.7.29" | ||
|
@@ -49,6 +48,7 @@ lazy val D = new { | |
val scalaDID = Def.setting("app.fmgp" %%% "did" % V.scalaDID) | ||
val scalaDID_imp = Def.setting("app.fmgp" %%% "did-imp" % V.scalaDID) | ||
val scalaDID_peer = Def.setting("app.fmgp" %%% "did-method-peer" % V.scalaDID) | ||
val scalaDID_framework = Def.setting("app.fmgp" %%% "did-framework" % V.scalaDID) | ||
|
||
// /** The [[java.security.SecureRandom]] is used by the [[java.util.UUID.randomUUID()]] method in [[MsgId]]. | ||
// * | ||
|
@@ -175,19 +175,6 @@ lazy val buildInfoConfigure: Project => Project = _.enablePlugins(BuildInfoPlugi | |
), | ||
) | ||
|
||
lazy val httpUtils = crossProject(JSPlatform, JVMPlatform) // project | ||
.in(file("http-utils")) | ||
.settings(publish / skip := true) | ||
.settings((setupTestConfig): _*) | ||
.settings( | ||
libraryDependencies += D.scalaDID.value, | ||
) | ||
.jsConfigure(scalaJSBundlerConfigure) | ||
.jsSettings(Compile / npmDependencies ++= NPM.sha256) | ||
.jvmSettings( | ||
libraryDependencies += D.zioHttp.value, | ||
) | ||
|
||
lazy val mediator = project | ||
.in(file("mediator")) | ||
.configure(buildInfoConfigure) | ||
|
@@ -204,6 +191,7 @@ lazy val mediator = project | |
.settings( | ||
libraryDependencies += D.scalaDID_imp.value, | ||
libraryDependencies += D.scalaDID_peer.value, | ||
libraryDependencies += D.scalaDID_framework.value, | ||
libraryDependencies += D.zioHttp.value, | ||
libraryDependencies ++= Seq( | ||
D.zioConfig.value, | ||
|
@@ -226,7 +214,7 @@ lazy val mediator = project | |
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework") | ||
) | ||
.settings( | ||
Compile / mainClass := Some("io.iohk.atala.mediator.app.MediatorStandalone"), | ||
Compile / mainClass := Some("io.iohk.atala.mediator.MediatorStandalone"), | ||
Docker / maintainer := "[email protected]", | ||
Docker / dockerUsername := Some("input-output-hk"), | ||
Docker / dockerRepository := Some("ghcr.io"), | ||
|
@@ -254,7 +242,6 @@ lazy val mediator = project | |
Runtime / managedClasspath += (Assets / packageBin).value, | ||
) | ||
.enablePlugins(WebScalaJSBundlerPlugin) | ||
.dependsOn(httpUtils.jvm) // did, didExample, | ||
.enablePlugins(JavaAppPackaging, DockerPlugin) | ||
|
||
lazy val webapp = project | ||
|
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
55 changes: 0 additions & 55 deletions
55
http-utils/jvm/src/main/scala/io/iohk/atala/mediator/comm/MessageDispatcherJVM.scala
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
http-utils/jvm/src/main/scala/io/iohk/atala/mediator/utils/HttpHelpers.scala
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
http-utils/shared/src/main/scala/io/iohk/atala/mediator/comm/DispatcherFail.scala
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
http-utils/shared/src/main/scala/io/iohk/atala/mediator/comm/MessageDispatcher.scala
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
http-utils/shared/src/main/scala/io/iohk/atala/mediator/comm/TapMessage.scala
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
http-utils/shared/src/main/scala/io/iohk/atala/mediator/utils/MyHeaders.scala
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.