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
load versions for ignite extension wizard dynamically from file in this repo #1238
Conversation
Signed-off-by: Lars Heinemann <lhein.smx@gmail.com>
|
||
model.setCamelVersion(vMapping.getProperty(KEY_CAMEL_VERSION, "2.20.1")); | ||
model.setSpringBootVersion(vMapping.getProperty(KEY_SPRING_BOOT_VERSION, "1.5.8.RELEASE")); | ||
model.setSyndesisVersion(vMapping.getProperty(KEY_SYNDESIS_VERSION, "1.2.2")); |
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.
why 1.2.2? I thought that it was 1.2.0. Do you have a pointer for the 1.2.2 artefact?
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.
because that will be most likely the minimum TP3 version number regarding Roland
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.
https://mvnrepository.com/artifact/io.syndesis/syndesis-rest-parent/1.2.2 is available here.
There is also a 1.2.3 https://mvnrepository.com/artifact/io.syndesis/syndesis-rest-parent/1.2.3 but maybe built after Tech Preview 3. Where can we found the list of versions for Tech preview 3?
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.
1.2.3 is the TP3 version. we need to adapt the version file.
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.
Am I understand it correctly, we have a single file so we can provide a version for a single version combination at a time?
As the 10.2 will work only with the TP3 and not the TP4, for TP4 we will need another files, right?
URL url = new URL(urlString); | ||
vMapping.load(url.openStream()); | ||
} catch (IOException ex) { | ||
// we ignore load errors |
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.
why ignoring them?
Might worth reporting them, it will be a notification that we removed the remote file although we shouldn't
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.
method is used in a unit test. if we log the error via activator plugin log then we need to create integration test instead.
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.
I think that it was the case "only because" the url used was on master and it was not merged yet.
I created https://issues.jboss.org/browse/FUSETOOLS-2768 to improve it
That was really a last minute fix and the main purpose was to unblock users of the tp3. For tp4 we will rework that part including the wizard. |
@lhein |
|
Signed-off-by: Lars Heinemann lhein.smx@gmail.com
Pull Request Checklist
After this checklist is all checked or PR provides explanations for possible pass-through, please put the label "Ready for review" on the PR.
General
Functional
Maintainability
Tests
Legal