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

Issue #54 - User Story 3.6 #214

Closed
wants to merge 32 commits into from
Closed

Issue #54 - User Story 3.6 #214

wants to merge 32 commits into from

Conversation

Neeham
Copy link
Contributor

@Neeham Neeham commented Jan 24, 2021

Issue #54

This PR adds the functionality to schedule an audit template. When an inventory managers create an audit template, at the bottom they will see a new section named Scheduling. In this section they have the option to trigger an audit at a scheduled time specified. There are 2 ways to trigger: One time trigger, or at a recurrence time by expanding the recurrence tab and specifying the available option.

On the server end, you can see in the console output when the scheduled audit starts.

@github-actions
Copy link

NG Lint Report

@github-actions
Copy link

NG Lint Report

@codecov-io
Copy link

codecov-io commented Jan 26, 2021

Codecov Report

Merging #214 (457c2c4) into master (33e495b) will decrease coverage by 2.54%.
The diff coverage is 66.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
- Coverage   93.31%   90.76%   -2.55%     
==========================================
  Files          35       37       +2     
  Lines         942     1040      +98     
==========================================
+ Hits          879      944      +65     
- Misses         63       96      +33     
Impacted Files Coverage Δ
server/audit/migrations/0001_initial.py 100.00% <ø> (ø)
server/audit_template/migrations/0001_initial.py 100.00% <ø> (ø)
server/inventory_item/migrations/0001_initial.py 100.00% <ø> (ø)
server/organization/migrations/0001_initial.py 100.00% <ø> (ø)
server/user_account/migrations/0001_initial.py 100.00% <ø> (ø)
server/audit/utils.py 20.00% <20.00%> (ø)
server/inventory_item/updater.py 78.31% <73.91%> (+3.31%) ⬆️
server/audit_template/views.py 97.61% <92.85%> (-2.39%) ⬇️
server/audit/migrations/0002_audit_template_id.py 100.00% <100.00%> (ø)
server/audit/models.py 100.00% <100.00%> (ø)
... and 7 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 33e495b...457c2c4. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Jan 26, 2021

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
18.4% 18.4% Duplication

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.

3 participants