create cmms machine service with tests

This commit is contained in:
2024-12-08 10:27:14 +03:30
parent 822b2ae526
commit c8e024981e
11 changed files with 420 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
return [
'MACHINE_INFO' => [
'url' => env('CMMS_MACHINE_INFO_URL'),
'password' => env('CMMS_MACHINE_INFO_PASSWORD'),
'ViewName' => env('CMMS_MACHINE_INFO_VIEW_NAME'),
],
];

View File

@@ -99,6 +99,12 @@ return [
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
'cmms_machines_info' => [
'driver' => 'single',
'path' => storage_path('logs/cmms/machines_info_list_service.log'),
'level' => 'info',
],
],
];