diff --git a/etc/notification-sender-ext-schedular/configuration_manager.py b/etc/notification-sender-ext-schedular/configuration_manager.py index 595f74abb..8a4ae4ce6 100644 --- a/etc/notification-sender-ext-schedular/configuration_manager.py +++ b/etc/notification-sender-ext-schedular/configuration_manager.py @@ -1,3 +1,21 @@ +# +# Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import json # This is the class which read and hold configurations from the configuration file. diff --git a/etc/notification-sender-ext-schedular/email_notification_manager.py b/etc/notification-sender-ext-schedular/email_notification_manager.py index e0a4cb22e..06b2d5593 100644 --- a/etc/notification-sender-ext-schedular/email_notification_manager.py +++ b/etc/notification-sender-ext-schedular/email_notification_manager.py @@ -1,3 +1,21 @@ +# +# Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import smtplib import logging from email.mime.text import MIMEText diff --git a/etc/notification-sender-ext-schedular/function_app.py b/etc/notification-sender-ext-schedular/function_app.py index 284b5060f..59aebbc5a 100644 --- a/etc/notification-sender-ext-schedular/function_app.py +++ b/etc/notification-sender-ext-schedular/function_app.py @@ -1,3 +1,21 @@ +# +# Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import azure.functions as func import logging from configuration_manager import * diff --git a/etc/notification-sender-ext-schedular/is_server_utils.py b/etc/notification-sender-ext-schedular/is_server_utils.py index 427ac5022..5c80ddba1 100644 --- a/etc/notification-sender-ext-schedular/is_server_utils.py +++ b/etc/notification-sender-ext-schedular/is_server_utils.py @@ -1,3 +1,21 @@ +# +# Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). +# +# WSO2 LLC. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + import json import logging import requests diff --git a/etc/notification-sender-ext-schedular/requirements.txt b/etc/notification-sender-ext-schedular/requirements.txt index de84d30a6..8eaaca828 100644 --- a/etc/notification-sender-ext-schedular/requirements.txt +++ b/etc/notification-sender-ext-schedular/requirements.txt @@ -3,6 +3,5 @@ # Manually managing azure-functions-worker may cause unexpected issues azure-functions - secure-smtplib emails \ No newline at end of file