Commit 51473ece authored by Mike-no's avatar Mike-no Committed by Giacomo Bernini
Browse files

update ExternalArtifactsAccessConfig json schema, remove user and password auth type

parent 9bae04a8
Loading
Loading
Loading
Loading
+50 −59
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  "type": "object",
  "properties": {
    "artifact": {
        "description": "Access configuration information for an external artefact.\n",
      "description": "Access configuration information for an external artifact.\n",
      "type": "object",
      "required": [
        "artifactUri"
@@ -20,21 +20,12 @@
          "format": "uri"
        },
        "authType": {
            "description": "Defines the type of authentication / authorization for downloading the VNF package. Permitted values: - BASIC: Only the \"username\" and \"password\" attributes shall be present. - OAUTH2_CLIENT_CREDENTIAL S: Only the \"paramsOauth2ClientCredentials\" attribute shall be present. This attribute shall not be present if no credentials are provided for the artifact.\n",
          "description": "Defines the type of authentication / authorization for downloading the VNF package. Permitted values: - OAUTH2_CLIENT_CREDENTIALS:  Only the \"paramsOauth2ClientCredentials\" attribute shall be present. This attribute shall not be present if no credentials are provided for the artifact.\n",
          "type": "string",
          "enum": [
              "BASIC",
            "OAUTH2_CLIENT_CREDENTIALS"
          ]
        },
          "username": {
            "description": "User name to be used for authentication.\n",
            "type": "string"
          },
          "password": {
            "description": "Password to be used for authentication. Shall not be present in response bodies.\n",
            "type": "string"
          },
        "paramsOauth2ClientCredentials": {
          "description": "Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS.\n",
          "type": "object",