Skip to content

Webapp connection to instance registry #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 21, 2018
Merged

Conversation

sami-cseseu
Copy link
Contributor

Webapp creates a entry on instance registry also it request for a Webapi instance from instance registry to perform required task

@ghost ghost assigned sami-cseseu Sep 12, 2018
@ghost ghost added the review label Sep 12, 2018
@codecov
Copy link

codecov bot commented Sep 12, 2018

Codecov Report

Merging #19 into develop will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop   #19    +/-   ##
======================================
  Coverage        0%    0%            
======================================
  Files            2     8     +6     
  Lines           22   172   +150     
  Branches         2    15    +13     
======================================
- Misses          22   172   +150
Impacted Files Coverage Δ
app/utils/BlockingHttpClient.scala 0% <0%> (ø) ⬆️
...pp/utils/instancemanagement/InstanceRegistry.scala 0% <0%> (ø)
app/EagerLoaderModule.scala 0% <0%> (ø)
app/utils/Configuration.scala 0% <0%> (ø)
app/utils/AppLogging.scala 0% <0%> (ø)
app/services/StartUpService.scala 0% <0%> (ø)
app/utils/instancemanagement/Instance.scala 0% <0%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c39e31...c478d54. Read the comment docs.

@ghost ghost assigned johannesduesing Sep 12, 2018
Copy link
Member

@bhermann bhermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the reviews made regarding dependencies. Thank you.

build.sbt Outdated
@@ -21,6 +21,14 @@ resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the webapp project need parboiled2?

build.sbt Outdated
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.12"
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.1"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency is added twice. Is this necessary?

build.sbt Outdated
@@ -21,6 +21,14 @@ resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.0.11"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the more current version 10.1.5. (see delphi-cli for migration)
Also, you might be able to just use the smaller akka-http-core library.

build.sbt Outdated
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.1"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is scalactic necessary?

@bhermann bhermann merged commit 2b1f339 into develop Sep 21, 2018
@ghost ghost removed the review label Sep 21, 2018
@bhermann bhermann deleted the feature/config_ip_for_IR branch September 21, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants