forked from OBOFoundry/purl.obolibrary.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest2.yml
More file actions
31 lines (24 loc) · 691 Bytes
/
test2.yml
File metadata and controls
31 lines (24 loc) · 691 Bytes
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
# PURL configuration for http://purl.obolibrary.org/obo/test2
idspace: TEST2
base_url: /obo/test2
base_redirect: http://example.org/test2
products:
- test2.owl: http://example.org/test2.owl
- test2.obo: http://example.org/test2.obo
term_browser: ontobee
example_terms:
- TEST2_0000001
entries:
- exact: /project
replacement: http://example.org/project.html
- prefix: /branches/
replacement: http://example.org/branches/
tests:
- from: /branches/foo
to: http://example.org/branches/foo
- regex: (?i)^/obo/test2/TEST_(\d+)$
replacement: http://example.org/about/TEST_$1
status: see other
tests:
- from: /TEST_1234
replacement: http://example.org/about/TEST_1234