Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

add ssl configurations #24

Merged
merged 1 commit into from
Oct 28, 2017
Merged

add ssl configurations #24

merged 1 commit into from
Oct 28, 2017

Conversation

tiaguinho
Copy link
Member

Implementation of issue 234

@avelino avelino requested review from crgimenes and a team and removed request for crgimenes October 27, 2017 11:35
@avelino
Copy link
Member

avelino commented Oct 27, 2017

That PR depends on this prest/config#13

@crgimenes
Copy link
Contributor

maybe it's interesting to return an error if sslmode!=disable but the other required parameters are not filled.

@tiaguinho
Copy link
Member Author

@crgimenes the problem is that even if I put mode=require, I don't need to fill the other parameters.
I think that depends on how the server is configured.

Copy link
Contributor

@crgimenes crgimenes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@felipeweb felipeweb merged commit 35168a6 into prest:master Oct 28, 2017
felipeweb pushed a commit that referenced this pull request Oct 29, 2017
* Support access to all databases in PostgreSQL cluster

* Fix broken SetNativeDB used for test purposes

* Joel conflicts and merge manualy (#26)

* restructuring for use of more than one database adapter

* created Adapter interface
* moved scanner to adapter
* created Postgres type as Adapter
* used config.Adapter to call the functions

Signed-off-by: Joel M. de Souza <contato@joelmdesouza.com>

* travis ci test

* revised tests

* revert test travis

* revert test travis

* changed onfig.Adapter to onfig.PrestConf.Adapter

* pass Postgres{} as a reference

* chanded adapter Postgres > adapter *Postgres

* changed tests Postgres{} > config.PrestConf.Adapter

* resolve conflicts adapter/scanner.go

* fix some merge conflicts

* Support access to all databases in PostgreSQL cluster

* Fix broken SetNativeDB used for test purposes

* add ssl configurations (#24)

* Adjust to new Adapter interface

* Support access to all databases in PostgreSQL cluster

* Adjust to new Adapter interface
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants