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
server:
host: 0.0.0.0
port: 8080
grpc_port: 50051
database:
url: postgresql://root:password@localhost:5432/skeletondb
max_connections: 10
min_connections: 5
connect_timeout: 30
idle_timeout: 600
logging:
level: info
format: json
file: logs/pos.log
module:
name: pos
enabled: true
features:
soft_delete: true
state_machines: false
workflows: true
entities:
pos_closing_entry:
collection: pos_closing_entries
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_invoice:
collection: pos_invoices
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_invoice_item:
collection: pos_invoice_items
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_payment:
collection: pos_payments
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_profile:
collection: pos_profiles
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_opening_entry:
collection: pos_opening_entries
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_cash_movement:
collection: pos_cash_movements
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_discount:
collection: pos_discounts
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_manager_pin:
collection: pos_manager_pins
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_floor_plan:
collection: pos_floor_plans
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
pos_table:
collection: pos_tables
enabled: true
cache_ttl: 300
pagination:
default_limit: 20
max_limit: 100
tracing:
enabled: true
exporter: otlp
endpoint: http://localhost:4317
metrics:
enabled: true
endpoint: /metrics
port: 9090