Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 174471888A for ; Mon, 18 Apr 2016 13:19:10 +0000 (UTC) Received: (qmail 41295 invoked by uid 500); 18 Apr 2016 13:19:09 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 41236 invoked by uid 500); 18 Apr 2016 13:19:09 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 41226 invoked by uid 99); 18 Apr 2016 13:19:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2016 13:19:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 46428C0BC3 for ; Mon, 18 Apr 2016 13:19:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.199 X-Spam-Level: * X-Spam-Status: No, score=1.199 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8d4dzcHCLX4K for ; Mon, 18 Apr 2016 13:19:08 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 238E35F1E9 for ; Mon, 18 Apr 2016 13:19:08 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id p188so187519534oih.2 for ; Mon, 18 Apr 2016 06:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=jk4dFavWCi2qKtY9MsCjQftZnYIVS5H0tpuJNu71Wdg=; b=xoGI4VQQBkAKePg3jEnSSBdT2/AAjWGTYchfK3LsN/O7drJZx4qCpyqYJ4EjYwvsFX rvuCjoQGy99MZePqFfxJQKjlnJSDnjCUU5kkRuGfzCO3QGXq9wiS82++v7rWGYe4l8Wu h3zyv8UCmSfR4nzlfhc0pDprSis3xOhlBOHMevj0FI1OMOrlSiwdCcP3aeB7xZ2oCO4A 5hYUayCOfs9GAXOtTb/4nkivv5tsoPX3BoffvRyXsi9Rt2PYEw1Rhh/VIEbSjG/4IS/M 6spTeLSyPPuCHoQIKYuNHiSfPfw6AEuuuwVIpoiZ8SW7u2xCC5U2XrD6bYCWCX+ctzi4 svgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=jk4dFavWCi2qKtY9MsCjQftZnYIVS5H0tpuJNu71Wdg=; b=BkmSCHHS4H7vKg9URDb76KewWT0ofI/agC9o+MfRXfPhLE2+SidLej0cWD34HeX9VV wvEMy/uLsX76Sd4YPSV4jPHX5e7octdwO6cvXDr8kOEJ17PHCy9+NJSVN6gwsyyp5pct i1yJPxBuQ9WN7CqVJnsHIrmqV0MizEsS7c2qjz6V0zK83xbkZEk5sVKEBKuEsT0jBdo5 HTaMFYzarttXHfFCjB5UmtA9+gCSIs4Va/QMdDrJq7wQXK4d1psQTfgBwslETRy9/KPQ EI2QTvAqM2G8esgwtKhBQQfRzqK+uF7eNHrHn25vKgP4zJKSJ8LnXIXUQZSbaz4WeBMB x+0Q== X-Gm-Message-State: AOPr4FXYNd5ue4E4J9Yi9zXPn4+MgzJ96yNyfF/7g2JLpOQ4BRwNWKscK3nCXZtJokIat3kjt0dSAt7bwVLhTA== MIME-Version: 1.0 X-Received: by 10.157.61.71 with SMTP id a65mr8770523otc.48.1460985541016; Mon, 18 Apr 2016 06:19:01 -0700 (PDT) Received: by 10.202.77.147 with HTTP; Mon, 18 Apr 2016 06:19:00 -0700 (PDT) Date: Mon, 18 Apr 2016 18:49:00 +0530 Message-ID: Subject: How to auto generate spring configuration file ? From: Kamal C To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a11c01b4031c5f30530c23401 --001a11c01b4031c5f30530c23401 Content-Type: text/plain; charset=UTF-8 Hi, Ignite can be configured either through IgniteConfiguration or by passing bean XML file. In XML file approach, typing the property keys seems to be error-prone. e.g. *... * ** How to auto-generate the configuration file using the bean object ? [or] Is any sample file available which contains all the property keys ? (Users can copy-paste and edit only the values) --Kamal --001a11c01b4031c5f30530c23401 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
=C2=A0= =C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 Ignite can be configured either t= hrough IgniteConfiguration or by passing bean XML file.

In XML= file approach, typing the property keys seems to be error-prone.
=
e.g.
<bean id=3D"ignite.cfg" class=3D"org= .apache.ignite.configuration.IgniteConfiguration">
...
=C2=A0= =C2=A0=C2=A0 <property name=3D"localhost" value=3D"127.0.= 0.1"/> <!-- throws error as key is invalid -->
=C2=A0=C2= =A0=C2=A0 <property name=3D"localHost" value=3D"127.0.0.1= "/> <!-- valid key -->
</bean>
<= br>
How to auto-generate the configuration file using the bean obj= ect ?
[or]
Is any sample file available which contains al= l the property keys ? (Users can copy-paste and edit only the values)
--Kamal
<= div>
--001a11c01b4031c5f30530c23401--