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

Enable for on-prem the deletion of accounts scheduled for deletion #737

Merged
merged 1 commit into from Apr 1, 2019

Conversation

Martouta
Copy link
Contributor

@Martouta Martouta commented Apr 1, 2019

Otherwise tenants won't be destroyed at all for on-prem.
We need to fix the problem of destroying many at once for SaaS before enabling it for SaaS.

@didierofrivia
Copy link
Member

Create a Jira issue mentioning this, so we won't forget about it ;)

@@ -4,6 +4,8 @@ class FindAndDeleteScheduledAccountsWorker
include Sidekiq::Worker

def perform
# TODO: remove this condition before 2.6
Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldn't add this comment. Right now no one imagines we could keep this longer than that, but we never know.
I think a Jira should be enough to remember.

Copy link
Member

Choose a reason for hiding this comment

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

Makes sense @guicassolato, also, we hide the nasty details hehehe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Jira issue THREESCALE-2204 - Fix efficiency to destroy tenants or services has just been created now 😉

@codecov
Copy link

codecov bot commented Apr 1, 2019

Codecov Report

Merging #737 into master will decrease coverage by 24.11%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #737       +/-   ##
===========================================
- Coverage   92.86%   68.75%   -24.12%     
===========================================
  Files        2390      843     -1547     
  Lines       77797    25846    -51951     
===========================================
- Hits        72246    17770    -54476     
- Misses       5551     8076     +2525
Impacted Files Coverage Δ
config/jobs.rb 60% <ø> (ø) ⬆️
test/test_helpers/xml_assertions.rb 13.98% <0%> (-82.38%) ⬇️
app/lib/three_scale/private_module.rb 25% <0%> (-75%) ⬇️
app/helpers/buyers/fields_definitions_helper.rb 25% <0%> (-75%) ⬇️
lib/simple_layout.rb 20% <0%> (-73.89%) ⬇️
app/lib/logic/provider_signup.rb 26.82% <0%> (-72.36%) ⬇️
app/observers/billing_observer.rb 28% <0%> (-72%) ⬇️
app/helpers/help_bubbles_helper.rb 28.57% <0%> (-71.43%) ⬇️
lib/after_commit_on.rb 28.57% <0%> (-71.43%) ⬇️
app/lib/three_scale/api/responder.rb 25.53% <0%> (-70.22%) ⬇️
... and 1987 more

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 2237afd...adcee06. Read the comment docs.

guicassolato
guicassolato previously approved these changes Apr 1, 2019
macejmic
macejmic previously approved these changes Apr 1, 2019
didierofrivia
didierofrivia previously approved these changes Apr 1, 2019
guicassolato
guicassolato previously approved these changes Apr 1, 2019
@Martouta Martouta added ruby Pull requests that update Ruby code Priority: Blocker This PR is a blocker. Everyone should review and help to close it ASAP. labels Apr 1, 2019
@Martouta Martouta self-assigned this Apr 1, 2019
hallelujah
hallelujah previously approved these changes Apr 1, 2019
Test deletion of tenants enabled only for on-prem
@Martouta Martouta dismissed stale reviews from hallelujah and guicassolato via f7d9a94 April 1, 2019 15:18
@thomasmaas thomasmaas merged commit fbca0b6 into master Apr 1, 2019
@thomasmaas thomasmaas deleted the delete_scheduled branch April 1, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Blocker This PR is a blocker. Everyone should review and help to close it ASAP. ruby Pull requests that update Ruby code
Projects
None yet
6 participants