Skip to content

Add V2 endpoints for Foxx Service #698

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

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

bluepal-prasanthi-moparthi
Copy link
Collaborator

This includes the following Foxx - related endpoints:

  1. GET - /_db/{database-name}/_api/foxx
  2. GET - /_db/{database-name}/_api/foxx/service
  3. DELETE - /_db/{database-name}/_api/foxx/service
  4. PUT - /_db/{database-name}/_api/foxx/service
  5. PATCH - /_db/{database-name}/_api/foxx/service
  6. GET - /_db/{database-name}/_api/foxx/configuration
  7. PATCH - /_db/{database-name}/_api/foxx/configuration
  8. PUT - /_db/{database-name}/_api/foxx/configuration
  9. GET - /_db/{database-name}/_api/foxx/dependencies
  10. PATCH - /_db/{database-name}/_api/foxx/dependencies
  11. PUT - /_db/{database-name}/_api/foxx/dependencies
  12. GET - /_db/{database-name}/_api/foxx/scripts
  13. POST - /_db/{database-name}/_api/foxx/scripts/{name}
  14. POST - /_db/{database-name}/_api/foxx/tests
  15. POST - /_db/{database-name}/_api/foxx/development
  16. DELETE - /_db/{database-name}/_api/foxx/development
  17. GET - /_db/{database-name}/_api/foxx/readme
  18. GET - /_db/{database-name}/_api/foxx/swagger
  19. POST - /_db/{database-name}/_api/foxx/download
  20. POST - /_db/{database-name}/_api/foxx/commit

@bluepal-prasanthi-moparthi bluepal-prasanthi-moparthi force-pushed the feature/add_mis_endpoints_in_foxx branch from f99d268 to 5cb1b14 Compare August 19, 2025 13:47
@jwierzbo jwierzbo requested a review from Copilot August 22, 2025 07:05
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds V2 endpoints for Foxx Service management, implementing 20 new Foxx-related API endpoints for operations like service installation, configuration, dependencies, testing, and development mode management.

  • Adds comprehensive Foxx service management endpoints to the V2 client
  • Refactors existing structures to use generic FoxxDeploymentOptions instead of the specific FoxxCreateOptions
  • Implements proper error handling and response parsing for various Foxx service operations

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

File Description
v2/tests/foxx_test.go Refactors existing test and adds comprehensive test coverage for all new Foxx service endpoints
v2/arangodb/client_foxx_impl.go Implements all 20 new Foxx service endpoint methods with proper URL construction, request handling, and response parsing
v2/arangodb/client_foxx.go Defines interfaces and data structures for all Foxx service operations including configuration, dependencies, scripts, and development mode
v2/CHANGELOG.md Documents the addition of missing Foxx endpoints to v2

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant