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

CLOUD-794 add Connector server config #15

Merged
merged 1 commit into from Aug 21, 2017

Conversation

bdecoste
Copy link

No description provided.

rimolive
rimolive previously approved these changes Aug 4, 2017
Copy link

@rimolive rimolive left a comment

Choose a reason for hiding this comment

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

LGTM

rcernich
rcernich previously approved these changes Aug 8, 2017
@rcernich
Copy link
Contributor

The issue seems to be about adding server name, but the commit includes a bunch of extra stuff for configuring ssl keys. Is the ssl configuration for another issue?

@bdecoste
Copy link
Author

prepareEnv() was missing


function configure_http() {
if [ -n "$JWS_SERVER_NAME" ]; then
sed -i "s|redirectPort=\"8443\"|redirectPort=\"8443\" server=\"${JWS_SERVER_NAME}\"|" $JWS_HOME/conf/server.xml

Choose a reason for hiding this comment

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

I would be much happier if we'd define the JWS_SERVER_NAME operation as "if JWS_SERVER_NAME is specified, it adds the 'server' attribute to all HTTP connectors that didn't already have the attribute set" and then use a proper XML transformation for it... the current behavior generally assumes no customizations have been done on the server.xml...

@rcernich rcernich merged commit 1fa345c into jboss-openshift:master Aug 21, 2017
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.

None yet

5 participants