diff --git a/cpl-workspace.json b/cpl-workspace.json index 70c1214..9e42da8 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -5,7 +5,9 @@ "gismo": "src/gismo/gismo.json", "gismo-cli": "src/gismo_cli/gismo-cli.json", "gismo-core": "src/gismo_core/gismo-core.json", - "boot-log": "src/modules/boot_log/boot-log.json" + "boot-log": "src/modules/boot_log/boot-log.json", + "gismo_db": "src/gismo_db/gismo_db.json", + "database": "src/database/database.json" }, "Scripts": {} } diff --git a/src/database/__init__.py b/src/database/__init__.py new file mode 100644 index 0000000..ad5eca3 --- /dev/null +++ b/src/database/__init__.py @@ -0,0 +1 @@ +# imports: diff --git a/src/database/appsettings.json b/src/database/appsettings.json new file mode 100644 index 0000000..629e6eb --- /dev/null +++ b/src/database/appsettings.json @@ -0,0 +1,15 @@ +{ + "TimeFormatSettings": { + "DateFormat": "%Y-%m-%d", + "TimeFormat": "%H:%M:%S", + "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", + "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" + }, + + "LoggingSettings": { + "Path": "logs/", + "Filename": "log_$start_time.log", + "ConsoleLogLevel": "ERROR", + "FileLogLevel": "WARN" + } +} diff --git a/src/database/database.json b/src/database/database.json new file mode 100644 index 0000000..21ba584 --- /dev/null +++ b/src/database/database.json @@ -0,0 +1,43 @@ +{ + "ProjectSettings": { + "Name": "database", + "Version": { + "Major": "0", + "Minor": "0", + "Micro": "0" + }, + "Author": "", + "AuthorEmail": "", + "Description": "", + "LongDescription": "", + "URL": "", + "CopyrightDate": "", + "CopyrightName": "", + "LicenseName": "", + "LicenseDescription": "", + "Dependencies": [ + "sh_cpl>=2021.10.2" + ], + "PythonVersion": ">=3.9.2", + "PythonPath": { + "linux": "" + }, + "Classifiers": [] + }, + "BuildSettings": { + "ProjectType": "library", + "SourcePath": "", + "OutputPath": "../../dist", + "Main": "database.main", + "EntryPoint": "database", + "IncludePackageData": false, + "Included": [], + "Excluded": [ + "*/__pycache__", + "*/logs", + "*/tests" + ], + "PackageData": {}, + "ProjectReferences": [] + } +} \ No newline at end of file diff --git a/src/gismo_db/__init__.py b/src/gismo_db/__init__.py new file mode 100644 index 0000000..ad5eca3 --- /dev/null +++ b/src/gismo_db/__init__.py @@ -0,0 +1 @@ +# imports: diff --git a/src/gismo_db/gismo_db.json b/src/gismo_db/gismo_db.json new file mode 100644 index 0000000..33952aa --- /dev/null +++ b/src/gismo_db/gismo_db.json @@ -0,0 +1,43 @@ +{ + "ProjectSettings": { + "Name": "gismo_db", + "Version": { + "Major": "0", + "Minor": "0", + "Micro": "0" + }, + "Author": "", + "AuthorEmail": "", + "Description": "", + "LongDescription": "", + "URL": "", + "CopyrightDate": "", + "CopyrightName": "", + "LicenseName": "", + "LicenseDescription": "", + "Dependencies": [ + "sh_cpl>=2021.10.2" + ], + "PythonVersion": ">=3.9.2", + "PythonPath": { + "linux": "" + }, + "Classifiers": [] + }, + "BuildSettings": { + "ProjectType": "library", + "SourcePath": "", + "OutputPath": "../../dist", + "Main": "gismo_db.main", + "EntryPoint": "gismo_db", + "IncludePackageData": false, + "Included": [], + "Excluded": [ + "*/__pycache__", + "*/logs", + "*/tests" + ], + "PackageData": {}, + "ProjectReferences": [] + } +} \ No newline at end of file