apicurio-studio: GitLab connector does not show Group Projects

Using GitLab connector, I can’t see the group projects. Looking the source code, I found this call to GitLab API

String requestUrl = this.endpoint("/api/v4/groups/:group/projects").bind("group", group).toString();

But the 'group` in this case was not the group name, but the group ID.

https://docs.gitlab.com/ee/api/groups.html#list-a-group-s-projects

https://github.com/Apicurio/apicurio-studio/blob/4adc35ceaa6587db3a2706fb068b22685d41fa45/back-end/hub-api/src/main/java/io/apicurio/hub/api/gitlab/GitLabSourceConnector.java#L371

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (11 by maintainers)

Most upvoted comments

OK I think I have this fixed. Should be all set in the next release. We can probably do better with respect to the display of the groups (they are all displayed in the drop-down without any concept of the hierarchy). But other than that I think it’s all working now.

Ah ok maybe the problem is that they are private. I’ll look into that. Thanks.