Skip to content

Commit

Permalink
add xml
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzsarun committed Aug 10, 2023
1 parent 67092cc commit 5cce9e0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions tests/storage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<storage-mapping>
<lfn-to-pfn protocol="first"
path-match="/+other/(.*)"
result="/store/other/first/$1/trailer"/>
<lfn-to-pfn protocol="first"
path-match="/+store/(.*)"
result="/store/first/$1/trailer"/>
<lfn-to-pfn protocol="first"
path-match="/*store/(.*)"
result="never/first/$1/trailer"/>

<lfn-to-pfn protocol="second"
path-match="/+test/(.*)"
result="//test/$1"/>
<lfn-to-pfn protocol="second"
chain="first"
path-match="/+.*/mc/(.*)"
result="//store/nomc/$1"/>
<lfn-to-pfn protocol="second"
chain="first"
path-match="(.*)/mc/(.*)"
result="/$1/xmc/$2"/>
<lfn-to-pfn protocol="second"
chain="first"
path-match="(.*)"
result="/$1"/>

<lfn-to-pfn protocol="root"
chain="second"
path-match="(.*)"
result="root://host.domain/aaa/bbb$1"/>
</storage-mapping>

0 comments on commit 5cce9e0

Please sign in to comment.