| 3 | | [[TOC]] |
| | 3 | |
| | 4 | |
| | 5 | |
| | 6 | === Configure === |
| | 7 | |
| | 8 | ==== Purpose ==== |
| | 9 | A configuration is specific to an implementation. It could be a country context or an organization context implementation. This document walks you through the necessary parameters that must be defined for the specific CAP messaging procedures and workflows.[[BR]][[BR]] The configuration parameters can be found [https://github.com/flavour/eden/blob/master/modules/templates/000_config.py#L214 here] |
| | 10 | |
| | 11 | ==== List of elements to configure ==== |
| | 12 | |
| | 13 | ===== Identifier ===== |
| | 14 | |
| | 15 | In your eden directory, go to models/ and open 000_config.py with notepad or any other text editing software. If you scroll down, there's a line called CAP Settings. You can directly search (using CTRL + F). [[BR]] |
| | 16 | There are options for configuring prefix, OID and suffix. By default, it looks like this: |
| | 17 | |
| | 18 | {{{ |
| | 19 | # CAP Settings |
| | 20 | # Change for different authority and organisations |
| | 21 | # See http://alerting.worldweather.org/ for prefix and oid |
| | 22 | #settings.cap.identifier_prefix = "PAGASA-DOST" |
| | 23 | #settings.cap.identifier_oid = "2.49.0.0.608.0" |
| | 24 | #settings.cap.identifier_suffix = "alert" |
| | 25 | }}} |
| | 26 | |
| | 27 | |
| | 28 | You can configure the prefix, oid and suffix according to your organisation. |
| | 29 | |
| | 30 | For national authority, see http://alerting.worldweather.org/ |