Skip to content

fix: SITES-41401 Add isSummitPlgEnabled to sites-resolve API response#1915

Merged
sandsinh merged 8 commits intomainfrom
SITES-41401
Mar 10, 2026
Merged

fix: SITES-41401 Add isSummitPlgEnabled to sites-resolve API response#1915
sandsinh merged 8 commits intomainfrom
SITES-41401

Conversation

@sandsinh
Copy link
Copy Markdown
Contributor

@sandsinh sandsinh commented Mar 6, 2026

Summary

Adds isSummitPlgEnabled to the sites-resolve API response in spacecat-api-service so callers can see whether the Summit plugin is enabled for each site.

Changes

Sites-resolve response now includes an isSummitPlgEnabled field.
Enables clients to branch on Summit plugin availability without extra lookups.

Please ensure your pull request adheres to the following guidelines:

  • make sure to link the related issues in this description. Or if there's no issue created, make sure you
    describe here the problem you're solving.
  • when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

If the PR is changing the API specification:

  • make sure you add a "Not implemented yet" note the endpoint description, if the implementation is not ready
    yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
  • make sure you add at least one example of the request and response.

If the PR is changing the API implementation or an entity exposed through the API:

  • make sure you update the API specification and the examples to reflect the changes.

If the PR is introducing a new audit type:

  • make sure you update the API specification with the type, schema of the audit result and an example

Related Issues

Thanks for contributing!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2026

This PR will trigger a patch release when merged.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@ssilare-adobe ssilare-adobe left a comment

Choose a reason for hiding this comment

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

Great work @sandsinh , here are few review comments.

Comment thread package.json Outdated
Comment thread src/support/utils.js
Comment thread src/support/utils.js
Copy link
Copy Markdown
Contributor

@ssilare-adobe ssilare-adobe left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@sandsinh sandsinh merged commit c19994c into main Mar 10, 2026
25 checks passed
@sandsinh sandsinh deleted the SITES-41401 branch March 10, 2026 10:27
solaris007 pushed a commit that referenced this pull request Mar 10, 2026
## [1.340.1](v1.340.0...v1.340.1) (2026-03-10)

### Bug Fixes

* parallelize sequential API calls in getLatestSiteMetrics ([#1930](#1930)) ([84e0bc4](84e0bc4))
* SITES-41401 Add isSummitPlgEnabled to sites-resolve API response ([#1915](#1915)) ([c19994c](c19994c))
@solaris007
Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.340.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants