Skip to content

Remove deployment state from API#1515

Merged
Gerg merged 1 commit intomasterfrom
remove_deployment_state
Nov 3, 2020
Merged

Remove deployment state from API#1515
Gerg merged 1 commit intomasterfrom
remove_deployment_state

Conversation

@Gerg
Copy link
Copy Markdown
Member

@Gerg Gerg commented Dec 12, 2019

It's currently marked as deprecated in the docs. Not sure what the blockers are for removing it, but it might make sense to remove when GAing deployments.

I removed state from the presenter, but did not touch any of the internal logic that currently depends on deployment state. Not sure if y'all were thinking of doing a larger, internal refactor as part of removing the field. Examples where it is used:

@cf-gitbot
Copy link
Copy Markdown

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/170268541

The labels on this github issue will be updated when the story is started.

@Gerg Gerg requested a review from ewrenn8 January 8, 2020 18:34
@sethboyles
Copy link
Copy Markdown
Member

Hm, it might be nice to refactor all the internal logic depending on state before/when we merge this...

@selzoc
Copy link
Copy Markdown
Member

selzoc commented Jul 28, 2020

@Gerg do you mine rebasing this?

Copy link
Copy Markdown
Contributor

@ewrenn8 ewrenn8 left a comment

Choose a reason for hiding this comment

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

I will miss the state field.

@Gerg Gerg force-pushed the remove_deployment_state branch 2 times, most recently from 64fc98d to e3ee0d5 Compare July 29, 2020 00:01
@Gerg Gerg force-pushed the remove_deployment_state branch 2 times, most recently from a3bd998 to 5dc532d Compare November 3, 2020 18:06
- Replaced by status.value and status.reason
- Deployment state is still used internally

Authored-by: Greg Cobb <gcobb@pivotal.io>
@Gerg Gerg force-pushed the remove_deployment_state branch from 5dc532d to 2935a84 Compare November 3, 2020 18:39
@Gerg Gerg merged commit 6da651f into master Nov 3, 2020
@tjvman tjvman deleted the remove_deployment_state branch August 24, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants