-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
executable file
·107 lines (89 loc) · 3.64 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
return [
/*
|--------------------------------------------------------------------------
| Kraken api connection params
|--------------------------------------------------------------------------
|
| These values represent the endpoint and bearer token for kraken app
| On the kraken application you just need to configure an environment
| from the project page, to get the auth token
|
*/
'endpoint' => env( 'KRAKEN_ENDPOINT', 'localhost' ),
'auth_token' => env( 'KRAKEN_AUTH_TOKEN', 'token' ),
'verify_ssl' => env( 'KRAKEN_VERIFY_SSL', true ),
/*
|--------------------------------------------------------------------------
| Queue for report job
|--------------------------------------------------------------------------
|
| This value indicates the name of the queue to which jobs will be added
| If set to null the queue is disabled and reports will be sent immediately
| By setting "default" jobs will be added to the system's default queue
|
*/
'queue_name' =>env( 'KRAKEN_QUEUE_NAME', null ),
/*
|--------------------------------------------------------------------------
| Application module
|--------------------------------------------------------------------------
|
| By default the Laravel application is divided into two modules
| The app module represents all http requests
| The cli module represents executions of cli commands via artisan
| The values indicate the code corresponding to the configured module
| in the kraken application
|
*/
'app_module_code' => 'WEB',
'cli_module_code' => 'CLI',
/*
|--------------------------------------------------------------------------
| Environments for the exception handler
|--------------------------------------------------------------------------
|
| The collection of values indicates on which environments the kraken
| exception handler sends the report
| If set null always send, if the collection is empty it never sends
|
*/
'enabled_envs' => ['production'],
/*
|--------------------------------------------------------------------------
| Exception report configuration
|--------------------------------------------------------------------------
|
| These values represent the configuration for generating an exception report
| The type corresponds to the code configured on the kraken application on
| the project page. Its correct configuration is mandatory
| The builder is the class that builds the report
|
*/
'exception_report_type'=> 'EXCEPTION',
'exception_report_builder' => \Shellrent\KrakenClient\Laravel\ReportBuilder\ExceptionBuilder::class,
/*
|--------------------------------------------------------------------------
| Log report configuration
|--------------------------------------------------------------------------
|
| These values represent the configuration for generating a log report
| The type corresponds to the code configured on the kraken application on
| the project page. Its correct configuration is mandatory
| The builder is the class that builds the report
|
*/
'log_report_type'=> 'LOG',
'log_report_builder' => \Shellrent\KrakenClient\Laravel\ReportBuilder\LogBuilder::class,
/*
|--------------------------------------------------------------------------
| Log report configuration
|--------------------------------------------------------------------------
|
| This value represents the system for obtaining the information
| of the logged in user at the time of generating the report
| Must be a callable element. If null no information is added
|
*/
'user_report_builder' => null,
];