PromucFlow_constructor/app/server/appsmith-server/src/test
vivek-appsmith 99e3cb5d65
feat(server): Enable upcoming integrations endpoint (#40256)
This PR adds a new endpoint to the Plugin API that fetches upcoming
integrations from Appsmith's cloud services. This feature enables users
to discover and prepare for new integration options that will be
available in future releases.

## Changes
- Added a new getUpcomingIntegrations endpoint to the PluginController
at GET /api/v1/plugins/upcoming-integrations
- Implemented the corresponding service method in PluginService to fetch
data from cloud services
- Added proper error handling for cloud service communication issues
- Injected CloudServicesConfig to ensure proper cloud service URLs are
used
- Added instanceId to all requests to cloud services for tracking and
authorization

## Technical Details
- Uses WebClientUtils for HTTP requests to external services
- Uses ConfigService to retrieve the instance ID for authentication
- Handles error responses gracefully, returning empty results instead of
errors to clients
- Returns properly formatted integration data including names,
descriptions, and other metadata

This enhancement will help users discover upcoming integration options
and provide feedback on planned datasource connectors.

/ok-to-test tags="@tag.Sanity"

Solves https://github.com/appsmithorg/appsmith/issues/40048

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14490650726>
> Commit: a9ae87419b119adb08a156bf19dbe9fe7dd16b64
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14490650726&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 16 Apr 2025 11:50:36 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a new endpoint to fetch upcoming integrations, providing users
with information about future external service integrations.
- **Bug Fixes**
- Improved error handling for external integration data fetches,
ensuring a graceful fallback and user-friendly messaging if data cannot
be retrieved.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: nilansh <nilansh@appsmith.com>
2025-04-16 17:27:17 +05:30
..
it/com/appsmith/server/git chore: Rename to conform to IT pattern (#39546) 2025-03-04 15:41:33 +05:30
java/com/appsmith/server feat(server): Enable upcoming integrations endpoint (#40256) 2025-04-16 17:27:17 +05:30
resources chore: Remove deprecated organization from code (#38878) 2025-01-29 12:16:51 +05:30
utils/com/appsmith/server/git chore: Convert non-reactive methods consuming @FeatureFlagged to reactive (#39594) 2025-03-07 11:10:27 +05:30