Skip to content

Adding a layer for Database Connection Configurations#185

Merged
jyotisingh merged 4 commits intogocd:masterfrom
sachinsudheendra:dbconns
May 15, 2014
Merged

Adding a layer for Database Connection Configurations#185
jyotisingh merged 4 commits intogocd:masterfrom
sachinsudheendra:dbconns

Conversation

@sachinsudheendra
Copy link
Contributor

As part of providing a definite way for database adapters to implement their configuration, I've externalised the H2 configuration in a way for other implementations to easily plug into the DB layer.

Adding a new layer for database configuration so that different providers can choose their way for managing database related configurations. For H2, this continues to follow the old way of getting the configuration from SystemEnvironment.
Database port for H2 was fetched wrongly. Using systemEnvironment#getDatabaseSeverPort for getting the port value.
@sachinsudheendra
Copy link
Contributor Author

jyotisingh added a commit that referenced this pull request May 15, 2014
Adding a layer for Database Connection Configurations
@jyotisingh jyotisingh merged commit cc6780b into gocd:master May 15, 2014
@arikagoyal arikagoyal added this to the Release 14.2 milestone Jun 17, 2014
@sachinsudheendra sachinsudheendra deleted the dbconns branch February 24, 2015 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants