Skip to main content
Version: 1.14

Publish a delivery request event

This section describes how to publish a new delivery request event to REGARDS with AMQP message.

Exchange

Delivery requests have to be published to REGARDS RabbitMQ exchange on vhost 'regards.multitenant.manager':
regards.broadcast.fr.cnes.regards.modules.delivery.amqp.input.DeliveryRequestDtoEvent

AMQP message format

Properties

ParameterTypeOptionalDescription
app_idStringYesStandard RabbitMQ property to track message origin.
priorityStringYesStandard RabbitMQ property to sort messages by priority order.

Headers

"regards.tenant": "tenant"
"regards.request.owner": "owner"
ParameterTypeOptionalDescription
regards.tenantStringNoTenant name depends on REGARDS instance project configuration.
regards.request.ownerStringNoName of the request provider.

Body

{
"correlationId": "xxxxxx",
"targetDelivery": "regards-s3-minio",
"order": {
"user": "xxxxxx",
"queries": [
"providerId:xxxxx"
],
"filters": [
{
"dataTypes": [],
"filenameRegExp": ""
}
]
}
}
ParameterTypeOptionalDescription
correlationIdStringNoUnique identifier to track the request.
targetDeliveryStringYesName of the S3 configuration to use. For now, provide the default value regards-s3-minio.
queriesLucene stringsNoList of lucene formatted queries to find products to order. (refer to lucene documentation)
userStringNoEmail of your REGARDS user.
filters.datatypesStringYesList of REGARDS datatypes to filter files from ordered products. Datatypes can be either RAWDATA or QUICKLOOK.
filters.filenameRegExpStringYesRegular expression to filter files by their names from ordered products.