You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by bu...@apache.org on 2018/09/30 08:20:05 UTC
svn commit: r1035930 - in /websites/staging/openwebbeans/trunk/content: ./
meecrowave/ meecrowave/meecrowave-core/ meecrowave/meecrowave-gradle/
meecrowave/meecrowave-jolokia/ meecrowave/meecrowave-jpa/
meecrowave/meecrowave-jta/ meecrowave/meecrowave-...
Author: buildbot
Date: Sun Sep 30 08:20:05 2018
New Revision: 1035930
Log:
Staging update by buildbot for openwebbeans
Modified:
websites/staging/openwebbeans/trunk/content/ (props changed)
websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/companion-projects.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/download.html
websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-letsencrypt/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf
Propchange: websites/staging/openwebbeans/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 30 08:20:05 2018
@@ -1 +1 @@
-1840185
+1842355
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/companion-projects.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/download.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/download.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/download.html Sun Sep 30 08:20:05 2018
@@ -93,11 +93,35 @@
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Source Release</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">1.2.4</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">2018-09-21 09:14:38</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">1 MB 466 kB</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">zip</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="http://www.apache.org/dyn/closer.lua/openwebbeans/meecrowave/1.2.4/meecrowave-1.2.4-source-release.zip"><span class="icon"><i class="fa fa-download"></i></span> zip</a> <a href="https://dist.apache.org/repos/dist/release/openwebbeans/meecrowave/1.2.4/meecrowave-1.2.4-source-release.zip.sha512"><span class="icon"><i class="fa fa-download"></i></span> sha512</a> <a href="https://dist.apache.org/repos/dist/release/openwebbeans/meecrowave/1.2.4/meecrowave-1.2.4-source-release.zip.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+ </tr>
+ <tr>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Core runner</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">1.2.4</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">2018-09-21 09:16:03</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">9 MB 534 kB</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">jar</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4-runner.jar"><span class="icon"><i class="fa fa-download"></i></span> jar</a> <a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4-runner.jar.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4-runner.jar.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+ </tr>
+ <tr>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Core</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">1.2.4</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">2018-09-21 09:15:51</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">202 kB</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">jar</p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4.jar"><span class="icon"><i class="fa fa-download"></i></span> jar</a> <a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4.jar.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="https://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/1.2.4/meecrowave-core-1.2.4.jar.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+ </tr>
+ <tr>
+ <td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Source Release</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">1.2.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2018-07-19 09:53:16</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">1 MB 448 kB</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">zip</p></td>
- <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="http://www.apache.org/dyn/closer.lua/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip"><span class="icon"><i class="fa fa-download"></i></span> zip</a> <a href="https://dist.apache.org/repos/dist/release/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip.sha512"><span class="icon"><i class="fa fa-download"></i></span> sha512</a> <a href="https://dist.apache.org/repos/dist/release/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+ <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://archive.apache.org/dist/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip"><span class="icon"><i class="fa fa-download"></i></span> zip</a> <a href="https://archive.apache.org/dist/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip.sha512"><span class="icon"><i class="fa fa-download"></i></span> sha512</a> <a href="https://archive.apache.org/dist/openwebbeans/meecrowave/1.2.3/meecrowave-1.2.3-source-release.zip.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Meecrowave Core runner</p></td>
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.html Sun Sep 30 08:20:05 2018
@@ -497,6 +497,7 @@
<li> <p><code>cxf.servlet.params.x=y</code> will force the CXF servlet init parameter <code>x</code> to be <code>y</code></p> </li>
<li> <p><code>connector.x=y</code> will pass the property <code>x</code> to be <code>y</code> on the connector. See the <a href="https://tomcat.apache.org/tomcat-9.0-doc/config/http.html">Apache Tomcat 9 Connector Documentation</a></p> </li>
<li> <p><code>connector.attributes.x=y</code> will use the property <code>x</code> with value <code>y</code> to create the connector (set a property on the instance of Ì`org.apache.catalina.connector.Connector`) See the Connector attributes referenced in the <a href="https://tomcat.apache.org/tomcat-9.0-doc/config/http.html">Apache Tomcat 9 Connector Documentation</a></p> </li>
+ <li> <p><code>valves.*</code> will be used to create valves. This prefix must be followed by a valve identifier then you can use the built-in virtual attributes. These ones are <code>_order</code> to sort the valves (natural order) and <code>_className</code> to specify the class to instantiate. Finally you can use any dotted attribute to configure the valve (see example after this list).</p> </li>
<li> <p><code>realm=y</code> will create an instance of <code>y</code> (qualified name of the class) as <code>realm</code></p> </li>
<li> <p><code>realm.x=y</code> will set <code>x</code> property to <code>y</code> - needs previous property to be set</p> </li>
<li> <p><code>login=</code> will create a custom <code>org.apache.meecrowave.Meecrowave$LoginConfigBuilder</code></p> </li>
@@ -517,6 +518,31 @@
</tbody>
</table>
</div>
+ <div class="sect2">
+ <h3 id="_valve_configuration">Valve configuration</h3>
+ <div class="paragraph">
+ <p>Here is an example to configure the <code>RemoteIpValve</code> and <code>LoadBalancerDrainingValve</code> using the <code>meecrowave.properties</code> syntax (which means it uses the <code>properties.</code> prefix to specify properties, drop it if you use the CLI options):</p>
+ </div>
+ <div class="listingblock">
+ <div class="content">
+ <pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">properties.valves.remote-ip._order = 1
+properties.valves.remote-ip._className = org.apache.catalina.valves.RemoteIpValve
+properties.valves.remote-ip.internalProxies = 192\\.168\\.0\\.10\|192\\.168\\.0\\.11
+properties.valves.remote-ip.remoteIpHeader = x-forwarded-for
+properties.valves.remote-ip.proxiesHeader = x-forwarded-by
+properties.valves.remote-ip.trustedProxies = proxy1|proxy2
+
+properties.valves.draining._order = 2
+properties.valves.draining._className = org.apache.catalina.valves.LoadBalancerDrainingValve
+properties.valves.draining.redirectStatusCode = 307
+properties.valves.draining.ignoreCookieName = draining-action
+properties.valves.draining.ignoreCookieValue = skip</code></pre>
+ </div>
+ </div>
+ <div class="paragraph">
+ <p>This will define the <code>remote-ip</code> and <code>draining</code> valves in this order with the configuration defined thanks to the properties not having an underscore at the beginning of their name.</p>
+ </div>
+ </div>
</div>
</div>
<div class="sect1">
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-letsencrypt/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
==============================================================================
Binary files - no diff available.
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html Sun Sep 30 08:20:05 2018
@@ -168,6 +168,16 @@ public class MeecrowaveConfigTest {
}</code></pre>
</div>
</div>
+ <div class="admonitionblock tip">
+ <table>
+ <tbody>
+ <tr>
+ <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td>
+ <td class="content"> JUnit 5 integration provides an <code>@AfterFirstInjection</code> method and <code>@AfterLastTest</code> which can be used to setup/reset some environment using injections once for a set of test methods. The methods must not have any parameter. </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
</div>
</div>
</div>
@@ -264,7 +274,7 @@ public class MeecrowaveConfigTest {
<property name="ssl">false</property>
<property name="sslProtocol"></property>
<property name="stopPort">-1</property>
- <property name="tempDir">/var/folders/cc/5g6j5x3x74154g2rmmtpz_4w0000gn/T/meecrowave_227813277178820</property>
+ <property name="tempDir">/var/folders/cc/5g6j5x3x74154g2rmmtpz_4w0000gn/T/meecrowave_184680423404202</property>
<property name="tomcatAccessLogPattern"></property>
<property name="tomcatAutoSetup">true</property>
<property name="tomcatFilter"></property>
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf
==============================================================================
Binary files - no diff available.