-
Notifications
You must be signed in to change notification settings - Fork 49
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
fix(QTDI-763) issue to enable Tacokit #945
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Could you add a test for that method?
@@ -79,7 +80,13 @@ private Path fromStudioConfiguration() { | |||
// check if we are in the studio process if so just grab the studio config | |||
final String m2Repo = System.getProperty(STUDIO_MVN_REPOSITORY); | |||
if (!"global".equals(m2Repo)) { | |||
return handler.get(Paths.get(System.getProperty("osgi.configuration.area", ""), M2_REPOSITORY).toString()); | |||
String osgi = System.getProperty("osgi.configuration.area", ""); |
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.
String osgi = System.getProperty("osgi.configuration.area", ""); | |
final String osgi = System.getProperty("osgi.configuration.area", ""); |
...in/java/org/talend/sdk/component/runtime/manager/service/MavenRepositoryDefaultResolver.java
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
Analysis Details0 IssuesCoverage and DuplicationsProject ID: org.talend.sdk.component:component-runtime |
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.
LGTM
In my opinion, in the UT, you should check returned value to be sure it used studio osgi location...
Parent - https://qlik-dev.atlassian.net/browse/QTDI-763
Task - https://qlik-dev.atlassian.net/browse/QTDI-835
Requirements
Why this PR is needed?
What does this PR adds (design/code thoughts)?