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

List API deployments without specifying (optional) api-definition-id doesn't work #1166

Closed
afsalthaj opened this issue Dec 10, 2024 · 3 comments
Assignees
Labels
bug Something isn't working worker-service

Comments

@afsalthaj
Copy link
Contributor

No description provided.

@afsalthaj afsalthaj added bug Something isn't working worker-service labels Dec 10, 2024
@afsalthaj afsalthaj self-assigned this Dec 10, 2024
@afsalthaj
Copy link
Contributor Author

This is already fixed I think with the latest changes done in golem-cli

@afsalthaj
Copy link
Contributor Author

 ./golem-cli api-deployment list                                                                                    1388ms  Thu  6 Mar 17:33:36 2025
+----------------+---------------------+---------+
| Site           | Definition ID       | Version |
+----------------+---------------------+---------+
| localhost:9006 | my-shopping-cart-v1 | 0.0.4   |
 curl -X GET 'http://localhost:9005/v1/api/deployments'                                                                                                   Thu  6 Mar 17:35:15 2025
[{"apiDefinitions":[{"id":"my-shopping-cart-v1","version":"0.0.4"}],"createdAt":"2025-03-06T06:10:13.505374+00:00","site":{"host":"localhost:9006","subdomain":null}}]⏎
curl -X GET 'http://localhost:9005/v1/api/deployments?api-definition-id=my-shopping-cart-v1'                                                             Thu  6 Mar 17:35:10 2025
[{"apiDefinitions":[{"id":"my-shopping-cart-v1","version":"0.0.4"}],"createdAt":"2025-03-06T06:10:13.505374+00:00","site":{"host":"localhost:9006","subdomain":null}}]⏎

@afsalthaj
Copy link
Contributor Author

Therefore closing this ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working worker-service
Projects
None yet
Development

No branches or pull requests

1 participant