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

Soft Delete of AWX Objects #15542

Open
6 of 9 tasks
esillegue-gentleit opened this issue Sep 20, 2024 · 0 comments
Open
6 of 9 tasks

Soft Delete of AWX Objects #15542

esillegue-gentleit opened this issue Sep 20, 2024 · 0 comments

Comments

@esillegue-gentleit
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

Enhancement to Existing Feature

Feature Summary

I use API to gather metrics on evolution of AWX objects (job templates, hosts, users, etc.)
When I delete an object I can't request history and have good metrics (for example, evolution of created job templates weeks over weeks on a 6 month period).

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

Add a job template
Run the job template
Delete job template

Current results

After adding job template, i can request it with api request
Running job is OK and i can requets with api it having the related job template's informations
After deleting the job template, i doesn't appear in api request
And requesting the job, make related job_template value to null.

Sugested feature result

After deleting an object, put delete timestamp and informations on user having performed the deletion.
Don't show soft deleted objects in UI
Soft deleted objects appears in API

Additional information

For database capacity I propose to make a scheduled system job that will hard delete the soft deleted objects (for exemple 180 days after soft delete, 180 is a parameter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant