Re: [pgAdmin4][RM#3140] Add service parameter - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][RM#3140] Add service parameter
Date
Msg-id CA+OCxox6OQko3VQjUVDRpDge=275abZFJfQ4XCJ8_=uA7aDsfA@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][RM#3140] Add service parameter  (Victoria Henry <vhenry@pivotal.io>)
List pgadmin-hackers
Thanks, patches applied!

On Tue, Mar 13, 2018 at 9:53 AM, Victoria Henry <vhenry@pivotal.io> wrote:
Hi Dave,

We've made updated our previous patch to fix the error messages.  Attached are our updated patches.

On Mon, Mar 12, 2018 at 8:48 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Mon, Mar 12, 2018 at 5:18 PM, Joao De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hi Dave and Murtuza,

Regarding this patch we refactored the Javascript code so that is lives in a different file and added some tests.

Also we found an issue with karma-jasmine that does not allow us to use jasmine 3.1 yet. You can find attached a patch that reverts that commit.

Sounds good, but neither patch will apply (in fact, the Jasmine one looks entirely backwards). One of the error messages was changed in Murtuza's patch, and wasn't reflected in your update for example.

Can you rebase please?

Thanks.
 

Thanks
Victoria && Joao

On Mon, Mar 12, 2018 at 4:46 PM Dave Page <dpage@pgadmin.org> wrote:
Thanks, patch applied!

On Mon, Mar 12, 2018 at 3:31 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,

PFA updated patch.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Fri, Mar 9, 2018 at 9:29 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,

I'll change the name and send you updated patch.


On Fri, Mar 9, 2018 at 9:25 PM, Dave Page <dpage@pgadmin.org> wrote:
HI

On Fri, Mar 9, 2018 at 11:47 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,

PFA patch to add service parameter in server dialog.
- Docs updated
- Test case added for Service ID parameter

Please note,
I have extracted Connection class and Server manager class from our own custom Psycopg2 driver module.

Patch also covers RM#3120

 This patch seems a little confused. The "Service" and "Service ID" fields from pgAdmin 3 are very different things. The Redmine ticket seems to be asking for the Service field (the pg_service.conf service name), *not* Service ID (the operating system's service ID, used to start/stop the database server service).

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Refactor server dialogue validation for better unitt
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Skip tests where appropriate on GPDB. Fixes #3190