Skip to content

Commit

Permalink
Add license headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisara-Welmilla committed Mar 11, 2024
1 parent b07c37b commit 474af3d
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1 deletion.
18 changes: 18 additions & 0 deletions etc/notification-sender-ext-schedular/configuration_manager.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 18 additions & 0 deletions etc/notification-sender-ext-schedular/function_app.py
Original file line number Diff line number Diff line change
@@ -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 *
Expand Down
18 changes: 18 additions & 0 deletions etc/notification-sender-ext-schedular/is_server_utils.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion etc/notification-sender-ext-schedular/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
# Manually managing azure-functions-worker may cause unexpected issues

azure-functions

secure-smtplib
emails

0 comments on commit 474af3d

Please sign in to comment.