Comments (5)
It only working for 127.0.0.1. Instead of empty stream, I get java.lang.RuntimeException: Problem loading the bundle: Connection failed. It works if you have ConductR reachable on localhost. cc: @huntc
from sbt-conductr.
@ktoso Could this be related to recent changes?
from sbt-conductr.
in TypesafeConductR
val request =
LoadBundle(
HttpUri(bundle.toString),
config map (u => HttpUri(u.toString)),
stm,
nrOfCpus,
memory.underlying,
diskSpace.underlying,
roles
)
config here is None
this is passed in from:
def loadSubtask(b: Option[File]): Parser[LoadSubtask] =
(token("load") ~> Space ~> bundle(b) ~ configuration.?) map { case (b, config) => LoadSubtask(b, config) }
where configuration is:
def configuration: Parser[URI] = Space ~> token(basicUri)
so, if you type conductr load file:///bundle.. http://x.x.x.x:9005
you get LoadSubtask(bundlefile, Some(http://x.x.x.x:9005))
from sbt-conductr.
You guys tell me to shut up whenever, I'm enjoying poking around though...
it looks like the ConductRController Actor is created in globalSetttings:
onLoad := onLoad.value.andThen(loadActorSystem).andThen(loadConductRController)
and is initialized with
url <- (conductrControlServerUrl in Global).get(settings)
So, not sure when/how the user inputted controlServer makes its way into that actor...
from sbt-conductr.
just read the other issue where @ktoso talks about supporting different configurations at load time. I guess that is what the LoadBundle.config URI is.
Would it make sense to define another message for ConductRController to set a host on
case Some(ControlServerSubtask(host)) =>
like:
TypesafeConductR.setControlServer(host)
?
from sbt-conductr.
Related Issues (20)
- Set BundleKeys.conductrTargetVersion to ConductrVersion.V2 HOT 2
- Lagom 1.3 Scala project is not being set up with a bind address HOT 1
- Bump lagom version in scripted tests HOT 1
- Run HTTP requests to deployed applications in scripted tests
- scripted tests cover scenarios unsupported by Lagom
- Play Applications need non-default ACL when coexisting with Lagom HOT 1
- Play sample app should interact with Lagom
- Automatically add configuration bundles in deployment script HOT 5
- No start script with multiple main class HOT 1
- generateInstallationScript uses development configuration HOT 1
- Play conductr libs should support auto-downing HOT 2
- Bump the version of conductr-lib
- Remove deprecate test (multiple services in a single lagom service)
- Add tests for LagomApplicationLoader.describeService
- LagomConductRPlugin should respect the lagomCassandraEnabled setting
- Support conduct logs --follow option HOT 4
- enabling UniversalPlugin on docs project causes references to undefined settings HOT 3
- Use bndl tool from the CLI for bundle and bundle configuration generation HOT 2
- Lagom bundle causing deprecated crypto warning
- "Error: Failure to scale bundle" when running sandbox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-conductr.