Skip to content
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

feat: expose project overview #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sighphyre
Copy link
Member

This does two things

  • Rebuilds the API against latest Unleash which allows us to create a project with explicitly no environments
  • Exposes the project overview API so we can access those environments

@sighphyre sighphyre changed the base branch from main to feat/project-environments March 4, 2025 07:53
@@ -23,6 +23,7 @@ inverseOperationIds:
- createProject
- updateProject
- deleteProject
- getProjectOverview
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New API

@@ -33,7 +33,9 @@ func createTempUser(t *testing.T, apiClient *client.APIClient, prefix string) *c

resp, httpRes, err := apiClient.UsersAPI.CreateUser(context.Background()).CreateUserSchema(createUserSchema).Execute()

fmt.Println(err)
if err != nil {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small detail to make this silent when the test is green, just makes the output easier to read

@@ -211,4 +215,35 @@ func Test_client_ProjectsAPIService(t *testing.T) {
t.Skip("Enterprise only feature")
}
})

t.Run("Test ProjectsAPIService Create Project with empty list of environments", func(t *testing.T) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New test

Base automatically changed from feat/project-environments to main March 7, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant