aboutsummaryrefslogtreecommitdiffstats
path: root/releases/2.4.3-container.yaml
blob: 4d452c4f9797084dab6cfc2b78583e63f7ae0525 (plain)
1
2
3
4
5
6
7
8
distribution_type: 'container'
container_release_tag: '2.4.3'
project: 'policy-distribution'
log_dir: 'policy-distribution-maven-docker-stage-master/486'
ref: d9b8fcc6cc9fffae56870c205c9c095c2c3e8bb9
containers:
    - name: 'policy-distribution'
      version: '2.4.3-20201020T1347'
d } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
{
  "swagger" : "2.0",
  "basePath" : "/",
  "tags" : [{
    "name" : "Statistics"
  }],
  "schemes" : [ "http", "https" ],
  "paths" : { 
    "/policy/api/v1/statistics" : {
      "get" : {
        "tags" : [ "Statistics" ],
        "summary" : "Retrieve current statistics",
        "description" : "Returns current statistics including the counters of API invocation",
        "operationId" : "getStatistics",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "X-ONAP-RequestID",
          "in" : "header",
          "description" : "RequestID for http transaction",
          "required" : false,
          "type" : "string",
          "format" : "uuid"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation; All statistics counters of API invocation will be returned.",
            "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" : {
              "$ref" : "#/definitions/StatisticsReport"
            }
          },
          "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" : "Dublin"
        }
      }
    }
  },
  "securityDefinitions" : {
    "basicAuth" : {
      "description" : "",
      "type" : "basic"
    }
  },
  "definitions" : { 
    "StatisticsReport" : {
      "type" : "object",
      "properties" : {
        "code" : {
          "type" : "integer",
          "format" : "int32"
        },
        "totalApiCallCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "apiCallSuccessCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "apiCallFailureCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalPolicyGetCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalPolicyPostCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalPolicyTypeGetCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "totalPolicyTypePostCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyGetSuccessCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyGetFailureCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyPostSuccessCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyPostFailureCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyTypeGetSuccessCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyTypeGetFailureCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyTypePostSuccessCount" : {
          "type" : "integer",
          "format" : "int64"
        },
        "policyTypePostFailureCount" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    }
  }
}