-
Notifications
You must be signed in to change notification settings - Fork 71
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
Remove devfile v1 leftovers #717
Conversation
@vinokurig: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
createFactory(parsedDevfile, overrideProperties, fileContentProvider, location)); | ||
} catch (OverrideParameterException e) { | ||
throw new BadRequestException("Error processing override parameter(s): " + e.getMessage()); | ||
return Optional.of(createFactory(parsedDevfile, location)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we ignore overrideProperties ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is used only for devfile v1:
Lines 179 to 187 in 3445db7
if (devfileVersionDetector.devfileMajorVersion(devfileJson) == 1) { | |
DevfileImpl devfile = devfileParser.parseJsonNode(devfileJson, overrideProperties); | |
devfileParser.resolveReference(devfile, fileContentProvider); | |
devfile = ensureToUseGenerateName(devfile); | |
return newDto(FactoryDto.class) | |
.withV(CURRENT_VERSION) | |
.withDevfile(DtoConverter.asDto(devfile)) | |
.withSource(location.filename().isPresent() ? location.filename().get() : null); |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ibuziuk, tolusha, vinokurig The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build 3.17 :: server_3.x/358: Console, Changes, Git Data |
Build 3.17 :: sync-to-downstream_3.x/7700: Console, Changes, Git Data |
Build 3.17 :: get-sources-rhpkg-container-build_3.x/7692: server : 3.x :: Failed in 64158757 : BREW:BUILD/STATUS:UNKNOWN |
What does this PR do?
Remove devfile v1 leftovers
Screenshot/screencast of this PR
What issues does this PR fix or reference?
fixes eclipse-che/che#23043
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedRelease Notes
Reviewers
Reviewers, please comment how you tested the PR when approving it.