Adding / Managing Model Assets

Adding / Managing Model Assets

Via ModelOp UI

  1. Navigate to the ModelOp UI.

  2. In the left column, click Inventory.

  3. Change the drop-down to Implementations

  4. Select the model you want to modify from the list. This opens the Model Implementation page.

  5. View the existing Assets by clicking on Assets tab:

    image-20240716-022649.png

Modify an Asset

  1. Click on an individual asset to view the Asset Details

  2. Modify the Name, Asset Role, or tags for the asset

image-20240716-031017.png

Add an Asset

  1. Click on “Add Assets” , which presents multiple options for adding assets:

  1. The user is presented with multiple options for adding assets: as a local file upload, by providing a reference (url) to an existing location, as a REST asset, or by providing as SQL query:

 

Upload a Local File

  1. Click on the “File Upload”

  2. Select the file from your local computer’s file system and hit “Open”

  3. The file will be uploaded as a new asset on the model

Upload a Local Folder

  1. Click on the “Folder Upload”

  2. Select the folder from your local computer’s file system and hit “Open”

  3. The entire contents of the folder and files within will be uploaded as new asset on the model. The folder structure will be maintained

To Add an Asset by Reference

  1. Click “URL” from the Add Asset menu

  2. Provide the URL to the file.

  3. Select the type of asset: S3, Google Cloud Bucket, Azure Blob Store, HDFS. Note that your system administrator may have already pre-configured the type of asset store for your group

     

  4. Fill in the other pertinent storage information

  5. Click “Save” to save the asset

  6. The file will be uploaded as a new asset on the model

To Add a REST Asset

REST assets are those data sets or other assets that can be retrieved via standard REST API calls

  1. Click “REST” from the Add Asset menu

  2. Fill in the Asset Name, Asset Role, Request Method, Target URL, Query Params to be sent in the request.

    1. If the REST asset does NOT use standard HAL paging, select the “Requires Custom Paging” option and fill in the details

  1. Click “Save”

  2. The REST asset will be uploaded as a new asset on the model

To Add a SQL Asset

  1. Click “SQL” from the Add Asset menu

 

 

  1. Please see Integrate with SQL Databases to understand how ModelOp Center integrates with SQL databases. Once you get familiar with how ModelOp Center handles SQL Assets, follow these steps to add SQL assets to a given model.

Via CLI

Please see the asset command for adding assets using the CLI.

 

 

Next Article: Adding / Managing Model Schemas >