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

Server side feature flags #171

Merged
merged 11 commits into from
Jul 16, 2020
Merged

Conversation

just-at-uber
Copy link
Contributor

This change will allow feature flags to be processed by an API endpoint rather than directly serving a JSON file. This gives flexibility as you can override the API endpoint to use a feature flag service integration instead of using a flat JSON configuration.

The only thing to note here is the feature flag names have slightly changed by removing - from names and are now camel cased.
Also feature-flags.json has now moved into the server folder instead of client folder.
isFeatureFlagEnabled helper has now been removed as it is no longer required (replaced by FeatureFlagService. isFeatureFlagEnabled).

@just-at-uber just-at-uber requested a review from ajbogh July 16, 2020 21:38
@just-at-uber just-at-uber merged commit 5ccd40e into release/3.18.0 Jul 16, 2020
@just-at-uber just-at-uber deleted the feature/server-feature-flag branch July 16, 2020 23:07
@just-at-uber just-at-uber mentioned this pull request Jul 16, 2020
just-at-uber added a commit that referenced this pull request Jul 20, 2020
* Feature/tasklist partition (#166)

* moving tasklist into separate folder. adding partition page and navigation tabs

* alphabetizing tchannel client api. added listTaskListPartition and hooked up route. Adding front end api call. Need more context to proceed.

* finished task list partition screen

* adding metrics page. making feature flag style display inline.

* 3.18.0-beta.0

* fixing things for PR

* lint

* fixing test

* fix for event which should not be a span but a point. (#167)

* 3.18.0-beta.1

* Feature/domain metrics (#169)

* adding blank metrics page for domain.

* lint fixes

* 3.18.0-beta.2

* changing from route variables to props. Fixing props for metrics screen. (#170)

* 3.18.0-beta.3

* 3.18.0-beta.4

* Server side feature flags (#171)

* updated code to work with server side feature flags instead of using feature flags json.

* fixing tests

* abstracting common helper out of service.

* 3.18.0-beta.5

* allowing endpoint to call next middleware

* 3.18.0-beta.6

* PR comments

* fixing failing tests

* reverting change as it destabilizes test on CI

* updating fetch-mock package to latest. adding delay for fullWorkflowHistory api call mock.

* lowering fetch-mock package version to see if increases stability.

* adding release notes for cadence server go and ui. (#172)

* 3.18.0
just-at-uber pushed a commit that referenced this pull request Jan 8, 2021
* Refactor workflow list for reusability
just-at-uber added a commit that referenced this pull request Jan 27, 2021
* Refactor workflows list page (#171)

* Refactor workflow list for reusability

* Add workflows view showing all workflows (#173)

* Fix workflows view console error for empty result (#186)

* Avoid possible duplication of workflow instance in ALL view (#187)

* Fix workflows all view (#208)

* Fix workflows ALL view showing empty space (#239)

* Fix workflows date range filter dropping out running workflows (#240)

* Adjust workflows view spacing (#241)

* fix lint & attribute temporal

* adding back in default range

* Show open worfklows first in All view (#243)

* fixing lint

* attributing temporal

* fixing bugs

* fixed bug with change status

* fixed issue with overlapping scrollbars

* fixing bug where fetch was calling with empty next page token

* fixing alt colours in list. sync initial calls incase of race conditions. fixing lint

* rename workflow-grid. Fixed integration tests. Fixed bug where range was not being set correctly from URL.

* fix lint

* rename onScroll

* adjust ordering

Co-authored-by: Ruslan <11838981+feedmeapples@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.

2 participants