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

Archive and unarchive a project #138

Merged
merged 5 commits into from
Nov 5, 2020
Merged

Archive and unarchive a project #138

merged 5 commits into from
Nov 5, 2020

Conversation

honnix
Copy link
Member

@honnix honnix commented Nov 4, 2020

TL;DR

Make a project achievable. Depends on flyteorg/flyteidl#88

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

This PR makes it possible to archive and unarchive a project. Archived project is not visible for list but visible for get, and it is treated as an invalid project. Archived project is possible to update so that it can be unarchived.

@kumare3 PTAL and see whether this is on the right track. Thanks a lot.

Tracking Issue

flyteorg/flyte#569

Follow-up issue

NA

Copy link
Contributor

@katrogan katrogan left a comment

Choose a reason for hiding this comment

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

sorry I should have caught this in the IDL PR - we probably want to update the ProjectListRequest endpoint to accept a filter param so we can select active only

@honnix
Copy link
Member Author

honnix commented Nov 4, 2020

sorry I should have caught this in the IDL PR - we probably want to update the ProjectListRequest endpoint to accept a filter param so we can select active only

No worries. I didn't plan to change API in this PR, to make it a bit smaller. :) I will do that in a follow-up PR. Thanks for pointing it out.

@katrogan
Copy link
Contributor

katrogan commented Nov 5, 2020

hey @honnix this looks good but seems like there are some build issues?

@honnix
Copy link
Member Author

honnix commented Nov 5, 2020

@katrogan Yeah we need flyteorg/flyteidl#88 to be released first.

@katrogan
Copy link
Contributor

katrogan commented Nov 5, 2020

@honnix oh right, do you have permission to draft a release? otherwise i can go ahead and create one

@honnix
Copy link
Member Author

honnix commented Nov 5, 2020

@katrogan I have permission and I will do that. Just wanted to confirm it is OK I make a release.

@honnix honnix merged commit 463bfb6 into master Nov 5, 2020
@honnix honnix deleted the archive-project branch November 5, 2020 22:23
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
* Use state for a project to archive or activate it
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.

3 participants