-
Notifications
You must be signed in to change notification settings - Fork 40
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
New backend system #561
Comments
Also in readme “Old/New Gitlab Versions”, dose this mean for all gitlab versions? In the api.ts, line 2&4 both import CustomGitlabCIClient. Also in setupApi(), that is to pass APIOptions with 6 objects. I am looking version 6.6.0. |
Hi @ccapeng, no you only need to set up https://github.com/immobiliare/backstage-plugin-gitlab?tab=readme-ov-file#register-to-the-new-backend-system with the new backend system. Can you post the body output of the request from the browser? |
Hi @antoniomuso, I actually did not have apis.ts implemented early on.
So, in the web browser, I have "this.identityApi.getCretentials is not a function". |
@ccapeng, you have to add them in deps, then you will have in the OAUthApi and IdentityApi parameters. You could look at this: https://github.com/immobiliare/backstage-plugin-gitlab/blob/main/packages/gitlab/src/plugin.ts#L21 |
@antoniomuso Thanks. I got it work. |
I am new in backstage.
I try to narrow down my issue of
GET /api/gitlab/rest/(my domain)/projects/(id) HTTP 1.1 400 ….. issue.
I have new backend system, do I still need to add plugins/catalog.ts, gitlab.ts like Setup Backend Plugin in readme?
Or, I just only need to follow Register To The New Backend System?
The text was updated successfully, but these errors were encountered: