Add device operation cleanup scripts #4

Merged
pahansith merged 1 commits from navodzoysa/device-mgt-core:dbscripts into master 2 years ago
Collaborator

Purpose

Add script to truncate/drop old records related to device operations in DM_DB and retain records after a certain date. https://gitlab.com/entgra/product-iots/-/issues/1632

Goals

Reduce database storage taken up by old device operations

Approach

N/A

Documentation

N/a

Automation tests

  • Unit tests

    N/A

  • Integration tests

    N/A

Security checks

  • Followed secure coding standards? (yes)
  • Ran FindSecurityBugs plugin and verified report? (no)
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? (yes)

N/A

Test environment

Ubuntu 20.04, MySQL 5.0 and 8.0

Learning

N/A

## Purpose > Add script to truncate/drop old records related to device operations in DM_DB and retain records after a certain date. https://gitlab.com/entgra/product-iots/-/issues/1632 ## Goals > Reduce database storage taken up by old device operations ## Approach > N/A ## Documentation > N/a ## Automation tests - Unit tests > N/A - Integration tests > N/A ## Security checks - Followed secure coding standards? (yes) - Ran FindSecurityBugs plugin and verified report? (no) - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? (yes) ## Related MRs > N/A ## Test environment > Ubuntu 20.04, MySQL 5.0 and 8.0 ## Learning > N/A
navodzoysa added 1 commit 2 years ago
pahansith merged commit ebc23381c8 into master 2 years ago
The pull request has been merged as ebc23381c8.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#4
Loading…
There is no content yet.