Feature Manager ReST Test Page

This page provides very simple tests for the feature manager service

user (http basic authentication user name)
password (http basic authentication password)

Feature Manager

The Feature Manager service manages the installation and activation life-cycle of feature repositories and features.

Command Example
/features-list (GET features list)

gets an xml list of features

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-list

Button command Example:
/features-info (GET feature)

gets information for specific feature. (Version may be omitted)

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-info?name=myproject.Feature&version=1.0-SNAPSHOT

Button command Example:
feature name

feature version

/features-install (GET install feature)

gets information for specific feature. (Version may be omitted)

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-install?name=myproject.Feature&version=1.0-SNAPSHOT

Button command Example:
feature name

feature version

/features-uninstall (GET Uninstall feature)

gets information for specific feature. (Version may be omitted)

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-uninstall?name=myproject.Feature&version=1.0-SNAPSHOT

Button command Example:
feature name

feature version

Methods for manipulating repositories
/features-listrepositories (GET repositories list)

gets an xml list of repositories

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-listrepositories

Button command Example:
/features-repositoryinfo (GET repository information)

gets information for specific repository. (Use either the Name OR the URI not both)

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-repositoryinfo?name=myproject.Feature

Button command Example:
Repository Name


URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-repositoryinfo?uri=mvn:org.opennms.project/myproject.Feature/1.0-SNAPSHOT/xml/features

Button command Example:
Repository URI

/features-addrepositoryurl (GET add repository uri)

add a repository by uri

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-addrepositoryurl?uri=mvn:org.opennms.project/myproject.Feature/1.0-SNAPSHOT/xml/features

Button command Example:
Repository URI

/features-removerepository (GET remove repository uri)

remove a repository by uri

URL Command Example:
[baseUrl:port]/featuremgr/rest/v1-0/features-removerepository?uri=mvn:org.opennms.project/myproject.Feature/1.0-SNAPSHOT/xml/features

Button command Example:
Repository URI

Command Response

Http response code

Http response content