Managing Data Marketplace Releases via the Command Line
You can use the SAP Datasphere command line interface, datasphere, to publish and manage Data Marketplace data product releases.
Prerequisites
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
Data Warehouse Data Builder (CRUD---S) - To create, edit and delete data providers.
-
Space Files (CRUD----) - To create, read, update, and delete marketplace objects in your spaces.
-
Spaces (-RU-----) - To modify the space properties.
-
Install the datasphere command line interface (see Install or Update the SAP Datasphere Command Line Interface).
-
Log in to your SAP Datasphere tenant (see Log into the Command Line Interface via an OAuth Client).
The publishing management within Data Marketplace allows controlled data updates and shipment of these updates to your consumers. For each data product update, you create a new release. For more information about Data Marketplace releases, see Publishing New Releases.
datasphere marketplace releases list
Returns a simplified list of all the releases of a data product.
datasphere marketplace releases list
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
|
--accept <accept> |
Format to return the content in.
Choices:
|
datasphere marketplace releases create
Creates a new release, based on a configuration following the release definition file format and stored as a .json file. For more information, see the Data Sharing Cockpit
documentation in the SAP Business Accelerator Hub.
datasphere marketplace releases create
|
Parameter |
Description |
|---|---|
|
--file-path <path> |
Enter a path to a file with a .json extension containing your release definition. |
|
--input <input> |
Specifies input as string to use for the command (optional). |
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases read
Lists the properties of a release. You must specify the release UUID.
datasphere marketplace releases read
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
|
--release-identifier <release-identifier> |
Release UUID. |
datasphere marketplace releases update
Updates properties of a specified release for a data product, based on a configuration following the release definition file format and stored as a .json file. For more information, see the Data Sharing Cockpit
documentation in the SAP Business Accelerator Hub..
datasphere marketplace releases update
You must specify the data product UUID and the release UUID.
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
|
--file-path <path> |
Enter a path to a file with a .json extension containing your release definition. |
|
--input <input> |
Specifies input as string to use for the command (optional). |
|
--release-identifier <release-identifier> |
Release UUID. |
datasphere marketplace releases overwrite
Overwrites all the properties of a specified release, based on a configuration following the release definition file format and stored as a .json file. For more information, see the Data Sharing Cockpit
documentation in the SAP Business Accelerator Hub..
datasphere marketplace releases overwrite
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
|
--file-path <path> |
Enter a path to a file with a .json extension containing your release definition. |
|
--input <input> |
Specifies input as string to use for the command (optional). |
|
--release-identifier <release-identifier> |
Release UUID. |
datasphere marketplace releases delete
Deletes an existing release.
datasphere marketplace releases delete
|
Parameter |
Description |
|---|---|
|
--release-identifier <release-identifier> |
Release UUID. |
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases publish
Publishes a release to make data product updates available to the consumers.
datasphere marketplace releases publish
|
Parameter |
Description |
|---|---|
|
--release-identifier <release-identifier> |
Release UUID. |
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases lock
Locks a certain release of a data product.
datasphere marketplace releases lock
|
Parameter |
Description |
|---|---|
|
--release-identifier <release-identifier> |
Release UUID. |
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases unlock
Unlocks a certain release of a data product.
datasphere marketplace releases unlock
|
Parameter |
Description |
|---|---|
|
--release-identifier <release-identifier> |
Release UUID. |
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases lock-all
Locks all the releases of a data product.
datasphere marketplace releases lock-all
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |
datasphere marketplace releases unlock-all
Unlocks all the releases of a data product.
datasphere marketplace releases unlock-all
|
Parameter |
Description |
|---|---|
|
--data-product-uuid <data-product-uuid> |
Data product UUID. You can use the datasphere marketplace products list command to find the available data products and get their UUIDs. |