-
Notifications
You must be signed in to change notification settings - Fork 111
fix(plugins): Change path to plugins index.json file #1154
Conversation
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
hello, is it related to a missing / at the end of the URL ? |
yes. |
my question is: should we not fix the URL just by appending a single |
Codecov Report
@@ Coverage Diff @@
## main #1154 +/- ##
=======================================
Coverage ? 32.79%
=======================================
Files ? 290
Lines ? 9886
Branches ? 1457
=======================================
Hits ? 3242
Misses ? 6641
Partials ? 3 Continue to review full report at Codecov.
|
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
What if it's a custom registry (surge.sh, etc), that is running not under apache, where index.json is not configured as directory index? In our case we always generate index.json file /~https://github.com/eclipse-che/che-plugin-registry/blob/main/tools/build/src/meta-yaml/index-writer.ts#L44, why not to read it by explicit link? |
well, I would say index.json is an implementation detail of the plug-in registry |
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Reworked on adding only '/plugins/' at the end. |
But we also need to investigate a bit the apache server. If you try
you will get
Location URI does not contain |
@vitaliy-guliy might be related to eclipse-che/che#19995 |
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
[crw-ci-test --rebuild] |
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
@vitaliy-guliy: recent execution of Happy path test has failed because of known issue eclipse-che/che#18034 |
Thanks for your comment. |
* fix(plugins): Change path to the plugins index Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
* fix(plugins): Change path to the plugins index Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Gulyy vgulyy@redhat.com
What does this PR do?
When Che is deployed in single-host mode, the plugin registry does not respect index.json file, where all the plugins are described.
For that case, it's better to read plugins.json file directly.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#19955
How to test this PR?
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
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=next