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

Ft 156577849 set user priorities #25

Open
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

tibetegya
Copy link

What does this PR do?

This PR ensures that User should be able to set up a list of users(priority list) to be notified one after the other when a job fails until the alert is resolved

Description of Task to be completed?

A team access account super-user should be able to define who in the directory of the with team access should be notified about a failed job, when they should be notified and in what order

How should this be manually tested?

  1. Clone the application and install the requirements in the requirements.txt
    2.Run the application and click on account settings
    3: Add a team member.
  2. Set their priority for each check

What are the relevant pivotal tracker stories?

#156577849

Checklist: I completed these to help reviewers

  • My IDE is configured to follow the PEP8 Conventions

    No? Unsure? -> configure your IDE, format the code and add the changes with git add . && git commit --amend

  • [] I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

    No? -> write tests and add them to this commit git add . && git commit --amend

  • All new and existing tests passed.

    No? -> figure out why and add the fix to your commit. It is your responsibility to make sure your code works.

  • My pull request is based on the latest changes of the develop branch.

    No? Unsure? -> execute command git pull --rebase origin develop

@coveralls
Copy link

coveralls commented May 18, 2018

Pull Request Test Coverage Report for Build 294

  • 48 of 80 (60.0%) changed or added relevant lines in 5 files are covered.
  • 9 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.9%) to 77.566%

Changes Missing Coverage Covered Lines Changed/Added Lines %
hc/api/models.py 9 12 75.0%
hc/accounts/views.py 1 12 8.33%
hc/front/views.py 26 44 59.09%
Files with Coverage Reduction New Missed Lines %
hc/settings.py 2 98.39%
hc/api/management/commands/ensuretriggers.py 7 100.0%
Totals Coverage Status
Change from base Build 259: -0.9%
Covered Lines: 1708
Relevant Lines: 2202

💛 - Coveralls

Bruce Elbert Bigirwenkya and others added 13 commits May 18, 2018 12:44
…board-156577846

[feature #156577846] Create departments and add checks to departments
@@ -5,9 +5,18 @@ $(function() {

$("#rtm-email").text($this.data("email"));
$("#remove-team-member-email").val($this.data("email"));
console.log($this.data("email"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

These debug logs should be removed for merge to production

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.

None yet

5 participants