Skip to content

Commit

Permalink
Analyzing system properties being passed from the outer JVM launcher …
Browse files Browse the repository at this point in the history
…to the container.
  • Loading branch information
atooni committed Jan 16, 2019
1 parent d30a22d commit a415cd6
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 23 deletions.
Expand Up @@ -29,7 +29,7 @@ class ConfigLocator(ctContext: ContainerContext) {
}

/**
* Retrieve a configuartion by it's id.
* Retrieve a configuration by it's id.
*
* If a config file <code>id.conf</code> exists in the configuration directory, the result
* is the content of that file read in as a Config object.
Expand Down
Expand Up @@ -183,7 +183,6 @@ class JvmLauncher() {
|${otherArgs.mkString(" ", "\n ", "")}
|)""".stripMargin


override def toString(): String = prettyPrint
}

Expand Down Expand Up @@ -247,6 +246,7 @@ class JvmLauncher() {
}
log.debug("Using classpath args: " + cpArgs.mkString(" "))

// FIXME: Only pass explicitly configured System properties to the inner JVM
val propArgs = System.getProperties.asScala.map(p => s"-D${
p._1
}=${
Expand All @@ -271,4 +271,4 @@ class JvmLauncher() {
*/
def pathAsArg(paths: Seq[File]): String = paths.map(p => p.getPath).mkString(File.pathSeparator)

}
}
Expand Up @@ -21,6 +21,7 @@ set CP=%BLENDED_HOME%/etc^
;%BLENDED_HOME%/lib/config-@typesafe.config.version@.jar^
;%BLENDED_HOME%/lib/org.osgi.core-@org.osgi.core.version@.jar^
;%BLENDED_HOME%/lib/blended.updater.config-@blended.updater.config.version@.jar^
;%BLENDED_HOME%/lib/blended.util.logging-@blended.updater.config.version@.jar^
;%BLENDED_HOME%/lib/de.tototec.cmdoption-@cmdoption.version@.jar^
;%BLENDED_HOME%/lib/scala-library-@scala.library.version@.jar^
;%BLENDED_HOME%/lib/slf4j-api-@slf4j.version@.jar^
Expand Down
33 changes: 33 additions & 0 deletions doc/_notes/ContinousBuild
@@ -0,0 +1,33 @@
Goals:
* Build process creates conainer ready to go container images and deploys them to a given docker registry.
* Build process is defined in Code (i.e. jenkinsfiles, .travis.yml)
* Dependent project builds are triggered
* Build should run easily in Google's compute engine
* Build should be portable to other cloud platforms easily (i.e. OpenShift)

1. Install Minikube / kubernetes

2. Install and configure google compute engine

* Install Google Cloud SDK




Resources:

Kubernetes Overview:
https://jaxenter.de/der-steuermann-fuers-containerschiff-65844

Install Jenkins in Kubernetes
https://www.blazemeter.com/blog/how-to-setup-scalable-jenkins-on-top-of-a-kubernetes-cluster

1. Create jenkins namespace
kubectl create namespace jenkins

Plan:
- create and configure Docker Image for jenkins master
- project blended.helm/docker/jenkins-master
- run image locally on docker only
- deploy image to minikube
- deploy image to kubectl
File renamed without changes.
@@ -1,39 +1,39 @@
Test Driven Middleware
======================

Imagine you are working for a retail company you had to create an integration which hooks up all of
your point of sales location to your data center. You are not only facing a wide variety of operating
systems your platform needs to execute on, but also instable and/or slow networks ans ever-changing
requirements.
Imagine you are working for a retail company you had to create an integration which hooks up all of
your point of sales location to your data center. You are not only facing a wide variety of operating
systems your platform needs to execute on, but also unstable and/or slow networks ans ever-changing
requirements.

You have tried with several large companies - the integration specialists - promising a variety of features
You have tried with several large companies - the integration specialists - promising a variety of features
helping to solve the problem:

* Central Management
* "No programming, just config"
* Easy deployment
* No Testing Required

In our talk we are going to challenge those features based on a decade of experience implementing a
container framework geared to be used in large heterogenous networks. We will show why the "Slideware"
will fail in the end and a test driven approach leads to success eventually.
In our talk we are going to challenge those features based on a decade of experience implementing a
container framework geared to be used in large heterogeneous networks. We will show why the "Slideware"
will fail in the end and a test driven approach leads to success eventually.

Based on real project requirements we will give an overview of an integration framework designed around
automated testing, distribution and a minimal cost of ownership. The framework is open source and ready
to use in real world integration scenarios.

Based on real project requirements we will give an overview of an integration framework designed around
automated testing, distribution and a minimal cost of ownership. The framework is open source and ready
to use in real world integration scenarios.



Andreas Gies
============
Since early ages Andreas loved software development and continued to do so throughout and after his studies
of computer science in Munich. After university he was thrown into a large middleware project in 1991 and
never got away from the topic ever since. Over time he has worked for several large integration vendors as
developer, architect and consultant. In 2010 he founded the WOQ- Way of Quality GmbH, a small software
company specialising on integration projects.
Since early ages Andreas loved software development and continued to do so throughout and after his studies
of computer science in Munich. After university he was thrown into a large middleware project in 1991 and
never got away from the topic ever since. Over time he has worked for several large integration vendors as
developer, architect and consultant. In 2010 he founded the WOQ- Way of Quality GmbH, a small software
company specializing on integration projects.

Since then the WoQ developed and open sourced their integration framework which they use in their own projects.
Now closing in on it's 3rd major release the framework is ready for a broader audience.
Since then the WoQ developed and open sourced their integration framework which they use in their own projects.
Now closing in on it's 3rd major release the framework is ready for a broader audience.

Andreas lives and works in southern Spain together with his wife Karin and his 8 dogs Pinocchio, Pequeno, Pequena,
Pepino, Nicah, Vishnu, Chewi and Floh.
Pepino, Nicah, Vishnu, Chewi and Floh.

0 comments on commit a415cd6

Please sign in to comment.