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

Message or question list template - Add option in config file to choose severity #5595

Closed
freddidierRTE opened this issue Dec 12, 2023 · 0 comments · Fixed by #5602
Closed
Assignees
Labels
Enhancement New feature

Comments

@freddidierRTE
Copy link
Contributor

freddidierRTE commented Dec 12, 2023

Instead of default value INFORMATION / ACTION it should be possible to set via the config file the severity of the message

Config file example :

  "messagesList": [{
        "id": "Warning",
        "title": "Warning about the state of the grid",
        "message": "A problem has been detected, please put maintenance work on hold and be on stand by",
        "question": false, 
        "severity": "ALARM"
        "recipients" : [
            "ENTITY1_FR",
            "ENTITY2_FR",
            "ENTITY4_FR",
            "ENTITY1_IT",
            "ENTITY1_NL",
            "ENTITY1_EU"
        ],
        "recipientsForInformation" : []
    },

No cypress test --> adapt unit test
Adapt documentation
Add an example in the existing example config file

@freddidierRTE freddidierRTE added the Enhancement New feature label Dec 12, 2023
@quinarygio quinarygio self-assigned this Dec 12, 2023
quinarygio added a commit that referenced this issue Dec 13, 2023
…se severity (#5595)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Dec 14, 2023
…se severity (#5595)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
freddidierRTE pushed a commit that referenced this issue Dec 15, 2023
…se severity (#5595)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature
Projects
None yet
2 participants