| 60 | | |
| 61 | | |
| 62 | | === Configure === |
| 63 | | |
| 64 | | ==== Purpose ==== |
| 65 | | 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] |
| 66 | | |
| 67 | | ==== List of elements to configure ==== |
| 68 | | |
| 69 | | ===== Identifier ===== |
| 70 | | |
| 71 | | |
| 72 | | 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]] |
| 73 | | There are options for configuring prefix, OID and suffix. By default, it looks like this: |
| 74 | | |
| 75 | | |
| 76 | | {{{ |
| 77 | | # CAP Settings |
| 78 | | # Change for different authority and organisations |
| 79 | | # See http://alerting.worldweather.org/ for prefix and oid |
| 80 | | #settings.cap.identifier_prefix = "PAGASA-DOST" |
| 81 | | #settings.cap.identifier_oid = "2.49.0.0.608.0" |
| 82 | | #settings.cap.identifier_suffix = "alert" |
| 83 | | }}} |
| 84 | | |
| 85 | | |
| 86 | | You can configure the prefix, oid and suffix according to your organisation. |
| 87 | | |
| 88 | | For national authority, see http://alerting.worldweather.org/ |