Open buaydin opened 10 months ago
My components.yaml file;
apiVersion: backstage.io/v1alpha1 kind: Component metadata: name: TildaTestApi annotations: sonarqube.org/project-key: DevTildaTestApi jenkins.io/job-full-name: V2_GIT/TildaTestApi jira/project-key: ITSM links:
Hey,
I got the same case, and I suspect the doc is outdated.
I follow the document for backstage jira plugin and made the configurations. https://roadie.io/backstage/plugins/jira/
I'm getting failed to fetch data, status 404: Not Found error on Components UI Page. Also I'm getting a warning about proxy.endpoints. proxy warn Configuring proxy endpoints in the root 'proxy' configuration is deprecated. Move this configuration to 'proxy.endpoints' my app-config.yaml file; proxy: '/jira/api': target: 'jira.intertech.com.tr' headers: Authorization: $env: JIRA_TOKEN Accept: 'application/json' Content-Type: 'application/json' X-Atlassian-Token: 'nocheck' User-Agent: "MY-UA-STRING" When I switch my configuration to use proxy.endpoints. yaml gives errors that it's expection Authorization to be string. When I use this configuration I'm getting 401 Unauthorized error. Am I missing something? Is that document still valid?
proxy: endpoints: '/jira/api': target: 'https://jira.intertech.com.tr' headers: Authorization: 'Basic'
Accept: 'application/json'
Content-Type: 'application/json'
X-Atlassian-Token: 'nocheck'
User-Agent: "MY-UA-STRING"
csp: connect-src: ["'self'", 'http:', 'https:'] img-src:
"'self'" and 'data' are from the backstage default but must be set since img-src is overriden