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 1303F200CB4 for ; Tue, 27 Jun 2017 16:00:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11216160BDC; Tue, 27 Jun 2017 14:00:16 +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 08F3B160BE9 for ; Tue, 27 Jun 2017 16:00:14 +0200 (CEST) Received: (qmail 71841 invoked by uid 500); 27 Jun 2017 14:00:14 -0000 Mailing-List: contact commits-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwebbeans.apache.org Delivered-To: mailing list commits@openwebbeans.apache.org Received: (qmail 71830 invoked by uid 99); 27 Jun 2017 14:00:14 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2017 14:00:14 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id BF2383A019D for ; Tue, 27 Jun 2017 14:00:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1014589 - in /websites/staging/openwebbeans/trunk/content: ./ meecrowave/ meecrowave/meecrowave-core/ meecrowave/meecrowave-jolokia/ meecrowave/meecrowave-jpa/ meecrowave/meecrowave-jta/ meecrowave/meecrowave-maven/ meecrowave/meecrowave-o... Date: Tue, 27 Jun 2017 14:00:13 -0000 To: commits@openwebbeans.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170627140013.BF2383A019D@svn01-us-west.apache.org> archived-at: Tue, 27 Jun 2017 14:00:16 -0000 Author: buildbot Date: Tue Jun 27 14:00:12 2017 New Revision: 1014589 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/meecrowave-core/cli.html 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-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-maven/index.html 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 Tue Jun 27 14:00:12 2017 @@ -1 +1 @@ -1798135 +1800062 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/meecrowave-core/cli.html ============================================================================== --- websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.html (original) +++ websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.html Tue Jun 27 14:00:12 2017 @@ -155,6 +155,10 @@

Should default JAX-RS provider be configured

+

--jaxws-support-if-present

+

Should @WebService CDI beans be deployed if cxf-rt-frontend-jaxws is in the classpath.

+ +

--jsonb-binary-strategy

Should JSON-B provider prettify the output

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 Tue Jun 27 14:00:12 2017 @@ -135,10 +135,6 @@

Should ServletContainerInitialize support injections.

-

java9SkipWorkarounds

-

Should the java9 workarounds be skipped, default to false if on java 9

- -

jaxrsAutoActivateBeanValidation

Should bean validation be activated on JAX-RS endpoint if present in the classpath.

@@ -159,6 +155,10 @@

Should default JAX-RS provider be configured

+

jaxwsSupportIfAvailable

+

Should @WebService CDI beans be deployed if cxf-rt-frontend-jaxws is in the classpath.

+ +

jsonbBinaryStrategy

Should JSON-B provider prettify the output

@@ -351,6 +351,10 @@

In memory users

+

watcherBouncing

+

Activate redeployment on directories update using this bouncing.

+ +

webResourceCached

Cache web resources

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-maven/index.html ============================================================================== --- websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.html (original) +++ websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.html Tue Jun 27 14:00:12 2017 @@ -170,11 +170,6 @@ most of the configuration is inherited f

${meecrowave.servlet-container-initializer-injections}

-

java9SkipWorkarounds

-

-

-

${meecrowave.java9SkipWorkarounds}

- -

jaxrsAutoActivateBeanValidation

true

${meecrowave.jaxrs-beanvalidation}

@@ -200,6 +195,11 @@ most of the configuration is inherited f

${meecrowave.jaxrs-provider-setup}

+

jaxwsSupportIfAvailable

+

true

+

${meecrowave.jaxws-support}

+ +

jsonbBinaryStrategy

-

${meecrowave.jsonb-binary-strategy}

@@ -425,6 +425,11 @@ most of the configuration is inherited f

${meecrowave.useTomcatDefaults}

+

watcherBouncing

+

0

+

${meecrowave.watcher-bounding}

+ +

webResourceCached

true

${meecrowave.webResourceCached}

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 Tue Jun 27 14:00:12 2017 @@ -84,27 +84,12 @@

Rules and Runners

-

Meecrowave provides two flavors of JUnit integration: mono or nor runners/rules. The mono one will -ensure there is a single container for the whole JVM where the other ones will follow JUnit lifecycle (per class or test).

+

Meecrowave provides two flavors of JUnit integration: standalone or runners/rules. The standalone one will +ensure there is a single container for the whole JVM. It also fits standalone environments where you want to control the lifecycle. +The other one will follow the JUnit lifecycle (per class or test rule).

-

Here how to use the not mono rule:

-
-
-
-
public class MeecrowaveRuleTest {
-    @ClassRule // started once for the class, @Rule would be per method
-    public static final MeecrowaveRule RULE = new MeecrowaveRule();
-
-    @Test
-    public void test() throws IOException {
-        // use "http://localhost:" + RULE.getConfiguration().getHttpPort()
-    }
-}
-
-
-
-

And here for the mono version:

+

Here how to use the standalone flavor:

@@ -126,13 +111,33 @@ public class MonoMeecrowaveRuleTest {
-

When using the mono runner, @MonoMeecrowave.Runner.ConfigurationInject allows to still +

When using the standalone, @MonoMeecrowave.Runner.ConfigurationInject allows to still access the configuration and random HTTP port.

-

For the configuration, mono rule will use a global configuration shared by all tests. To load it +

For the configuration, the standalone runner will use a global configuration shared by all tests. To load it it will use a standard ServiceLoader on type org.apache.meecrowave.Meecrowave$ConfigurationCustomizer.

+
+

And here is the one bound to the JUnit lifecycle

+
+
+
+
public class MeecrowaveRuleTest {
+    @ClassRule // started once for the class, @Rule would be per method
+    public static final MeecrowaveRule RULE = new MeecrowaveRule();
+
+    @Test
+    public void test() throws IOException {
+        // use "http://localhost:" + RULE.getConfiguration().getHttpPort()
+    }
+}
+
+
+
+

As usual with JUnit rules, you can decide whereas the Meecrowave instance is bound to the entire test class +or a method by using @ClassRule or @Rule.

+

JUnit 5

@@ -200,7 +205,7 @@ public class MeecrowaveConfigTest { <arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> - <container qualifier="tomee-embedded" default="true"> + <container qualifier="meecrowave" default="true"> <configuration> <property name="arquillianProtocol">Servlet 3.1</property> <property name="cdiConversation">false</property> @@ -216,12 +221,12 @@ public class MeecrowaveConfigTest { <property name="httpPort">-1</property> <property name="httpsPort">8443</property> <property name="injectServletContainerInitializer">true</property> - <property name="java9SkipWorkarounds">false</property> <property name="jaxrsAutoActivateBeanValidation">true</property> <property name="jaxrsDefaultProviders"></property> <property name="jaxrsLogProviders">false</property> <property name="jaxrsMapping">/*</property> <property name="jaxrsProviderSetup">true</property> + <property name="jaxwsSupportIfAvailable">true</property> <property name="jsonbBinaryStrategy"></property> <property name="jsonbEncoding">UTF-8</property> <property name="jsonbIJson">false</property> @@ -264,7 +269,7 @@ public class MeecrowaveConfigTest { <property name="ssl">false</property> <property name="sslProtocol"></property> <property name="stopPort">-1</property> - <property name="tempDir">/tmp/meecrowave_376939390447003</property> + <property name="tempDir">/var/folders/tl/bcdg2b8d3h9crfv82qtv5kp80000gn/T/meecrowave_603080588218912</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.