Last modified by Helena on 2025/09/10 11:19

From version 3.3
edited by Helena
on 2025/05/21 15:27
Change comment: There is no comment for this version
To version 2.16
edited by Helena
on 2025/05/21 15:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -288,25 +288,27 @@
288 288  * that a queryable data source exists - this would necessitate the registration service querying the service to determine its existence
289 289  * that a simple data source exists (i.e. a file accessible at a URL)
290 290  * that the correct Data Structure Definition or Metadata Structure Definition is used by the registered data that the components (Dimensions, Attributes, Measures, Identifier Components etc.) are consistent with the Data Structure Definition or Metadata Structure Definition
291 -* that the valid representations of the concepts to which these components correspond conform to the definition in the Data Structure Definition or Metadata Structure Definition
291 +* that the valid representations of the concepts to which these components 382 correspond conform to the definition in the Data Structure Definition or Metadata Structure Definition
292 292  
293 293  3The Registration has an action attribute which takes one of the following values:
294 294  
295 -(% style="margin-left:auto; margin-right:auto" %)
296 -|(% style="width:200px" %)(((
295 +|(% style="width:249px" %)(((
297 297  **Action Attribute Value**
298 -)))|(% style="width:1672px" %)**Behaviour**
299 -|(% style="width:200px" %)Append|(% style="width:1672px" %)Add this registration to the registry
300 -|(% style="width:200px" %)Replace|(% style="width:1672px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request
301 -|(% style="width:200px" %)Delete|(% style="width:1672px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
297 +)))|(% style="width:1622px" %)**Behaviour**
298 +|(% style="width:249px" %)Append|(% style="width:1622px" %)Add this registration to the registry
299 +|(% style="width:249px" %)Replace|(% style="width:1622px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request
300 +|(% style="width:249px" %)Delete|(% style="width:1622px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
301 +
302 302  The Registration has three Boolean attributes which may be present to determine how an SDMX compliant Dataset or Metadata Set indexing application must index the Datasets or Metadata Set upon registration. The indexing application behaviour is as follows:
303 -|(% style="width:200px" %)**Boolean Attribute**|(% style="width:1672px" %)**Behaviour if Value is “true”**
304 -|(% style="width:200px" %)indexTimeSeries|(% style="width:1672px" %)A compliant indexing application must index all the time series keys (for a Dataset registration) or metadata target values (for a Metadata Set registration)
305 -|(% style="width:200px" %)indexDataSet|(% style="width:1672px" %)(((
303 +
304 +|**Boolean Attribute**|**Behaviour if Value is “true”**
305 +|indexTimeSeries|A compliant indexing application must index all the time series keys (for a Dataset registration) or metadata target values (for a Metadata Set registration)
306 +|indexDataSet|(((
306 306  A compliant indexing application must index the range of actual (present) values for each dimension of the Dataset (for a Dataset registration) or the range of actual (present) values for each Metadata Attribute which takes an enumerated value.
308 +
307 307  Note that for data this requires much less storage than full key indexing, but this method cannot guarantee that a specific combination of Dimension values (the Key) is actually present in the Dataset
308 308  )))
309 -|(% style="width:200px" %)indexReportingPeriod|(% style="width:1672px" %)A compliant indexing application must index the time period range(s) for which data are present in the Dataset or Metadata Set
311 +|indexReportingPeriod|A compliant indexing application must index the time period range(s) for which data are present in the Dataset or Metadata Set
310 310  
311 311  === 5.2.5 Data and Reference Metadata Discovery ===
312 312  
... ... @@ -338,8 +338,8 @@
338 338  
339 339  The following table defines the behaviour of the SDMX Registry for the various Registry Interface messages.
340 340  
341 -|(% style="width:227px" %)**Interface**|(% style="width:1644px" %)**Behaviour**
342 -|(% style="width:227px" %)All|(% style="width:1644px" %)(((
343 +|(% style="width:244px" %)**Interface**|**Behaviour**
344 +|(% style="width:244px" %)All|(((
343 343  1) If the action is set to “replace” then the entire contents of the existing maintainable object in the Registry MUST be replaced by the object submitted, unless the final attribute is set to “true” in which case the only changes that are allowed are to the following constructs:
344 344  
345 345  * Name – this applies to the Maintainable object and its contained elements, such a Code in a Code list.
... ... @@ -353,6 +353,7 @@
353 353  * isExternalReference
354 354  
355 355  2) Cross referenced structures MUST exist in either the submitted document (in Structures or Structure Location) or in the registry to which the request is submitted.
358 +
356 356  3) If the action is set to “delete” then the Registry MUST verify that the object can deleted. In order to qualify for deletion the object must:
357 357  
358 358  а) Not have the final attribute set to “true”
... ... @@ -359,11 +359,12 @@
359 359  b) Not be referenced from any other object in the Registry.
360 360  
361 361  4) The version rules in the SDMX Schema documentation MUST be obeyed.
365 +
362 362  5) The specific rules for the elements and attributes documented in the SDMX Schema MUST be obeyed.
363 363  )))
364 -|(% style="width:227px" %)SubmitStructureRequest|(% style="width:1644px" %)Structures are submitted at the level of the Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact.
365 -|(% style="width:227px" %)SubmitProvisioningRequest|(% style="width:1644px" %)No additional behaviour.
366 -|(% style="width:227px" %)Submit Registration Request|(% style="width:1644px" %)(((
368 +|(% style="width:244px" %)SubmitStructureRequest|Structures are submitted at the level of the Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact.
369 +|(% style="width:244px" %)SubmitProvisioningRequest|No additional behaviour.
370 +|(% style="width:244px" %)Submit Registration Request|(((
367 367  If the datasource is a file (simple datasource) then the file MAY be retrieved and indexed according to the Boolean attributes set in the Registration.
368 368  For a queryable datasource the Registry MAY validate that the source exists and can accept an SDMX-ML data query.
369 369  )))
... ... @@ -486,7 +486,7 @@
486 486  
487 487  The generic structure of the URN is as follows:
488 488  
489 ->SDMXprefix.SDMX-IM-package-name.class-name=agencyid:maintainedobject-id(maintainedobject-version).*containerobject-id.object-id
493 +SDMXprefix.SDMX-IM-package-name.class-name=agencyid:maintainedobject-id(maintainedobject-version).*containerobject-id.object-id
490 490  
491 491  ~* this can repeat and may not be present (see explanation below)
492 492  
... ... @@ -498,7 +498,7 @@
498 498  
499 499  In the explanation below the actual object that is the target of the URN is called the **//actual object//**.
500 500  
501 -**SDMXPrefix:** urn:sdmx:org.
505 +**SDMXPrefix:** urn:sdmx:org.                                     
502 502  
503 503  **SDMX-IM package name:** sdmx.infomodel.package=
504 504  
... ... @@ -1170,7 +1170,7 @@
1170 1170  
1171 1171  [[image:1747824123025-411.jpeg]]
1172 1172  
1173 -**Figure 16: Schematic of the Objects Concerned with Registration**
1177 + **Figure 16: Schematic of the Objects Concerned with Registration**
1174 1174  
1175 1175  ==== 7.4.2.2 Registration Request Model ====
1176 1176  
... ... @@ -1244,12 +1244,15 @@
1244 1244  
1245 1245  A user can submit a subscription in the registry that defines which events are of interest, and either an email and/or an HTTP address to which a notification of qualifying events will be delivered. The subscription will be identified in the registry by a URN which is returned to the user when the subscription is created. If the user wants to delete the subscription at a later point, the subscription URN is used as identification. Subscriptions have a validity period expressed as a date range (startDate, endDate) and the registry may delete any expired subscriptions, and will notify the subscriber on expiry.
1246 1246  
1247 -When a registry/repository artefact is modified, any subscriptions which are observing the object are activated, and either an email or HTTP POST is instigated to report details of the changes to the user specified in the subscription. This is called a “notification”.
1251 +When a registry/repository artefact is modified, any subscriptions which are observing the object are activated, and either an email or HTTP POST is instigated to report details of the changes to the user specified in the subscription. This is called a
1248 1248  
1249 -=== 7.5.1Subscription Logical Class Diagram ===
1253 +notification”.
1250 1250  
1251 -[[image:1747829554603-150.png]]
1255 + 7.5.1Subscription Logical Class Diagram
1252 1252  
1257 +
1258 +[[image:1747824123028-257.png]]
1259 +
1253 1253  **Figure 19: Logical Class Diagram of the Subscription**
1254 1254  
1255 1255  === 7.5.2 Subscription Information ===
... ... @@ -1256,58 +1256,73 @@
1256 1256  
1257 1257  Regardless of the type of registry/repository events being observed, a subscription always contains:
1258 1258  
1259 -1. A set of URIs describing the end-points to which notifications must be sent if the subscription is activated. The URIs can be either mailto~: or http: protocol. In the former case an email notification is sent; in the latter an HTTP POST notification is sent.
1260 -1. A user-defined identifier which is returned in the response to the subscription request. This helps with asynchronous processing and is NOT stored in the Registry.
1261 -1. A validity period which defines both when the subscription becomes active and expires. The subscriber may be sent a notification on expiration of the subscription.
1262 -1. A selector which specifies which type of events are of interest. The set of event types is:
1266 +~1. A set of URIs describing the end-points to which notifications must be sent if the subscription is activated. The URIs can be either mailto~: or http: protocol. In the former case an email notification is sent; in the latter an HTTP POST notification is sent.
1263 1263  
1264 -|(% style="width:327px" %)**Event Type**|(% style="width:1545px" %)**Comment**
1265 -|(% style="width:327px" %)STRUCTURAL_REPOSITORY_EVENTS|(% style="width:1545px" %)Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1266 -|(% style="width:327px" %)DATA_REGISTRATION_EVENTS|(% style="width:1545px" %)Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1267 -|(% style="width:327px" %)METADATA_REGISTRATION_EVENTS|(% style="width:1545px" %)Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1268 -|(% style="width:327px" %)ALL_EVENTS|(% style="width:1545px" %)All events of the specified EventType
1268 +2. A user-defined identifier which is returned in the response to the subscription request. This helps with asynchronous processing and is NOT stored in the Registry.
1269 1269  
1270 +3. A validity period which defines both when the subscription becomes active and expires. The subscriber may be sent a notification on expiration of the subscription.
1271 +
1272 +4. A selector which specifies which type of events are of interest. The set of event types is:
1273 +
1274 +|**Event Type**|**Comment**
1275 +|STRUCTURAL_REPOSITORY_EVENTS|Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1276 +|DATA_REGISTRATION_EVENTS|Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1277 +|METADATA_REGISTRATION_EVENTS|Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1278 +|ALL_EVENTS|All events of the specified EventType
1279 +
1270 1270  === 7.5.3 Wildcard Facility ===
1271 1271  
1272 1272  Subscription notification supports wildcarded identifier components URNs, which are identiiers which have some or all of their component parts replaced by the wildcard character `%`. Identifier components comprise:
1273 1273  
1274 -* agencyID
1275 -* id
1276 -* version
1284 + agencyID
1277 1277  
1286 + id
1287 +
1288 + version
1289 +
1278 1278  Examples of wildcarded identifier components for an identified object type of Codelist are shown below.
1279 1279  
1280 -//AgencyID = %
1292 +AgencyID = %
1293 +
1281 1281  Id = %
1282 -Version = %//
1283 1283  
1296 +Version = %
1297 +
1284 1284  This subscribes to all Codelists of all versions for all agencies.
1285 1285  
1286 -//AgencyID = AGENCY1
1300 +AgencyID = AGENCY1
1301 +
1287 1287  Id = CODELIST1
1288 -Version = %//
1289 1289  
1304 +Version = %
1305 +
1290 1290  This subscribes to all versions of Codelist CODELIST1 maintained by the agency
1291 1291  
1292 -//AGENCY1
1308 +AGENCY1
1309 +
1293 1293  AgencyID = AGENCY1
1311 +
1294 1294  Id = %
1295 -Version = %//
1296 1296  
1314 +Version = %
1315 +
1297 1297  This subscribes to all versions of all Codelist objects maintained by the agency
1298 1298  
1299 -//AGENCY1
1318 +AGENCY1
1319 +
1300 1300  AgencyID = %
1321 +
1301 1301  Id = CODELIST1
1302 -Version = %//
1303 1303  
1324 +Version = %
1325 +
1304 1304  This subscribes to all versions of Codelist CODELIST1 maintained by the agency
1305 1305  
1306 -//AGENCY1//
1328 +AGENCY1
1307 1307  
1308 1308  Note that if the subscription is to the latest version then this can be achieved by the * character
1309 1309  
1310 -//i.e. Version = *//
1332 +i.e. Version = *
1311 1311  
1312 1312  Note that a subscription using the URN mechanism cannot use wildcard characters.
1313 1313  
... ... @@ -1319,15 +1319,16 @@
1319 1319  
1320 1320  Whenever a dataset or metadata-set is registered a registration event is created. A subscription may be observing all data or metadata registrations, or it may focus on specific registrations as shown in the table below:
1321 1321  
1322 -|(% style="width:405px" %)**Selector**|(% style="width:1467px" %)**Comment**
1323 -|(% style="width:405px" %)DataProvider|(% style="width:1467px" %)Any datasets or metadata sets registered by the specified data provider will activate the notification.
1324 -|(% style="width:405px" %)ProvisionAgreement|(% style="width:1467px" %)Any datasets or metadata sets registered for the provision agreement will activate the notification.
1325 -|(% style="width:405px" %)Dataflow (&Metadataflow)|(% style="width:1467px" %)Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1326 -|(% style="width:405px" %)DataStructureDefinition & MetadataStructureDefinition|(% style="width:1467px" %)Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will
1327 -|(% style="width:405px" %)**Selector**|(% style="width:1467px" %)**Comment**
1328 -|(% style="width:405px" %) |(% style="width:1467px" %)activate the notification.
1329 -|(% style="width:405px" %)Category|(% style="width:1467px" %)Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1330 1330  
1345 +|**Selector**|**Comment**
1346 +|DataProvider|Any datasets or metadata sets registered by the specified data provider will activate the notification.
1347 +|ProvisionAgreement|Any datasets or metadata sets registered for the provision agreement will activate the notification.
1348 +|Dataflow (&Metadataflow)|Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1349 +|DataStructureDefinition & MetadataStructureDefinition|Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will
1350 +|**Selector**|**Comment**
1351 +| |activate the notification.
1352 +|Category|Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1353 +
1331 1331  The event will also capture the semantic of the registration: deletion or replacement of an existing registration or a new registration.
1332 1332  
1333 1333  == 7.6 Notification ==
... ... @@ -1334,10 +1334,8 @@
1334 1334  
1335 1335  === 7.6.1 Logical Class Diagram ===
1336 1336  
1337 -[[image:1747829675568-610.png]]
1338 1338  
1339 -(% class="wikigeneratedid" id="HFigure20:LogicalClassDiagramoftheNotification" %)
1340 -**Figure 20: Logical Class Diagram of the Notification**
1361 +==== Figure 20: Logical Class Diagram of the Notification ====
1341 1341  
1342 1342  A notification is an XML document that is sent to a user via email or http POST whenever a subscription is activated. It is an asynchronous one-way message.
1343 1343  
... ... @@ -1357,3 +1357,5 @@
1357 1357  === 7.6.3 Registration Event Component ===
1358 1358  
1359 1359  The notification will contain the Registration.
1381 +
1382 +
1747829554603-150.png
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.helena
Size
... ... @@ -1,1 +1,0 @@
1 -99.1 KB
Content
1747829675568-610.png
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.helena
Size
... ... @@ -1,1 +1,0 @@
1 -31.1 KB
Content