Skip to content

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

Copy link
Contributor

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.

@bluepal-prasanthi-moparthi bluepal-prasanthi-moparthi force-pushed the feature/add_mis_endpoints_in_foxx branch from c6c382c to 7c75e48 Compare August 28, 2025 04:53
@jwierzbo jwierzbo merged commit 3832427 into master Aug 28, 2025
9 checks passed
@jwierzbo jwierzbo deleted the feature/add_mis_endpoints_in_foxx branch August 28, 2025 12:03
bluepal-prasanthi-moparthi added a commit that referenced this pull request Oct 3, 2025
* Foxx: Add GetInstalledFoxxService endpoint to fetch installed Foxx services

* Foxx: Add endpoint to fetch detailed information about a specific Foxx service

* Foxx: few test scenarios added

* Done response code and testcase chages for install and uninstall fox service

* Add replace foxx service endpoint

* Add upgrade foxx service endpoint

* Add endpoint to fetch configuration for a specified foxx service mount

* Comments added

* Add endpoint to upload configuration options for a specific foxx service

* Foxx: Add endpoint for replace foxx service

* Foxx: Add endpoint to fetch foxx service dependencies

* Foxx: Add endpoint to update foxx service dependencies

* Foxx: Add endpoint to replace foxx service dependencies

* Foxx: Add endpoints related to fox service scripts

* Foxx: Add endpoints for RunFoxServiceScripts Enable and Disable development modes

* Foxx: Add endpoint to get fox service readme content

* change test case zip file name

* Foxx: Add endpoint for swagger fox service

* Foxx: Add endpoint to commit local service state

* Foxx: Add endpoint to download specific service

* changed the zip file path

* reverted the zip file path

* changes in config

* changes in config file

* changes in config file

* reverted workflows in config file and added resources-path

* reverted workflows in config file

* trying to from test file that check temp resources is there or not

* In config file moved download-demo-data above the run-integration-tests

* reverted config changes

* Added echo in config file

* identation fixed

* code changes in config

* code changes in config

* tag added in changelog

* Update v2/tests/foxx_test.go

Co-authored-by: Copilot <[email protected]>

* ci: trigger CircleCI build

* Addressed copilot commets

* Addressed copilot comment

* Addressed copilot comment for uninstall

* Addressed copilot comment for uninstall

---------

Co-authored-by: Copilot <[email protected]>
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.

3 participants