wiki:UserGuidelines/SAMBRO/Configure

Version 6 (modified by Biplov Bhandari, 6 years ago) ( diff )

--

Configure SAMBRO

Purpose

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

List of elements to configure

Identifier

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).
There are options for configuring prefix, OID and suffix. By default, it looks like this:

settings.cap.identifier_prefix = "PAGASA-DOST"
settings.cap.identifier_oid = "2.49.0.0.608.0"
settings.cap.identifier_suffix = "alert"

You can configure the prefix, oid and suffix according to your organisation.

For national authority, see http://alerting.worldweather.org/

Priority

Onset

In your eden directory, go to models/ and open 000_config.py. Scroll down and you will see

settings.cap.expire_offset = 2

This parameter is maintained to assign the default period to offset the expire date; i.e. effective + expire_offset. The default is 2 days. You can change the number of the period. With the offset, we trying to help speed up the data entry.

Note: See TracWiki for help on using the wiki.