Skip to content

Allow specifying JDBC connection parameters with jira::connection_settings#353

Merged
oranenj merged 2 commits intovoxpupuli:masterfrom
cybercom-finland:connection-params
Apr 14, 2021
Merged

Allow specifying JDBC connection parameters with jira::connection_settings#353
oranenj merged 2 commits intovoxpupuli:masterfrom
cybercom-finland:connection-params

Conversation

@oranenj
Copy link
Copy Markdown
Contributor

@oranenj oranenj commented Apr 13, 2021

Needs the dbconfig refactoring PR first. Adds an API to control JDBC connection parameters.

Comment thread manifests/config.pp
'h2' => '5000',
}

$dbschema = if $jira::dbschema { $jira::dbschema } else { $dbschema_default }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this because pick doesn't work with undef? Perhaps that deserves a note.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll add it to the other PR; the first commit in this one is just because this depends on #352, so you can ignore that while reviewing.

@oranenj oranenj force-pushed the connection-params branch from b8306aa to ae0e7c6 Compare April 13, 2021 17:38
@bastelfreak bastelfreak added the enhancement New feature or request label Apr 14, 2021
most other related variables don't have any kind of prefix either
so neither will this
@oranenj oranenj force-pushed the connection-params branch from ae0e7c6 to f2c7be7 Compare April 14, 2021 16:53
@oranenj
Copy link
Copy Markdown
Contributor Author

oranenj commented Apr 14, 2021

I renamed the parameter and added a spec test, let's see if I got it right.

@oranenj oranenj force-pushed the connection-params branch from 0159bae to 6864ddd Compare April 14, 2021 17:03
@oranenj oranenj changed the title Allow specifying connection parameters Allow specifying JDBC connection parameters with jira::connection_settings Apr 14, 2021
@oranenj
Copy link
Copy Markdown
Contributor Author

oranenj commented Apr 14, 2021

I'll just merge this; if someone wants to bikeshed parameter naming, there's still time before release.

@oranenj oranenj merged commit c069ce7 into voxpupuli:master Apr 14, 2021
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Oct 13, 2021
Allow specifying JDBC connection parameters with jira::connection_settings
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Sep 1, 2025
Allow specifying JDBC connection parameters with jira::connection_settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants