Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow defining additional Tomcat connectors #316

Merged
merged 1 commit into from
Sep 6, 2020

Conversation

antaflos
Copy link
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
Copy link
Contributor Author

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

@vox-pupuli-tasks
Copy link

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
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
Contributor Author

antaflos commented Jul 2, 2020

The tests are fine now.

README.md Show resolved Hide resolved
@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
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

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
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
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
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
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