-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.properties.example
More file actions
73 lines (55 loc) · 2.01 KB
/
Copy pathconfig.properties.example
File metadata and controls
73 lines (55 loc) · 2.01 KB
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
[FOLIO]
base_url=https://myinstitution.folio.indexdata.com
tenant=diku
# This user should be created with the following FOLIO permissions:
# - Check in: All permissions
# - Inventory: View instances, holdings, and items
# - Inventory: View, create, edit, mark missing items
# - Reporting: All permissions
username=folio_user
password=some_password
# This statistical code should represent the current year / cycle of shelf reading.
inventoried_statistical_code=INV-2025
# This item note type is used for notes on each item as it is inventoried.
inventoried_item_note_type=Inventory
# This item note is used for condition notes on inventoried items.
inventoried_item_condition_note_type=Inventoried Condition
# The item damage status is set to this value for some conditions; see [ConditionsDamageFlag] below.
item_damage_status=Damaged
[MetaDB]
items_query_url=https://raw.githubusercontent.com/lehigh-university-libraries/folio-offline-shelf-reading/refs/heads/main/metadb/get_items_between_barcodes.sql
[Conditions]
# Note: Use the value <custom> to prompt the user to enter a condition
11111 = Minor concern
22222 = Major concern
33333 = Spine label needs replacement
99999 = <custom>
# All conditions are marked on the item as an item note.
Conditions set to true here will also set the item_damage_status as configured above.
[ConditionsDamageFlag]
11111 = True
22222 = True
33333 = False
99999 = True
[Email]
smtp_host = <smtp server>
from_name = Someone
from_address = someone@email.com
to_address = someone@email.com
subject = [TEST Server] FOLIO Local Shelf Reading report
[Validation]
# Note that the barcode pattern should account for both item and condition barcodes.
BARCODE: ^[0-9]+$
ITEM_ID: ^[a-f0-9-]+$
SHELF_STATUS: ^[A-Za-z ]+$
SHELF_CONDITION: ^[A-Za-z ]+$
[Logging]
level = INFO
[Testing]
enabled = False
# Set to a long, random string. For session management.
secret_key = ABCDEFG12345678
# For testing local access via /login. Not for production use.
#password = bar
#start_barcode = 12345
#end_barcode = 67890