From commits-return-46581-archive-asf-public=cust-asf.ponee.io@tomee.apache.org Sun Feb 3 00:32:57 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 318F1180656 for ; Sun, 3 Feb 2019 01:32:57 +0100 (CET) Received: (qmail 2803 invoked by uid 500); 3 Feb 2019 00:32:56 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 2794 invoked by uid 99); 3 Feb 2019 00:32:56 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2019 00:32:56 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 528FA857B4; Sun, 3 Feb 2019 00:32:55 +0000 (UTC) Date: Sun, 03 Feb 2019 00:32:54 +0000 To: "commits@tomee.apache.org" Subject: [tomee] branch master updated (c69eec4 -> edeeda0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154915397412.698.15313877447465993920@gitbox.apache.org> From: radcortez@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: tomee X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c69eec4917c897292ea5dd890bde1527c373dd0c X-Git-Newrev: edeeda00334b95f2eb3c2a371f0e358ca5e7090a X-Git-NotificationType: ref_changed X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. radcortez pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/tomee.git. from c69eec4 TOMEE-2462 - MicroProfile Configuration ConfigSource Example. add 8af6ae2 TOMEE-2408 - Initial work to make MicroProfile deployment only when required. add 1a4e4ad TOMEE-2408 - Removed all MP deployable endpoints. Rules required to activate them. add b86e492 TOMEE-2408 - Initial rules to figure out if MP Health is required. add 76f9140 TOMEE-2408 - Fixed CDI Scanning for MP in EAR deployments. add 766a662 TOMEE-2408 - Added MicroProfile to Plus and Plume. add fc9fa5d TOMEE-2408 - Removed the MicroProfileExtension. Is not needed. add ba02c94 TOMEE-2408 - MicroProfileListener to removed duplicated endpoints and prevent servlet mapping clash. add de5a2ee TOMEE-2408 - CDI scanning for additional libraries, skipping if to deploy only the related ejb module. add 173ffec TOMEE-2408 - Exclude some libraries from scanning. add 19d2f26 TOMEE-2408 - Enable CDI for Tomcat TomEE webapp deployment. add fb13045 TOMEE-2408 - ApplicationComposer in Arquillian Remote with MP not supported yet. add ccc326f TOMEE-2408 - Workaround for OpenAPI issue (GERONIMO-6690). add 8f0dacd TOMEE-2408 - Readded MP libraries. Apparently they are needed in some cases. add 26d5b4e TOMEE-2408 - Fixed NPE. add 3f59d38 TOMEE-2462 - Added test to verify servlets, default servlet and rest endpoints execution. add 58674b8 TOMEE-2408 - Fixed issue with ClassNotFound due to web.xml change to metadata-complete. Tomcat performs scanning on classes to find webapp annotations and this happened before adding the TomEE lib jars into the classloader. add 2ffed70 TOMEE-2408 - Refactored the way to add MP libraries in the container scanner. Added an event to allow to decouple the code and register the required libraries when needed. add bb478e2 TOMEE-2408 - Added configuration to enable / disable MP scanning. add 31b3a71 TOMEE-2408 - MP scan configuration all in Installer just for MP flavour. add d359898 TOMEE-2408 - Fixed missing configuration for MP OpenAPI. add edeeda0 TOMEE-2408 - Enable MP scan in Arquillian for MP TCK on Plume and Plus. No new revisions were added by this update. Summary of changes: .../arquillian/tests/jaxrs/servlets/Echo.java} | 12 +- .../jaxrs/servlets/RestWithServletsTest.java} | 33 ++-- .../tests/jaxrs/servlets/RootServlet.java} | 16 +- .../arquillian/tests/jaxrs/servlets/Servlet.java} | 16 +- .../tests/jaxrs/staticresources/TheResource.java | 2 +- .../tests/jaxrs/webxmloverride/TheResource.java | 2 +- .../arquillian/tests/jaxrs/servlets/ok.html | 1 + .../tests/appcomposer/AppComposerTest.java | 2 + .../java/org/apache/openejb/cdi/CdiScanner.java | 15 +- .../openejb/config/ConfigurationFactory.java | 4 - .../apache/openejb/config/DeploymentLoader.java | 15 +- ...rEvent.java => AfterContainerUrlScanEvent.java} | 24 +-- .../src/main/resources/default.exclusions | 5 + .../apache/openejb/server/rest/RESTService.java | 7 +- .../config/src/test/resources/arquillian.xml | 2 + .../src/test/resources/arquillian.xml | 6 + .../health/src/test/resources/arquillian.xml | 6 + .../jwt/src/test/resources/arquillian.xml | 7 +- .../metrics/src/test/resources/arquillian.xml | 2 + .../openapi/src/test/resources/arquillian.xml | 10 +- .../opentracing/src/test/resources/arquillian.xml | 6 + .../rest-client/src/test/resources/arquillian.xml | 6 + .../src/main/groovy/commands/SetupCommand.groovy | 2 +- .../org/apache/tomee/catalina/TomcatLoader.java | 2 - .../apache/tomee/catalina/TomcatWebAppBuilder.java | 5 +- .../catalina/event/AfterApplicationCreated.java | 11 +- .../java/org/apache/tomee/installer/Installer.java | 26 ++- tomee/tomee-microprofile/mp-common/pom.xml | 184 +++++++++++++++++---- .../microprofile/TomEEMicroProfileListener.java | 116 +++++++++++++ .../microprofile/config/TomEEConfigSource.java | 17 +- .../META-INF/org.apache.openejb.extension | 1 + .../tomee-microprofile-webapp/pom.xml | 131 +-------------- tomee/tomee-plume-webapp/pom.xml | 128 -------------- tomee/tomee-plus-webapp/pom.xml | 128 -------------- tomee/tomee-webapp/src/main/assembly/war.xml | 7 + tomee/tomee-webapp/src/main/webapp/WEB-INF/web.xml | 2 +- 36 files changed, 443 insertions(+), 516 deletions(-) copy arquillian/{arquillian-tomee-embedded/src/test/java/org/apache/openejb/arquillian/embedded/ARestService.java => arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/servlets/Echo.java} (84%) copy arquillian/{arquillian-openejb-embedded/src/test/java/org/apache/openejb/arquillian/openejb/ArquillianResourceURLTest.java => arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/servlets/RestWithServletsTest.java} (59%) copy arquillian/arquillian-tomee-tests/{arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/servlet/SimpleServlet.java => arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/servlets/RootServlet.java} (76%) copy arquillian/arquillian-tomee-tests/{arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/servlet/SimpleServlet.java => arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/servlets/Servlet.java} (75%) create mode 100644 arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/org/apache/openejb/arquillian/tests/jaxrs/servlets/ok.html copy container/openejb-core/src/main/java/org/apache/openejb/config/event/{BeforeAppInfoBuilderEvent.java => AfterContainerUrlScanEvent.java} (69%) create mode 100644 tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java create mode 100644 tomee/tomee-microprofile/mp-common/src/main/resources/META-INF/org.apache.openejb.extension