Skip to main content
Version: 1.15

Publish OAIS product creation event

This section describes how to submit a new product to the OAIS service of REGARDS thanks to AMQPS interfaces.

Exchange

Submission requests have to be published to REGARDS Rabbitmq exchange:

ExchangeVirtual host
regards.broadcast.fr.cnes.regards.modules.ingest.dto.sip.flow.IngestRequestFlowItemregards.multitenant.manager

Request format

Properties

ParameterTypeDescription
priorityIntegerStandard RabbitMQ property to sort messages by priority order.
content_encodingStringStandard RabbitMQ property for the encoding type of the message
content_typeStringStandard RabbitMQ property for the MIME Type of the message sent
delivery_modeIntegerStandard RabbitMQ property for the delivery mode (persistent or not)

Headers

ParameterTypeDescription
regards.tenantStringTenant name depends on REGARDS instance project configuration.
regards.request.idStringID of the request
regards.typeStringType of content of the message
Example of the properties and headers of an Ingest request event message
{
"priority": 1,
"delivery_mode": 2,
"content_encoding": "UTF-8",
"content_type": "application/json",
"headers": [
{
"regards.tenant": "REGARDS",
"regards.request.id": "xxx",
"regards.type": "fr.cnes.regards.modules.ingest.dto.sip.flow.IngestRequestFlowItem"
}
]
}

Body

{
"sip": {
...
},
"metadata": {
...
},
"requestId": "xxx"
}
  • sip content schema properties
bbox
Array of numbers <double> [ items <double > ]
crs
string
object (IGeometry)
Array of objects (EventDto)
id
string
ipType
required
string
Enum: "COLLECTION" "DATA" "DATASET"
object (EventDto)
object (IGeometry)
object (InformationPackageProperties)
object (SIPReference)
object (EventDto)
  • metadata content schema properties
categories
Array of strings unique
ingestChain
string
model
string [ 0 .. 128 ] characters
replaceErrors
boolean
session
string
sessionOwner
string
Array of objects (StorageDto)
submissionDate
string <date-time>
versioningMode
string
Enum: "IGNORE" "INC_VERSION" "MANUAL" "REPLACE"