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

Drop json_payload column. #1282

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Drop json_payload column. #1282

merged 1 commit into from
Jul 13, 2021

Conversation

vadeg
Copy link
Contributor

@vadeg vadeg commented Jul 6, 2021

Fixes #890

@vadeg
Copy link
Contributor Author

vadeg commented Jul 6, 2021

👍

@@ -0,0 +1 @@
ALTER TABLE api_review DROP COLUMN json_payload;
Copy link
Member

Choose a reason for hiding this comment

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

Before we drop this, we should consequently look into our database, whether api_definition is really filled as expected for the entire review history and merge the content if necessary.

Copy link
Member

@tkrop tkrop Jul 9, 2021

Choose a reason for hiding this comment

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

@vadeg I had a first look at the data. It looked actually, as if it is doing what it says and storing the request payload. For me this is a dumb idea ... however, we will have a gap of 146 rows, that have been called by url and will afterwards have no pointer to the API reviewed. I will approve as soon as the merge conflict is resolved.

@tkrop tkrop added type: enhancement area: server Zally server issues labels Jul 6, 2021
@vadeg vadeg added the status: blocked The issue is blocked by other issue in external dependency label Jul 7, 2021
@vadeg vadeg force-pushed the gh-890-drop-json-payload-column branch from f36c7d7 to a1161e1 Compare July 9, 2021 19:14
@vadeg vadeg removed the status: blocked The issue is blocked by other issue in external dependency label Jul 9, 2021
@vadeg
Copy link
Contributor Author

vadeg commented Jul 9, 2021

@tkrop the conflict has been resolved.

@vadeg
Copy link
Contributor Author

vadeg commented Jul 9, 2021

👍

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2021

Codecov Report

Merging #1282 (a1161e1) into master (f923592) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1282      +/-   ##
============================================
- Coverage     76.03%   76.02%   -0.01%     
  Complexity     1017     1017              
============================================
  Files           187      187              
  Lines          2938     2937       -1     
  Branches        508      508              
============================================
- Hits           2234     2233       -1     
  Misses          435      435              
  Partials        269      269              
Impacted Files Coverage Δ
...in/kotlin/org/zalando/zally/apireview/ApiReview.kt 82.35% <ø> (-0.99%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f923592...a1161e1. Read the comment docs.

@vadeg
Copy link
Contributor Author

vadeg commented Jul 12, 2021

@tkrop I have resolved conflicts. Please review again.

@tkrop
Copy link
Member

tkrop commented Jul 13, 2021

👍

@tkrop tkrop merged commit 3f829a9 into master Jul 13, 2021
@tkrop tkrop deleted the gh-890-drop-json-payload-column branch July 13, 2021 15:17
@tkrop tkrop restored the gh-890-drop-json-payload-column branch July 13, 2021 15:17
@tkrop tkrop deleted the gh-890-drop-json-payload-column branch July 13, 2021 15:17
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.

api_review.json_payload table is being filled with non-json
3 participants