microcks / microcks-backstage-provider

A provider for Backstage.io allowing to synchronize API entities from Microcks to Backstage
https://microcks.io
Apache License 2.0
9 stars 5 forks source link

Validate URL for backslashes at the end #24

Open hguerrero opened 4 months ago

hguerrero commented 4 months ago

Describe the bug

When setting the URL in the config to something like http://mydomain.com/ there is an error as it can't load the Keycloak configuration correctly.

We need to check if there is already a / and either remove it or not add an additional one.

Expected behavior

There is no difference on the behavior of an URL with or without trailing backlash

Actual behavior

It fails when setting the URL to something with a trailing backlash

How to Reproduce?

  1. Add Microcks provider
  2. Configure with trailing backslash
  3. See the error in the log

Microcks version or git rev

1.9.0

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

backstage

Additional information

No response

github-actions[bot] commented 1 day ago

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart: