Use Cases for JFrog Properties

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

The following table provides information about use cases for properties in the JFrog Platform.

Use Case

Explanation

Related Topics

REST API

Properties are XML metadata stored on an item. You can view and examine properties from the Artifacts:Properties and Artifacts:Metadata tabs.

The properties XML uses the properties root tag and simple formatting. You can use the REST API to set, retrieve, and remove properties from repository items, as you would do with any other XML-based metadata.

Item Properties APIsItem Properties APIs

JFrog CLI

JFrog CLI provides a simple interface for automating access to JFrog products. You can use JFrog CLI commands to set properties on any artifact in Artifactory.

Setting Properties on Files

AQL Resources

An AQL resource creates an Artifactory query using the Artifactory Query Language (AQL). You can use an AQL resource in the configuration of a FileSpec resource to specify file properties to match against.

You can also use an AQL resource as an inputresource for the CreateReleaseBundle step to define the query that creates a release bundle.

AqlAql

User Plugins

User plugins written in Groovy allow you to adapt Artifactory's behavior to meet your own needs. For example, you can use a plugin to respond to storage events on items and properties.

User PluginsUser Plugins

Property Sets

Property Sets are collections of properties. In each property set, you can define properties and specify whether a property is open, single-value, or multi-value. This impacts the UI for setting and searching property values.

Property Sets

Matrix Parameters

Matrix parameters are key-value pairs parameters separated by a semicolon (;) that you can place anywhere on a URL. You can add key-value matrix parameters to deploy (PUT) requests, and those parameters are automatically transformed to properties on the deployed artifact.

Using Properties in Deployment and Resolution