Repository Administration Service
{ urn:com.soa.admin.service.obr.jaxrs } RepositoryService
This API is used to administer the repositories used by the system.
GETgetRepositories
Parameters
Name
Type
Description
Model
refresh
query
boolean
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
repositorySet
repositorySet {
link {
repositoryInfo {
errorInfo {
certificateInfo {
links( Collection of link )
repository( Collection of repositoryInfo )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
repositoryInfo {
password( string )
editable( boolean )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
errorInfo {
certificate( certificateInfo )
notTrusted( boolean )
authFailure( boolean )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
POSTaddRepository
Add a repository to the system.
Request:
POST /admin/obr HTTP/1.1
Content-Type: application/json
{}
Responses:
- 201 Created
Parameters
Accepts application/json application/xml
Name
Type
Description
Model
body
entity
repositoryInfo
repositoryInfo {
link {
errorInfo {
certificateInfo {
password( string )
editable( boolean, required )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
errorInfo {
certificate( certificateInfo, required )
notTrusted( boolean, required )
authFailure( boolean, required )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
repositoryInfo
repositoryInfo {
link {
errorInfo {
certificateInfo {
password( string )
editable( boolean )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
errorInfo {
certificate( certificateInfo )
notTrusted( boolean )
authFailure( boolean )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
GET/resourcesdiscoverResources
Parameters
Name
Type
Description
Model
filter
query
string
category
query
string
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
resourceSet
resourceSet {
resourceInfo {
nameValuePair {
link {
resource( Collection of resourceInfo )
links( Collection of link )
}
resourceInfo {
bundleUrl( string )
presentationName( string )
size( string )
provides( Collection of string )
symbolicName( string )
description( string )
id( string )
version( string )
properties( Collection of nameValuePair )
repositoryUrl( string )
requires( Collection of string )
}
nameValuePair {
name( string )
value( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
GET/{id}getRepository
Parameters
Name
Type
Description
Model
id
path
string
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
repositoryInfo
repositoryInfo {
link {
errorInfo {
certificateInfo {
password( string )
editable( boolean )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
errorInfo {
certificate( certificateInfo )
notTrusted( boolean )
authFailure( boolean )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
PUT/{id}updateRepository
Parameters
Name
Type
Description
Model
id
path
string
body
entity
repositoryInfo
repositoryInfo {
link {
errorInfo {
certificateInfo {
password( string )
editable( boolean, required )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
errorInfo {
certificate( certificateInfo, required )
notTrusted( boolean, required )
authFailure( boolean, required )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
repositoryInfo
repositoryInfo {
link {
errorInfo {
certificateInfo {
password( string )
editable( boolean )
name( string )
certificate( string )
location( string )
links( Collection of link )
lastModified( string )
id( string )
error( errorInfo )
username( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
errorInfo {
certificate( certificateInfo )
notTrusted( boolean )
authFailure( boolean )
message( string )
}
certificateInfo {
issuerDN( string )
certificate( string )
url( string )
effectiveDate( string )
subjectDN( string )
serialNo( string )
expirationDate( string )
}
POST/deploydeploy
Parameters
Name
Type
Description
Model
id
query
string
start
query
boolean
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
resolutionReport
resolutionReport {
resourceInfo {
nameValuePair {
resourceRequirements {
link {
addedResources( Collection of resourceInfo )
unsatisfiedRequirements( Collection of resourceRequirements )
optionalResources( Collection of resourceInfo )
links( Collection of link )
id( string )
requiredResources( Collection of resourceInfo )
status( string )
}
resourceInfo {
bundleUrl( string )
presentationName( string )
size( string )
provides( Collection of string )
symbolicName( string )
description( string )
id( string )
version( string )
properties( Collection of nameValuePair )
repositoryUrl( string )
requires( Collection of string )
}
nameValuePair {
name( string )
value( string )
}
resourceRequirements {
requirements( Collection of string )
resource( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
DELETE/{id}removeRepository
Parameters
Name
Type
Description
Model
id
path
string
Reponse
Produces application/jsonapplication/xml
POST/resolveresolve
Parameters
Accepts application/json application/xml
Name
Type
Description
Model
body
entity
resourceSet
resourceSet {
resourceInfo {
nameValuePair {
link {
resource( Collection of resourceInfo, required )
links( Collection of link )
}
resourceInfo {
bundleUrl( string )
presentationName( string )
size( string )
provides( Collection of string )
symbolicName( string )
description( string )
id( string )
version( string )
properties( Collection of nameValuePair )
repositoryUrl( string )
requires( Collection of string )
}
nameValuePair {
name( string )
value( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}
Reponse
Produces application/jsonapplication/xml
Status Code
Reason
Model
200
Success
resolutionReport
resolutionReport {
resourceInfo {
nameValuePair {
resourceRequirements {
link {
addedResources( Collection of resourceInfo )
unsatisfiedRequirements( Collection of resourceRequirements )
optionalResources( Collection of resourceInfo )
links( Collection of link )
id( string )
requiredResources( Collection of resourceInfo )
status( string )
}
resourceInfo {
bundleUrl( string )
presentationName( string )
size( string )
provides( Collection of string )
symbolicName( string )
description( string )
id( string )
version( string )
properties( Collection of nameValuePair )
repositoryUrl( string )
requires( Collection of string )
}
nameValuePair {
name( string )
value( string )
}
resourceRequirements {
requirements( Collection of string )
resource( string )
}
link {
rel( string )
href( string )
title( string )
type( string )
}