Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Add state to NamedEntity #55

Merged
merged 4 commits into from
Apr 3, 2020
Merged

Add state to NamedEntity #55

merged 4 commits into from
Apr 3, 2020

Conversation

katrogan
Copy link
Contributor

@katrogan katrogan commented Apr 3, 2020

TL;DR

This change moves the state concept from individual workflows to named entities instead.

This change is backwards incompatible but reverts an endpoint that no one is calling in production.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

The console uses the list NamedEntityIdentifier endpoint rather than workflow one, so this should be updated for controlling visibility.

Tracking Issue

flyteorg/flyte#235

Follow-up issue

NA
OR
https://github.com/lyft/flyte/issues/

@katrogan katrogan requested a review from schottra April 3, 2020 17:23
@@ -21,10 +21,23 @@ message NamedEntityIdentifier {
string name = 3;
}

// The status of the named entity is used to control its visibility in the UI.
enum NamedEntityState {
// By default, all workflows are considered active and under development.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit on this comment being specific to workflows

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

schottra
schottra previously approved these changes Apr 3, 2020
@katrogan katrogan merged commit 951dc06 into master Apr 3, 2020
eapolinario pushed a commit that referenced this pull request Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants