-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add PSNotify to AptecoPSFramework #5
Comments
[PSCustomObject]@{
"active" = $false
"notificationGroup" = "4f88dea2-d3b3-47bf-8978-07e745b71cc6"
"notificationName" = "401 Unauthorized" # should not be changed as this is the reference in the code
"message" = "The token {0} is expired, please check {1}"
"subject" = "" # relevant, if email
} The |
|
At install of psframework ask for installing psnitify At module import of psframework try to import psnotify, if successful, ask for if it is configurated. Fill a module scope boolean for later usage like $isPSNotifyConfigured Then connect events with this boolean and specified channels. Weekly Update check with notifications in psframework. Ask for it at install. |
More requirements, maybe rename everything in "notification hooks":
And this is a better way to replace tokens in a string
|
Think about definition of events in the module and subscribing notification groups to it.
The text was updated successfully, but these errors were encountered: