Skip to content

Allow defining additional Tomcat connectors#316

Merged
bastelfreak merged 1 commit intovoxpupuli:masterfrom
antaflos:additional_connectors
Sep 6, 2020
Merged

Allow defining additional Tomcat connectors#316
bastelfreak merged 1 commit intovoxpupuli:masterfrom
antaflos:additional_connectors

Conversation

@antaflos
Copy link
Copy Markdown
Contributor

Pull Request (PR) description

Add a new, optional class parameter jira::tomcat_additional_connectors
whose value is a well-formed, complex hash as described by the new type
aliases Jira::Tomcat_connectors and Jira::Tomcat_attributes. Each
hash key represents a port number, and the key's value is a hash that
describes the connector's attributes and their values.

Useful for defining additional HTTP ports through which to access Jira.
A typical use case is when Jira and Confluence run behind a reverse
proxy and application links between Jira and Confluence must be set up.
Then it is often better to allow Jira and Confluence to communicate
directly instead of through the reverse proxy, but this requires a
Tomcat connector that is configured for direct access instead of reverse
proxy access (proxyName, proxyPort, etc). Described here:
https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html

Contains spec tests, documentation and examples.

@antaflos antaflos force-pushed the additional_connectors branch from 62a1c3f to f104312 Compare April 28, 2020 16:43
@antaflos
Copy link
Copy Markdown
Contributor Author

Two out of four acceptance tests are failing in Travis but this is unrelated to my changes.

@vox-pupuli-tasks
Copy link
Copy Markdown

Dear @antaflos, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs?
If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com.
You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@antaflos
Copy link
Copy Markdown
Contributor Author

antaflos commented Jul 2, 2020

Trying to close and re-open to trigger Travis tests again.

@antaflos antaflos closed this Jul 2, 2020
@antaflos antaflos reopened this Jul 2, 2020
@antaflos
Copy link
Copy Markdown
Contributor Author

antaflos commented Jul 2, 2020

The tests are fine now.

Comment thread types/tomcat_attributes.pp
Comment thread types/tomcat_connectors.pp
Comment thread README.md
@antaflos antaflos force-pushed the additional_connectors branch 2 times, most recently from f974e64 to 566cb61 Compare July 28, 2020 14:47
antaflos added a commit to antaflos/puppet-confluence that referenced this pull request Jul 28, 2020
Add a new, optional class parameter
`confluence::tomcat_additional_connectors` whose value is a well-formed,
complex hash as described by the new type aliases
`Confluence::Tomcat_connectors` and `Confluence::Tomcat_attributes`.
Each hash key represents a port number, and the key's value is a hash
that describes the connector's attributes and their values.

Useful for defining additional HTTP ports through which to access
Confluence.  A typical use case is when Jira and Confluence run behind a
reverse proxy and application links between Jira and Confluence must be
set up.  Then it is often better to allow Jira and Confluence to
communicate directly instead of through the reverse proxy, but this
requires a Tomcat connector that is configured for direct access instead
of reverse proxy access (`proxyName`, `proxyPort`, etc). Described here:
https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html

Contains spec tests, documentation and examples.

A very similar PR was submitted to puppet-jira in voxpupuli/puppet-jira#316
@antaflos
Copy link
Copy Markdown
Contributor Author

Some test suites are failing now because of lots of bizarre errors like this:

examples/jira_postgres_nginx_ssl_install.pp:35:manifest_whitespace_closing_bracket_before:ERROR:there should be no whitespace or a single newline before a closing bracket 

This is definitely not caused by my changes. I assume rubocop became much more strict in the last weeks?

antaflos added a commit to antaflos/puppet-confluence that referenced this pull request Jul 28, 2020
Add a new, optional class parameter
`confluence::tomcat_additional_connectors` whose value is a well-formed,
complex hash as described by the new type aliases
`Confluence::Tomcat_connectors` and `Confluence::Tomcat_attributes`.
Each hash key represents a port number, and the key's value is a hash
that describes the connector's attributes and their values.

Useful for defining additional HTTP ports through which to access
Confluence.  A typical use case is when Jira and Confluence run behind a
reverse proxy and application links between Jira and Confluence must be
set up.  Then it is often better to allow Jira and Confluence to
communicate directly instead of through the reverse proxy, but this
requires a Tomcat connector that is configured for direct access instead
of reverse proxy access (`proxyName`, `proxyPort`, etc). Described here:
https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html

Contains spec tests, documentation and examples.

A very similar PR was submitted to puppet-jira in voxpupuli/puppet-jira#316
Add a new, optional class parameter `jira::tomcat_additional_connectors`
whose value is a well-formed, complex hash as described by the new type
aliases `Jira::Tomcat_connectors` and `Jira::Tomcat_attributes`. Each
hash key represents a port number, and the key's value is a hash that
describes the connector's attributes and their values.

Useful for defining additional HTTP ports through which to access Jira.
A typical use case is when Jira and Confluence run behind a reverse
proxy and application links between Jira and Confluence must be set up.
Then it is often better to allow Jira and Confluence to communicate
directly instead of through the reverse proxy, but this requires a
Tomcat connector that is configured for direct access instead of reverse
proxy access (`proxyName`, `proxyPort`, etc). Described here:
https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html

Contains spec tests, documentation and examples.
@vox-pupuli-tasks
Copy link
Copy Markdown

Dear @antaflos, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs?
If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com.
You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@antaflos
Copy link
Copy Markdown
Contributor Author

antaflos commented Sep 3, 2020

Closing and reopening to trigger Travis, maybe the test failures unrelated to this change are now fixed.

@antaflos antaflos closed this Sep 3, 2020
@antaflos antaflos reopened this Sep 3, 2020
@antaflos
Copy link
Copy Markdown
Contributor Author

antaflos commented Sep 3, 2020

The checks now pass so if the PR could be merged, that'd be great :)

@bastelfreak bastelfreak added enhancement New feature or request and removed tests-fail labels Sep 6, 2020
@bastelfreak
Copy link
Copy Markdown
Member

thanks for the work!

@bastelfreak bastelfreak merged commit 4caa94d into voxpupuli:master Sep 6, 2020
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Oct 13, 2021
Allow defining additional Tomcat connectors
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Sep 1, 2025
Allow defining additional Tomcat connectors
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