Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjjOv-00054J-32 for pgadmin-hackers@arkaria.postgresql.org; Tue, 13 Sep 2016 08:49:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bjjOu-0008Fz-Ll for pgadmin-hackers@arkaria.postgresql.org; Tue, 13 Sep 2016 08:49:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bjjOh-00081e-Jt for pgadmin-hackers@postgresql.org; Tue, 13 Sep 2016 08:48:55 +0000 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bjjOa-0000kA-Pc for pgadmin-hackers@postgresql.org; Tue, 13 Sep 2016 08:48:55 +0000 Received: by mail-it0-x22c.google.com with SMTP id n143so27900120ita.1 for ; Tue, 13 Sep 2016 01:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=t8jULrG4nH1jMyn2g8cpmhRe8GtpSJZ58Mt22xsdRdI=; b=r0sMuxVXZ791N9vJy31lWKUpMcj6tiS8u6mX50NBbMpXYki0zq2xDARNdGSkqgdwOl T+y5tAEXYREZi33tmSzBi/vMqOKQv5u2VT689lYAqAdyUOEg5P9cNhF1xReNh8+5l/p6 RNtTtNKMbkmSgbPkuooM7b4DA/bEFkk7KExXU/AGzRb1MnsrAHjz9/OHzSw8GL3oV4mY sIJhGIZMgRlbumAOtK1MOvnXO5d5/Ufd+WYgSbnansbbAEWGc6FenC3G1yGbIRqSkCGL msRU8xyTYG3zI3aoz8wwFJOYOtV/uR8RreosqpPCXcb76X0ITFnEivLy0o6z+fROuaoa mB1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=t8jULrG4nH1jMyn2g8cpmhRe8GtpSJZ58Mt22xsdRdI=; b=C3c1vsHS+uf5cGcvch+8emG1gDzbc5/TYrUn3F/Z1WNE5WqekSh8W5hjjq1oLwqiYV z6XVd++S+zsQrX77A3IvCZELWowfg0gK0qDVHI4p+IrHqhZ27oQmCDS7IgSUPE7gvc8D u/VBxH2Hi8zDPlPZEVRorRhzKqLKOioOodkM5x1dAVOy1qtS1Hk5lv3E0Lic3ZrGirP1 Zya3y+RVD8+xAKJskpo/jU2Hu2MHgzlB6Hg6BkWeappjiNmjyFR5fuQvYK8zvZXK9QKl 8jWZemBANTx0SDibcm+RqVup8C/yVS9tkTAsP/2/O7uaWPYEaLq56SGR18Ubk83P0LHX k3Vg== X-Gm-Message-State: AE9vXwOMpk1Yx/vDXjNA/t2pWXBjb/jFseWKOG+ZTccd5r5iMLhrOA3h9qikU6Vl3liBmEwvPOMxQWIwo6sbytI/O6f6fc/RdiACsKF+Nf8nDF4AGcnMWeu33+3/Rvr8aJRWMNW7iJenAOfjIQiPdZkhPasDHHfZkhw04QJTQhh6h7Xn1ogWZDTVarBATuCnqBOBo+8ong== X-Received: by 10.107.2.88 with SMTP id 85mr164219ioc.196.1473756526515; Tue, 13 Sep 2016 01:48:46 -0700 (PDT) Received: from mail-it0-f48.google.com (mail-it0-f48.google.com. [209.85.214.48]) by smtp.gmail.com with ESMTPSA id j76sm14379542itb.2.2016.09.13.01.48.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 01:48:45 -0700 (PDT) Received: by mail-it0-f48.google.com with SMTP id n143so27899383ita.1 for ; Tue, 13 Sep 2016 01:48:45 -0700 (PDT) X-Received: by 10.107.170.87 with SMTP id t84mr165393ioe.87.1473756525236; Tue, 13 Sep 2016 01:48:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Tue, 13 Sep 2016 01:48:44 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Tue, 13 Sep 2016 09:48:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Server specific advanced config file for testsuite To: Navnath Gadakh Cc: Kanchan Mohitey , pgadmin-hackers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org BTW - I need the updated code that fixes all outstanding issues this week please. Release is coming up fast... On Tue, Sep 13, 2016 at 9:48 AM, Dave Page wro= te: > Hi > > On Mon, Sep 12, 2016 at 6:26 PM, Navnath Gadakh > wrote: >> Hi Dave, >> As we know that, we are using two JSON files one is for basic >> configuration of server(test_config.json) and second for detailed >> configuration of server(test_advanced_config.json). >> In test_advanced_config.json, we give detail for database, schema, >> extension, collation etc. These details are generic I mean these details= are >> not server specific. >> - Do we need to allow user to give server specific details? > > I don't see any reason to do so. Honestly I don't see much need for > test_advanced_config.json at all - I can't see anyone ever customising > the tests. I certainly doubt I will. > >> If yes, there should be some identification(like =E2=80=98server_type=E2= =80=99, =E2=80=98version=E2=80=99) >> for each detail so that we can read server appropriate details. >> We have one approach in mind, to attach 'server_type' & 'version' to each >> detail >> So, modified test_advanced_config.json can be like this, >> { >> "add_database_data=E2=80=9D:[ >> { >> "conn_limit": -1, >> =E2=80=9Cowner=E2=80=9D: =E2=80=9Cpostres=E2=80=9D, >> . >> . >> . >> . >> =E2=80=9Cserver_type=E2=80=9D: =E2=80=9Cpg=E2=80=9D, >> =E2=80=9Cversion=E2=80=9D: =E2=80=9Cpg9.4=E2=80=9D >> }, >> { >> { >> "conn_limit": -1, >> =E2=80=9Cowner=E2=80=9D: =E2=80=9Centerprisedb=E2=80=9D, >> . >> . >> . >> . >> =E2=80=9Cserver_type=E2=80=9D: =E2=80=9Cppas=E2=80=9D, >> =E2=80=9Cversion=E2=80=9D: =E2=80=9Cppas9.6=E2=80=9D >> } >> }], >> =E2=80=9Cschema_credentials=E2=80=9D: >> [{"func_acl": [], >> "seq_acl": [], >> . >> . >> . >> . >> =E2=80=9Cserver_type=E2=80=9D: =E2=80=9Cpg=E2=80=9D, >> =E2=80=9Cversion=E2=80=9D: =E2=80=9Cpg9.4=E2=80=9D >> }] >> . >> . >> . >> . >> . >> } >> >> Any suggestions? >> >> For multiple server currently we used 'owner' to identify the server, but >> that fails if two servers have the same owner. >> >> >> -- >> Thanks, >> Navnath Gadakh >> Software Engineer >> EnterpriseDB Corporation >> Mobile: +91 9975389878 >> >> > > > > -- > Dave Page > VP, Chief Architect, Tools & Installers > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake --=20 Dave Page VP, Chief Architect, Tools & Installers EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company Blog: http://pgsnake.blogspot.com Twitter: @pgsnake --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers