From 69134399f4bad85dec8d7ac46f788fbc7d31ebfc Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 13 May 2024 22:12:33 -0500 Subject: [PATCH] added more test apps --- apps/app1/__init__.py | 0 apps/app1/database.py | 6 ++++++ apps/app2/__init__.py | 0 apps/app2/database.py | 6 ++++++ apps/databases.yaml | 7 +++++++ 5 files changed, 19 insertions(+) create mode 100644 apps/app1/__init__.py create mode 100644 apps/app1/database.py create mode 100644 apps/app2/__init__.py create mode 100644 apps/app2/database.py create mode 100644 apps/databases.yaml diff --git a/apps/app1/__init__.py b/apps/app1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/app1/database.py b/apps/app1/database.py new file mode 100644 index 0000000..9a36c48 --- /dev/null +++ b/apps/app1/database.py @@ -0,0 +1,6 @@ +from appdaemon.adapi import ADAPI + +class DatabaseApp(ADAPI): + def initialize(self): + self.log(f'Initialized from {__file__}') + \ No newline at end of file diff --git a/apps/app2/__init__.py b/apps/app2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/app2/database.py b/apps/app2/database.py new file mode 100644 index 0000000..fe59707 --- /dev/null +++ b/apps/app2/database.py @@ -0,0 +1,6 @@ +from appdaemon.adapi import ADAPI + +class OtherDatabaseApp(ADAPI): + def initialize(self): + self.log(f'Initialized from {__file__}') + \ No newline at end of file diff --git a/apps/databases.yaml b/apps/databases.yaml new file mode 100644 index 0000000..3170b8c --- /dev/null +++ b/apps/databases.yaml @@ -0,0 +1,7 @@ +App1: + module: app1.database + class: DatabaseApp + +App2: + module: app2.database + class: OtherDatabaseApp \ No newline at end of file