Skip to content

Don't blow up on missing path transform configuration#14339

Merged
metlos merged 1 commit into
eclipse-che:masterfrom
metlos:bug/14336-failure-on-missing-pathformat-config
Aug 27, 2019
Merged

Don't blow up on missing path transform configuration#14339
metlos merged 1 commit into
eclipse-che:masterfrom
metlos:bug/14336-failure-on-missing-pathformat-config

Conversation

@metlos

@metlos metlos commented Aug 27, 2019

Copy link
Copy Markdown
Contributor

What does this PR do?

$TITLE

What issues does this PR fix or reference?

#14336

Don't blow up on missing path transform configuration.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
@che-bot che-bot added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 27, 2019
@che-bot

che-bot commented Aug 27, 2019

Copy link
Copy Markdown
Contributor

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

  • build details
  • "che-server" docker image: maxura/che-server:14339

@che-bot

che-bot commented Aug 27, 2019

Copy link
Copy Markdown
Contributor

E2E tests of Eclipse Che Multiuser on OCP has been successful:

*/
private static Pattern extractPathFromFmt(String pathTransformFmt) {
if (pathTransformFmt == null) {
return Pattern.compile("^(.*)$");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about using PATH_TRANSFORM_PATH_CATCH here? It's used in the null check in ExternalServerExposer.

@metlos metlos Aug 27, 2019

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.

This is basically a short hand for what the result would be if PATH_TRANSFORM_PATH_CATCH was the input to this method. I didn't want to do the processing when the result is directly known...

@metlos metlos merged commit a291807 into eclipse-che:master Aug 27, 2019
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 27, 2019
@che-bot che-bot added this to the 7.1.0 milestone Aug 27, 2019
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.

4 participants