Provisioning Service Commands
Commands: tprovision:
Command | Parameter | Usage |
---|---|---|
profile-create |
Optional:
|
Primary command to create a new profile |
profile-delete |
|
Deletes the entire profile (including all its existing versions). |
profile-info |
Optional:
|
Shows information about the specified Profile. If the version is given, it shows the information for a specific version of the profile. |
profile-release |
Optional:
|
Releases a Profile (at the same time a placeholder category and version can also be set to replace placeholders used in this profile by the related values at lookup time). Only released profiles can be used by agents. If autoupdate is activated for a profile, agents will automatically start to apply the new version once it is released. |
profile-update |
Optional:
|
Can be used to update the optional parameters of the profile: auto-update, pool-interval and placeholders-category. |
profiles-list |
|
Lists all the profiles existing within the server. Note: It is not the list of applied profiles. For this, see the agent commands |
feature-create |
Optional:
|
Adds a feature definition to the profile. Features are supposed to be accessible by the container where the agent is running using a local system repository (as Talend Runtime provides it ) or by an external Maven repository (for example: the Talend Nexus Artifact Repository) The feature name, URL and version is the standard Apache Karaf /Maven information for features. Profiles with features can only be applied to Talend Runtime (OSGi). |
feature-delete |
|
Deletes a feature from the profile, using the index to specify which feature. |
feature-update |
|
Allows to change the feature which the given index to a new feature name, URL, version |
features-list |
Optional:
|
Lists all features for a given profile |
resource-create |
Optional:
|
Provides the ability to upload a local file into a profile. The URI specifies a folder name under which this resource should be placed on the final agent container. A resource can be essentially any kind of file, for example: .cfg file, .txt File, Keystore file and more. The URI has two meanings: the unique name of a resource within the profile, but at the same time, it is also the relative path + file name of the resource. |
resource-delete |
|
Removes a resource from the profile with the given URI. |
resource-export |
Optional:
|
Exports a profile resource into a file (released under specified version or sandbox one if no version specified) |
resource-update |
Optional:
|
Allows to update a resource by profileName / resourceUri with a new Uri and new file content. It is also possible to just update the URI (e.g. the path / file name ) but not the content. The newReourcePath is optional and only used if also the content should be updated. |
resources-list |
Optional:
|
Lists all resources of the given profile. |
placeholder-create |
|
Placeholders are key / value pairs grouped together with the category (for example: com.talend.esb.infra.placeholder) One placeholder category (group) can be applied to one profile and allows to replace values in text based configuration files at lookup time. (For example: host name , users)
|
placeholder-delete |
Optional:
|
Deletes either an entire placeholder category (including all its versions) or a specific placeholder via the placeholder-name parameter, within the given category. |
placeholder-update |
Optional:
|
Updates an existing placeholder with a new value. |
placeholders-categories-list | No parameter | Lists placeholders categories. |
placeholders-export |
Optional:
|
Exports all placeholders or the one from the specified category / version to a local file. |
placeholders-import |
Optional:
|
Imports placeholders from a related local export file into the provisioning service, either all, or just the one for the specified category / version. |
placeholders-list |
Optional:
|
Lists all Key / Value pairs of a placeholder category (and version) |
placeholders-release |
|
Releases the set of key / value pairs for the given category with the given version. |
export |
Optional:
|
Exports all profiles or just the given profile (version). By this, profiles can be prepared on a test system and imported into production or any other environment. |
Import |
Optional:
|
Imports profile(s) from a given profile export file. |
service-help | No parameter | Shows a short online help of all tprovision: commands |