Hi Team.
I am trying to import systems using GitHubEntityProvider (GitHub Discovery) with below config settings. I am using wild card in catalogPath
github:
providerId:
organization: 'org-name' # string
catalogPath: '/systems/**/system.yaml' # string
filters:
branch: 'main'
repository: 'system-test'
schedule:
frequency: { minutes: 5 }
timeout: { minutes: 10 }
I am getting system populated in UI but the problem is:
When I inspect the entity I can see that star (wild card) is coming in managed-by-origin-location which is giving kind of wrong information, also, If I click the link, the page will give 404.
In actual it should show full correct path without star in the link.
Error:
backstage.io/managed-by-origin-location
url:https://github.com/org-name/system-test/blob/main/systems/**/system.yaml
Correct Way should be:
backstage.io/managed-by-origin-location
url:https://github.com/org-name/system-test/blob/main/systems/abc1/system.yaml
Is there any way I can fix this.