To verify the catalog configuration, enter the olp catalog show
command.
olp catalog show hrn:here-cn:data::org:first-catalog-example-id --json
The command displays the following results.
{
"summary": "This catalog contains sample layers containing simple text",
"owner": {
"creator": {"id": "mzLcb1rL8nskvDQpCFEF"},
"organisation": {"id": "org"}
},
"billingTags": [],
"hrn": "hrn:here-cn:data::org:first-catalog-example-id",
"created": "2018-03-26T12:48:10.315Z",
"name": "first-catalog-example",
"layers": [{
"summary": "This layer contains simple data in CSV format",
"volume": {
"volumeType": "durable"
},
"layerType": "versioned",
"billingTags": [],
"name": "Example layer",
"description": "A longer description of the layer contents",
"partitioningScheme": "generic",
"partitioning": {
"scheme": "generic"
},
"id": "example-layer-id",
"contentType": "text/csv",
"tags": []
}],
"description": "",
"notifications": {
"enabled": false
},
"marketplaceReady": false,
"id": "first-catalog-example-id",
"version": -1,
"tags": []
}
From the command output above, you can see that a catalog with HRN hrn:here:data::org:first-catalog-example-id
has been successfully created. It contains one layer of versioned
type, so it stores slowly changing data that must remain logically consistent with other layers in the catalog.
This layer has the ID example-layer-id
and the following properties:
-
volumeType: durable
Describes storage details of the layer. This layer has durable
storage volume type because in versioned
layers data is unchanged in the scope of one version. -
billingTags: []
List of billing tags - a free-form tag that is used for grouping billing records together. For this layer, billing tags are not present. -
partitioningScheme: generic
Defines the structure and encoding of the data by associating a schema with the layer. For this layer, the partitioning scheme is set to generic
, which is the simplest form of partitioning. In this case, partition names have no semantic meaning. For more information, see the Partitions documentation. -
contentType: text/csv
The MIME type of the data that is stored in this layer. MIME type text/csv
has been created for the handling of text-based fields.
For more information on layers, see the Data User Guide.