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

UICIRC-1118: Implement feature toggle for ECS and not ECS envs #1177

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Dmitriy-Litvinenko
Copy link
Contributor

@Dmitriy-Litvinenko Dmitriy-Litvinenko commented Nov 16, 2024

Purpose

Use feature flag enableEcsRequests from stripes configuration file for handling functionality for ECS and not ECS related envs.

Approach

It was decided that we should use separated components with old and new implementation instead of having a lot of if...else statements in the code.
This approach let us split functionality by feature flags much faster.

Refs

https://folio-org.atlassian.net/browse/UICIRC-1118

Notes

  • It is a temporary solution that was discussed within the team and approved by solution architect. In the next release that temporary functionality will be fully removed and we will not use any feature flag.

Copy link

github-actions bot commented Nov 16, 2024

Jest Unit Test Statistics

       1 files  ±  0     186 suites  +4   1m 18s ⏱️ +2s
1 982 tests +27  1 982 ✔️ +27  0 💤 ±0  0 ±0 
2 022 runs  +27  2 022 ✔️ +27  0 💤 ±0  0 ±0 

Results for commit 29d5755. ± Comparison against base commit 4eff68a.

♻️ This comment has been updated with latest results.

@Dmitriy-Litvinenko Dmitriy-Litvinenko changed the base branch from UXPROD-4559-ECS to master November 18, 2024 13:11
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
21.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@Dmitriy-Litvinenko Dmitriy-Litvinenko merged commit c7cedf6 into master Nov 18, 2024
4 of 5 checks passed
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.

3 participants