Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55E56200C67 for ; Mon, 15 May 2017 21:53:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5470D160BC2; Mon, 15 May 2017 19:53:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7317C160BA9 for ; Mon, 15 May 2017 21:53:56 +0200 (CEST) Received: (qmail 90029 invoked by uid 500); 15 May 2017 19:53:55 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 90017 invoked by uid 99); 15 May 2017 19:53:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 19:53:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EC066C04EF for ; Mon, 15 May 2017 19:53:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.397 X-Spam-Level: X-Spam-Status: No, score=-0.397 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id l6dWS-pD3ljI for ; Mon, 15 May 2017 19:53:52 +0000 (UTC) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4227A5FAF9 for ; Mon, 15 May 2017 19:53:52 +0000 (UTC) Received: by mail-io0-f171.google.com with SMTP id k91so80672501ioi.1 for ; Mon, 15 May 2017 12:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=DF7UWbYIoW6KCcdk7/i7UcnzQxuo71xAIovVzDqPPBQ=; b=ffAuuTeebKHeVkFcPG021unTS3ABUPNA5WaP3VdQBpVy4PYnpYJWqnmNfi5qAR37vl NyEJfLzu2QKksTzmWAs6WgwG6g4dWDTRmREdiwEqvXa5ehDPPPDFFrxiEaU7zxZZBQEm lGKROZ6w6HL9ieLoF5pIoi/TV0Ekd3hoLFVY9pa63ZnR/KR4Cwzndxk504BV2f3U+8Ns tE9Do+JEoMpuM/+ys2YjYQvqLV7Njg23eBK1qUHrB/sYT5d8aPaSVBFsLiHrIi9I/B67 EL2SeWa/w8o4MYYVMWO1DnLU/bbGrY3ot6IoSxEMi8BY0OzB9dagsNpS/kXH9urin+/X HGeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=DF7UWbYIoW6KCcdk7/i7UcnzQxuo71xAIovVzDqPPBQ=; b=fG1uGNQv+ILHGciA29iNKZbSLNfuuPbzzlLKn3Tqt4Tii7t63yc5kNsb2KO6AbqSca eM8Y/MQY0J92kTCH/YHbWuuiIw8TP6WuqCEUcn69+vxZTt38JRYJG99GoCUnxbtjLhbQ t4haZ617Om9BUTYTaONXz+sjJ05eH/m6AS+BHZqfignt8lvuyLSct2doJHG/wagj5WIK QdUnPkiWid73btIJ60cvFbA9pM+EXIsY4Xq9wcmOeZpUj3KKIvm7QwkUX2iN3OEaA6CO hYQZVCJMB47+TSbGwotk9uihQ3zZbTUGqvl4/9r46WTRtL4XhhthQ5C13xLDr/DJSj5y IkBA== X-Gm-Message-State: AODbwcBmcVtFjkiMU4EJNlySUOERISc6en7Vdmo3Ojk02yb8kN2HlzOP 2klbp8GpsxUa4/9U5hyhUATlmuO3phIt X-Received: by 10.107.53.38 with SMTP id c38mr7057620ioa.0.1494878031581; Mon, 15 May 2017 12:53:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.38.1 with HTTP; Mon, 15 May 2017 12:53:51 -0700 (PDT) In-Reply-To: References: From: mohan kumar Muddana Date: Tue, 16 May 2017 01:23:51 +0530 Message-ID: Subject: Re: thoughts on Brooklyn docs To: dev@brooklyn.apache.org Content-Type: multipart/alternative; boundary="001a114494a00e161d054f956a32" archived-at: Mon, 15 May 2017 19:53:57 -0000 --001a114494a00e161d054f956a32 Content-Type: text/plain; charset="UTF-8" This was very high level when I created this when I was in Atos. Let me know if this is of any help. I know the architecture has changed a bit after that but basic flow remains the same. Feel free to copy or let me know how to improve on that. *https://github.com/mohanjune/brooklynlearnings/tree/master/docs * Thanks and regards Mohan On Thu, May 11, 2017 at 12:21 AM, Geoff Macartney < geoff.macartney@cloudsoftcorp.com> wrote: > Was just chatting about docs with some colleagues and remembered this from > Richard, which I thought was a great outline for what the docs should look > like. > > How about we make a start on reworking what's there with this as an initial > guide to the endpoint, and see how it goes? > > On Fri, 21 Apr 2017, 21:44 Richard Downer, wrote: > > > Hi, > > > > Yes there are some big improvements possible in this area. > > > > As someone who has taken a bit of a back seat in using Apache Brooklyn > for > > a while and has recently restarted actively developing blueprints, I've > > found that Brooklyn's features in this area have much improved over the > > last year or two, but the documentation has failed to keep up - many > great > > features available to blueprint writers are either documented too briefly > > or in an illogical location, or not documented at all. > > > > I have been thinking that if I was to use my Copious Free Time to write a > > book about creating blueprints for Apache Brooklyn, it's table of > contents > > would look something like this: > > > > Basic Ingredients > > - A simple server example > > - What the machine looks like > > - The software process lifecycle > > - Installing files > > - Sensors > > - Enrichers > > - Effectors > > Combining Parts > > - Multiple entities in one blueprint > > - References between entities > > - Latches > > - Child entities > > - Putting multiple entities on one server > > Catalog: the blueprint database > > - What is the catalog? > > - Looking inside the catalog > > - A simple blueprint into the catalog > > - Versions and updates > > - Parameters and configuration > > - Bundling resources with blueprints > > - A comprehensive example > > The Apache Brooklyn Blueprint Toolkit > > - Clusters > > - Java-based apps > > - [more standard Java entities] > > Policies for Active, Automated Management > > - Introduction to policies with the Service Restarter policy > > - [more policies] > > Blueprints for Microsoft Windows Server > > - [tbc] > > Writing Blueprints in Java > > - Depending on Apache Brooklyn: Maven > > - A simple Java blueprint > > - OSGI for versioning and dependency management > > - Enrichers > > - Policies > > Reference > > - Blueprint YAML > > - Apache Brooklyn DSL > > - Common ConfigKeys > > - Common Sensors > > - FreeMarker Template > > > > There would also be a separate manual covering the operational side of > > Brooklyn: installing and configuring, persistence and HA, configuring > > locations, managing the catalog, etc.. Then possibly a final user manual, > > which would probably be quite slim: just about how to use the UI and `br` > > client to work with blueprints already in the catalog, and examining > > running apps. > > > > My 2c. > > > > Richard. > > > > > > On 21 Apr 2017 17:36, "Geoff Macartney" cloudsoftcorp.com > > > > > wrote: > > > > > hi all, > > > > > > Was just thinking some more about our docs, prompted by Thomas's great > > work > > > on the redesign of the front page. > > > > > > The update front page will be great, but I think it will still leave us > > > with work to do on the overall structure and coverage of the docs in > > total. > > > It feels to me like there are two things we need to do: > > > > > > - improve the structure, for clarity, and > > > - fill in the main gap in the docs, namely the reference-level detail > on > > > each and every part of Brooklyn > > > > > > We need to think carefully about what we want in the docs and the > > intended > > > audience. > > > > > > I think we maybe need a clearer separation between 'users' (people > whose > > > interest is the apps), 'admins' who have > > > to manage Brooklyn, and 'developers' who'll work with the code. > > > > > > Not sure how it should be structured but maybe something like: > > > > > > 1. Learn more - 1 page overview of Brooklyn including example blueprint > > and > > > a description of the lifecycle of deploying it > > > 2. Getting started - how to get and run Brooklyn and deploy an app > > > 3. User Guide > > > - tutorials in more detail than getting started (cover DSL & wiring, > > > clusters...) > > > - plus explanations of all main aspects - some overlap with 'Reference' > > > (see below) but more a how-to guide than a comprehensive reference. > > > 4. Admin Guide > > > 5. Developer Guide > > > 6. Blueprint reference - comprehensive listing of all syntax and > > semantics > > > of blueprints: including: > > > blueprints versus catalog; explanations of basics such as > > > entity/location/application, 'type', 'id', how brooklyn.config works, > > > provisioning properties etc; composing catalog items; inheritance; > every > > > DSL method in detail; detailed description of every out-of-the-box > > entity; > > > detailed description of every enricher, policy, etc; testing; ... and > > lots > > > more > > > > > > What do you think? > > > > > > Geoff > > > > > > --001a114494a00e161d054f956a32--