From commits-return-65568-archive-asf-public=cust-asf.ponee.io@camel.apache.org Mon Oct 1 14:57:08 2018 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 82568180677 for ; Mon, 1 Oct 2018 14:57:07 +0200 (CEST) Received: (qmail 24649 invoked by uid 500); 1 Oct 2018 12:57:06 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 24572 invoked by uid 99); 1 Oct 2018 12:57:06 -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; Mon, 01 Oct 2018 12:57:06 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E2C28829B5; Mon, 1 Oct 2018 12:57:05 +0000 (UTC) Date: Mon, 01 Oct 2018 12:57:04 +0000 To: "commits@camel.apache.org" Subject: [camel-k] 01/01: Merge pull request #141 from lburgazzoli/registry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <153839862300.11572.18415109086028602106@gitbox.apache.org> References: <153839862300.11572.18415109086028602106@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel-k X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 6304fd0d1adfeda4fcee97ac573cfc0bbe741c3f X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20181001125705.E2C28829B5@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 6304fd0d1adfeda4fcee97ac573cfc0bbe741c3f Merge: 3258b92 cfce48c Author: Andrea Cosentino AuthorDate: Mon Oct 1 14:56:54 2018 +0200 Merge pull request #141 from lburgazzoli/registry Add initial implementation of a DSL to bind object to camel registry runtime/catalog-builder/pom.xml | 20 +++- runtime/dependency-lister/pom.xml | 18 ++++ runtime/groovy/pom.xml | 18 ++++ .../apache/camel/k/groovy/GroovyRoutesLoader.java | 95 ++++++++++++++++- .../camel/k/groovy/ComponentConfigurationTest.java | 54 ++++++++++ .../java/org/apache/camel/k/groovy/RestTest.java | 54 ++++++++++ ...outesLoadersTest.java => RoutesLoaderTest.java} | 5 +- .../apache/camel/k/groovy/RuntimeRegistryTest.java | 54 ++++++++++ runtime/groovy/src/test/resources/log4j2-test.xml | 19 ++++ .../src/test/resources/routes-with-bindings.groovy | 8 ++ .../routes-with-component-configuration.groovy | 7 ++ .../src/test/resources/routes-with-rest.groovy | 13 +++ runtime/jvm/pom.xml | 18 ++++ .../java/org/apache/camel/k/jvm/Application.java | 20 +--- .../java/org/apache/camel/k/jvm/RoutesLoader.java | 3 +- .../java/org/apache/camel/k/jvm/RoutesLoaders.java | 9 +- .../main/java/org/apache/camel/k/jvm/Runtime.java | 117 +++++++++++++++++++++ .../org/apache/camel/k/jvm/RuntimeRegistry.java | 97 +++++++++++++++++ .../java/org/apache/camel/k/jvm/dsl/Scripting.java | 47 --------- .../org/apache/camel/k/jvm/PropertiesTest.java | 23 ++-- .../org/apache/camel/k/jvm/RoutesLoadersTest.java | 10 +- runtime/kotlin/pom.xml | 18 ++++ .../apache/camel/k/kotlin/KotlinRoutesLoader.java | 5 +- .../apache/camel/k/kotlin/RoutesLoadersTest.java | 3 +- .../apache/camel/k/kotlin/RuntimeRegistryTest.java | 51 +++++++++ .../src/test/resources/routes-with-bindings.kts | 9 ++ runtime/kotlin/src/test/resources/routes.kts | 15 --- runtime/pom.xml | 26 ++++- 28 files changed, 725 insertions(+), 111 deletions(-)