Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24467179B4 for ; Mon, 31 Aug 2015 09:59:20 +0000 (UTC) Received: (qmail 73137 invoked by uid 500); 31 Aug 2015 09:59:20 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 73097 invoked by uid 500); 31 Aug 2015 09:59:19 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 73085 invoked by uid 99); 31 Aug 2015 09:59:19 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2015 09:59:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 392B01AB283 for ; Mon, 31 Aug 2015 09:59:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id n2F1oy3cgzJx for ; Mon, 31 Aug 2015 09:59:18 +0000 (UTC) Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com [209.85.213.41]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D6B8A42B5D for ; Mon, 31 Aug 2015 09:59:17 +0000 (UTC) Received: by vkhf67 with SMTP id f67so35599952vkh.1 for ; Mon, 31 Aug 2015 02:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VaOi0h0gmzHKkE4QCY/VkwytEOlqr3aYcfneLEhh/iQ=; b=Q3eL9jlqY8JVj4OvHSyGyU5ooGpyky98Ed1lJvvPUDT9j4eXbf67ce4YdAZBU43Vso hlTpL6krMmg8WOSW5Yc4dc3d1ELsVyOIG/gvZpshGXzI1vohf+/5bTk36ThPHvHTS1fn Uh6vr+4fxjxxCNa3nYEqC6IpYYmVDVQejdjUL2MpHjnl8UxVopyqjtNoGj2Y6Y0gN0zL FoW16HrgSFscSrVV8uuQKgoSnP8Txttk4PmtFWedpFH1pQhhS8+tBpxs0Hs++xx1HgcI TtR4dCJnF1jJb0g89jKL1cTqB1UQrXm0MM7QAuj0o1R/12M0jw8XLkH4jJ+4PHl2JLYt u++w== MIME-Version: 1.0 X-Received: by 10.53.6.100 with SMTP id ct4mr20584776vdd.60.1441015157218; Mon, 31 Aug 2015 02:59:17 -0700 (PDT) Received: by 10.103.46.11 with HTTP; Mon, 31 Aug 2015 02:59:17 -0700 (PDT) Date: Mon, 31 Aug 2015 10:59:17 +0100 Message-ID: Subject: Servicemix Brooklyn From: Richard Davidson To: dev@brooklyn.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113678108ffb27051e987c36 --001a113678108ffb27051e987c36 Content-Type: text/plain; charset=UTF-8 Hi All, I am new to Brooklyn so would appreciate you feedback on the proposal below. Servicemix is an integration platform based on Apache Karaf. At a high level it consists of: - Apache CXF - Apache Karaf, - Apache ActiveMQ - Apache Camel. The value of Servicemix over standard Karaf is that it pre integrates and tests all these components work together. I think it would be useful to have a Servicemix entity for Brooklyn. Below is my proposal, but I am very new to Brooklyn so please comment: 1. Servicemix is an OSGi container so I was thinking of using the package name org.apache.brooklyn.entity.osgi.servicemix. 2. As Servicemix is an extension of Karaf, I am thinking of extending the Java files under *org.apache.brooklyn.entity.osgi.karaf.* This will provide a lot of the functionality required. 3. I will provide a few new properties to the Karaf entity. Servicemix will also inherit these properties. - *bootFeatures *- List if features to install on startup of the container. - *bootRepositories* - List of repositories to install on startup of the container. -* hotDeployArtifacts* - List of URLs to deploy into the hot deploy directory. This is very useful to deploy artefacts such as Camel routes quickly. We could have a simple camel XML file in Github, and point Brooklyn at it. On startup it would be downloaded and placed into the deploy directory within Servicemix / Karaf: 4. We should also add a property for *javaOpts*. This will allow the JVM settings such heap size and GC settings to be customised. 5. It would be useful to have a way to configure OSGi PIDs via Brooklyn. PIDs are Java properties namespaced by a PID name. The best structure to represent this is Map. Is Brooklyn able to handle receiving a sensor datatype like the example below?: public static final BasicAttributeSensorAndConfigKey> PID_CONFIG = new BasicAttributeSensorAndConfigKey(>, "pidConfig"); If people are happy with the approach and it is something you would like to have in Brooklyn, I will start to work through it and submit a pull request. Thanks, Richard --001a113678108ffb27051e987c36--