incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r895530 - in /websites/staging/sling/trunk/content: ./ documentation/the-sling-engine.html documentation/the-sling-engine/featureflags.html
Date Mon, 27 Jan 2014 08:26:22 GMT
Author: buildbot
Date: Mon Jan 27 08:26:22 2014
New Revision: 895530

Log:
Staging update by buildbot for sling

Added:
    websites/staging/sling/trunk/content/documentation/the-sling-engine/featureflags.html
Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/the-sling-engine.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan 27 08:26:22 2014
@@ -1 +1 @@
-1561030
+1561603

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine.html Mon Jan 27 08:26:22
2014
@@ -111,9 +111,10 @@
 <h2 id="misc">Misc</h2>
 <ul>
 <li><a href="/documentation/the-sling-engine/adapters.html">Adapters</a></li>
+<li><a href="/documentation/the-sling-engine/featureflags.html">Feature Flags</a></li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1550895 by cziegeler on Sat, 14 Dec 2013 07:34:40 +0000
+        Rev. 1561603 by fmeschbe on Mon, 27 Jan 2014 08:26:12 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Added: websites/staging/sling/trunk/content/documentation/the-sling-engine/featureflags.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/featureflags.html
(added)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/featureflags.html
Mon Jan 27 08:26:22 2014
@@ -0,0 +1,121 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <head>
+    <title>Apache Sling - Feature Flags</title>
+    <link rel="icon" href="/res/favicon.ico">
+    <link rel="stylesheet" href="/res/site.css" type="text/css" media="all">
+    <link rel="stylesheet" href="/res/codehilite.css" type="text/css" media="all">
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </head>
+  <body>
+    <div class="title">
+      <div class="logo">
+        <a href="http://sling.apache.org/">
+          <img border="0" alt="Apache Sling" src="/res/logo.png">
+        </a>
+      </div>
+      <div class="header">
+        <a href="http://www.apache.org/">
+          <img border="0" alt="Apache" src="/res/apache.png">
+        </a>
+      </div>
+    </div>
+    
+    <div class="menu"> 
+      <p><strong><a href="/documentation.html">Documentation</a></strong>
<br />
+<a href="/documentation/getting-started.html">Getting Started</a> <br />
+<a href="/documentation/the-sling-engine.html">The Sling Engine</a> <br />
+<a href="/documentation/development.html">Development</a> <br />
+<a href="/documentation/bundles.html">Bundles</a> <br />
+<a href="/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>
<br />
+<a href="/documentation/configuration.html">Configuration</a> <br />
+<a href="http://s.apache.org/sling.wiki">Wiki</a> <br />
+<a href="http://s.apache.org/sling.faq">FAQ</a> <br />
+<a href="/sitemap.html">Site Map</a></p>
+<p><strong>API Docs</strong>  <br />
+<a href="/apidocs/sling6/index.html">Sling 6</a> <br />
+<a href="/apidocs/sling5/index.html">Sling 5</a>   </p>
+<p><strong>Project info</strong> <br />
+<a href="/downloads.cgi">Downloads</a> <br />
+<a href="http://www.apache.org/licenses/">License</a> <br />
+<a href="/contributing.html">Contributing</a> <br />
+<a href="/news.html">News</a> <br />
+<a href="/links.html">Links</a> <br />
+<a href="/project-information.html">Project Information</a> <br />
+<a href="https://issues.apache.org/jira/browse/SLING">Issue Tracker</a> <br
/>
+<a href="http://svn.apache.org/viewvc/sling/trunk">Browse Source Repository</a>
<br />
+<a href="/project-information/security.html">Security</a>   </p>
+<p><strong>Sponsorship</strong> <br />
+<a href="http://www.apache.org/foundation/thanks.html">Thanks</a> <br />
+<a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
<br />
+<a href="http://www.apache.org/foundation/buy_stuff.html">Buy Stuff</a>   </p>
+<!-- no valid ads for now, we'll  reactivate this when needed
+<iframe 
+    src="http://www.apache.org/ads/button.html"
+    style="border-width:0; float: left" frameborder="0" 
+    scrolling="no"
+    width="135" 
+    height="135">
+</iframe>
+-->
+    </div>
+    
+    <div class="main">
+      <div class="breadcrump" style="font-size: 80%;">
+        <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/documentation.html">Documentation</a>&nbsp;&raquo&nbsp;<a
href="/documentation/the-sling-engine.html">The Sling Engine</a>
+      </div>
+
+      
+      
+      <h1>Feature Flags</h1>
+      <p>Feature Flags are used to select whether a particular feature is enabled or
not. This allows to
+continuosly deploy new features of an application without making them globally available
yet.</p>
+<p>Features may be enabled based on various contextual data:</p>
+<ul>
+<li>Time of Day</li>
+<li>Segmentation Data (gender, age, etc.), if available</li>
+<li>Request Parameter</li>
+<li>Request Header</li>
+<li>Cookie Value</li>
+<li>Static Configuration</li>
+</ul>
+<p>Feature flags can be provided by registering <code>org.apache.sling.featureflags.Feature</code>
services.
+Alternatively feature flags can be provided by factory configuration with factory PID
+<code>org.apache.sling.featureflags.Feature</code> as follows:</p>
+<p>| <code>name</code> | Short name of this feature. This name is used
to refer to this feature
+          when checking for it to be enabled or not. This property is required
+          and defaults to a name derived from the feature's class name and object
+          identity. It is strongly recommended to define a useful and unique for the feature|
+| <code>description</code> | Description for the feature. The intent is to descibe
the behaviour
+          of the application if this feature would be enabled. It is recommended
+          to define this property. The default value is the value of the name property. |
+| <code>enabled</code> | Boolean flag indicating whether the feature is enabled
or not by
+          this configuration|</p>
+      <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+        Rev. 1561603 by fmeschbe on Mon, 27 Jan 2014 08:26:12 +0000
+      </div>
+      <div class="trademarkFooter"> 
+        Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
+        logo are trademarks of The Apache Software Foundation. All other marks mentioned
+        may be trademarks or registered trademarks of their respective owners.
+      </div>
+    </div>
+  </body>
+</html>



Mime
View raw message