-
Notifications
You must be signed in to change notification settings - Fork 27
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
Quarkus API URL should use https #402
Comments
@fbricon it seems code replace http with https
|
that's a hack! Shouldn't happen in the first place. You wouldn't be able to run against the quarkus api server running locally on a non https server. |
and it's only for getting the list of streams. Other places still use the package.json value |
Yup, I've noticed this. We have an http value in package.json which can be overriden by another default when it's parsed, and then we adjust that again with a regex/replace match. Seems we can remove those replacements by just using https everywhere. |
Don't assume https. https on production is a given, but running against a locally running api server means probably http. |
Whoops, I meant just our default values for https://github.com/redhat-developer/vscode-quarkus/blob/master/package.json#L173 & https://github.com/redhat-developer/vscode-quarkus/blob/master/src/definitions/constants.ts#L39 should be https if not already and we should avoid doing replacements on a user-defined value. |
- Fixes redhat-developer#402 - Use 'https://code.quarkus.io/api' as the default - Respect 'quarkus.tools.starter.api', by not replacing 'http' with 'https' if it has been set to something else Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
- Fixes redhat-developer#402 - Adjust testcase due to changing platform versions - Use 'https://code.quarkus.io/api' as the default - Respect 'quarkus.tools.starter.api', by not replacing 'http' with 'https' if it has been set to something else Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
- Fixes #402 - Adjust testcase due to changing platform versions - Use 'https://code.quarkus.io/api' as the default - Respect 'quarkus.tools.starter.api', by not replacing 'http' with 'https' if it has been set to something else Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
vscode-quarkus/package.json
Line 173 in 734f46a
The text was updated successfully, but these errors were encountered: