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

Migrate reviewDecision of Airlock Reviews #3152

Merged

Conversation

yuvalyaron
Copy link
Contributor

@yuvalyaron yuvalyaron commented Jan 30, 2023

Resolves #3121

What is being addressed

Airlock reviews used to have one of these values: approval_in_progress and rejection_in_progress.
But since #2670 , instead of using these values, we use approved and rejected,
This causes API type errors when trying to GET requests that have been created with older TRE versions, as these contain the older values.

How is this addressed

  • Added a DB migration to update each old value to it's updated version

@github-actions
Copy link

github-actions bot commented Jan 30, 2023

Unit Test Results

554 tests   554 ✔️  12s ⏱️
    1 suites      0 💤
    1 files        0

Results for commit 35dd675.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@eladiw eladiw left a comment

Choose a reason for hiding this comment

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

lgtm

@yuvalyaron yuvalyaron marked this pull request as ready for review January 31, 2023 11:44
@yuvalyaron
Copy link
Contributor Author

/test

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/4053761165 (with refid 4e3687ed)

(in response to this comment from @yuvalyaron)

@yuvalyaron
Copy link
Contributor Author

/test

@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/4053804149 (with refid 4e3687ed)

(in response to this comment from @yuvalyaron)

@yuvalyaron yuvalyaron enabled auto-merge (squash) January 31, 2023 12:18
@yuvalyaron yuvalyaron enabled auto-merge (squash) January 31, 2023 12:46
@github-actions
Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/4053804149 (with refid 4e3687ed)

(in response to this comment from @yuvalyaron)

@yuvalyaron yuvalyaron merged commit 3eca584 into microsoft:main Jan 31, 2023
@yuvalyaron yuvalyaron deleted the 3121-migrate-airlock-reviewdecision branch January 31, 2023 13:40
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.

make db-migrate is not working
2 participants