Container Management API
{ http://soa.com/uri/products/containerservice/wsdl/1.0 } ContainerManagerService
This API is used to manage PM service containers. Containers can be registered based on metadata documents. Containers may also be modifed or removed from the system. The API also provides read/write access to container metadata and container listener configuration. Information on services hosted by a specific container can be retrieved. To add or modify services other APIs can be used.
POSTAdd Container (Form-based)
Add a container to the system using a set of form parameters.
Parameters
Reponse
GETGet Containers
Fetch all defined containers.
Parameters
Reponse
POSTAdd Container (Multipart-form-data)
Add a container to the system using a set of form parameters and metadata file upload as multipart/form-data.
Parameters
Reponse
POSTAdd a Container
Add a container.
Parameters
NewCluster {
Metadata {
MetadataCredentials {
Reponse
PUT/{key}Modify Container (Form-based)
Modify an existing container using a set of form parameters.
Parameters
Reponse
POST/{key}Modify Container (Multipart-form-data)
Modifies a container to the system using a set of form parameters and metadata file upload as multipart/form-data.
Parameters
Reponse
GET/{key}Fetch a Container
Retreive detailed information on a specific container.
Parameters
Reponse
PUT/{key}Modify a Container
Modify a container.
Parameters
Reponse
DELETE/{key}Delete a Container
Remove a container from the system.
Parameters
Reponse
POST/{key}/listenersAdd Container Listener
Add a listener to a container.
Parameters
atomLink {
nameValuePair {
Reponse
atomLink {
nameValuePair {
GET/{key}/listenersGet Container Listeners
Get all listeners configured for a container.
Parameters
Reponse
endpoint {
atomLink {
nameValuePair {
GET/{key}/metadataGet Container Metadata
Get a container's metadata.
Parameters
Reponse
CapabilitiesType {
CapabilityType {
CapabilityOptionsType {
BootstrapConfigurationType {
CapabilityConfigParametersType {
CapabilityConfigParameterType {
X509CertificateChain {
POST/{cluster}/nodesAdd a Container to a Cluster (Form-Based)
Add a container to a cluster.
Parameters
Reponse
ClusterNode {
atomLink {
POST/{cluster}/nodesAdd a Container to a Cluster
Add a container to a cluster.
Parameters
Reponse
ClusterNode {
atomLink {
GET/{cluster}/nodesGet Cluster Nodes
Get a list of containers in a cluster.
Parameters
Reponse
ClusterNode {
atomLink {
POST/{key}/metadataModify Container Metadata (Form-Based)
Modify a container's metadata using a set of form parameters.
Parameters
Reponse
POST/{key}/metadataModify Container Metadata (Multipart-form-data)
Modify a container's metadata using multipart-form-data.
Parameters
Reponse
PUT/{key}/metadataModify Container Metadata (Form-Based)
Modify a container's metadata.
Parameters
CapabilitiesType {
CapabilityType {
CapabilityOptionsType {
BootstrapConfigurationType {
CapabilityConfigParametersType {
CapabilityConfigParameterType {
X509CertificateChain {
Reponse
CapabilitiesType {
CapabilityType {
CapabilityOptionsType {
BootstrapConfigurationType {
CapabilityConfigParametersType {
CapabilityConfigParameterType {
X509CertificateChain {
GET/{key}/servicesGet Container Services
Fetch all services hosted in a specified container.
Parameters
Reponse
hostedService {
atomLink {
nameValuePair {
DELETE/{key}/listeners/{listener}Remove a Listener
Remove a container listener.
Parameters
Reponse
GET/{key}/pki/identityGet Container Certificate
Returns the PKI configuration (including the encoded certificate chain) used to identify a container. May return no content if no certificate is assigned. See example response for certificate chain encoding.
Request:
GET /rest/containers/uddi:978841b1-7088-11e4-8574-cb4613969888/pki/identity HTTP/1.1
Accept: application/json
Response:
HTTP/1.1 200 OK
{
"SubjectDN" : "CN=sa1, OU=Akana, O=Akana, ST=CA, C=US",
"IssuerDN" : "CN=ca, OU=Akana, O=Akana, ST=CA, C=US",
"SerialNo" : "4942932839929778611",
"EffectiveDate" : "2017-01-11-08:00",
"ExpirationDate" : "2018-01-11-08:00",
"EncodedCertChain" : "-----BEGIN CERTIFICATE-----\n... Primary Certificate bytes ...\n-----END CERTIFICATE-----\n \
-----BEGIN CERTIFICATE-----\n... Root Certificate bytes ...\n-----END CERTIFICATE-----\n"
}
Parameters
Reponse
POST/{key}/pki/identityModify Container Certificate (Multipart-form-data)
Modify a container's certificate using multipart-form-data.
Parameters
Reponse
DELETE/{cluster}/nodes/{node}Remove a Container from a Cluster
Remove a container from a cluster.
Parameters
Reponse
ClusterNode {
atomLink {
GET/{key}/listeners/{listener}Get Listener
Fetch details for a specific container listener.
Parameters
Reponse
atomLink {
nameValuePair {
PUT/{key}/listeners/{listener}Modify a Listener
Modify the configuration of a container listener.
Parameters
atomLink {
nameValuePair {
Reponse
atomLink {
nameValuePair {
POST/{key}/pki/outboundUploads outbound PKI keys and certificate for a container.
Uploads a keystore that holds outbound PKI key/cert data for a container. The following is an example request and response.
Request:
POST /rest/uddi:978841b1-7088-11e4-8574-cb4613969888/pki?alias=https1&keystorePass=changeit&aliasPass=changeit HTTP/1.1
Content-Type: multipart/form-data; boundary=Jlo6Rm_FfX2_s3WQ5QhfUoY6qqLxTbdyHMSkf0W
--Jlo6Rm_FfX2_s3WQ5QhfUoY6qqLxTbdyHMSkf0W
Content-Disposition: form-data; name="fileUpload"; filename="test.jks"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
<File content omitted>
Response:
HTTP/1.1 201 Created if creation successful
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {
GET/{key}/pki/outboundGet Container Outbound Certificate
Returns the outbound PKI configuration including the encoded certificate chain for a container (if it exists). May return no content if no certificate is assigned. See example response for certificate chain encoding.
Request:
GET /rest/containers/uddi:978841b1-7088-11e4-8574-cb4613969888/pki/outbound HTTP/1.1
Accept: application/json
Response:
HTTP/1.1 200 OK
{
"SubjectDN" : "CN=sa1, OU=Akana, O=Akana, ST=CA, C=US",
"IssuerDN" : "CN=ca, OU=Akana, O=Akana, ST=CA, C=US",
"SerialNo" : "4942932839929778611",
"EffectiveDate" : "2017-01-11-08:00",
"ExpirationDate" : "2018-01-11-08:00",
"EncodedCertChain" : "-----BEGIN CERTIFICATE-----\n... Primary Certificate bytes ...\n-----END CERTIFICATE-----\n \
-----BEGIN CERTIFICATE-----\n... Root Certificate bytes ...\n-----END CERTIFICATE-----\n"
}
Parameters
Reponse
GET/{key}/pki/identity/infoReturns the identity PKI configuration.
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {
GET/{key}/listeners/{listener}/pkiReturns the listener certificate (if any).
Returns the PKI configuration (including the encoded certificate chain) for a listener. May return no content if no certificate is assigned or applicable based on type of listener. See example response for certificate chain encoding.
Request:
GET /rest/containers/uddi:978841b1-7088-11e4-8574-cb4613969888/listeners/https1/pki HTTP/1.1
Accept: application/json
Response:
HTTP/1.1 200 OK
{
"SubjectDN" : "CN=listener1, OU=Akana, O=Akana, ST=CA, C=US",
"IssuerDN" : "CN=ca, OU=Akana, O=Akana, ST=CA, C=US",
"SerialNo" : "4942932839929778611",
"EffectiveDate" : "2017-01-11-08:00",
"ExpirationDate" : "2018-01-11-08:00",
"EncodedCertChain" : "-----BEGIN CERTIFICATE-----\n... Primary Certificate bytes ...\n-----END CERTIFICATE-----\n \
-----BEGIN CERTIFICATE-----\n... Root Certificate bytes ...\n-----END CERTIFICATE-----\n"
}
Parameters
Reponse
POST/{key}/listeners/{listener}/pkiUploads PKI keys and certificate for a listener.
Uploads a keystore that holds PKI key/cert data for a listener. The following is an example request and response.
Request:
POST /rest/uddi:978841b1-7088-11e4-8574-cb4613969888/listeners/https1?alias=https1&keystorePass=changeit&aliasPass=changeit HTTP/1.1
Content-Type: multipart/form-data; boundary=Jlo6Rm_FfX2_s3WQ5QhfUoY6qqLxTbdyHMSkf0W
--Jlo6Rm_FfX2_s3WQ5QhfUoY6qqLxTbdyHMSkf0W
Content-Disposition: form-data; name="fileUpload"; filename="test.jks"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
<File content omitted>
Response:
HTTP/1.1 201 Created if creation successful
{
"Endpoint" : <Endpoint structure for listener>
}
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {
POST/{key}/listeners/{listener}/pkiAdd PKI keys and certificate for a listener.
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {
GET/{key}/pki/outbound/infoReturns the outbound PKI configuration.
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {
GET/{key}/listeners/{listener}/pki/infoReturns the listener PKI configuration (if any).
Parameters
Reponse
atomLink {
availablePKIManagementOptions {
certificateInfo {