karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject karaf git commit: Suppress welcome banner in tests. Add default ssh server key for tests
Date Thu, 03 Aug 2017 13:53:12 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 590cdf15f -> 71323669d


Suppress welcome banner in tests. Add default ssh server key for tests


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/71323669
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/71323669
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/71323669

Branch: refs/heads/master
Commit: 71323669d97c89d6acdd34bddbfbe12ef015f1aa
Parents: 590cdf1
Author: Christian Schneider <chris@die-schneider.net>
Authored: Thu Aug 3 15:52:52 2017 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Thu Aug 3 15:53:06 2017 +0200

----------------------------------------------------------------------
 .../apache/karaf/itests/KarafTestSupport.java   |  4 ++-
 itests/src/test/resources/etc/host.key          | 28 ++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/71323669/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java b/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java
index 97dee6f..da70446 100644
--- a/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java
+++ b/itests/src/test/java/org/apache/karaf/itests/KarafTestSupport.java
@@ -203,6 +203,7 @@ public class KarafTestSupport {
             mavenBundle().groupId("org.awaitility").artifactId("awaitility").versionAsInProject(),
             mavenBundle().groupId("org.apache.servicemix.bundles").artifactId("org.apache.servicemix.bundles.hamcrest").versionAsInProject(),
             replaceConfigurationFile("etc/org.ops4j.pax.logging.cfg", getConfigFile("/etc/org.ops4j.pax.logging.cfg")),
+            replaceConfigurationFile("etc/host.key", getConfigFile("/etc/host.key")),
             editConfigurationFilePut("etc/org.apache.karaf.features.cfg", "updateSnapshots",
"none"),
             editConfigurationFilePut("etc/org.ops4j.pax.web.cfg", "org.osgi.service.http.port",
httpPort),
             editConfigurationFilePut("etc/org.apache.karaf.management.cfg", "rmiRegistryPort",
rmiRegistryPort),
@@ -214,7 +215,8 @@ public class KarafTestSupport {
             editConfigurationFilePut("etc/system.properties", "spring40.version", System.getProperty("spring40.version")),
             editConfigurationFilePut("etc/system.properties", "spring41.version", System.getProperty("spring41.version")),
             editConfigurationFilePut("etc/system.properties", "spring42.version", System.getProperty("spring42.version")),
-            editConfigurationFilePut("etc/system.properties", "spring43.version", System.getProperty("spring43.version"))
+            editConfigurationFilePut("etc/system.properties", "spring43.version", System.getProperty("spring43.version")),
+            editConfigurationFilePut("etc/branding.properties", "welcome", "") // No welcome
banner
         };
     }
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/71323669/itests/src/test/resources/etc/host.key
----------------------------------------------------------------------
diff --git a/itests/src/test/resources/etc/host.key b/itests/src/test/resources/etc/host.key
new file mode 100644
index 0000000..0fa8a56
--- /dev/null
+++ b/itests/src/test/resources/etc/host.key
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCMhJc39qGSrA0N
+mscLRrfaw1nJ8XpDco1lX8EKuQI409gqOLEiXPObZtM1+ATwRFaNbI5W0BoqNhPo
+NwbodT/Uwny3cIohUMP6yrS0HeDxFrY3j90Ny4QviKEkVcv/2D/oKh38KEsRYb+3
+pT2kus6mKoHYcdPHwMGdl1s78EvXjDMFMdu8KhYO0RX4lfEgkoZgjaHyXa6BX87u
+O1ijTW+pgSDOrTtyCS7G2FacRsadsQddo0p+gwimwYvxgIW0wEgkVm+eV8AoYmxS
+fYUCxym/DNp8B7MP2mTuliEOFpsDlyWuubEevHeaE7W+0lJjZzdpmkMZ/V9+fX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