Skip to content

Commit

Permalink
Merge pull request #34 from WodPachua/address-config
Browse files Browse the repository at this point in the history
Configure address hierarchy for Burundi - QA'ed locally
  • Loading branch information
michaelbontyes authored Sep 30, 2024
2 parents 4f6c12d + 85c66b8 commit 856ccaf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,45 @@
<addressComponents>
<addressComponent>
<field>COUNTRY</field>
<nameMapping>Location.country</nameMapping>
<nameMapping>Country</nameMapping>
<sizeMapping>40</sizeMapping>
<elementDefault>Burundi</elementDefault>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
<field>STATE_PROVINCE</field>
<nameMapping>Location.province</nameMapping>
<nameMapping>Province</nameMapping>
<sizeMapping>40</sizeMapping>
<elementDefault>Bururi</elementDefault>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
<field>COUNTY_DISTRICT</field>
<nameMapping>Location.district</nameMapping>
<nameMapping>Commune</nameMapping>
<sizeMapping>40</sizeMapping>
<elementDefault>Mugamba</elementDefault>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
<addressComponent>
<field>CITY_VILLAGE</field>
<nameMapping>Location.village</nameMapping>
<sizeMapping>80</sizeMapping>
<nameMapping>Zone</nameMapping>
<sizeMapping>40</sizeMapping>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
<addressComponent>
<field>ADDRESS_1</field>
<nameMapping>Location.address1</nameMapping>
<nameMapping>Colline</nameMapping>
<sizeMapping>40</sizeMapping>
<requiredInHierarchy>true</requiredInHierarchy>
</addressComponent>
</addressComponents>
<lineByLineFormat>
<string>cityVillage countyDistrict stateProvince country</string>
<string>address1</string>
<string>address1</string>
<string>cityVillage</string>
<string>countyDistrict</string>
<string>stateProvince</string>
<string>country</string>
</lineByLineFormat>
<addressHierarchyFile>
<filename>addresshierarchy_mugamba.csv</filename>
<entryDelimiter>,</entryDelimiter>
<identifierDelimiter>%</identifierDelimiter>
</addressHierarchyFile>
</addressConfiguration>
</addressConfiguration>
1 change: 1 addition & 0 deletions countries/burundi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<directory>${project.build.directory}/ozone-uvl-distro</directory>
<excludes>
<exclude>distro/configs/**/roles/*.*</exclude>
<exclude>distro/configs/**/addresshierarchy/*.*</exclude>
</excludes>
</resource>
</resources>
Expand Down
1 change: 1 addition & 0 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
<resource>
<directory>${project.build.directory}/ozone</directory>
<excludes>
<exclude>distro/configs/**/addresshierarchy/*.*</exclude>
<exclude>distro/configs/**/ampathforms/*.*</exclude>
<exclude>distro/configs/**/ampathformstranslations/*.*</exclude>
<exclude>distro/configs/**/appointmentservicedefinitions/*.*</exclude>
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion sites/mugamba/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
<resource>
<directory>${project.build.directory}/ozone-uvl-burundi</directory>
<excludes>
<exclude>distro/configs/**/addresshierarchy/*.*</exclude>
<exclude>distro/configs/**/locations/*.*</exclude>
<exclude>distro/configs/**/personattributetypes/*.*</exclude>
<exclude>distro/configs/**/idgen/*.*</exclude>
Expand Down

0 comments on commit 856ccaf

Please sign in to comment.