Commit 88de4ce27b68ffb99ad573b08b4215fb3c0068e1
1 parent
6889683c
Update and reformat brokers.yaml; add comments
This also adds support for openUA procedure.
Showing
1 changed file
with
58 additions
and
41 deletions
1 | Default: | 1 | Default: |
2 | - # These values are used by default unless a | ||
3 | - # specific broker entry overrides them. | ||
4 | - intervals: # Time in minutes | ||
5 | - enquiry: | ||
6 | - - 0 # Delay before period starts (for startDate) | ||
7 | - - 11 # Duration of period (for endDate) | ||
8 | - tender: | ||
9 | - - 0 | ||
10 | - - 31 | ||
11 | - timeout_on_wait: 300 # Time in seconds | 2 | + # Default dictionary: |
3 | + # These values are used unless a | ||
4 | + # specific broker entry overrides them | ||
5 | + intervals: | ||
6 | + # intervals: Interval values for each "mode" | ||
7 | + # | ||
8 | + # Each field is a mode name | ||
9 | + # Current modes are: | ||
10 | + # single, multi, limited, openua, openeu | ||
11 | + # | ||
12 | + # See `prepare_test_tender_data()` | ||
13 | + # in `service_keywords.py` for more details | ||
14 | + # | ||
15 | + # If some mode is not specified, | ||
16 | + # time values are taken from "default" | ||
17 | + default: | ||
18 | + # default: Used for modes that are not present in `intervals` | ||
19 | + # | ||
20 | + # enquiry, tender: Period names with corresponding time values | ||
21 | + # | ||
22 | + # Other mode-specific fields are allowed too | ||
23 | + # | ||
24 | + # First number in list: Delay before period starts (for startDate) | ||
25 | + # Second number in list: Duration of period (for endDate) | ||
26 | + enquiry: [0, 11] | ||
27 | + tender: [0, 31] | ||
28 | + openua: | ||
29 | + # accelerator: Integer value | ||
30 | + # This is not a name of period | ||
31 | + # Please refer to API documentation to find out what's this | ||
32 | + accelerator: 1440 | ||
33 | + tender: [0, 15] | ||
34 | + # Please remember that openUA and openEU procedures | ||
35 | + # forbid anyone to set or modify enquiryPeriod | ||
36 | + # (it is set automatically) | ||
37 | + openeu: | ||
38 | + accelerator: 1440 | ||
39 | + tender: [0, 15] | ||
40 | + # Synchronization delay, in seconds | ||
41 | + timeout_on_wait: 300 | ||
12 | Quinta: | 42 | Quinta: |
13 | -# intervals: | ||
14 | -# enquiry: | ||
15 | -# - 0 | ||
16 | -# - 2 | ||
17 | -# tender: | ||
18 | -# - 0 | ||
19 | -# - 5 | 43 | + intervals: |
44 | + default: | ||
45 | + enquiry: [0, 2] | ||
46 | + tender: [0, 5] | ||
47 | + openua: | ||
48 | + accelerator: 1440 | ||
49 | + tender: [0, 15] | ||
50 | + openeu: | ||
51 | + accelerator: 1440 | ||
52 | + tender: [0, 15] | ||
20 | keywords_file: openprocurement_client | 53 | keywords_file: openprocurement_client |
21 | roles: | 54 | roles: |
22 | tender_owner: Tender_Owner | 55 | tender_owner: Tender_Owner |
@@ -48,12 +81,8 @@ Newtend: | @@ -48,12 +81,8 @@ Newtend: | ||
48 | viewer: Newtend_Viewer | 81 | viewer: Newtend_Viewer |
49 | PrivatMarket: | 82 | PrivatMarket: |
50 | intervals: | 83 | intervals: |
51 | - enquiry: | ||
52 | - - 0 | ||
53 | - - 2 | ||
54 | - tender: | ||
55 | - - 0 | ||
56 | - - 5 | 84 | + enquiry: [0, 2] |
85 | + tender: [0, 5] | ||
57 | keywords_file: privatmarket | 86 | keywords_file: privatmarket |
58 | roles: | 87 | roles: |
59 | viewer: PrivatMarket_Viewer | 88 | viewer: PrivatMarket_Viewer |
@@ -62,12 +91,8 @@ PrivatMarket: | @@ -62,12 +91,8 @@ PrivatMarket: | ||
62 | timeout_on_wait: 30 | 91 | timeout_on_wait: 30 |
63 | Prom: | 92 | Prom: |
64 | intervals: | 93 | intervals: |
65 | - enquiry: | ||
66 | - - 8 | ||
67 | - - 8 | ||
68 | - tender: | ||
69 | - - 0 | ||
70 | - - 31 | 94 | + enquiry: [8, 8] |
95 | + tender: [0, 31] | ||
71 | keywords_file: prom | 96 | keywords_file: prom |
72 | roles: | 97 | roles: |
73 | tender_owner: Prom_Owner | 98 | tender_owner: Prom_Owner |
@@ -79,12 +104,8 @@ Publicbid: | @@ -79,12 +104,8 @@ Publicbid: | ||
79 | provider: Publicbid_Provider1 | 104 | provider: Publicbid_Provider1 |
80 | viewer: Publicbid_Viewer | 105 | viewer: Publicbid_Viewer |
81 | intervals: | 106 | intervals: |
82 | - enquiry: | ||
83 | - - 21 # Delay before period starts (for startDate) | ||
84 | - - 15 # Duration of period (for endDate) | ||
85 | - tender: | ||
86 | - - 1 | ||
87 | - - 15 | 107 | + enquiry: [21, 15] |
108 | + tender: [1, 15] | ||
88 | PublicPortal: | 109 | PublicPortal: |
89 | keywords_file: publicportal | 110 | keywords_file: publicportal |
90 | roles: | 111 | roles: |
@@ -97,10 +118,6 @@ SmartTender: | @@ -97,10 +118,6 @@ SmartTender: | ||
97 | provider1: SmartTender_Provider2 | 118 | provider1: SmartTender_Provider2 |
98 | tender_owner: SmartTender_Owner | 119 | tender_owner: SmartTender_Owner |
99 | intervals: | 120 | intervals: |
100 | - enquiry: | ||
101 | - - 5 | ||
102 | - - 10 | ||
103 | - tender: | ||
104 | - - 0 | ||
105 | - - 15 | 121 | + enquiry: [5, 10] |
122 | + tender: [0, 15] | ||
106 | timeout_on_wait: 300 | 123 | timeout_on_wait: 300 |
Please
register
or
login
to post a comment