summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapters-rest-interface/pom.xml
AgeCommit message (Expand)AuthorFilesLines
2019-05-15store openstack request status in requestdbSmokowski, Steven1-0/+15
2019-04-11corrected inlucde filter for formatterBenjamin, Max (mb388a)1-60/+60
2018-10-19Update version to 1.4.0-SNAPSHOT for DublinRob Daugherty1-1/+1
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)1-2/+10
2018-03-27Dependency version updates for BeijingRob Daugherty1-12/+0
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty1-18/+28
2018-02-22Port SO artifacts to ONAP folder structureArthur Martella1-3/+3
2018-01-19add JUnit for NetworkInfoLukasz Muszkieta1-6/+0
2017-12-28refactoring - adding junit coverageLukasz Muszkieta1-0/+6
2017-12-01Bump minor versionJessica Wagantall1-1/+1
2017-11-16changed artifact versionseshukm1-1/+1
2017-10-07Code coverage for SO adaptersSeshu-Kumar-M1-0/+6
2017-08-04Failed to deploy so artifacts in nexus (again)Rob Daugherty1-3/+3
2017-08-01Failed to deploy so artifacts in nexusRob Daugherty1-3/+3
2017-07-19Fix artifact group IDs (org.openecomp.so)Rob Daugherty1-3/+3
2017-04-11[MSO-8] Update the maven dependencyxg353y1-1/+1
2017-03-13Update to version 1.1.0ChrisC1-1/+1
2017-01-31Initial OpenECOMP MSO commitChrisC1-0/+52
href='#n387'>387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
{
  "swagger": "2.0",
  "info": {
    "title": "The APIs listed here are used to fetch status of policies in PdpGroups",
    "version": "v1"
  },
  "basePath": "/",
  "tags": [
    {
      "name": "Policy Status"
    }
  ],
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json",
    "application/yaml"
  ],
  "produces": [
    "application/json",
    "application/yaml"
  ],
  "paths": {
    "/policy/pap/v1/policies/status": {
      "get": {
        "tags": [
          "Status of policies in all PdpGroups"
        ],
        "summary": "Queries status of policies in all PdpGroups",
        "description": "Queries status of policies in all PdpGroups, returning status of policies in all the PDPs belonging to all PdpGroups",
        "operationId": "queryAllPolicies",
        "produces": [
          "application/json",
          "application/yaml"
        ],
        "parameters": [
          {
            "name": "X-ONAP-RequestID",
            "in": "header",
            "description": "RequestID for http transaction",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "headers": {
              "X-MinorVersion": {
                "type": "string",
                "description": "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
              },
              "X-PatchVersion": {
                "type": "string",
                "description": "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
              },
              "X-LatestVersion": {
                "type": "string",
                "description": "Used only to communicate an API's latest version"
              },
              "X-ONAP-RequestID": {
                "type": "string",
                "format": "uuid",
                "description": "Used to track REST transactions for logging purpose"
              }
            },
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PdpPolicyStatus"
              }
            }
          },
          "401": {
            "description": "Authentication Error"
          },
          "403": {
            "description": "Authorization Error"
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ],
        "x-interface info": {
          "api-version": "1.0.0",
          "last-mod-release": "Honolulu"
        }
      }
    },
    "/policy/pap/v1/policies/status/{pdpGroupName}": {
      "get": {
        "tags": [
          "Status of policies in a PdpGroup"
        ],
        "summary": "Queries status of policies in a specific PdpGroup",
        "description": "Queries status of policies in a specific PdpGroup, returning status of policies in all the PDPs belonging to the PdpGroup",
        "operationId": "queryAllPoliciesInPdpGroup",
        "produces": [
          "application/json",
          "application/yaml"
        ],
        "parameters": [
          {
            "name": "pdpGroupName",
            "in": "path",
            "description": "Name of the PdpGroup",
            "required": true,
            "type": "string"
          },
          {
            "name": "X-ONAP-RequestID",
            "in": "header",
            "description": "RequestID for http transaction",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "headers": {
              "X-MinorVersion": {
                "type": "string",
                "description": "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
              },
              "X-PatchVersion": {
                "type": "string",
                "description": "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
              },
              "X-LatestVersion": {
                "type": "string",
                "description": "Used only to communicate an API's latest version"
              },
              "X-ONAP-RequestID": {
                "type": "string",
                "format": "uuid",
                "description": "Used to track REST transactions for logging purpose"
              }
            },
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PdpPolicyStatus"
              }
            }
          },
          "401": {
            "description": "Authentication Error"
          },
          "403": {
            "description": "Authorization Error"
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ],
        "x-interface info": {
          "api-version": "1.0.0",
          "last-mod-release": "Honolulu"
        }
      }
    },
    "/policy/pap/v1/policies/status/{pdpGroupName}/{policyName}": {
      "get": {
        "tags": [
          "Status of all versions of a policy in a PdpGroup"
        ],
        "summary": "Queries status of all versions of a specific policy in a specific PdpGroup",
        "description": "Queries status of all versions of a specific policy in a specific PdpGroup, returning status of all versions of the policy in the PDPs belonging to the PdpGroup",
        "operationId": "queryAllVersionPolicy",
        "produces": [
          "application/json",
          "application/yaml"
        ],
        "parameters": [
          {
            "name": "pdpGroupName",
            "in": "path",
            "description": "Name of the PdpGroup",
            "required": true,
            "type": "string"
          },
          {
            "name": "policyName",
            "in": "path",
            "description": "Name of the Policy",
            "required": true,
            "type": "string"
          },
          {
            "name": "X-ONAP-RequestID",
            "in": "header",
            "description": "RequestID for http transaction",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "headers": {
              "X-MinorVersion": {
                "type": "string",
                "description": "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
              },
              "X-PatchVersion": {
                "type": "string",
                "description": "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
              },
              "X-LatestVersion": {
                "type": "string",
                "description": "Used only to communicate an API's latest version"
              },
              "X-ONAP-RequestID": {
                "type": "string",
                "format": "uuid",
                "description": "Used to track REST transactions for logging purpose"
              }
            },
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PdpPolicyStatus"
              }
            }
          },
          "401": {
            "description": "Authentication Error"
          },
          "403": {
            "description": "Authorization Error"
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ],
        "x-interface info": {
          "api-version": "1.0.0",
          "last-mod-release": "Honolulu"
        }
      }
    },
    "/policy/pap/v1/policies/status/{pdpGroupName}/{policyName}/{policyVersion}": {
      "get": {
        "tags": [
          "Status of a version of a policy in a PdpGroup"
        ],
        "summary": "Queries status of a specific version of a specific policy in a specific PdpGroup",
        "description": "Queries status of a specific version of a specific policy in a specific PdpGroup, returning status of the policy in the PDPs belonging to the PdpGroup",
        "operationId": "querySpecificVersionPolicy",
        "produces": [
          "application/json",
          "application/yaml"
        ],
        "parameters": [
          {
            "name": "pdpGroupName",
            "in": "path",
            "description": "Name of the PdpGroup",
            "required": true,
            "type": "string"
          },
          {
            "name": "policyName",
            "in": "path",
            "description": "Name of the Policy",
            "required": true,
            "type": "string"
          },
          {
            "name": "policyVersion",
            "in": "path",
            "description": "Version of the Policy",
            "required": true,
            "type": "string"
          },
          {
            "name": "X-ONAP-RequestID",
            "in": "header",
            "description": "RequestID for http transaction",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "headers": {
              "X-MinorVersion": {
                "type": "string",
                "description": "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
              },
              "X-PatchVersion": {
                "type": "string",
                "description": "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
              },
              "X-LatestVersion": {
                "type": "string",
                "description": "Used only to communicate an API's latest version"
              },
              "X-ONAP-RequestID": {
                "type": "string",
                "format": "uuid",
                "description": "Used to track REST transactions for logging purpose"
              }
            },
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PdpPolicyStatus"
              }
            }
          },
          "401": {
            "description": "Authentication Error"
          },
          "403": {
            "description": "Authorization Error"
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ],
        "x-interface info": {
          "api-version": "1.0.0",
          "last-mod-release": "Honolulu"
        }
      }
    }
  },
  "securityDefinitions": {
    "basicAuth": {
      "description": "",
      "type": "basic"
    }
  },
  "definitions": {
    "PdpPolicyStatus": {
      "type": "object",
      "properties": {
        "pdpGroup": {
          "type": "string"
        },
        "pdpType": {
          "type": "string"
        },
        "pdpId": {
          "type": "string"
        },
        "policy": {
          "$ref": "#/definitions/ToscaConceptIdentifier"
        },
        "policyType": {
          "$ref": "#/definitions/ToscaConceptIdentifier"
        },
        "deploy": {
          "type": "boolean"
        },
        "state": {
          "type": "string"
        }
      }
    },
    "ToscaConceptIdentifier": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    }
  }
}