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

search-core: add cloudChoice enum and config support #277

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

Fondryext
Copy link
Contributor

This PR adds the new cloudChoice config property, to allow choosing either all consumer serving regions, or just the ones backed by GCP. By default the Multi option will be used, so default behavior is unchanged.

J=WAT-4374
TEST=auto

Added new test class

This PR adds the new cloudChoice config property, to allow
choosing either all consumer serving regions, or just the ones
backed by GCP. By default the Multi option will be used, so
default behavior is unchanged.

J=WAT-4374
TEST=auto

Added new test class
@Fondryext Fondryext requested a review from a team as a code owner September 10, 2024 19:28
src/provideEndpoints.ts Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Sep 10, 2024

Pull Request Test Coverage Report for Build 10811739400

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 89.1%

Totals Coverage Status
Change from base Build 10798590539: 0.2%
Covered Lines: 213
Relevant Lines: 233

💛 - Coveralls

src/provideEndpoints.ts Outdated Show resolved Hide resolved
@Fondryext Fondryext merged commit 3951cbd into hotfix/v2.5.4 Sep 11, 2024
12 checks passed
@Fondryext Fondryext deleted the dev/v2.5.4 branch September 11, 2024 14:07
@Fondryext Fondryext mentioned this pull request Sep 11, 2024
Fondryext added a commit that referenced this pull request Sep 11, 2024
**Changes:**

- Adds new cloudChoice config property #277
Copy link

@vijay267 vijay267 left a comment

Choose a reason for hiding this comment

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

Tiny comment, but otherwise looks good!

src/models/core/CloudChoice.ts Show resolved Hide resolved
@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [CloudChoice](./search-core.cloudchoice.md)
Copy link

Choose a reason for hiding this comment

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

Suggested change
[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [CloudChoice](./search-core.cloudchoice.md)
[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [CloudChoice](./search-core.cloudchoice.md)
**```suggestion
[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [CloudChoice](./search-core.cloudchoice.md)
```suggestion
[Home](./index.md) &gt; [@yext/search-core](./search-core.md) &gt; [CloudChoice](./search-core.cloudchoice.md)
**

Fondryext added a commit that referenced this pull request Dec 9, 2024
This PR adds the new cloudChoice config property, to allow
choosing either all consumer serving regions, or just the ones
backed by GCP. By default the Multi option will be used, so
default behavior is unchanged.

J=WAT-4374
TEST=auto

Added new test class

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants